Interface PartnerCentralAccountAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.The asynchronous client performs non-blocking I/O when configured with any
SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may
perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
call.
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 aPartnerCentralAccountAsyncClient.cancelConnection(Consumer<CancelConnectionRequest.Builder> cancelConnectionRequest) Cancels an existing connection between partners, terminating the partnership relationship.cancelConnection(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.cancelProfileUpdateTask(Consumer<CancelProfileUpdateTaskRequest.Builder> cancelProfileUpdateTaskRequest) Cancels an in-progress profile update task, stopping any pending changes to the partner profile.cancelProfileUpdateTask(CancelProfileUpdateTaskRequest cancelProfileUpdateTaskRequest) Cancels an in-progress profile update task, stopping any pending changes to the partner profile.create()Create aPartnerCentralAccountAsyncClientwith 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 CompletableFuture<CreatePartnerResponse> createPartner(Consumer<CreatePartnerRequest.Builder> createPartnerRequest) Creates a new partner account in the AWS Partner Network with the specified details and configuration.default CompletableFuture<CreatePartnerResponse> createPartner(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.getAllianceLeadContact(Consumer<GetAllianceLeadContactRequest.Builder> getAllianceLeadContactRequest) Retrieves the alliance lead contact information for a partner account.getAllianceLeadContact(GetAllianceLeadContactRequest getAllianceLeadContactRequest) Retrieves the alliance lead contact information for a partner account.default CompletableFuture<GetConnectionResponse> getConnection(Consumer<GetConnectionRequest.Builder> getConnectionRequest) Retrieves detailed information about a specific connection between partners.default CompletableFuture<GetConnectionResponse> getConnection(GetConnectionRequest getConnectionRequest) Retrieves detailed information about a specific connection between partners.getConnectionInvitation(Consumer<GetConnectionInvitationRequest.Builder> getConnectionInvitationRequest) Retrieves detailed information about a specific connection invitation.getConnectionInvitation(GetConnectionInvitationRequest getConnectionInvitationRequest) Retrieves detailed information about a specific connection invitation.getConnectionPreferences(Consumer<GetConnectionPreferencesRequest.Builder> getConnectionPreferencesRequest) Retrieves the connection preferences for a partner account, including access settings and exclusions.getConnectionPreferences(GetConnectionPreferencesRequest getConnectionPreferencesRequest) Retrieves the connection preferences for a partner account, including access settings and exclusions.default CompletableFuture<GetPartnerResponse> getPartner(Consumer<GetPartnerRequest.Builder> getPartnerRequest) Retrieves detailed information about a specific partner account.default CompletableFuture<GetPartnerResponse> getPartner(GetPartnerRequest getPartnerRequest) Retrieves detailed information about a specific partner account.getProfileUpdateTask(Consumer<GetProfileUpdateTaskRequest.Builder> getProfileUpdateTaskRequest) Retrieves information about a specific profile update task.getProfileUpdateTask(GetProfileUpdateTaskRequest getProfileUpdateTaskRequest) Retrieves information about a specific profile update task.getProfileVisibility(Consumer<GetProfileVisibilityRequest.Builder> getProfileVisibilityRequest) Retrieves the visibility settings for a partner profile, determining who can see the profile information.getProfileVisibility(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 CompletableFuture<ListConnectionsResponse> listConnections(Consumer<ListConnectionsRequest.Builder> listConnectionsRequest) Lists active connections for the partner account, with optional filtering by connection type and participant.default CompletableFuture<ListConnectionsResponse> listConnections(ListConnectionsRequest listConnectionsRequest) Lists active connections for the partner account, with optional filtering by connection type and participant.default ListConnectionsPublisherlistConnectionsPaginator(Consumer<ListConnectionsRequest.Builder> listConnectionsRequest) This is a variant oflistConnections(software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionsRequest)operation.default ListConnectionsPublisherlistConnectionsPaginator(ListConnectionsRequest listConnectionsRequest) This is a variant oflistConnections(software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionsRequest)operation.default CompletableFuture<ListPartnersResponse> listPartners(Consumer<ListPartnersRequest.Builder> listPartnersRequest) Lists partner accounts in the catalog, providing a summary view of all partners.default CompletableFuture<ListPartnersResponse> listPartners(ListPartnersRequest listPartnersRequest) Lists partner accounts in the catalog, providing a summary view of all partners.default ListPartnersPublisherlistPartnersPaginator(Consumer<ListPartnersRequest.Builder> listPartnersRequest) This is a variant oflistPartners(software.amazon.awssdk.services.partnercentralaccount.model.ListPartnersRequest)operation.default ListPartnersPublisherlistPartnersPaginator(ListPartnersRequest listPartnersRequest) This is a variant oflistPartners(software.amazon.awssdk.services.partnercentralaccount.model.ListPartnersRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists all tags associated with a specific AWS Partner Central Account resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists all tags associated with a specific AWS Partner Central Account resource.putAllianceLeadContact(Consumer<PutAllianceLeadContactRequest.Builder> putAllianceLeadContactRequest) Creates or updates the alliance lead contact information for a partner account.putAllianceLeadContact(PutAllianceLeadContactRequest putAllianceLeadContactRequest) Creates or updates the alliance lead contact information for a partner account.putProfileVisibility(Consumer<PutProfileVisibilityRequest.Builder> putProfileVisibilityRequest) Sets the visibility level for a partner profile, controlling who can view the profile information.putProfileVisibility(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., ClientOverrideConfigurationstartProfileUpdateTask(Consumer<StartProfileUpdateTaskRequest.Builder> startProfileUpdateTaskRequest) Initiates a profile update task to modify partner profile information asynchronously.startProfileUpdateTask(StartProfileUpdateTaskRequest startProfileUpdateTaskRequest) Initiates a profile update task to modify partner profile information asynchronously.default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or updates tags for a specified AWS Partner Central Account resource.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Adds or updates tags for a specified AWS Partner Central Account resource.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes specified tags from an AWS Partner Central Account resource.default CompletableFuture<UntagResourceResponse> untagResource(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 CompletableFuture<AcceptConnectionInvitationResponse> acceptConnectionInvitation(AcceptConnectionInvitationRequest acceptConnectionInvitationRequest) Accepts a connection invitation from another partner, establishing a formal partnership connection between the two parties.
- Parameters:
acceptConnectionInvitationRequest-- Returns:
- A Java Future containing the result of the AcceptConnectionInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
acceptConnectionInvitation
default CompletableFuture<AcceptConnectionInvitationResponse> acceptConnectionInvitation(Consumer<AcceptConnectionInvitationRequest.Builder> acceptConnectionInvitationRequest) 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:
- A Java Future containing the result of the AcceptConnectionInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateAwsTrainingCertificationEmailDomain
default CompletableFuture<AssociateAwsTrainingCertificationEmailDomainResponse> associateAwsTrainingCertificationEmailDomain(AssociateAwsTrainingCertificationEmailDomainRequest associateAwsTrainingCertificationEmailDomainRequest) Associates an email domain with AWS training and certification for the partner account, enabling automatic verification of employee certifications.
- Parameters:
associateAwsTrainingCertificationEmailDomainRequest-- Returns:
- A Java Future containing the result of the AssociateAwsTrainingCertificationEmailDomain operation
returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- ServiceQuotaExceededException The request was rejected because it would exceed a service quota or limit. This may occur when trying to create more resources than allowed by the service limits.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateAwsTrainingCertificationEmailDomain
default CompletableFuture<AssociateAwsTrainingCertificationEmailDomainResponse> associateAwsTrainingCertificationEmailDomain(Consumer<AssociateAwsTrainingCertificationEmailDomainRequest.Builder> associateAwsTrainingCertificationEmailDomainRequest) 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:
- A Java Future containing the result of the AssociateAwsTrainingCertificationEmailDomain operation
returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- ServiceQuotaExceededException The request was rejected because it would exceed a service quota or limit. This may occur when trying to create more resources than allowed by the service limits.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelConnection
default CompletableFuture<CancelConnectionResponse> cancelConnection(CancelConnectionRequest cancelConnectionRequest) Cancels an existing connection between partners, terminating the partnership relationship.
- Parameters:
cancelConnectionRequest-- Returns:
- A Java Future containing the result of the CancelConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelConnection
default CompletableFuture<CancelConnectionResponse> cancelConnection(Consumer<CancelConnectionRequest.Builder> cancelConnectionRequest) 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:
- A Java Future containing the result of the CancelConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelConnectionInvitation
default CompletableFuture<CancelConnectionInvitationResponse> cancelConnectionInvitation(CancelConnectionInvitationRequest cancelConnectionInvitationRequest) Cancels a pending connection invitation before it has been accepted or rejected.
- Parameters:
cancelConnectionInvitationRequest-- Returns:
- A Java Future containing the result of the CancelConnectionInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelConnectionInvitation
default CompletableFuture<CancelConnectionInvitationResponse> cancelConnectionInvitation(Consumer<CancelConnectionInvitationRequest.Builder> cancelConnectionInvitationRequest) 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:
- A Java Future containing the result of the CancelConnectionInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelProfileUpdateTask
default CompletableFuture<CancelProfileUpdateTaskResponse> cancelProfileUpdateTask(CancelProfileUpdateTaskRequest cancelProfileUpdateTaskRequest) Cancels an in-progress profile update task, stopping any pending changes to the partner profile.
- Parameters:
cancelProfileUpdateTaskRequest-- Returns:
- A Java Future containing the result of the CancelProfileUpdateTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelProfileUpdateTask
default CompletableFuture<CancelProfileUpdateTaskResponse> cancelProfileUpdateTask(Consumer<CancelProfileUpdateTaskRequest.Builder> cancelProfileUpdateTaskRequest) 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:
- A Java Future containing the result of the CancelProfileUpdateTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createConnectionInvitation
default CompletableFuture<CreateConnectionInvitationResponse> createConnectionInvitation(CreateConnectionInvitationRequest createConnectionInvitationRequest) Creates a new connection invitation to establish a partnership with another organization.
- Parameters:
createConnectionInvitationRequest-- Returns:
- A Java Future containing the result of the CreateConnectionInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createConnectionInvitation
default CompletableFuture<CreateConnectionInvitationResponse> createConnectionInvitation(Consumer<CreateConnectionInvitationRequest.Builder> createConnectionInvitationRequest) 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:
- A Java Future containing the result of the CreateConnectionInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPartner
default CompletableFuture<CreatePartnerResponse> createPartner(CreatePartnerRequest createPartnerRequest) Creates a new partner account in the AWS Partner Network with the specified details and configuration.
- Parameters:
createPartnerRequest-- Returns:
- A Java Future containing the result of the CreatePartner operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPartner
default CompletableFuture<CreatePartnerResponse> createPartner(Consumer<CreatePartnerRequest.Builder> createPartnerRequest) 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:
- A Java Future containing the result of the CreatePartner operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateAwsTrainingCertificationEmailDomain
default CompletableFuture<DisassociateAwsTrainingCertificationEmailDomainResponse> disassociateAwsTrainingCertificationEmailDomain(DisassociateAwsTrainingCertificationEmailDomainRequest disassociateAwsTrainingCertificationEmailDomainRequest) Removes the association between an email domain and AWS training and certification for the partner account.
- Parameters:
disassociateAwsTrainingCertificationEmailDomainRequest-- Returns:
- A Java Future containing the result of the DisassociateAwsTrainingCertificationEmailDomain operation
returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateAwsTrainingCertificationEmailDomain
default CompletableFuture<DisassociateAwsTrainingCertificationEmailDomainResponse> disassociateAwsTrainingCertificationEmailDomain(Consumer<DisassociateAwsTrainingCertificationEmailDomainRequest.Builder> disassociateAwsTrainingCertificationEmailDomainRequest) 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:
- A Java Future containing the result of the DisassociateAwsTrainingCertificationEmailDomain operation
returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAllianceLeadContact
default CompletableFuture<GetAllianceLeadContactResponse> getAllianceLeadContact(GetAllianceLeadContactRequest getAllianceLeadContactRequest) Retrieves the alliance lead contact information for a partner account.
- Parameters:
getAllianceLeadContactRequest-- Returns:
- A Java Future containing the result of the GetAllianceLeadContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAllianceLeadContact
default CompletableFuture<GetAllianceLeadContactResponse> getAllianceLeadContact(Consumer<GetAllianceLeadContactRequest.Builder> getAllianceLeadContactRequest) 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:
- A Java Future containing the result of the GetAllianceLeadContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getConnection
default CompletableFuture<GetConnectionResponse> getConnection(GetConnectionRequest getConnectionRequest) Retrieves detailed information about a specific connection between partners.
- Parameters:
getConnectionRequest-- Returns:
- A Java Future containing the result of the GetConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getConnection
default CompletableFuture<GetConnectionResponse> getConnection(Consumer<GetConnectionRequest.Builder> getConnectionRequest) 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:
- A Java Future containing the result of the GetConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getConnectionInvitation
default CompletableFuture<GetConnectionInvitationResponse> getConnectionInvitation(GetConnectionInvitationRequest getConnectionInvitationRequest) Retrieves detailed information about a specific connection invitation.
- Parameters:
getConnectionInvitationRequest-- Returns:
- A Java Future containing the result of the GetConnectionInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getConnectionInvitation
default CompletableFuture<GetConnectionInvitationResponse> getConnectionInvitation(Consumer<GetConnectionInvitationRequest.Builder> getConnectionInvitationRequest) 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:
- A Java Future containing the result of the GetConnectionInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getConnectionPreferences
default CompletableFuture<GetConnectionPreferencesResponse> getConnectionPreferences(GetConnectionPreferencesRequest getConnectionPreferencesRequest) Retrieves the connection preferences for a partner account, including access settings and exclusions.
- Parameters:
getConnectionPreferencesRequest-- Returns:
- A Java Future containing the result of the GetConnectionPreferences operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getConnectionPreferences
default CompletableFuture<GetConnectionPreferencesResponse> getConnectionPreferences(Consumer<GetConnectionPreferencesRequest.Builder> getConnectionPreferencesRequest) 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:
- A Java Future containing the result of the GetConnectionPreferences operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getPartner
Retrieves detailed information about a specific partner account.
- Parameters:
getPartnerRequest-- Returns:
- A Java Future containing the result of the GetPartner operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getPartner
default CompletableFuture<GetPartnerResponse> getPartner(Consumer<GetPartnerRequest.Builder> getPartnerRequest) 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:
- A Java Future containing the result of the GetPartner operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getProfileUpdateTask
default CompletableFuture<GetProfileUpdateTaskResponse> getProfileUpdateTask(GetProfileUpdateTaskRequest getProfileUpdateTaskRequest) Retrieves information about a specific profile update task.
- Parameters:
getProfileUpdateTaskRequest-- Returns:
- A Java Future containing the result of the GetProfileUpdateTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getProfileUpdateTask
default CompletableFuture<GetProfileUpdateTaskResponse> getProfileUpdateTask(Consumer<GetProfileUpdateTaskRequest.Builder> getProfileUpdateTaskRequest) 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:
- A Java Future containing the result of the GetProfileUpdateTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getProfileVisibility
default CompletableFuture<GetProfileVisibilityResponse> getProfileVisibility(GetProfileVisibilityRequest getProfileVisibilityRequest) Retrieves the visibility settings for a partner profile, determining who can see the profile information.
- Parameters:
getProfileVisibilityRequest-- Returns:
- A Java Future containing the result of the GetProfileVisibility operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getProfileVisibility
default CompletableFuture<GetProfileVisibilityResponse> getProfileVisibility(Consumer<GetProfileVisibilityRequest.Builder> getProfileVisibilityRequest) 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:
- A Java Future containing the result of the GetProfileVisibility operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listConnectionInvitations
default CompletableFuture<ListConnectionInvitationsResponse> listConnectionInvitations(ListConnectionInvitationsRequest listConnectionInvitationsRequest) Lists connection invitations for the partner account, with optional filtering by status, type, and other criteria.
- Parameters:
listConnectionInvitationsRequest-- Returns:
- A Java Future containing the result of the ListConnectionInvitations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listConnectionInvitations
default CompletableFuture<ListConnectionInvitationsResponse> listConnectionInvitations(Consumer<ListConnectionInvitationsRequest.Builder> listConnectionInvitationsRequest) 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:
- A Java Future containing the result of the ListConnectionInvitations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listConnectionInvitationsPaginator
default ListConnectionInvitationsPublisher listConnectionInvitationsPaginator(ListConnectionInvitationsRequest listConnectionInvitationsRequest) This is a variant of
listConnectionInvitations(software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionInvitationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.partnercentralaccount.paginators.ListConnectionInvitationsPublisher publisher = client.listConnectionInvitationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.partnercentralaccount.paginators.ListConnectionInvitationsPublisher publisher = client.listConnectionInvitationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionInvitationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionInvitationsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listConnectionInvitationsPaginator
default ListConnectionInvitationsPublisher listConnectionInvitationsPaginator(Consumer<ListConnectionInvitationsRequest.Builder> listConnectionInvitationsRequest) This is a variant of
listConnectionInvitations(software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionInvitationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.partnercentralaccount.paginators.ListConnectionInvitationsPublisher publisher = client.listConnectionInvitationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.partnercentralaccount.paginators.ListConnectionInvitationsPublisher publisher = client.listConnectionInvitationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionInvitationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionInvitationsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listConnections
default CompletableFuture<ListConnectionsResponse> listConnections(ListConnectionsRequest listConnectionsRequest) Lists active connections for the partner account, with optional filtering by connection type and participant.
- Parameters:
listConnectionsRequest-- Returns:
- A Java Future containing the result of the ListConnections operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listConnections
default CompletableFuture<ListConnectionsResponse> listConnections(Consumer<ListConnectionsRequest.Builder> listConnectionsRequest) 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:
- A Java Future containing the result of the ListConnections operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listConnectionsPaginator
default ListConnectionsPublisher listConnectionsPaginator(ListConnectionsRequest listConnectionsRequest) This is a variant of
listConnections(software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.partnercentralaccount.paginators.ListConnectionsPublisher publisher = client.listConnectionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.partnercentralaccount.paginators.ListConnectionsPublisher publisher = client.listConnectionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listConnectionsPaginator
default ListConnectionsPublisher listConnectionsPaginator(Consumer<ListConnectionsRequest.Builder> listConnectionsRequest) This is a variant of
listConnections(software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.partnercentralaccount.paginators.ListConnectionsPublisher publisher = client.listConnectionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.partnercentralaccount.paginators.ListConnectionsPublisher publisher = client.listConnectionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.partnercentralaccount.model.ListConnectionsResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPartners
default CompletableFuture<ListPartnersResponse> listPartners(ListPartnersRequest listPartnersRequest) Lists partner accounts in the catalog, providing a summary view of all partners.
- Parameters:
listPartnersRequest-- Returns:
- A Java Future containing the result of the ListPartners operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPartners
default CompletableFuture<ListPartnersResponse> listPartners(Consumer<ListPartnersRequest.Builder> listPartnersRequest) 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:
- A Java Future containing the result of the ListPartners operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPartnersPaginator
This is a variant of
listPartners(software.amazon.awssdk.services.partnercentralaccount.model.ListPartnersRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.partnercentralaccount.paginators.ListPartnersPublisher publisher = client.listPartnersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.partnercentralaccount.paginators.ListPartnersPublisher publisher = client.listPartnersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralaccount.model.ListPartnersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.partnercentralaccount.model.ListPartnersResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPartnersPaginator
default ListPartnersPublisher listPartnersPaginator(Consumer<ListPartnersRequest.Builder> listPartnersRequest) This is a variant of
listPartners(software.amazon.awssdk.services.partnercentralaccount.model.ListPartnersRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.partnercentralaccount.paginators.ListPartnersPublisher publisher = client.listPartnersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.partnercentralaccount.paginators.ListPartnersPublisher publisher = client.listPartnersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralaccount.model.ListPartnersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.partnercentralaccount.model.ListPartnersResponse response) { //... }; });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 publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists all tags associated with a specific AWS Partner Central Account resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) 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:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putAllianceLeadContact
default CompletableFuture<PutAllianceLeadContactResponse> putAllianceLeadContact(PutAllianceLeadContactRequest putAllianceLeadContactRequest) Creates or updates the alliance lead contact information for a partner account.
- Parameters:
putAllianceLeadContactRequest-- Returns:
- A Java Future containing the result of the PutAllianceLeadContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putAllianceLeadContact
default CompletableFuture<PutAllianceLeadContactResponse> putAllianceLeadContact(Consumer<PutAllianceLeadContactRequest.Builder> putAllianceLeadContactRequest) 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:
- A Java Future containing the result of the PutAllianceLeadContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putProfileVisibility
default CompletableFuture<PutProfileVisibilityResponse> putProfileVisibility(PutProfileVisibilityRequest putProfileVisibilityRequest) Sets the visibility level for a partner profile, controlling who can view the profile information.
- Parameters:
putProfileVisibilityRequest-- Returns:
- A Java Future containing the result of the PutProfileVisibility operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putProfileVisibility
default CompletableFuture<PutProfileVisibilityResponse> putProfileVisibility(Consumer<PutProfileVisibilityRequest.Builder> putProfileVisibilityRequest) 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:
- A Java Future containing the result of the PutProfileVisibility operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
rejectConnectionInvitation
default CompletableFuture<RejectConnectionInvitationResponse> rejectConnectionInvitation(RejectConnectionInvitationRequest rejectConnectionInvitationRequest) Rejects a connection invitation from another partner, declining the partnership request.
- Parameters:
rejectConnectionInvitationRequest-- Returns:
- A Java Future containing the result of the RejectConnectionInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
rejectConnectionInvitation
default CompletableFuture<RejectConnectionInvitationResponse> rejectConnectionInvitation(Consumer<RejectConnectionInvitationRequest.Builder> rejectConnectionInvitationRequest) 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:
- A Java Future containing the result of the RejectConnectionInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
sendEmailVerificationCode
default CompletableFuture<SendEmailVerificationCodeResponse> sendEmailVerificationCode(SendEmailVerificationCodeRequest sendEmailVerificationCodeRequest) Sends an email verification code to the specified email address for account verification purposes.
- Parameters:
sendEmailVerificationCodeRequest-- Returns:
- A Java Future containing the result of the SendEmailVerificationCode operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- ServiceQuotaExceededException The request was rejected because it would exceed a service quota or limit. This may occur when trying to create more resources than allowed by the service limits.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
sendEmailVerificationCode
default CompletableFuture<SendEmailVerificationCodeResponse> sendEmailVerificationCode(Consumer<SendEmailVerificationCodeRequest.Builder> sendEmailVerificationCodeRequest) 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:
- A Java Future containing the result of the SendEmailVerificationCode operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- ServiceQuotaExceededException The request was rejected because it would exceed a service quota or limit. This may occur when trying to create more resources than allowed by the service limits.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startProfileUpdateTask
default CompletableFuture<StartProfileUpdateTaskResponse> startProfileUpdateTask(StartProfileUpdateTaskRequest startProfileUpdateTaskRequest) Initiates a profile update task to modify partner profile information asynchronously.
- Parameters:
startProfileUpdateTaskRequest-- Returns:
- A Java Future containing the result of the StartProfileUpdateTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startProfileUpdateTask
default CompletableFuture<StartProfileUpdateTaskResponse> startProfileUpdateTask(Consumer<StartProfileUpdateTaskRequest.Builder> startProfileUpdateTaskRequest) 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:
- A Java Future containing the result of the StartProfileUpdateTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Adds or updates tags for a specified AWS Partner Central Account resource.
- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) 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:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes specified tags from an AWS Partner Central Account resource.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) 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:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.
- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateConnectionPreferences
default CompletableFuture<UpdateConnectionPreferencesResponse> updateConnectionPreferences(UpdateConnectionPreferencesRequest updateConnectionPreferencesRequest) Updates the connection preferences for a partner account, modifying access settings and exclusions.
- Parameters:
updateConnectionPreferencesRequest-- Returns:
- A Java Future containing the result of the UpdateConnectionPreferences operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateConnectionPreferences
default CompletableFuture<UpdateConnectionPreferencesResponse> updateConnectionPreferences(Consumer<UpdateConnectionPreferencesRequest.Builder> updateConnectionPreferencesRequest) 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:
- A Java Future containing the result of the UpdateConnectionPreferences operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.
- ThrottlingException The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.
- ConflictException The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.
- ValidationException The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.
- InternalServerException An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PartnerCentralAccountException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
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
-
create
Create aPartnerCentralAccountAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aPartnerCentralAccountAsyncClient.
-