Interface PartnerCentralChannelAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface PartnerCentralChannelAsyncClient extends AwsClient
Service client for accessing Partner Central Channel 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 Channel service for managing partner relationships, handshakes, and program management accounts.

  • Field Details

  • Method Details

    • acceptChannelHandshake

      default CompletableFuture<AcceptChannelHandshakeResponse> acceptChannelHandshake(AcceptChannelHandshakeRequest acceptChannelHandshakeRequest)

      Accepts a pending channel handshake request from another AWS account.

      Parameters:
      acceptChannelHandshakeRequest -
      Returns:
      A Java Future containing the result of the AcceptChannelHandshake 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • acceptChannelHandshake

      default CompletableFuture<AcceptChannelHandshakeResponse> acceptChannelHandshake(Consumer<AcceptChannelHandshakeRequest.Builder> acceptChannelHandshakeRequest)

      Accepts a pending channel handshake request from another AWS account.


      This is a convenience which creates an instance of the AcceptChannelHandshakeRequest.Builder avoiding the need to create one manually via AcceptChannelHandshakeRequest.builder()

      Parameters:
      acceptChannelHandshakeRequest - A Consumer that will call methods on AcceptChannelHandshakeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AcceptChannelHandshake 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • cancelChannelHandshake

      default CompletableFuture<CancelChannelHandshakeResponse> cancelChannelHandshake(CancelChannelHandshakeRequest cancelChannelHandshakeRequest)

      Cancels a pending channel handshake request.

      Parameters:
      cancelChannelHandshakeRequest -
      Returns:
      A Java Future containing the result of the CancelChannelHandshake 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • cancelChannelHandshake

      default CompletableFuture<CancelChannelHandshakeResponse> cancelChannelHandshake(Consumer<CancelChannelHandshakeRequest.Builder> cancelChannelHandshakeRequest)

      Cancels a pending channel handshake request.


      This is a convenience which creates an instance of the CancelChannelHandshakeRequest.Builder avoiding the need to create one manually via CancelChannelHandshakeRequest.builder()

      Parameters:
      cancelChannelHandshakeRequest - A Consumer that will call methods on CancelChannelHandshakeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CancelChannelHandshake 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createChannelHandshake

      default CompletableFuture<CreateChannelHandshakeResponse> createChannelHandshake(CreateChannelHandshakeRequest createChannelHandshakeRequest)

      Creates a new channel handshake request to establish a partnership with another AWS account.

      Parameters:
      createChannelHandshakeRequest -
      Returns:
      A Java Future containing the result of the CreateChannelHandshake 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ServiceQuotaExceededException The request would exceed a service quota limit.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createChannelHandshake

      default CompletableFuture<CreateChannelHandshakeResponse> createChannelHandshake(Consumer<CreateChannelHandshakeRequest.Builder> createChannelHandshakeRequest)

      Creates a new channel handshake request to establish a partnership with another AWS account.


      This is a convenience which creates an instance of the CreateChannelHandshakeRequest.Builder avoiding the need to create one manually via CreateChannelHandshakeRequest.builder()

      Parameters:
      createChannelHandshakeRequest - A Consumer that will call methods on CreateChannelHandshakeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateChannelHandshake 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ServiceQuotaExceededException The request would exceed a service quota limit.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createProgramManagementAccount

      default CompletableFuture<CreateProgramManagementAccountResponse> createProgramManagementAccount(CreateProgramManagementAccountRequest createProgramManagementAccountRequest)

      Creates a new program management account for managing partner relationships.

      Parameters:
      createProgramManagementAccountRequest -
      Returns:
      A Java Future containing the result of the CreateProgramManagementAccount 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ServiceQuotaExceededException The request would exceed a service quota limit.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createProgramManagementAccount

      default CompletableFuture<CreateProgramManagementAccountResponse> createProgramManagementAccount(Consumer<CreateProgramManagementAccountRequest.Builder> createProgramManagementAccountRequest)

      Creates a new program management account for managing partner relationships.


      This is a convenience which creates an instance of the CreateProgramManagementAccountRequest.Builder avoiding the need to create one manually via CreateProgramManagementAccountRequest.builder()

      Parameters:
      createProgramManagementAccountRequest - A Consumer that will call methods on CreateProgramManagementAccountRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateProgramManagementAccount 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ServiceQuotaExceededException The request would exceed a service quota limit.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createRelationship

      default CompletableFuture<CreateRelationshipResponse> createRelationship(CreateRelationshipRequest createRelationshipRequest)

      Creates a new partner relationship between accounts.

      Parameters:
      createRelationshipRequest -
      Returns:
      A Java Future containing the result of the CreateRelationship 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ServiceQuotaExceededException The request would exceed a service quota limit.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createRelationship

      default CompletableFuture<CreateRelationshipResponse> createRelationship(Consumer<CreateRelationshipRequest.Builder> createRelationshipRequest)

      Creates a new partner relationship between accounts.


      This is a convenience which creates an instance of the CreateRelationshipRequest.Builder avoiding the need to create one manually via CreateRelationshipRequest.builder()

      Parameters:
      createRelationshipRequest - A Consumer that will call methods on CreateRelationshipRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateRelationship 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ServiceQuotaExceededException The request would exceed a service quota limit.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteProgramManagementAccount

      default CompletableFuture<DeleteProgramManagementAccountResponse> deleteProgramManagementAccount(DeleteProgramManagementAccountRequest deleteProgramManagementAccountRequest)

      Deletes a program management account.

      Parameters:
      deleteProgramManagementAccountRequest -
      Returns:
      A Java Future containing the result of the DeleteProgramManagementAccount 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteProgramManagementAccount

      default CompletableFuture<DeleteProgramManagementAccountResponse> deleteProgramManagementAccount(Consumer<DeleteProgramManagementAccountRequest.Builder> deleteProgramManagementAccountRequest)

      Deletes a program management account.


      This is a convenience which creates an instance of the DeleteProgramManagementAccountRequest.Builder avoiding the need to create one manually via DeleteProgramManagementAccountRequest.builder()

      Parameters:
      deleteProgramManagementAccountRequest - A Consumer that will call methods on DeleteProgramManagementAccountRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteProgramManagementAccount 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteRelationship

      default CompletableFuture<DeleteRelationshipResponse> deleteRelationship(DeleteRelationshipRequest deleteRelationshipRequest)

      Deletes a partner relationship.

      Parameters:
      deleteRelationshipRequest -
      Returns:
      A Java Future containing the result of the DeleteRelationship 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteRelationship

      default CompletableFuture<DeleteRelationshipResponse> deleteRelationship(Consumer<DeleteRelationshipRequest.Builder> deleteRelationshipRequest)

      Deletes a partner relationship.


      This is a convenience which creates an instance of the DeleteRelationshipRequest.Builder avoiding the need to create one manually via DeleteRelationshipRequest.builder()

      Parameters:
      deleteRelationshipRequest - A Consumer that will call methods on DeleteRelationshipRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteRelationship 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getRelationship

      default CompletableFuture<GetRelationshipResponse> getRelationship(GetRelationshipRequest getRelationshipRequest)

      Retrieves details of a specific partner relationship.

      Parameters:
      getRelationshipRequest -
      Returns:
      A Java Future containing the result of the GetRelationship 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getRelationship

      default CompletableFuture<GetRelationshipResponse> getRelationship(Consumer<GetRelationshipRequest.Builder> getRelationshipRequest)

      Retrieves details of a specific partner relationship.


      This is a convenience which creates an instance of the GetRelationshipRequest.Builder avoiding the need to create one manually via GetRelationshipRequest.builder()

      Parameters:
      getRelationshipRequest - A Consumer that will call methods on GetRelationshipRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetRelationship 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listChannelHandshakes

      default CompletableFuture<ListChannelHandshakesResponse> listChannelHandshakes(ListChannelHandshakesRequest listChannelHandshakesRequest)

      Lists channel handshakes based on specified criteria.

      Parameters:
      listChannelHandshakesRequest -
      Returns:
      A Java Future containing the result of the ListChannelHandshakes 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listChannelHandshakes

      default CompletableFuture<ListChannelHandshakesResponse> listChannelHandshakes(Consumer<ListChannelHandshakesRequest.Builder> listChannelHandshakesRequest)

      Lists channel handshakes based on specified criteria.


      This is a convenience which creates an instance of the ListChannelHandshakesRequest.Builder avoiding the need to create one manually via ListChannelHandshakesRequest.builder()

      Parameters:
      listChannelHandshakesRequest - A Consumer that will call methods on ListChannelHandshakesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListChannelHandshakes 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listChannelHandshakesPaginator

      default ListChannelHandshakesPublisher listChannelHandshakesPaginator(ListChannelHandshakesRequest listChannelHandshakesRequest)

      This is a variant of listChannelHandshakes(software.amazon.awssdk.services.partnercentralchannel.model.ListChannelHandshakesRequest) 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.partnercentralchannel.paginators.ListChannelHandshakesPublisher publisher = client.listChannelHandshakesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.partnercentralchannel.paginators.ListChannelHandshakesPublisher publisher = client.listChannelHandshakesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralchannel.model.ListChannelHandshakesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.partnercentralchannel.model.ListChannelHandshakesResponse 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 listChannelHandshakes(software.amazon.awssdk.services.partnercentralchannel.model.ListChannelHandshakesRequest) operation.

      Parameters:
      listChannelHandshakesRequest -
      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.
      • ResourceNotFoundException The specified resource was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listChannelHandshakesPaginator

      default ListChannelHandshakesPublisher listChannelHandshakesPaginator(Consumer<ListChannelHandshakesRequest.Builder> listChannelHandshakesRequest)

      This is a variant of listChannelHandshakes(software.amazon.awssdk.services.partnercentralchannel.model.ListChannelHandshakesRequest) 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.partnercentralchannel.paginators.ListChannelHandshakesPublisher publisher = client.listChannelHandshakesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.partnercentralchannel.paginators.ListChannelHandshakesPublisher publisher = client.listChannelHandshakesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralchannel.model.ListChannelHandshakesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.partnercentralchannel.model.ListChannelHandshakesResponse 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 listChannelHandshakes(software.amazon.awssdk.services.partnercentralchannel.model.ListChannelHandshakesRequest) operation.


      This is a convenience which creates an instance of the ListChannelHandshakesRequest.Builder avoiding the need to create one manually via ListChannelHandshakesRequest.builder()

      Parameters:
      listChannelHandshakesRequest - A Consumer that will call methods on ListChannelHandshakesRequest.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.
      • ResourceNotFoundException The specified resource was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProgramManagementAccounts

      default CompletableFuture<ListProgramManagementAccountsResponse> listProgramManagementAccounts(ListProgramManagementAccountsRequest listProgramManagementAccountsRequest)

      Lists program management accounts based on specified criteria.

      Parameters:
      listProgramManagementAccountsRequest -
      Returns:
      A Java Future containing the result of the ListProgramManagementAccounts 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProgramManagementAccounts

      default CompletableFuture<ListProgramManagementAccountsResponse> listProgramManagementAccounts(Consumer<ListProgramManagementAccountsRequest.Builder> listProgramManagementAccountsRequest)

      Lists program management accounts based on specified criteria.


      This is a convenience which creates an instance of the ListProgramManagementAccountsRequest.Builder avoiding the need to create one manually via ListProgramManagementAccountsRequest.builder()

      Parameters:
      listProgramManagementAccountsRequest - A Consumer that will call methods on ListProgramManagementAccountsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListProgramManagementAccounts 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProgramManagementAccountsPaginator

      default ListProgramManagementAccountsPublisher listProgramManagementAccountsPaginator(ListProgramManagementAccountsRequest listProgramManagementAccountsRequest)

      This is a variant of listProgramManagementAccounts(software.amazon.awssdk.services.partnercentralchannel.model.ListProgramManagementAccountsRequest) 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.partnercentralchannel.paginators.ListProgramManagementAccountsPublisher publisher = client.listProgramManagementAccountsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.partnercentralchannel.paginators.ListProgramManagementAccountsPublisher publisher = client.listProgramManagementAccountsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralchannel.model.ListProgramManagementAccountsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.partnercentralchannel.model.ListProgramManagementAccountsResponse 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 listProgramManagementAccounts(software.amazon.awssdk.services.partnercentralchannel.model.ListProgramManagementAccountsRequest) operation.

      Parameters:
      listProgramManagementAccountsRequest -
      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.
      • ResourceNotFoundException The specified resource was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProgramManagementAccountsPaginator

      default ListProgramManagementAccountsPublisher listProgramManagementAccountsPaginator(Consumer<ListProgramManagementAccountsRequest.Builder> listProgramManagementAccountsRequest)

      This is a variant of listProgramManagementAccounts(software.amazon.awssdk.services.partnercentralchannel.model.ListProgramManagementAccountsRequest) 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.partnercentralchannel.paginators.ListProgramManagementAccountsPublisher publisher = client.listProgramManagementAccountsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.partnercentralchannel.paginators.ListProgramManagementAccountsPublisher publisher = client.listProgramManagementAccountsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralchannel.model.ListProgramManagementAccountsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.partnercentralchannel.model.ListProgramManagementAccountsResponse 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 listProgramManagementAccounts(software.amazon.awssdk.services.partnercentralchannel.model.ListProgramManagementAccountsRequest) operation.


      This is a convenience which creates an instance of the ListProgramManagementAccountsRequest.Builder avoiding the need to create one manually via ListProgramManagementAccountsRequest.builder()

      Parameters:
      listProgramManagementAccountsRequest - A Consumer that will call methods on ListProgramManagementAccountsRequest.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.
      • ResourceNotFoundException The specified resource was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRelationships

      default CompletableFuture<ListRelationshipsResponse> listRelationships(ListRelationshipsRequest listRelationshipsRequest)

      Lists partner relationships based on specified criteria.

      Parameters:
      listRelationshipsRequest -
      Returns:
      A Java Future containing the result of the ListRelationships 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRelationships

      default CompletableFuture<ListRelationshipsResponse> listRelationships(Consumer<ListRelationshipsRequest.Builder> listRelationshipsRequest)

      Lists partner relationships based on specified criteria.


      This is a convenience which creates an instance of the ListRelationshipsRequest.Builder avoiding the need to create one manually via ListRelationshipsRequest.builder()

      Parameters:
      listRelationshipsRequest - A Consumer that will call methods on ListRelationshipsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListRelationships 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRelationshipsPaginator

      default ListRelationshipsPublisher listRelationshipsPaginator(ListRelationshipsRequest listRelationshipsRequest)

      This is a variant of listRelationships(software.amazon.awssdk.services.partnercentralchannel.model.ListRelationshipsRequest) 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.partnercentralchannel.paginators.ListRelationshipsPublisher publisher = client.listRelationshipsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.partnercentralchannel.paginators.ListRelationshipsPublisher publisher = client.listRelationshipsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralchannel.model.ListRelationshipsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.partnercentralchannel.model.ListRelationshipsResponse 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 listRelationships(software.amazon.awssdk.services.partnercentralchannel.model.ListRelationshipsRequest) operation.

      Parameters:
      listRelationshipsRequest -
      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.
      • ResourceNotFoundException The specified resource was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRelationshipsPaginator

      default ListRelationshipsPublisher listRelationshipsPaginator(Consumer<ListRelationshipsRequest.Builder> listRelationshipsRequest)

      This is a variant of listRelationships(software.amazon.awssdk.services.partnercentralchannel.model.ListRelationshipsRequest) 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.partnercentralchannel.paginators.ListRelationshipsPublisher publisher = client.listRelationshipsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.partnercentralchannel.paginators.ListRelationshipsPublisher publisher = client.listRelationshipsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.partnercentralchannel.model.ListRelationshipsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.partnercentralchannel.model.ListRelationshipsResponse 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 listRelationships(software.amazon.awssdk.services.partnercentralchannel.model.ListRelationshipsRequest) operation.


      This is a convenience which creates an instance of the ListRelationshipsRequest.Builder avoiding the need to create one manually via ListRelationshipsRequest.builder()

      Parameters:
      listRelationshipsRequest - A Consumer that will call methods on ListRelationshipsRequest.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.
      • ResourceNotFoundException The specified resource was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • 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.
      • PartnerCentralChannelException 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 tags associated with a specific 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • 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.
      • PartnerCentralChannelException 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 tags associated with a specific 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • rejectChannelHandshake

      default CompletableFuture<RejectChannelHandshakeResponse> rejectChannelHandshake(RejectChannelHandshakeRequest rejectChannelHandshakeRequest)

      Rejects a pending channel handshake request.

      Parameters:
      rejectChannelHandshakeRequest -
      Returns:
      A Java Future containing the result of the RejectChannelHandshake 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • rejectChannelHandshake

      default CompletableFuture<RejectChannelHandshakeResponse> rejectChannelHandshake(Consumer<RejectChannelHandshakeRequest.Builder> rejectChannelHandshakeRequest)

      Rejects a pending channel handshake request.


      This is a convenience which creates an instance of the RejectChannelHandshakeRequest.Builder avoiding the need to create one manually via RejectChannelHandshakeRequest.builder()

      Parameters:
      rejectChannelHandshakeRequest - A Consumer that will call methods on RejectChannelHandshakeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RejectChannelHandshake 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • 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.
      • PartnerCentralChannelException 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 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • 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.
      • PartnerCentralChannelException 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 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • 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.
      • PartnerCentralChannelException 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 tags from a specified 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • 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.
      • PartnerCentralChannelException 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 tags from a specified 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateProgramManagementAccount

      default CompletableFuture<UpdateProgramManagementAccountResponse> updateProgramManagementAccount(UpdateProgramManagementAccountRequest updateProgramManagementAccountRequest)

      Updates the properties of a program management account.

      Parameters:
      updateProgramManagementAccountRequest -
      Returns:
      A Java Future containing the result of the UpdateProgramManagementAccount 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateProgramManagementAccount

      default CompletableFuture<UpdateProgramManagementAccountResponse> updateProgramManagementAccount(Consumer<UpdateProgramManagementAccountRequest.Builder> updateProgramManagementAccountRequest)

      Updates the properties of a program management account.


      This is a convenience which creates an instance of the UpdateProgramManagementAccountRequest.Builder avoiding the need to create one manually via UpdateProgramManagementAccountRequest.builder()

      Parameters:
      updateProgramManagementAccountRequest - A Consumer that will call methods on UpdateProgramManagementAccountRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateProgramManagementAccount 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateRelationship

      default CompletableFuture<UpdateRelationshipResponse> updateRelationship(UpdateRelationshipRequest updateRelationshipRequest)

      Updates the properties of a partner relationship.

      Parameters:
      updateRelationshipRequest -
      Returns:
      A Java Future containing the result of the UpdateRelationship 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateRelationship

      default CompletableFuture<UpdateRelationshipResponse> updateRelationship(Consumer<UpdateRelationshipRequest.Builder> updateRelationshipRequest)

      Updates the properties of a partner relationship.


      This is a convenience which creates an instance of the UpdateRelationshipRequest.Builder avoiding the need to create one manually via UpdateRelationshipRequest.builder()

      Parameters:
      updateRelationshipRequest - A Consumer that will call methods on UpdateRelationshipRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateRelationship 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 was not found.
      • InternalServerException An internal server error occurred while processing the request.
      • ValidationException The request failed validation due to invalid input parameters.
      • ThrottlingException The request was throttled due to too many requests being sent in a short period.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • 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.
      • PartnerCentralChannelException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • serviceClientConfiguration

      default PartnerCentralChannelServiceClientConfiguration 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 PartnerCentralChannelAsyncClient 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 PartnerCentralChannelAsyncClient.