Interface PartnerCentralAccountClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder()
method.
AWS Partner Central Account service provides APIs for managing partner accounts, connections, and profiles within the AWS Partner Network. This service enables partners to create and manage their partner profiles, establish connections with other partners, and maintain their account information.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionacceptConnectionInvitation(Consumer<AcceptConnectionInvitationRequest.Builder> acceptConnectionInvitationRequest) Accepts a connection invitation from another partner, establishing a formal partnership connection between the two parties.acceptConnectionInvitation(AcceptConnectionInvitationRequest acceptConnectionInvitationRequest) Accepts a connection invitation from another partner, establishing a formal partnership connection between the two parties.associateAwsTrainingCertificationEmailDomain(Consumer<AssociateAwsTrainingCertificationEmailDomainRequest.Builder> associateAwsTrainingCertificationEmailDomainRequest) Associates an email domain with AWS training and certification for the partner account, enabling automatic verification of employee certifications.associateAwsTrainingCertificationEmailDomain(AssociateAwsTrainingCertificationEmailDomainRequest associateAwsTrainingCertificationEmailDomainRequest) Associates an email domain with AWS training and certification for the partner account, enabling automatic verification of employee certifications.builder()Create a builder that can be used to configure and create aPartnerCentralAccountClient.default CancelConnectionResponsecancelConnection(Consumer<CancelConnectionRequest.Builder> cancelConnectionRequest) Cancels an existing connection between partners, terminating the partnership relationship.default CancelConnectionResponsecancelConnection(CancelConnectionRequest cancelConnectionRequest) Cancels an existing connection between partners, terminating the partnership relationship.cancelConnectionInvitation(Consumer<CancelConnectionInvitationRequest.Builder> cancelConnectionInvitationRequest) Cancels a pending connection invitation before it has been accepted or rejected.cancelConnectionInvitation(CancelConnectionInvitationRequest cancelConnectionInvitationRequest) Cancels a pending connection invitation before it has been accepted or rejected.default CancelProfileUpdateTaskResponsecancelProfileUpdateTask(Consumer<CancelProfileUpdateTaskRequest.Builder> cancelProfileUpdateTaskRequest) Cancels an in-progress profile update task, stopping any pending changes to the partner profile.default CancelProfileUpdateTaskResponsecancelProfileUpdateTask(CancelProfileUpdateTaskRequest cancelProfileUpdateTaskRequest) Cancels an in-progress profile update task, stopping any pending changes to the partner profile.static PartnerCentralAccountClientcreate()Create aPartnerCentralAccountClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createConnectionInvitation(Consumer<CreateConnectionInvitationRequest.Builder> createConnectionInvitationRequest) Creates a new connection invitation to establish a partnership with another organization.createConnectionInvitation(CreateConnectionInvitationRequest createConnectionInvitationRequest) Creates a new connection invitation to establish a partnership with another organization.default CreatePartnerResponsecreatePartner(Consumer<CreatePartnerRequest.Builder> createPartnerRequest) Creates a new partner account in the AWS Partner Network with the specified details and configuration.default CreatePartnerResponsecreatePartner(CreatePartnerRequest createPartnerRequest) Creates a new partner account in the AWS Partner Network with the specified details and configuration.disassociateAwsTrainingCertificationEmailDomain(Consumer<DisassociateAwsTrainingCertificationEmailDomainRequest.Builder> disassociateAwsTrainingCertificationEmailDomainRequest) Removes the association between an email domain and AWS training and certification for the partner account.disassociateAwsTrainingCertificationEmailDomain(DisassociateAwsTrainingCertificationEmailDomainRequest disassociateAwsTrainingCertificationEmailDomainRequest) Removes the association between an email domain and AWS training and certification for the partner account.default GetAllianceLeadContactResponsegetAllianceLeadContact(Consumer<GetAllianceLeadContactRequest.Builder> getAllianceLeadContactRequest) Retrieves the alliance lead contact information for a partner account.default GetAllianceLeadContactResponsegetAllianceLeadContact(GetAllianceLeadContactRequest getAllianceLeadContactRequest) Retrieves the alliance lead contact information for a partner account.default GetConnectionResponsegetConnection(Consumer<GetConnectionRequest.Builder> getConnectionRequest) Retrieves detailed information about a specific connection between partners.default GetConnectionResponsegetConnection(GetConnectionRequest getConnectionRequest) Retrieves detailed information about a specific connection between partners.default GetConnectionInvitationResponsegetConnectionInvitation(Consumer<GetConnectionInvitationRequest.Builder> getConnectionInvitationRequest) Retrieves detailed information about a specific connection invitation.default GetConnectionInvitationResponsegetConnectionInvitation(GetConnectionInvitationRequest getConnectionInvitationRequest) Retrieves detailed information about a specific connection invitation.default GetConnectionPreferencesResponsegetConnectionPreferences(Consumer<GetConnectionPreferencesRequest.Builder> getConnectionPreferencesRequest) Retrieves the connection preferences for a partner account, including access settings and exclusions.default GetConnectionPreferencesResponsegetConnectionPreferences(GetConnectionPreferencesRequest getConnectionPreferencesRequest) Retrieves the connection preferences for a partner account, including access settings and exclusions.default GetPartnerResponsegetPartner(Consumer<GetPartnerRequest.Builder> getPartnerRequest) Retrieves detailed information about a specific partner account.default GetPartnerResponsegetPartner(GetPartnerRequest getPartnerRequest) Retrieves detailed information about a specific partner account.default GetProfileUpdateTaskResponsegetProfileUpdateTask(Consumer<GetProfileUpdateTaskRequest.Builder> getProfileUpdateTaskRequest) Retrieves information about a specific profile update task.default GetProfileUpdateTaskResponsegetProfileUpdateTask(GetProfileUpdateTaskRequest getProfileUpdateTaskRequest) Retrieves information about a specific profile update task.default GetProfileVisibilityResponsegetProfileVisibility(Consumer<GetProfileVisibilityRequest.Builder> getProfileVisibilityRequest) Retrieves the visibility settings for a partner profile, determining who can see the profile information.default GetProfileVisibilityResponsegetProfileVisibility(GetProfileVisibilityRequest getProfileVisibilityRequest) Retrieves the visibility settings for a partner profile, determining who can see the profile information.listConnectionInvitations(Consumer<ListConnectionInvitationsRequest.Builder> listConnectionInvitationsRequest) Lists connection invitations for the partner account, with optional filtering by status, type, and other criteria.listConnectionInvitations(ListConnectionInvitationsRequest listConnectionInvitationsRequest) Lists connection invitations for the partner account, with optional filtering by status, type, and other criteria.listConnectionInvitationsPaginator(Consumer<ListConnectionInvitationsRequest.Builder> listConnectionInvitationsRequest) This is a variant oflistConnectionInvitations(software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionInvitationsRequest)operation.listConnectionInvitationsPaginator(ListConnectionInvitationsRequest listConnectionInvitationsRequest) This is a variant oflistConnectionInvitations(software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionInvitationsRequest)operation.default ListConnectionsResponselistConnections(Consumer<ListConnectionsRequest.Builder> listConnectionsRequest) Lists active connections for the partner account, with optional filtering by connection type and participant.default ListConnectionsResponselistConnections(ListConnectionsRequest listConnectionsRequest) Lists active connections for the partner account, with optional filtering by connection type and participant.default ListConnectionsIterablelistConnectionsPaginator(Consumer<ListConnectionsRequest.Builder> listConnectionsRequest) This is a variant oflistConnections(software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionsRequest)operation.default ListConnectionsIterablelistConnectionsPaginator(ListConnectionsRequest listConnectionsRequest) This is a variant oflistConnections(software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionsRequest)operation.default ListPartnersResponselistPartners(Consumer<ListPartnersRequest.Builder> listPartnersRequest) Lists partner accounts in the catalog, providing a summary view of all partners.default ListPartnersResponselistPartners(ListPartnersRequest listPartnersRequest) Lists partner accounts in the catalog, providing a summary view of all partners.default ListPartnersIterablelistPartnersPaginator(Consumer<ListPartnersRequest.Builder> listPartnersRequest) This is a variant oflistPartners(software.amazon.awssdk.services.partnercentralaccount.model.ListPartnersRequest)operation.default ListPartnersIterablelistPartnersPaginator(ListPartnersRequest listPartnersRequest) This is a variant oflistPartners(software.amazon.awssdk.services.partnercentralaccount.model.ListPartnersRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists all tags associated with a specific AWS Partner Central Account resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists all tags associated with a specific AWS Partner Central Account resource.default PutAllianceLeadContactResponseputAllianceLeadContact(Consumer<PutAllianceLeadContactRequest.Builder> putAllianceLeadContactRequest) Creates or updates the alliance lead contact information for a partner account.default PutAllianceLeadContactResponseputAllianceLeadContact(PutAllianceLeadContactRequest putAllianceLeadContactRequest) Creates or updates the alliance lead contact information for a partner account.default PutProfileVisibilityResponseputProfileVisibility(Consumer<PutProfileVisibilityRequest.Builder> putProfileVisibilityRequest) Sets the visibility level for a partner profile, controlling who can view the profile information.default PutProfileVisibilityResponseputProfileVisibility(PutProfileVisibilityRequest putProfileVisibilityRequest) Sets the visibility level for a partner profile, controlling who can view the profile information.rejectConnectionInvitation(Consumer<RejectConnectionInvitationRequest.Builder> rejectConnectionInvitationRequest) Rejects a connection invitation from another partner, declining the partnership request.rejectConnectionInvitation(RejectConnectionInvitationRequest rejectConnectionInvitationRequest) Rejects a connection invitation from another partner, declining the partnership request.sendEmailVerificationCode(Consumer<SendEmailVerificationCodeRequest.Builder> sendEmailVerificationCodeRequest) Sends an email verification code to the specified email address for account verification purposes.sendEmailVerificationCode(SendEmailVerificationCodeRequest sendEmailVerificationCodeRequest) Sends an email verification code to the specified email address for account verification purposes.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault StartProfileUpdateTaskResponsestartProfileUpdateTask(Consumer<StartProfileUpdateTaskRequest.Builder> startProfileUpdateTaskRequest) Initiates a profile update task to modify partner profile information asynchronously.default StartProfileUpdateTaskResponsestartProfileUpdateTask(StartProfileUpdateTaskRequest startProfileUpdateTaskRequest) Initiates a profile update task to modify partner profile information asynchronously.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or updates tags for a specified AWS Partner Central Account resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Adds or updates tags for a specified AWS Partner Central Account resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes specified tags from an AWS Partner Central Account resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes specified tags from an AWS Partner Central Account resource.updateConnectionPreferences(Consumer<UpdateConnectionPreferencesRequest.Builder> updateConnectionPreferencesRequest) Updates the connection preferences for a partner account, modifying access settings and exclusions.updateConnectionPreferences(UpdateConnectionPreferencesRequest updateConnectionPreferencesRequest) Updates the connection preferences for a partner account, modifying access settings and exclusions.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
acceptConnectionInvitation
default AcceptConnectionInvitationResponse acceptConnectionInvitation(AcceptConnectionInvitationRequest acceptConnectionInvitationRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Accepts a connection invitation from another partner, establishing a formal partnership connection between the two parties.
- Parameters:
acceptConnectionInvitationRequest-- Returns:
- Result of the AcceptConnectionInvitation operation returned by the service.
- See Also:
-
acceptConnectionInvitation
default AcceptConnectionInvitationResponse acceptConnectionInvitation(Consumer<AcceptConnectionInvitationRequest.Builder> acceptConnectionInvitationRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Accepts a connection invitation from another partner, establishing a formal partnership connection between the two parties.
This is a convenience which creates an instance of the
AcceptConnectionInvitationRequest.Builderavoiding the need to create one manually viaAcceptConnectionInvitationRequest.builder()- Parameters:
acceptConnectionInvitationRequest- AConsumerthat will call methods onAcceptConnectionInvitationRequest.Builderto create a request.- Returns:
- Result of the AcceptConnectionInvitation operation returned by the service.
- See Also:
-
associateAwsTrainingCertificationEmailDomain
default AssociateAwsTrainingCertificationEmailDomainResponse associateAwsTrainingCertificationEmailDomain(AssociateAwsTrainingCertificationEmailDomainRequest associateAwsTrainingCertificationEmailDomainRequest) throws ResourceNotFoundException, AccessDeniedException, ConflictException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, PartnerCentralAccountException Associates an email domain with AWS training and certification for the partner account, enabling automatic verification of employee certifications.
- Parameters:
associateAwsTrainingCertificationEmailDomainRequest-- Returns:
- Result of the AssociateAwsTrainingCertificationEmailDomain operation returned by the service.
- See Also:
-
associateAwsTrainingCertificationEmailDomain
default AssociateAwsTrainingCertificationEmailDomainResponse associateAwsTrainingCertificationEmailDomain(Consumer<AssociateAwsTrainingCertificationEmailDomainRequest.Builder> associateAwsTrainingCertificationEmailDomainRequest) throws ResourceNotFoundException, AccessDeniedException, ConflictException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, PartnerCentralAccountException Associates an email domain with AWS training and certification for the partner account, enabling automatic verification of employee certifications.
This is a convenience which creates an instance of the
AssociateAwsTrainingCertificationEmailDomainRequest.Builderavoiding the need to create one manually viaAssociateAwsTrainingCertificationEmailDomainRequest.builder()- Parameters:
associateAwsTrainingCertificationEmailDomainRequest- AConsumerthat will call methods onAssociateAwsTrainingCertificationEmailDomainRequest.Builderto create a request.- Returns:
- Result of the AssociateAwsTrainingCertificationEmailDomain operation returned by the service.
- See Also:
-
cancelConnection
default CancelConnectionResponse cancelConnection(CancelConnectionRequest cancelConnectionRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Cancels an existing connection between partners, terminating the partnership relationship.
- Parameters:
cancelConnectionRequest-- Returns:
- Result of the CancelConnection operation returned by the service.
- See Also:
-
cancelConnection
default CancelConnectionResponse cancelConnection(Consumer<CancelConnectionRequest.Builder> cancelConnectionRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Cancels an existing connection between partners, terminating the partnership relationship.
This is a convenience which creates an instance of the
CancelConnectionRequest.Builderavoiding the need to create one manually viaCancelConnectionRequest.builder()- Parameters:
cancelConnectionRequest- AConsumerthat will call methods onCancelConnectionRequest.Builderto create a request.- Returns:
- Result of the CancelConnection operation returned by the service.
- See Also:
-
cancelConnectionInvitation
default CancelConnectionInvitationResponse cancelConnectionInvitation(CancelConnectionInvitationRequest cancelConnectionInvitationRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Cancels a pending connection invitation before it has been accepted or rejected.
- Parameters:
cancelConnectionInvitationRequest-- Returns:
- Result of the CancelConnectionInvitation operation returned by the service.
- See Also:
-
cancelConnectionInvitation
default CancelConnectionInvitationResponse cancelConnectionInvitation(Consumer<CancelConnectionInvitationRequest.Builder> cancelConnectionInvitationRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Cancels a pending connection invitation before it has been accepted or rejected.
This is a convenience which creates an instance of the
CancelConnectionInvitationRequest.Builderavoiding the need to create one manually viaCancelConnectionInvitationRequest.builder()- Parameters:
cancelConnectionInvitationRequest- AConsumerthat will call methods onCancelConnectionInvitationRequest.Builderto create a request.- Returns:
- Result of the CancelConnectionInvitation operation returned by the service.
- See Also:
-
cancelProfileUpdateTask
default CancelProfileUpdateTaskResponse cancelProfileUpdateTask(CancelProfileUpdateTaskRequest cancelProfileUpdateTaskRequest) throws ResourceNotFoundException, AccessDeniedException, ConflictException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Cancels an in-progress profile update task, stopping any pending changes to the partner profile.
- Parameters:
cancelProfileUpdateTaskRequest-- Returns:
- Result of the CancelProfileUpdateTask operation returned by the service.
- See Also:
-
cancelProfileUpdateTask
default CancelProfileUpdateTaskResponse cancelProfileUpdateTask(Consumer<CancelProfileUpdateTaskRequest.Builder> cancelProfileUpdateTaskRequest) throws ResourceNotFoundException, AccessDeniedException, ConflictException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Cancels an in-progress profile update task, stopping any pending changes to the partner profile.
This is a convenience which creates an instance of the
CancelProfileUpdateTaskRequest.Builderavoiding the need to create one manually viaCancelProfileUpdateTaskRequest.builder()- Parameters:
cancelProfileUpdateTaskRequest- AConsumerthat will call methods onCancelProfileUpdateTaskRequest.Builderto create a request.- Returns:
- Result of the CancelProfileUpdateTask operation returned by the service.
- See Also:
-
createConnectionInvitation
default CreateConnectionInvitationResponse createConnectionInvitation(CreateConnectionInvitationRequest createConnectionInvitationRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Creates a new connection invitation to establish a partnership with another organization.
- Parameters:
createConnectionInvitationRequest-- Returns:
- Result of the CreateConnectionInvitation operation returned by the service.
- See Also:
-
createConnectionInvitation
default CreateConnectionInvitationResponse createConnectionInvitation(Consumer<CreateConnectionInvitationRequest.Builder> createConnectionInvitationRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Creates a new connection invitation to establish a partnership with another organization.
This is a convenience which creates an instance of the
CreateConnectionInvitationRequest.Builderavoiding the need to create one manually viaCreateConnectionInvitationRequest.builder()- Parameters:
createConnectionInvitationRequest- AConsumerthat will call methods onCreateConnectionInvitationRequest.Builderto create a request.- Returns:
- Result of the CreateConnectionInvitation operation returned by the service.
- See Also:
-
createPartner
default CreatePartnerResponse createPartner(CreatePartnerRequest createPartnerRequest) throws AccessDeniedException, ConflictException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Creates a new partner account in the AWS Partner Network with the specified details and configuration.
- Parameters:
createPartnerRequest-- Returns:
- Result of the CreatePartner operation returned by the service.
- See Also:
-
createPartner
default CreatePartnerResponse createPartner(Consumer<CreatePartnerRequest.Builder> createPartnerRequest) throws AccessDeniedException, ConflictException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Creates a new partner account in the AWS Partner Network with the specified details and configuration.
This is a convenience which creates an instance of the
CreatePartnerRequest.Builderavoiding the need to create one manually viaCreatePartnerRequest.builder()- Parameters:
createPartnerRequest- AConsumerthat will call methods onCreatePartnerRequest.Builderto create a request.- Returns:
- Result of the CreatePartner operation returned by the service.
- See Also:
-
disassociateAwsTrainingCertificationEmailDomain
default DisassociateAwsTrainingCertificationEmailDomainResponse disassociateAwsTrainingCertificationEmailDomain(DisassociateAwsTrainingCertificationEmailDomainRequest disassociateAwsTrainingCertificationEmailDomainRequest) throws ResourceNotFoundException, AccessDeniedException, ConflictException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, PartnerCentralAccountException Removes the association between an email domain and AWS training and certification for the partner account.
- Parameters:
disassociateAwsTrainingCertificationEmailDomainRequest-- Returns:
- Result of the DisassociateAwsTrainingCertificationEmailDomain operation returned by the service.
- See Also:
-
disassociateAwsTrainingCertificationEmailDomain
default DisassociateAwsTrainingCertificationEmailDomainResponse disassociateAwsTrainingCertificationEmailDomain(Consumer<DisassociateAwsTrainingCertificationEmailDomainRequest.Builder> disassociateAwsTrainingCertificationEmailDomainRequest) throws ResourceNotFoundException, AccessDeniedException, ConflictException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, PartnerCentralAccountException Removes the association between an email domain and AWS training and certification for the partner account.
This is a convenience which creates an instance of the
DisassociateAwsTrainingCertificationEmailDomainRequest.Builderavoiding the need to create one manually viaDisassociateAwsTrainingCertificationEmailDomainRequest.builder()- Parameters:
disassociateAwsTrainingCertificationEmailDomainRequest- AConsumerthat will call methods onDisassociateAwsTrainingCertificationEmailDomainRequest.Builderto create a request.- Returns:
- Result of the DisassociateAwsTrainingCertificationEmailDomain operation returned by the service.
- See Also:
-
getAllianceLeadContact
default GetAllianceLeadContactResponse getAllianceLeadContact(GetAllianceLeadContactRequest getAllianceLeadContactRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Retrieves the alliance lead contact information for a partner account.
- Parameters:
getAllianceLeadContactRequest-- Returns:
- Result of the GetAllianceLeadContact operation returned by the service.
- See Also:
-
getAllianceLeadContact
default GetAllianceLeadContactResponse getAllianceLeadContact(Consumer<GetAllianceLeadContactRequest.Builder> getAllianceLeadContactRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Retrieves the alliance lead contact information for a partner account.
This is a convenience which creates an instance of the
GetAllianceLeadContactRequest.Builderavoiding the need to create one manually viaGetAllianceLeadContactRequest.builder()- Parameters:
getAllianceLeadContactRequest- AConsumerthat will call methods onGetAllianceLeadContactRequest.Builderto create a request.- Returns:
- Result of the GetAllianceLeadContact operation returned by the service.
- See Also:
-
getConnection
default GetConnectionResponse getConnection(GetConnectionRequest getConnectionRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Retrieves detailed information about a specific connection between partners.
- Parameters:
getConnectionRequest-- Returns:
- Result of the GetConnection operation returned by the service.
- See Also:
-
getConnection
default GetConnectionResponse getConnection(Consumer<GetConnectionRequest.Builder> getConnectionRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Retrieves detailed information about a specific connection between partners.
This is a convenience which creates an instance of the
GetConnectionRequest.Builderavoiding the need to create one manually viaGetConnectionRequest.builder()- Parameters:
getConnectionRequest- AConsumerthat will call methods onGetConnectionRequest.Builderto create a request.- Returns:
- Result of the GetConnection operation returned by the service.
- See Also:
-
getConnectionInvitation
default GetConnectionInvitationResponse getConnectionInvitation(GetConnectionInvitationRequest getConnectionInvitationRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Retrieves detailed information about a specific connection invitation.
- Parameters:
getConnectionInvitationRequest-- Returns:
- Result of the GetConnectionInvitation operation returned by the service.
- See Also:
-
getConnectionInvitation
default GetConnectionInvitationResponse getConnectionInvitation(Consumer<GetConnectionInvitationRequest.Builder> getConnectionInvitationRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Retrieves detailed information about a specific connection invitation.
This is a convenience which creates an instance of the
GetConnectionInvitationRequest.Builderavoiding the need to create one manually viaGetConnectionInvitationRequest.builder()- Parameters:
getConnectionInvitationRequest- AConsumerthat will call methods onGetConnectionInvitationRequest.Builderto create a request.- Returns:
- Result of the GetConnectionInvitation operation returned by the service.
- See Also:
-
getConnectionPreferences
default GetConnectionPreferencesResponse getConnectionPreferences(GetConnectionPreferencesRequest getConnectionPreferencesRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Retrieves the connection preferences for a partner account, including access settings and exclusions.
- Parameters:
getConnectionPreferencesRequest-- Returns:
- Result of the GetConnectionPreferences operation returned by the service.
- See Also:
-
getConnectionPreferences
default GetConnectionPreferencesResponse getConnectionPreferences(Consumer<GetConnectionPreferencesRequest.Builder> getConnectionPreferencesRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Retrieves the connection preferences for a partner account, including access settings and exclusions.
This is a convenience which creates an instance of the
GetConnectionPreferencesRequest.Builderavoiding the need to create one manually viaGetConnectionPreferencesRequest.builder()- Parameters:
getConnectionPreferencesRequest- AConsumerthat will call methods onGetConnectionPreferencesRequest.Builderto create a request.- Returns:
- Result of the GetConnectionPreferences operation returned by the service.
- See Also:
-
getPartner
default GetPartnerResponse getPartner(GetPartnerRequest getPartnerRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Retrieves detailed information about a specific partner account.
- Parameters:
getPartnerRequest-- Returns:
- Result of the GetPartner operation returned by the service.
- See Also:
-
getPartner
default GetPartnerResponse getPartner(Consumer<GetPartnerRequest.Builder> getPartnerRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Retrieves detailed information about a specific partner account.
This is a convenience which creates an instance of the
GetPartnerRequest.Builderavoiding the need to create one manually viaGetPartnerRequest.builder()- Parameters:
getPartnerRequest- AConsumerthat will call methods onGetPartnerRequest.Builderto create a request.- Returns:
- Result of the GetPartner operation returned by the service.
- See Also:
-
getProfileUpdateTask
default GetProfileUpdateTaskResponse getProfileUpdateTask(GetProfileUpdateTaskRequest getProfileUpdateTaskRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Retrieves information about a specific profile update task.
- Parameters:
getProfileUpdateTaskRequest-- Returns:
- Result of the GetProfileUpdateTask operation returned by the service.
- See Also:
-
getProfileUpdateTask
default GetProfileUpdateTaskResponse getProfileUpdateTask(Consumer<GetProfileUpdateTaskRequest.Builder> getProfileUpdateTaskRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Retrieves information about a specific profile update task.
This is a convenience which creates an instance of the
GetProfileUpdateTaskRequest.Builderavoiding the need to create one manually viaGetProfileUpdateTaskRequest.builder()- Parameters:
getProfileUpdateTaskRequest- AConsumerthat will call methods onGetProfileUpdateTaskRequest.Builderto create a request.- Returns:
- Result of the GetProfileUpdateTask operation returned by the service.
- See Also:
-
getProfileVisibility
default GetProfileVisibilityResponse getProfileVisibility(GetProfileVisibilityRequest getProfileVisibilityRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Retrieves the visibility settings for a partner profile, determining who can see the profile information.
- Parameters:
getProfileVisibilityRequest-- Returns:
- Result of the GetProfileVisibility operation returned by the service.
- See Also:
-
getProfileVisibility
default GetProfileVisibilityResponse getProfileVisibility(Consumer<GetProfileVisibilityRequest.Builder> getProfileVisibilityRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Retrieves the visibility settings for a partner profile, determining who can see the profile information.
This is a convenience which creates an instance of the
GetProfileVisibilityRequest.Builderavoiding the need to create one manually viaGetProfileVisibilityRequest.builder()- Parameters:
getProfileVisibilityRequest- AConsumerthat will call methods onGetProfileVisibilityRequest.Builderto create a request.- Returns:
- Result of the GetProfileVisibility operation returned by the service.
- See Also:
-
listConnectionInvitations
default ListConnectionInvitationsResponse listConnectionInvitations(ListConnectionInvitationsRequest listConnectionInvitationsRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Lists connection invitations for the partner account, with optional filtering by status, type, and other criteria.
- Parameters:
listConnectionInvitationsRequest-- Returns:
- Result of the ListConnectionInvitations operation returned by the service.
- See Also:
-
listConnectionInvitations
default ListConnectionInvitationsResponse listConnectionInvitations(Consumer<ListConnectionInvitationsRequest.Builder> listConnectionInvitationsRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Lists connection invitations for the partner account, with optional filtering by status, type, and other criteria.
This is a convenience which creates an instance of the
ListConnectionInvitationsRequest.Builderavoiding the need to create one manually viaListConnectionInvitationsRequest.builder()- Parameters:
listConnectionInvitationsRequest- AConsumerthat will call methods onListConnectionInvitationsRequest.Builderto create a request.- Returns:
- Result of the ListConnectionInvitations operation returned by the service.
- See Also:
-
listConnectionInvitationsPaginator
default ListConnectionInvitationsIterable listConnectionInvitationsPaginator(ListConnectionInvitationsRequest listConnectionInvitationsRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException This is a variant of
listConnectionInvitations(software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionInvitationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.partnercentralaccount.paginators.ListConnectionInvitationsIterable responses = client.listConnectionInvitationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.partnercentralaccount.paginators.ListConnectionInvitationsIterable responses = client .listConnectionInvitationsPaginator(request); for (software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionInvitationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.partnercentralaccount.paginators.ListConnectionInvitationsIterable responses = client.listConnectionInvitationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConnectionInvitations(software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionInvitationsRequest)operation.- Parameters:
listConnectionInvitationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listConnectionInvitationsPaginator
default ListConnectionInvitationsIterable listConnectionInvitationsPaginator(Consumer<ListConnectionInvitationsRequest.Builder> listConnectionInvitationsRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException This is a variant of
listConnectionInvitations(software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionInvitationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.partnercentralaccount.paginators.ListConnectionInvitationsIterable responses = client.listConnectionInvitationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.partnercentralaccount.paginators.ListConnectionInvitationsIterable responses = client .listConnectionInvitationsPaginator(request); for (software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionInvitationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.partnercentralaccount.paginators.ListConnectionInvitationsIterable responses = client.listConnectionInvitationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConnectionInvitations(software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionInvitationsRequest)operation.
This is a convenience which creates an instance of the
ListConnectionInvitationsRequest.Builderavoiding the need to create one manually viaListConnectionInvitationsRequest.builder()- Parameters:
listConnectionInvitationsRequest- AConsumerthat will call methods onListConnectionInvitationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listConnections
default ListConnectionsResponse listConnections(ListConnectionsRequest listConnectionsRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Lists active connections for the partner account, with optional filtering by connection type and participant.
- Parameters:
listConnectionsRequest-- Returns:
- Result of the ListConnections operation returned by the service.
- See Also:
-
listConnections
default ListConnectionsResponse listConnections(Consumer<ListConnectionsRequest.Builder> listConnectionsRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Lists active connections for the partner account, with optional filtering by connection type and participant.
This is a convenience which creates an instance of the
ListConnectionsRequest.Builderavoiding the need to create one manually viaListConnectionsRequest.builder()- Parameters:
listConnectionsRequest- AConsumerthat will call methods onListConnectionsRequest.Builderto create a request.- Returns:
- Result of the ListConnections operation returned by the service.
- See Also:
-
listConnectionsPaginator
default ListConnectionsIterable listConnectionsPaginator(ListConnectionsRequest listConnectionsRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException This is a variant of
listConnections(software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.partnercentralaccount.paginators.ListConnectionsIterable responses = client.listConnectionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.partnercentralaccount.paginators.ListConnectionsIterable responses = client .listConnectionsPaginator(request); for (software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.partnercentralaccount.paginators.ListConnectionsIterable responses = client.listConnectionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConnections(software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionsRequest)operation.- Parameters:
listConnectionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listConnectionsPaginator
default ListConnectionsIterable listConnectionsPaginator(Consumer<ListConnectionsRequest.Builder> listConnectionsRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException This is a variant of
listConnections(software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.partnercentralaccount.paginators.ListConnectionsIterable responses = client.listConnectionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.partnercentralaccount.paginators.ListConnectionsIterable responses = client .listConnectionsPaginator(request); for (software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.partnercentralaccount.paginators.ListConnectionsIterable responses = client.listConnectionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConnections(software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionsRequest)operation.
This is a convenience which creates an instance of the
ListConnectionsRequest.Builderavoiding the need to create one manually viaListConnectionsRequest.builder()- Parameters:
listConnectionsRequest- AConsumerthat will call methods onListConnectionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPartners
default ListPartnersResponse listPartners(ListPartnersRequest listPartnersRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Lists partner accounts in the catalog, providing a summary view of all partners.
- Parameters:
listPartnersRequest-- Returns:
- Result of the ListPartners operation returned by the service.
- See Also:
-
listPartners
default ListPartnersResponse listPartners(Consumer<ListPartnersRequest.Builder> listPartnersRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Lists partner accounts in the catalog, providing a summary view of all partners.
This is a convenience which creates an instance of the
ListPartnersRequest.Builderavoiding the need to create one manually viaListPartnersRequest.builder()- Parameters:
listPartnersRequest- AConsumerthat will call methods onListPartnersRequest.Builderto create a request.- Returns:
- Result of the ListPartners operation returned by the service.
- See Also:
-
listPartnersPaginator
default ListPartnersIterable listPartnersPaginator(ListPartnersRequest listPartnersRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException This is a variant of
listPartners(software.amazon.awssdk.services.partnercentralaccount.model.ListPartnersRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.partnercentralaccount.paginators.ListPartnersIterable responses = client.listPartnersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.partnercentralaccount.paginators.ListPartnersIterable responses = client .listPartnersPaginator(request); for (software.amazon.awssdk.services.partnercentralaccount.model.ListPartnersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.partnercentralaccount.paginators.ListPartnersIterable responses = client.listPartnersPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPartners(software.amazon.awssdk.services.partnercentralaccount.model.ListPartnersRequest)operation.- Parameters:
listPartnersRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPartnersPaginator
default ListPartnersIterable listPartnersPaginator(Consumer<ListPartnersRequest.Builder> listPartnersRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException This is a variant of
listPartners(software.amazon.awssdk.services.partnercentralaccount.model.ListPartnersRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.partnercentralaccount.paginators.ListPartnersIterable responses = client.listPartnersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.partnercentralaccount.paginators.ListPartnersIterable responses = client .listPartnersPaginator(request); for (software.amazon.awssdk.services.partnercentralaccount.model.ListPartnersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.partnercentralaccount.paginators.ListPartnersIterable responses = client.listPartnersPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPartners(software.amazon.awssdk.services.partnercentralaccount.model.ListPartnersRequest)operation.
This is a convenience which creates an instance of the
ListPartnersRequest.Builderavoiding the need to create one manually viaListPartnersRequest.builder()- Parameters:
listPartnersRequest- AConsumerthat will call methods onListPartnersRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Lists all tags associated with a specific AWS Partner Central Account resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Lists all tags associated with a specific AWS Partner Central Account resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
putAllianceLeadContact
default PutAllianceLeadContactResponse putAllianceLeadContact(PutAllianceLeadContactRequest putAllianceLeadContactRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Creates or updates the alliance lead contact information for a partner account.
- Parameters:
putAllianceLeadContactRequest-- Returns:
- Result of the PutAllianceLeadContact operation returned by the service.
- See Also:
-
putAllianceLeadContact
default PutAllianceLeadContactResponse putAllianceLeadContact(Consumer<PutAllianceLeadContactRequest.Builder> putAllianceLeadContactRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Creates or updates the alliance lead contact information for a partner account.
This is a convenience which creates an instance of the
PutAllianceLeadContactRequest.Builderavoiding the need to create one manually viaPutAllianceLeadContactRequest.builder()- Parameters:
putAllianceLeadContactRequest- AConsumerthat will call methods onPutAllianceLeadContactRequest.Builderto create a request.- Returns:
- Result of the PutAllianceLeadContact operation returned by the service.
- See Also:
-
putProfileVisibility
default PutProfileVisibilityResponse putProfileVisibility(PutProfileVisibilityRequest putProfileVisibilityRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Sets the visibility level for a partner profile, controlling who can view the profile information.
- Parameters:
putProfileVisibilityRequest-- Returns:
- Result of the PutProfileVisibility operation returned by the service.
- See Also:
-
putProfileVisibility
default PutProfileVisibilityResponse putProfileVisibility(Consumer<PutProfileVisibilityRequest.Builder> putProfileVisibilityRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Sets the visibility level for a partner profile, controlling who can view the profile information.
This is a convenience which creates an instance of the
PutProfileVisibilityRequest.Builderavoiding the need to create one manually viaPutProfileVisibilityRequest.builder()- Parameters:
putProfileVisibilityRequest- AConsumerthat will call methods onPutProfileVisibilityRequest.Builderto create a request.- Returns:
- Result of the PutProfileVisibility operation returned by the service.
- See Also:
-
rejectConnectionInvitation
default RejectConnectionInvitationResponse rejectConnectionInvitation(RejectConnectionInvitationRequest rejectConnectionInvitationRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Rejects a connection invitation from another partner, declining the partnership request.
- Parameters:
rejectConnectionInvitationRequest-- Returns:
- Result of the RejectConnectionInvitation operation returned by the service.
- See Also:
-
rejectConnectionInvitation
default RejectConnectionInvitationResponse rejectConnectionInvitation(Consumer<RejectConnectionInvitationRequest.Builder> rejectConnectionInvitationRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Rejects a connection invitation from another partner, declining the partnership request.
This is a convenience which creates an instance of the
RejectConnectionInvitationRequest.Builderavoiding the need to create one manually viaRejectConnectionInvitationRequest.builder()- Parameters:
rejectConnectionInvitationRequest- AConsumerthat will call methods onRejectConnectionInvitationRequest.Builderto create a request.- Returns:
- Result of the RejectConnectionInvitation operation returned by the service.
- See Also:
-
sendEmailVerificationCode
default SendEmailVerificationCodeResponse sendEmailVerificationCode(SendEmailVerificationCodeRequest sendEmailVerificationCodeRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, PartnerCentralAccountException Sends an email verification code to the specified email address for account verification purposes.
- Parameters:
sendEmailVerificationCodeRequest-- Returns:
- Result of the SendEmailVerificationCode operation returned by the service.
- See Also:
-
sendEmailVerificationCode
default SendEmailVerificationCodeResponse sendEmailVerificationCode(Consumer<SendEmailVerificationCodeRequest.Builder> sendEmailVerificationCodeRequest) throws AccessDeniedException, ThrottlingException, ValidationException, InternalServerException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, PartnerCentralAccountException Sends an email verification code to the specified email address for account verification purposes.
This is a convenience which creates an instance of the
SendEmailVerificationCodeRequest.Builderavoiding the need to create one manually viaSendEmailVerificationCodeRequest.builder()- Parameters:
sendEmailVerificationCodeRequest- AConsumerthat will call methods onSendEmailVerificationCodeRequest.Builderto create a request.- Returns:
- Result of the SendEmailVerificationCode operation returned by the service.
- See Also:
-
startProfileUpdateTask
default StartProfileUpdateTaskResponse startProfileUpdateTask(StartProfileUpdateTaskRequest startProfileUpdateTaskRequest) throws ResourceNotFoundException, AccessDeniedException, ConflictException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Initiates a profile update task to modify partner profile information asynchronously.
- Parameters:
startProfileUpdateTaskRequest-- Returns:
- Result of the StartProfileUpdateTask operation returned by the service.
- See Also:
-
startProfileUpdateTask
default StartProfileUpdateTaskResponse startProfileUpdateTask(Consumer<StartProfileUpdateTaskRequest.Builder> startProfileUpdateTaskRequest) throws ResourceNotFoundException, AccessDeniedException, ConflictException, ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Initiates a profile update task to modify partner profile information asynchronously.
This is a convenience which creates an instance of the
StartProfileUpdateTaskRequest.Builderavoiding the need to create one manually viaStartProfileUpdateTaskRequest.builder()- Parameters:
startProfileUpdateTaskRequest- AConsumerthat will call methods onStartProfileUpdateTaskRequest.Builderto create a request.- Returns:
- Result of the StartProfileUpdateTask operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Adds or updates tags for a specified AWS Partner Central Account resource.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Adds or updates tags for a specified AWS Partner Central Account resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Removes specified tags from an AWS Partner Central Account resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ResourceNotFoundException, AccessDeniedException, ThrottlingException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Removes specified tags from an AWS Partner Central Account resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateConnectionPreferences
default UpdateConnectionPreferencesResponse updateConnectionPreferences(UpdateConnectionPreferencesRequest updateConnectionPreferencesRequest) throws AccessDeniedException, ThrottlingException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Updates the connection preferences for a partner account, modifying access settings and exclusions.
- Parameters:
updateConnectionPreferencesRequest-- Returns:
- Result of the UpdateConnectionPreferences operation returned by the service.
- See Also:
-
updateConnectionPreferences
default UpdateConnectionPreferencesResponse updateConnectionPreferences(Consumer<UpdateConnectionPreferencesRequest.Builder> updateConnectionPreferencesRequest) throws AccessDeniedException, ThrottlingException, ConflictException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, PartnerCentralAccountException Updates the connection preferences for a partner account, modifying access settings and exclusions.
This is a convenience which creates an instance of the
UpdateConnectionPreferencesRequest.Builderavoiding the need to create one manually viaUpdateConnectionPreferencesRequest.builder()- Parameters:
updateConnectionPreferencesRequest- AConsumerthat will call methods onUpdateConnectionPreferencesRequest.Builderto create a request.- Returns:
- Result of the UpdateConnectionPreferences operation returned by the service.
- See Also:
-
create
Create aPartnerCentralAccountClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aPartnerCentralAccountClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-