Interface PartnerCentralAnalyticsAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface PartnerCentralAnalyticsAsyncClient extends AwsClient
Service client for accessing Partner Central Analytics 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.

Partner Central Analytics Service

  • Field Details

  • Method Details

    • createDataSubscription

      default CompletableFuture<CreateDataSubscriptionResponse> createDataSubscription(CreateDataSubscriptionRequest createDataSubscriptionRequest)

      Creates a data subscription that delivers a partner analytics dataset to an S3 bucket in the caller's AWS account on a schedule. The delivery destination is validated before the subscription is created: the service performs a test write to the bucket as its delivery principal using the supplied KMS key. Subscriptions are immutable; delete and recreate to change one.

      Parameters:
      createDataSubscriptionRequest -
      Returns:
      A Java Future containing the result of the CreateDataSubscription 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.
      • ServiceQuotaExceededException Creating the data subscription would exceed the per-dataset subscription quota for the caller.
      • TooManyRequestsException The request was denied due to request throttling. Reduce your request rate and retry with exponential backoff.
      • InternalServerException Thrown when an unexpected error occurs while processing the request
      • ConflictException An active data subscription with the same dataset, delivery method, and destination already exists for the caller.
      • AccessDeniedException This exception is thrown when the client is not authorized to perform an action
      • BadRequestException This exception is thrown when the request is not formatted correctly.
      • IdempotentParameterMismatchException The supplied clientToken was used on a prior successful request with different parameters.
      • S3AccessException The destination S3 bucket is not accessible to the delivery principal. Check the bucket policy and ownership.
      • KmsKeyAccessException The KMS key is not usable by the delivery principal for the destination bucket. Check the key policy.
      • 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.
      • PartnerCentralAnalyticsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createDataSubscription

      default CompletableFuture<CreateDataSubscriptionResponse> createDataSubscription(Consumer<CreateDataSubscriptionRequest.Builder> createDataSubscriptionRequest)

      Creates a data subscription that delivers a partner analytics dataset to an S3 bucket in the caller's AWS account on a schedule. The delivery destination is validated before the subscription is created: the service performs a test write to the bucket as its delivery principal using the supplied KMS key. Subscriptions are immutable; delete and recreate to change one.


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

      Parameters:
      createDataSubscriptionRequest - A Consumer that will call methods on CreateDataSubscriptionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateDataSubscription 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.
      • ServiceQuotaExceededException Creating the data subscription would exceed the per-dataset subscription quota for the caller.
      • TooManyRequestsException The request was denied due to request throttling. Reduce your request rate and retry with exponential backoff.
      • InternalServerException Thrown when an unexpected error occurs while processing the request
      • ConflictException An active data subscription with the same dataset, delivery method, and destination already exists for the caller.
      • AccessDeniedException This exception is thrown when the client is not authorized to perform an action
      • BadRequestException This exception is thrown when the request is not formatted correctly.
      • IdempotentParameterMismatchException The supplied clientToken was used on a prior successful request with different parameters.
      • S3AccessException The destination S3 bucket is not accessible to the delivery principal. Check the bucket policy and ownership.
      • KmsKeyAccessException The KMS key is not usable by the delivery principal for the destination bucket. Check the key policy.
      • 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.
      • PartnerCentralAnalyticsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteDataSubscription

      default CompletableFuture<DeleteDataSubscriptionResponse> deleteDataSubscription(DeleteDataSubscriptionRequest deleteDataSubscriptionRequest)

      Deletes a data subscription owned by the calling account. Delivery stops immediately; data already delivered stays in the caller's bucket. Deleting an already-deleted subscription succeeds.

      Parameters:
      deleteDataSubscriptionRequest -
      Returns:
      A Java Future containing the result of the DeleteDataSubscription 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.
      • TooManyRequestsException The request was denied due to request throttling. Reduce your request rate and retry with exponential backoff.
      • InternalServerException Thrown when an unexpected error occurs while processing the request
      • AccessDeniedException This exception is thrown when the client is not authorized to perform an action
      • BadRequestException This exception is thrown when the request is not formatted correctly.
      • ResourceNotFoundException Thrown when the requested resource does not exist
      • 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.
      • PartnerCentralAnalyticsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteDataSubscription

      default CompletableFuture<DeleteDataSubscriptionResponse> deleteDataSubscription(Consumer<DeleteDataSubscriptionRequest.Builder> deleteDataSubscriptionRequest)

      Deletes a data subscription owned by the calling account. Delivery stops immediately; data already delivered stays in the caller's bucket. Deleting an already-deleted subscription succeeds.


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

      Parameters:
      deleteDataSubscriptionRequest - A Consumer that will call methods on DeleteDataSubscriptionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteDataSubscription 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.
      • TooManyRequestsException The request was denied due to request throttling. Reduce your request rate and retry with exponential backoff.
      • InternalServerException Thrown when an unexpected error occurs while processing the request
      • AccessDeniedException This exception is thrown when the client is not authorized to perform an action
      • BadRequestException This exception is thrown when the request is not formatted correctly.
      • ResourceNotFoundException Thrown when the requested resource does not exist
      • 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.
      • PartnerCentralAnalyticsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getDataSubscription

      default CompletableFuture<GetDataSubscriptionResponse> getDataSubscription(GetDataSubscriptionRequest getDataSubscriptionRequest)

      Returns the full details of a data subscription owned by the calling account, including its delivery status and how far delivery has progressed.

      Parameters:
      getDataSubscriptionRequest -
      Returns:
      A Java Future containing the result of the GetDataSubscription 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.
      • TooManyRequestsException The request was denied due to request throttling. Reduce your request rate and retry with exponential backoff.
      • InternalServerException Thrown when an unexpected error occurs while processing the request
      • AccessDeniedException This exception is thrown when the client is not authorized to perform an action
      • BadRequestException This exception is thrown when the request is not formatted correctly.
      • ResourceNotFoundException Thrown when the requested resource does not exist
      • 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.
      • PartnerCentralAnalyticsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getDataSubscription

      default CompletableFuture<GetDataSubscriptionResponse> getDataSubscription(Consumer<GetDataSubscriptionRequest.Builder> getDataSubscriptionRequest)

      Returns the full details of a data subscription owned by the calling account, including its delivery status and how far delivery has progressed.


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

      Parameters:
      getDataSubscriptionRequest - A Consumer that will call methods on GetDataSubscriptionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetDataSubscription 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.
      • TooManyRequestsException The request was denied due to request throttling. Reduce your request rate and retry with exponential backoff.
      • InternalServerException Thrown when an unexpected error occurs while processing the request
      • AccessDeniedException This exception is thrown when the client is not authorized to perform an action
      • BadRequestException This exception is thrown when the request is not formatted correctly.
      • ResourceNotFoundException Thrown when the requested resource does not exist
      • 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.
      • PartnerCentralAnalyticsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDataSubscriptions

      default CompletableFuture<ListDataSubscriptionsResponse> listDataSubscriptions(ListDataSubscriptionsRequest listDataSubscriptionsRequest)

      Lists the data subscriptions owned by the calling account in the given catalog. Deleted subscriptions are not listed; use GetDataSubscription to retrieve a deleted subscription by its ARN.

      Parameters:
      listDataSubscriptionsRequest -
      Returns:
      A Java Future containing the result of the ListDataSubscriptions 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.
      • TooManyRequestsException The request was denied due to request throttling. Reduce your request rate and retry with exponential backoff.
      • InternalServerException Thrown when an unexpected error occurs while processing the request
      • AccessDeniedException This exception is thrown when the client is not authorized to perform an action
      • BadRequestException This exception is thrown when the request is not formatted correctly.
      • 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.
      • PartnerCentralAnalyticsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDataSubscriptions

      default CompletableFuture<ListDataSubscriptionsResponse> listDataSubscriptions(Consumer<ListDataSubscriptionsRequest.Builder> listDataSubscriptionsRequest)

      Lists the data subscriptions owned by the calling account in the given catalog. Deleted subscriptions are not listed; use GetDataSubscription to retrieve a deleted subscription by its ARN.


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

      Parameters:
      listDataSubscriptionsRequest - A Consumer that will call methods on ListDataSubscriptionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListDataSubscriptions 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.
      • TooManyRequestsException The request was denied due to request throttling. Reduce your request rate and retry with exponential backoff.
      • InternalServerException Thrown when an unexpected error occurs while processing the request
      • AccessDeniedException This exception is thrown when the client is not authorized to perform an action
      • BadRequestException This exception is thrown when the request is not formatted correctly.
      • 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.
      • PartnerCentralAnalyticsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDataSubscriptionsPaginator

      default ListDataSubscriptionsPublisher listDataSubscriptionsPaginator(ListDataSubscriptionsRequest listDataSubscriptionsRequest)

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

      Parameters:
      listDataSubscriptionsRequest -
      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.
      • TooManyRequestsException The request was denied due to request throttling. Reduce your request rate and retry with exponential backoff.
      • InternalServerException Thrown when an unexpected error occurs while processing the request
      • AccessDeniedException This exception is thrown when the client is not authorized to perform an action
      • BadRequestException This exception is thrown when the request is not formatted correctly.
      • 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.
      • PartnerCentralAnalyticsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDataSubscriptionsPaginator

      default ListDataSubscriptionsPublisher listDataSubscriptionsPaginator(Consumer<ListDataSubscriptionsRequest.Builder> listDataSubscriptionsRequest)

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


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

      Parameters:
      listDataSubscriptionsRequest - A Consumer that will call methods on ListDataSubscriptionsRequest.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.
      • TooManyRequestsException The request was denied due to request throttling. Reduce your request rate and retry with exponential backoff.
      • InternalServerException Thrown when an unexpected error occurs while processing the request
      • AccessDeniedException This exception is thrown when the client is not authorized to perform an action
      • BadRequestException This exception is thrown when the request is not formatted correctly.
      • 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.
      • PartnerCentralAnalyticsException 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 the tags on a data subscription owned by the calling account.

      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.
      • TooManyRequestsException The request was denied due to request throttling. Reduce your request rate and retry with exponential backoff.
      • InternalServerException Thrown when an unexpected error occurs while processing the request
      • AccessDeniedException This exception is thrown when the client is not authorized to perform an action
      • BadRequestException This exception is thrown when the request is not formatted correctly.
      • ResourceNotFoundException Thrown when the requested resource does not exist
      • 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.
      • PartnerCentralAnalyticsException 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 the tags on a data subscription owned by the calling account.


      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.
      • TooManyRequestsException The request was denied due to request throttling. Reduce your request rate and retry with exponential backoff.
      • InternalServerException Thrown when an unexpected error occurs while processing the request
      • AccessDeniedException This exception is thrown when the client is not authorized to perform an action
      • BadRequestException This exception is thrown when the request is not formatted correctly.
      • ResourceNotFoundException Thrown when the requested resource does not exist
      • 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.
      • PartnerCentralAnalyticsException 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 overwrites tags on a data subscription owned by the calling account.

      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.
      • TooManyRequestsException The request was denied due to request throttling. Reduce your request rate and retry with exponential backoff.
      • InternalServerException Thrown when an unexpected error occurs while processing the request
      • AccessDeniedException This exception is thrown when the client is not authorized to perform an action
      • BadRequestException This exception is thrown when the request is not formatted correctly.
      • ResourceNotFoundException Thrown when the requested resource does not exist
      • 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.
      • PartnerCentralAnalyticsException 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 overwrites tags on a data subscription owned by the calling account.


      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.
      • TooManyRequestsException The request was denied due to request throttling. Reduce your request rate and retry with exponential backoff.
      • InternalServerException Thrown when an unexpected error occurs while processing the request
      • AccessDeniedException This exception is thrown when the client is not authorized to perform an action
      • BadRequestException This exception is thrown when the request is not formatted correctly.
      • ResourceNotFoundException Thrown when the requested resource does not exist
      • 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.
      • PartnerCentralAnalyticsException 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 the named tag keys from a data subscription owned by the calling account.

      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.
      • TooManyRequestsException The request was denied due to request throttling. Reduce your request rate and retry with exponential backoff.
      • InternalServerException Thrown when an unexpected error occurs while processing the request
      • AccessDeniedException This exception is thrown when the client is not authorized to perform an action
      • BadRequestException This exception is thrown when the request is not formatted correctly.
      • ResourceNotFoundException Thrown when the requested resource does not exist
      • 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.
      • PartnerCentralAnalyticsException 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 the named tag keys from a data subscription owned by the calling account.


      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.
      • TooManyRequestsException The request was denied due to request throttling. Reduce your request rate and retry with exponential backoff.
      • InternalServerException Thrown when an unexpected error occurs while processing the request
      • AccessDeniedException This exception is thrown when the client is not authorized to perform an action
      • BadRequestException This exception is thrown when the request is not formatted correctly.
      • ResourceNotFoundException Thrown when the requested resource does not exist
      • 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.
      • PartnerCentralAnalyticsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • serviceClientConfiguration

      default PartnerCentralAnalyticsServiceClientConfiguration 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 PartnerCentralAnalyticsAsyncClient 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 PartnerCentralAnalyticsAsyncClient.