Interface PartnerCentralAccountAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface PartnerCentralAccountAsyncClient extends AwsClient
Service client for accessing Partner Central Account API asynchronously. This can be created using the static 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 Details

  • 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 invoke Throwable.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.Builder avoiding the need to create one manually via AcceptConnectionInvitationRequest.builder()

      Parameters:
      acceptConnectionInvitationRequest - A Consumer that will call methods on AcceptConnectionInvitationRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via AssociateAwsTrainingCertificationEmailDomainRequest.builder()

      Parameters:
      associateAwsTrainingCertificationEmailDomainRequest - A Consumer that will call methods on AssociateAwsTrainingCertificationEmailDomainRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via CancelConnectionRequest.builder()

      Parameters:
      cancelConnectionRequest - A Consumer that will call methods on CancelConnectionRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via CancelConnectionInvitationRequest.builder()

      Parameters:
      cancelConnectionInvitationRequest - A Consumer that will call methods on CancelConnectionInvitationRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via CancelProfileUpdateTaskRequest.builder()

      Parameters:
      cancelProfileUpdateTaskRequest - A Consumer that will call methods on CancelProfileUpdateTaskRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via CreateConnectionInvitationRequest.builder()

      Parameters:
      createConnectionInvitationRequest - A Consumer that will call methods on CreateConnectionInvitationRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via CreatePartnerRequest.builder()

      Parameters:
      createPartnerRequest - A Consumer that will call methods on CreatePartnerRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via DisassociateAwsTrainingCertificationEmailDomainRequest.builder()

      Parameters:
      disassociateAwsTrainingCertificationEmailDomainRequest - A Consumer that will call methods on DisassociateAwsTrainingCertificationEmailDomainRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via GetAllianceLeadContactRequest.builder()

      Parameters:
      getAllianceLeadContactRequest - A Consumer that will call methods on GetAllianceLeadContactRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via GetConnectionRequest.builder()

      Parameters:
      getConnectionRequest - A Consumer that will call methods on GetConnectionRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via GetConnectionInvitationRequest.builder()

      Parameters:
      getConnectionInvitationRequest - A Consumer that will call methods on GetConnectionInvitationRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via GetConnectionPreferencesRequest.builder()

      Parameters:
      getConnectionPreferencesRequest - A Consumer that will call methods on GetConnectionPreferencesRequest.Builder to 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 invoke Throwable.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

      default CompletableFuture<GetPartnerResponse> getPartner(GetPartnerRequest getPartnerRequest)

      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 invoke Throwable.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.Builder avoiding the need to create one manually via GetPartnerRequest.builder()

      Parameters:
      getPartnerRequest - A Consumer that will call methods on GetPartnerRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via GetProfileUpdateTaskRequest.builder()

      Parameters:
      getProfileUpdateTaskRequest - A Consumer that will call methods on GetProfileUpdateTaskRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via GetProfileVisibilityRequest.builder()

      Parameters:
      getProfileVisibilityRequest - A Consumer that will call methods on GetProfileVisibilityRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via ListConnectionInvitationsRequest.builder()

      Parameters:
      listConnectionInvitationsRequest - A Consumer that will call methods on ListConnectionInvitationsRequest.Builder to 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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.partnercentralaccount.paginators.ListConnectionInvitationsPublisher publisher = client.listConnectionInvitationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.partnercentralaccount.paginators.ListConnectionInvitationsPublisher publisher = client.listConnectionInvitationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via ListConnectionInvitationsRequest.builder()

      Parameters:
      listConnectionInvitationsRequest - A Consumer that will call methods on ListConnectionInvitationsRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via ListConnectionsRequest.builder()

      Parameters:
      listConnectionsRequest - A Consumer that will call methods on ListConnectionsRequest.Builder to 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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.partnercentralaccount.paginators.ListConnectionsPublisher publisher = client.listConnectionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.partnercentralaccount.paginators.ListConnectionsPublisher publisher = client.listConnectionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via ListConnectionsRequest.builder()

      Parameters:
      listConnectionsRequest - A Consumer that will call methods on ListConnectionsRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via ListPartnersRequest.builder()

      Parameters:
      listPartnersRequest - A Consumer that will call methods on ListPartnersRequest.Builder to 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 invoke Throwable.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(ListPartnersRequest 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 new Subscription i.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
       
       software.amazon.awssdk.services.partnercentralaccount.paginators.ListPartnersPublisher publisher = client.listPartnersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.partnercentralaccount.paginators.ListPartnersPublisher publisher = client.listPartnersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via ListPartnersRequest.builder()

      Parameters:
      listPartnersRequest - A Consumer that will call methods on ListPartnersRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via ListTagsForResourceRequest.builder()

      Parameters:
      listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via PutAllianceLeadContactRequest.builder()

      Parameters:
      putAllianceLeadContactRequest - A Consumer that will call methods on PutAllianceLeadContactRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via PutProfileVisibilityRequest.builder()

      Parameters:
      putProfileVisibilityRequest - A Consumer that will call methods on PutProfileVisibilityRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via RejectConnectionInvitationRequest.builder()

      Parameters:
      rejectConnectionInvitationRequest - A Consumer that will call methods on RejectConnectionInvitationRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via SendEmailVerificationCodeRequest.builder()

      Parameters:
      sendEmailVerificationCodeRequest - A Consumer that will call methods on SendEmailVerificationCodeRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via StartProfileUpdateTaskRequest.builder()

      Parameters:
      startProfileUpdateTaskRequest - A Consumer that will call methods on StartProfileUpdateTaskRequest.Builder to 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 invoke Throwable.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

      default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)

      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 invoke Throwable.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.Builder avoiding the need to create one manually via TagResourceRequest.builder()

      Parameters:
      tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via UntagResourceRequest.builder()

      Parameters:
      untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via UpdateConnectionPreferencesRequest.builder()

      Parameters:
      updateConnectionPreferencesRequest - A Consumer that will call methods on UpdateConnectionPreferencesRequest.Builder to 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 invoke Throwable.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

      default PartnerCentralAccountServiceClientConfiguration serviceClientConfiguration()
      Description copied from interface: SdkClient
      The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration
      Specified by:
      serviceClientConfiguration in interface AwsClient
      Specified by:
      serviceClientConfiguration in interface SdkClient
      Returns:
      SdkServiceClientConfiguration
    • create

      Create a PartnerCentralAccountAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      Create a builder that can be used to configure and create a PartnerCentralAccountAsyncClient.