Interface PartnerCentralRevenueMeasurementAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface PartnerCentralRevenueMeasurementAsyncClient extends AwsClient
Service client for accessing Partner Central Revenue Measurement 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 Revenue Measurement API for creating, managing, and tracking revenue attributions and their allocations with deal entities such as offers and opportunities.

  • Field Details

  • Method Details

    • createMarketplaceRevenueShare

      default CompletableFuture<CreateMarketplaceRevenueShareResponse> createMarketplaceRevenueShare(CreateMarketplaceRevenueShareRequest createMarketplaceRevenueShareRequest)

      Creates a new marketplace revenue share resource in the specified catalog.

      Parameters:
      createMarketplaceRevenueShareRequest -
      Returns:
      A Java Future containing the result of the CreateMarketplaceRevenueShare 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 The request would exceed a service quota limit.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createMarketplaceRevenueShare

      default CompletableFuture<CreateMarketplaceRevenueShareResponse> createMarketplaceRevenueShare(Consumer<CreateMarketplaceRevenueShareRequest.Builder> createMarketplaceRevenueShareRequest)

      Creates a new marketplace revenue share resource in the specified catalog.


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

      Parameters:
      createMarketplaceRevenueShareRequest - A Consumer that will call methods on CreateMarketplaceRevenueShareRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateMarketplaceRevenueShare 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 The request would exceed a service quota limit.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createMarketplaceRevenueShareAllocation

      default CompletableFuture<CreateMarketplaceRevenueShareAllocationResponse> createMarketplaceRevenueShareAllocation(CreateMarketplaceRevenueShareAllocationRequest createMarketplaceRevenueShareAllocationRequest)

      Creates a new marketplace revenue share allocation for the specified product.

      Parameters:
      createMarketplaceRevenueShareAllocationRequest -
      Returns:
      A Java Future containing the result of the CreateMarketplaceRevenueShareAllocation 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createMarketplaceRevenueShareAllocation

      default CompletableFuture<CreateMarketplaceRevenueShareAllocationResponse> createMarketplaceRevenueShareAllocation(Consumer<CreateMarketplaceRevenueShareAllocationRequest.Builder> createMarketplaceRevenueShareAllocationRequest)

      Creates a new marketplace revenue share allocation for the specified product.


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

      Parameters:
      createMarketplaceRevenueShareAllocationRequest - A Consumer that will call methods on CreateMarketplaceRevenueShareAllocationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateMarketplaceRevenueShareAllocation 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createRevenueAttribution

      default CompletableFuture<CreateRevenueAttributionResponse> createRevenueAttribution(CreateRevenueAttributionRequest createRevenueAttributionRequest)

      Creates a new revenue attribution record in the specified catalog.

      Parameters:
      createRevenueAttributionRequest -
      Returns:
      A Java Future containing the result of the CreateRevenueAttribution 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 The request would exceed a service quota limit.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createRevenueAttribution

      default CompletableFuture<CreateRevenueAttributionResponse> createRevenueAttribution(Consumer<CreateRevenueAttributionRequest.Builder> createRevenueAttributionRequest)

      Creates a new revenue attribution record in the specified catalog.


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

      Parameters:
      createRevenueAttributionRequest - A Consumer that will call methods on CreateRevenueAttributionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateRevenueAttribution 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 The request would exceed a service quota limit.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getMarketplaceRevenueShare

      default CompletableFuture<GetMarketplaceRevenueShareResponse> getMarketplaceRevenueShare(GetMarketplaceRevenueShareRequest getMarketplaceRevenueShareRequest)

      Retrieves the details of a specific marketplace revenue share.

      Parameters:
      getMarketplaceRevenueShareRequest -
      Returns:
      A Java Future containing the result of the GetMarketplaceRevenueShare 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getMarketplaceRevenueShare

      default CompletableFuture<GetMarketplaceRevenueShareResponse> getMarketplaceRevenueShare(Consumer<GetMarketplaceRevenueShareRequest.Builder> getMarketplaceRevenueShareRequest)

      Retrieves the details of a specific marketplace revenue share.


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

      Parameters:
      getMarketplaceRevenueShareRequest - A Consumer that will call methods on GetMarketplaceRevenueShareRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetMarketplaceRevenueShare 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getMarketplaceRevenueShareAllocation

      default CompletableFuture<GetMarketplaceRevenueShareAllocationResponse> getMarketplaceRevenueShareAllocation(GetMarketplaceRevenueShareAllocationRequest getMarketplaceRevenueShareAllocationRequest)

      Retrieves the details of a specific marketplace revenue share allocation.

      Parameters:
      getMarketplaceRevenueShareAllocationRequest -
      Returns:
      A Java Future containing the result of the GetMarketplaceRevenueShareAllocation 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getMarketplaceRevenueShareAllocation

      default CompletableFuture<GetMarketplaceRevenueShareAllocationResponse> getMarketplaceRevenueShareAllocation(Consumer<GetMarketplaceRevenueShareAllocationRequest.Builder> getMarketplaceRevenueShareAllocationRequest)

      Retrieves the details of a specific marketplace revenue share allocation.


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

      Parameters:
      getMarketplaceRevenueShareAllocationRequest - A Consumer that will call methods on GetMarketplaceRevenueShareAllocationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetMarketplaceRevenueShareAllocation 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getRevenueAttribution

      default CompletableFuture<GetRevenueAttributionResponse> getRevenueAttribution(GetRevenueAttributionRequest getRevenueAttributionRequest)

      Retrieves the details of a specific revenue attribution.

      Parameters:
      getRevenueAttributionRequest -
      Returns:
      A Java Future containing the result of the GetRevenueAttribution 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getRevenueAttribution

      default CompletableFuture<GetRevenueAttributionResponse> getRevenueAttribution(Consumer<GetRevenueAttributionRequest.Builder> getRevenueAttributionRequest)

      Retrieves the details of a specific revenue attribution.


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

      Parameters:
      getRevenueAttributionRequest - A Consumer that will call methods on GetRevenueAttributionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetRevenueAttribution 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getRevenueAttributionAllocation

      default CompletableFuture<GetRevenueAttributionAllocationResponse> getRevenueAttributionAllocation(GetRevenueAttributionAllocationRequest getRevenueAttributionAllocationRequest)

      Retrieves a single allocation by its RevenueAttributionAllocationId. Supports optional point-in-time version queries.

      Parameters:
      getRevenueAttributionAllocationRequest -
      Returns:
      A Java Future containing the result of the GetRevenueAttributionAllocation 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getRevenueAttributionAllocation

      default CompletableFuture<GetRevenueAttributionAllocationResponse> getRevenueAttributionAllocation(Consumer<GetRevenueAttributionAllocationRequest.Builder> getRevenueAttributionAllocationRequest)

      Retrieves a single allocation by its RevenueAttributionAllocationId. Supports optional point-in-time version queries.


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

      Parameters:
      getRevenueAttributionAllocationRequest - A Consumer that will call methods on GetRevenueAttributionAllocationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetRevenueAttributionAllocation 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getRevenueAttributionAllocationsTask

      default CompletableFuture<GetRevenueAttributionAllocationsTaskResponse> getRevenueAttributionAllocationsTask(GetRevenueAttributionAllocationsTaskRequest getRevenueAttributionAllocationsTaskRequest)

      Retrieves the current status of a previously submitted allocations task. When COMPLETE, includes the latest revision. When FAILED, includes error details.

      Parameters:
      getRevenueAttributionAllocationsTaskRequest -
      Returns:
      A Java Future containing the result of the GetRevenueAttributionAllocationsTask 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getRevenueAttributionAllocationsTask

      default CompletableFuture<GetRevenueAttributionAllocationsTaskResponse> getRevenueAttributionAllocationsTask(Consumer<GetRevenueAttributionAllocationsTaskRequest.Builder> getRevenueAttributionAllocationsTaskRequest)

      Retrieves the current status of a previously submitted allocations task. When COMPLETE, includes the latest revision. When FAILED, includes error details.


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

      Parameters:
      getRevenueAttributionAllocationsTaskRequest - A Consumer that will call methods on GetRevenueAttributionAllocationsTaskRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetRevenueAttributionAllocationsTask 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listMarketplaceRevenueShareAllocations

      default CompletableFuture<ListMarketplaceRevenueShareAllocationsResponse> listMarketplaceRevenueShareAllocations(ListMarketplaceRevenueShareAllocationsRequest listMarketplaceRevenueShareAllocationsRequest)

      Returns a paginated list of allocations under a marketplace revenue share, with optional filtering by status and effective date range. Supports historical reads at a specific share revision.

      Parameters:
      listMarketplaceRevenueShareAllocationsRequest -
      Returns:
      A Java Future containing the result of the ListMarketplaceRevenueShareAllocations 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listMarketplaceRevenueShareAllocations

      default CompletableFuture<ListMarketplaceRevenueShareAllocationsResponse> listMarketplaceRevenueShareAllocations(Consumer<ListMarketplaceRevenueShareAllocationsRequest.Builder> listMarketplaceRevenueShareAllocationsRequest)

      Returns a paginated list of allocations under a marketplace revenue share, with optional filtering by status and effective date range. Supports historical reads at a specific share revision.


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

      Parameters:
      listMarketplaceRevenueShareAllocationsRequest - A Consumer that will call methods on ListMarketplaceRevenueShareAllocationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListMarketplaceRevenueShareAllocations 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listMarketplaceRevenueShareAllocationsPaginator

      default ListMarketplaceRevenueShareAllocationsPublisher listMarketplaceRevenueShareAllocationsPaginator(ListMarketplaceRevenueShareAllocationsRequest listMarketplaceRevenueShareAllocationsRequest)

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

      Parameters:
      listMarketplaceRevenueShareAllocationsRequest -
      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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listMarketplaceRevenueShareAllocationsPaginator

      default ListMarketplaceRevenueShareAllocationsPublisher listMarketplaceRevenueShareAllocationsPaginator(Consumer<ListMarketplaceRevenueShareAllocationsRequest.Builder> listMarketplaceRevenueShareAllocationsRequest)

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


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

      Parameters:
      listMarketplaceRevenueShareAllocationsRequest - A Consumer that will call methods on ListMarketplaceRevenueShareAllocationsRequest.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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listMarketplaceRevenueShares

      default CompletableFuture<ListMarketplaceRevenueSharesResponse> listMarketplaceRevenueShares(ListMarketplaceRevenueSharesRequest listMarketplaceRevenueSharesRequest)

      Returns a paginated list of marketplace revenue shares with optional filters.

      Parameters:
      listMarketplaceRevenueSharesRequest -
      Returns:
      A Java Future containing the result of the ListMarketplaceRevenueShares 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listMarketplaceRevenueShares

      default CompletableFuture<ListMarketplaceRevenueSharesResponse> listMarketplaceRevenueShares(Consumer<ListMarketplaceRevenueSharesRequest.Builder> listMarketplaceRevenueSharesRequest)

      Returns a paginated list of marketplace revenue shares with optional filters.


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

      Parameters:
      listMarketplaceRevenueSharesRequest - A Consumer that will call methods on ListMarketplaceRevenueSharesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListMarketplaceRevenueShares 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listMarketplaceRevenueSharesPaginator

      default ListMarketplaceRevenueSharesPublisher listMarketplaceRevenueSharesPaginator(ListMarketplaceRevenueSharesRequest listMarketplaceRevenueSharesRequest)

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

      Parameters:
      listMarketplaceRevenueSharesRequest -
      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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listMarketplaceRevenueSharesPaginator

      default ListMarketplaceRevenueSharesPublisher listMarketplaceRevenueSharesPaginator(Consumer<ListMarketplaceRevenueSharesRequest.Builder> listMarketplaceRevenueSharesRequest)

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


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

      Parameters:
      listMarketplaceRevenueSharesRequest - A Consumer that will call methods on ListMarketplaceRevenueSharesRequest.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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRevenueAttributionAllocations

      default CompletableFuture<ListRevenueAttributionAllocationsResponse> listRevenueAttributionAllocations(ListRevenueAttributionAllocationsRequest listRevenueAttributionAllocationsRequest)

      Returns a paginated list of committed allocations with support for filtering by entity, customer, status, or date range.

      Parameters:
      listRevenueAttributionAllocationsRequest -
      Returns:
      A Java Future containing the result of the ListRevenueAttributionAllocations 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRevenueAttributionAllocations

      default CompletableFuture<ListRevenueAttributionAllocationsResponse> listRevenueAttributionAllocations(Consumer<ListRevenueAttributionAllocationsRequest.Builder> listRevenueAttributionAllocationsRequest)

      Returns a paginated list of committed allocations with support for filtering by entity, customer, status, or date range.


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

      Parameters:
      listRevenueAttributionAllocationsRequest - A Consumer that will call methods on ListRevenueAttributionAllocationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListRevenueAttributionAllocations 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRevenueAttributionAllocationsPaginator

      default ListRevenueAttributionAllocationsPublisher listRevenueAttributionAllocationsPaginator(ListRevenueAttributionAllocationsRequest listRevenueAttributionAllocationsRequest)

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

      Parameters:
      listRevenueAttributionAllocationsRequest -
      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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRevenueAttributionAllocationsPaginator

      default ListRevenueAttributionAllocationsPublisher listRevenueAttributionAllocationsPaginator(Consumer<ListRevenueAttributionAllocationsRequest.Builder> listRevenueAttributionAllocationsRequest)

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


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

      Parameters:
      listRevenueAttributionAllocationsRequest - A Consumer that will call methods on ListRevenueAttributionAllocationsRequest.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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRevenueAttributions

      default CompletableFuture<ListRevenueAttributionsResponse> listRevenueAttributions(ListRevenueAttributionsRequest listRevenueAttributionsRequest)

      Returns a paginated list of revenue attributions with optional filters.

      Parameters:
      listRevenueAttributionsRequest -
      Returns:
      A Java Future containing the result of the ListRevenueAttributions 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRevenueAttributions

      default CompletableFuture<ListRevenueAttributionsResponse> listRevenueAttributions(Consumer<ListRevenueAttributionsRequest.Builder> listRevenueAttributionsRequest)

      Returns a paginated list of revenue attributions with optional filters.


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

      Parameters:
      listRevenueAttributionsRequest - A Consumer that will call methods on ListRevenueAttributionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListRevenueAttributions 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRevenueAttributionsPaginator

      default ListRevenueAttributionsPublisher listRevenueAttributionsPaginator(ListRevenueAttributionsRequest listRevenueAttributionsRequest)

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

      Parameters:
      listRevenueAttributionsRequest -
      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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRevenueAttributionsPaginator

      default ListRevenueAttributionsPublisher listRevenueAttributionsPaginator(Consumer<ListRevenueAttributionsRequest.Builder> listRevenueAttributionsRequest)

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


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

      Parameters:
      listRevenueAttributionsRequest - A Consumer that will call methods on ListRevenueAttributionsRequest.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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException 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)

      Returns the tags associated with the specified 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException 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)

      Returns the tags associated with the specified 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startRevenueAttributionAllocationsTask

      default CompletableFuture<StartRevenueAttributionAllocationsTaskResponse> startRevenueAttributionAllocationsTask(StartRevenueAttributionAllocationsTaskRequest startRevenueAttributionAllocationsTaskRequest)

      Submits a batch of up to 250 allocation changes (CREATE and/or UPDATE) for asynchronous processing. Returns a TaskId for tracking.

      Parameters:
      startRevenueAttributionAllocationsTaskRequest -
      Returns:
      A Java Future containing the result of the StartRevenueAttributionAllocationsTask 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startRevenueAttributionAllocationsTask

      default CompletableFuture<StartRevenueAttributionAllocationsTaskResponse> startRevenueAttributionAllocationsTask(Consumer<StartRevenueAttributionAllocationsTaskRequest.Builder> startRevenueAttributionAllocationsTaskRequest)

      Submits a batch of up to 250 allocation changes (CREATE and/or UPDATE) for asynchronous processing. Returns a TaskId for tracking.


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

      Parameters:
      startRevenueAttributionAllocationsTaskRequest - A Consumer that will call methods on StartRevenueAttributionAllocationsTaskRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartRevenueAttributionAllocationsTask 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException 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 one or more tags for the 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException 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 one or more tags for the 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException 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 one or more tags from the 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException 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 one or more tags from the 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateMarketplaceRevenueShareAllocation

      default CompletableFuture<UpdateMarketplaceRevenueShareAllocationResponse> updateMarketplaceRevenueShareAllocation(UpdateMarketplaceRevenueShareAllocationRequest updateMarketplaceRevenueShareAllocationRequest)

      Updates an existing marketplace revenue share allocation. Supports modifying effective dates, revenue share percentage, and status with time-based mutability rules.

      Parameters:
      updateMarketplaceRevenueShareAllocationRequest -
      Returns:
      A Java Future containing the result of the UpdateMarketplaceRevenueShareAllocation 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateMarketplaceRevenueShareAllocation

      default CompletableFuture<UpdateMarketplaceRevenueShareAllocationResponse> updateMarketplaceRevenueShareAllocation(Consumer<UpdateMarketplaceRevenueShareAllocationRequest.Builder> updateMarketplaceRevenueShareAllocationRequest)

      Updates an existing marketplace revenue share allocation. Supports modifying effective dates, revenue share percentage, and status with time-based mutability rules.


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

      Parameters:
      updateMarketplaceRevenueShareAllocationRequest - A Consumer that will call methods on UpdateMarketplaceRevenueShareAllocationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateMarketplaceRevenueShareAllocation 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateRevenueAttribution

      default CompletableFuture<UpdateRevenueAttributionResponse> updateRevenueAttribution(UpdateRevenueAttributionRequest updateRevenueAttributionRequest)

      Updates an existing revenue attribution record.

      Parameters:
      updateRevenueAttributionRequest -
      Returns:
      A Java Future containing the result of the UpdateRevenueAttribution 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.
      • ThrottlingException The request was throttled due to too many requests. Retry your request.
      • ValidationException The request failed validation due to invalid input parameters.
      • AccessDeniedException The request was denied due to insufficient permissions.
      • InternalServerException An internal server error occurred. Retry your request.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ResourceNotFoundException The specified resource was not found.
      • 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.
      • PartnerCentralRevenueMeasurementException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateRevenueAttribution

      default CompletableFuture<UpdateRevenueAttributionResponse> updateRevenueAttribution(Consumer<UpdateRevenueAttributionRequest.Builder> updateRevenueAttributionRequest)

      Updates an existing revenue attribution record.


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

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

      default PartnerCentralRevenueMeasurementServiceClientConfiguration 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 PartnerCentralRevenueMeasurementAsyncClient 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 PartnerCentralRevenueMeasurementAsyncClient.