Interface BillingconductorAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

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

Amazon Web Services Billing Conductor is a fully managed service that you can use to customize a proforma version of your billing data each month, to accurately show or chargeback your end customers. Amazon Web Services Billing Conductor doesn't change the way you're billed by Amazon Web Services each month by design. Instead, it provides you with a mechanism to configure, generate, and display rates to certain customers over a given billing period. You can also analyze the difference between the rates you apply to your accounting groupings relative to your actual rates from Amazon Web Services. As a result of your Amazon Web Services Billing Conductor configuration, the payer account can also see the custom rate applied on the billing details page of the Amazon Web Services Billing console, or configure a cost and usage report per billing group.

This documentation shows how you can configure Amazon Web Services Billing Conductor using its API. For more information about using the Amazon Web Services Billing Conductor user interface, see the Amazon Web Services Billing Conductor User Guide.

  • Field Details

  • Method Details

    • associateAccounts

      default CompletableFuture<AssociateAccountsResponse> associateAccounts(AssociateAccountsRequest associateAccountsRequest)

      Connects an array of account IDs in a consolidated billing family to a predefined billing group. The account IDs must be a part of the consolidated billing family during the current month, and not already associated with another billing group. The maximum number of accounts that can be associated in one call is 30.

      Parameters:
      associateAccountsRequest -
      Returns:
      A Java Future containing the result of the AssociateAccounts 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • ServiceLimitExceededException The request would cause a service limit to exceed.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associateAccounts

      default CompletableFuture<AssociateAccountsResponse> associateAccounts(Consumer<AssociateAccountsRequest.Builder> associateAccountsRequest)

      Connects an array of account IDs in a consolidated billing family to a predefined billing group. The account IDs must be a part of the consolidated billing family during the current month, and not already associated with another billing group. The maximum number of accounts that can be associated in one call is 30.


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

      Parameters:
      associateAccountsRequest - A Consumer that will call methods on AssociateAccountsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AssociateAccounts 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • ServiceLimitExceededException The request would cause a service limit to exceed.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associatePricingRules

      default CompletableFuture<AssociatePricingRulesResponse> associatePricingRules(AssociatePricingRulesRequest associatePricingRulesRequest)

      Connects an array of PricingRuleArns to a defined PricingPlan. The maximum number PricingRuleArn that can be associated in one call is 30.

      Parameters:
      associatePricingRulesRequest -
      Returns:
      A Java Future containing the result of the AssociatePricingRules 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • ServiceLimitExceededException The request would cause a service limit to exceed.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associatePricingRules

      default CompletableFuture<AssociatePricingRulesResponse> associatePricingRules(Consumer<AssociatePricingRulesRequest.Builder> associatePricingRulesRequest)

      Connects an array of PricingRuleArns to a defined PricingPlan. The maximum number PricingRuleArn that can be associated in one call is 30.


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

      Parameters:
      associatePricingRulesRequest - A Consumer that will call methods on AssociatePricingRulesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AssociatePricingRules 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • ServiceLimitExceededException The request would cause a service limit to exceed.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchAssociateResourcesToCustomLineItem

      default CompletableFuture<BatchAssociateResourcesToCustomLineItemResponse> batchAssociateResourcesToCustomLineItem(BatchAssociateResourcesToCustomLineItemRequest batchAssociateResourcesToCustomLineItemRequest)

      Associates a batch of resources to a percentage custom line item.

      Parameters:
      batchAssociateResourcesToCustomLineItemRequest -
      Returns:
      A Java Future containing the result of the BatchAssociateResourcesToCustomLineItem 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • ServiceLimitExceededException The request would cause a service limit to exceed.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchAssociateResourcesToCustomLineItem

      default CompletableFuture<BatchAssociateResourcesToCustomLineItemResponse> batchAssociateResourcesToCustomLineItem(Consumer<BatchAssociateResourcesToCustomLineItemRequest.Builder> batchAssociateResourcesToCustomLineItemRequest)

      Associates a batch of resources to a percentage custom line item.


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

      Parameters:
      batchAssociateResourcesToCustomLineItemRequest - A Consumer that will call methods on BatchAssociateResourcesToCustomLineItemRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchAssociateResourcesToCustomLineItem 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • ServiceLimitExceededException The request would cause a service limit to exceed.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchDisassociateResourcesFromCustomLineItem

      default CompletableFuture<BatchDisassociateResourcesFromCustomLineItemResponse> batchDisassociateResourcesFromCustomLineItem(BatchDisassociateResourcesFromCustomLineItemRequest batchDisassociateResourcesFromCustomLineItemRequest)

      Disassociates a batch of resources from a percentage custom line item.

      Parameters:
      batchDisassociateResourcesFromCustomLineItemRequest -
      Returns:
      A Java Future containing the result of the BatchDisassociateResourcesFromCustomLineItem 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchDisassociateResourcesFromCustomLineItem

      default CompletableFuture<BatchDisassociateResourcesFromCustomLineItemResponse> batchDisassociateResourcesFromCustomLineItem(Consumer<BatchDisassociateResourcesFromCustomLineItemRequest.Builder> batchDisassociateResourcesFromCustomLineItemRequest)

      Disassociates a batch of resources from a percentage custom line item.


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

      Parameters:
      batchDisassociateResourcesFromCustomLineItemRequest - A Consumer that will call methods on BatchDisassociateResourcesFromCustomLineItemRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchDisassociateResourcesFromCustomLineItem 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createBillingGroup

      default CompletableFuture<CreateBillingGroupResponse> createBillingGroup(CreateBillingGroupRequest createBillingGroupRequest)

      Creates a billing group that resembles a consolidated billing family that Amazon Web Services charges, based off of the predefined pricing plan computation.

      Parameters:
      createBillingGroupRequest -
      Returns:
      A Java Future containing the result of the CreateBillingGroup 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • ServiceLimitExceededException The request would cause a service limit to exceed.
      • InternalServerException An unexpected error occurred while processing a 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.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createBillingGroup

      default CompletableFuture<CreateBillingGroupResponse> createBillingGroup(Consumer<CreateBillingGroupRequest.Builder> createBillingGroupRequest)

      Creates a billing group that resembles a consolidated billing family that Amazon Web Services charges, based off of the predefined pricing plan computation.


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

      Parameters:
      createBillingGroupRequest - A Consumer that will call methods on CreateBillingGroupRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateBillingGroup 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • ServiceLimitExceededException The request would cause a service limit to exceed.
      • InternalServerException An unexpected error occurred while processing a 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.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createCustomLineItem

      default CompletableFuture<CreateCustomLineItemResponse> createCustomLineItem(CreateCustomLineItemRequest createCustomLineItemRequest)

      Creates a custom line item that can be used to create a one-time fixed charge that can be applied to a single billing group for the current or previous billing period. The one-time fixed charge is either a fee or discount.

      Parameters:
      createCustomLineItemRequest -
      Returns:
      A Java Future containing the result of the CreateCustomLineItem 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • ServiceLimitExceededException The request would cause a service limit to exceed.
      • InternalServerException An unexpected error occurred while processing a 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.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createCustomLineItem

      default CompletableFuture<CreateCustomLineItemResponse> createCustomLineItem(Consumer<CreateCustomLineItemRequest.Builder> createCustomLineItemRequest)

      Creates a custom line item that can be used to create a one-time fixed charge that can be applied to a single billing group for the current or previous billing period. The one-time fixed charge is either a fee or discount.


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

      Parameters:
      createCustomLineItemRequest - A Consumer that will call methods on CreateCustomLineItemRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateCustomLineItem 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • ServiceLimitExceededException The request would cause a service limit to exceed.
      • InternalServerException An unexpected error occurred while processing a 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.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createPricingPlan

      default CompletableFuture<CreatePricingPlanResponse> createPricingPlan(CreatePricingPlanRequest createPricingPlanRequest)

      Creates a pricing plan that is used for computing Amazon Web Services charges for billing groups.

      Parameters:
      createPricingPlanRequest -
      Returns:
      A Java Future containing the result of the CreatePricingPlan 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • ServiceLimitExceededException The request would cause a service limit to exceed.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createPricingPlan

      default CompletableFuture<CreatePricingPlanResponse> createPricingPlan(Consumer<CreatePricingPlanRequest.Builder> createPricingPlanRequest)

      Creates a pricing plan that is used for computing Amazon Web Services charges for billing groups.


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

      Parameters:
      createPricingPlanRequest - A Consumer that will call methods on CreatePricingPlanRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreatePricingPlan 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • ServiceLimitExceededException The request would cause a service limit to exceed.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createPricingRule

      default CompletableFuture<CreatePricingRuleResponse> createPricingRule(CreatePricingRuleRequest createPricingRuleRequest)

      Creates a pricing rule can be associated to a pricing plan, or a set of pricing plans.

      Parameters:
      createPricingRuleRequest -
      Returns:
      A Java Future containing the result of the CreatePricingRule 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • ServiceLimitExceededException The request would cause a service limit to exceed.
      • InternalServerException An unexpected error occurred while processing a 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.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createPricingRule

      default CompletableFuture<CreatePricingRuleResponse> createPricingRule(Consumer<CreatePricingRuleRequest.Builder> createPricingRuleRequest)

      Creates a pricing rule can be associated to a pricing plan, or a set of pricing plans.


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

      Parameters:
      createPricingRuleRequest - A Consumer that will call methods on CreatePricingRuleRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreatePricingRule 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • ServiceLimitExceededException The request would cause a service limit to exceed.
      • InternalServerException An unexpected error occurred while processing a 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.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteBillingGroup

      default CompletableFuture<DeleteBillingGroupResponse> deleteBillingGroup(DeleteBillingGroupRequest deleteBillingGroupRequest)

      Deletes a billing group.

      Parameters:
      deleteBillingGroupRequest -
      Returns:
      A Java Future containing the result of the DeleteBillingGroup 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a 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.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteBillingGroup

      default CompletableFuture<DeleteBillingGroupResponse> deleteBillingGroup(Consumer<DeleteBillingGroupRequest.Builder> deleteBillingGroupRequest)

      Deletes a billing group.


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

      Parameters:
      deleteBillingGroupRequest - A Consumer that will call methods on DeleteBillingGroupRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteBillingGroup 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a 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.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteCustomLineItem

      default CompletableFuture<DeleteCustomLineItemResponse> deleteCustomLineItem(DeleteCustomLineItemRequest deleteCustomLineItemRequest)

      Deletes the custom line item identified by the given ARN in the current, or previous billing period.

      Parameters:
      deleteCustomLineItemRequest -
      Returns:
      A Java Future containing the result of the DeleteCustomLineItem 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a 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.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteCustomLineItem

      default CompletableFuture<DeleteCustomLineItemResponse> deleteCustomLineItem(Consumer<DeleteCustomLineItemRequest.Builder> deleteCustomLineItemRequest)

      Deletes the custom line item identified by the given ARN in the current, or previous billing period.


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

      Parameters:
      deleteCustomLineItemRequest - A Consumer that will call methods on DeleteCustomLineItemRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteCustomLineItem 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a 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.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deletePricingPlan

      default CompletableFuture<DeletePricingPlanResponse> deletePricingPlan(DeletePricingPlanRequest deletePricingPlanRequest)

      Deletes a pricing plan. The pricing plan must not be associated with any billing groups to delete successfully.

      Parameters:
      deletePricingPlanRequest -
      Returns:
      A Java Future containing the result of the DeletePricingPlan 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a 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.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deletePricingPlan

      default CompletableFuture<DeletePricingPlanResponse> deletePricingPlan(Consumer<DeletePricingPlanRequest.Builder> deletePricingPlanRequest)

      Deletes a pricing plan. The pricing plan must not be associated with any billing groups to delete successfully.


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

      Parameters:
      deletePricingPlanRequest - A Consumer that will call methods on DeletePricingPlanRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeletePricingPlan 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a 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.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deletePricingRule

      default CompletableFuture<DeletePricingRuleResponse> deletePricingRule(DeletePricingRuleRequest deletePricingRuleRequest)

      Deletes the pricing rule that's identified by the input Amazon Resource Name (ARN).

      Parameters:
      deletePricingRuleRequest -
      Returns:
      A Java Future containing the result of the DeletePricingRule 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a 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.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deletePricingRule

      default CompletableFuture<DeletePricingRuleResponse> deletePricingRule(Consumer<DeletePricingRuleRequest.Builder> deletePricingRuleRequest)

      Deletes the pricing rule that's identified by the input Amazon Resource Name (ARN).


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

      Parameters:
      deletePricingRuleRequest - A Consumer that will call methods on DeletePricingRuleRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeletePricingRule 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a 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.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateAccounts

      default CompletableFuture<DisassociateAccountsResponse> disassociateAccounts(DisassociateAccountsRequest disassociateAccountsRequest)

      Removes the specified list of account IDs from the given billing group.

      Parameters:
      disassociateAccountsRequest -
      Returns:
      A Java Future containing the result of the DisassociateAccounts 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateAccounts

      default CompletableFuture<DisassociateAccountsResponse> disassociateAccounts(Consumer<DisassociateAccountsRequest.Builder> disassociateAccountsRequest)

      Removes the specified list of account IDs from the given billing group.


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

      Parameters:
      disassociateAccountsRequest - A Consumer that will call methods on DisassociateAccountsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DisassociateAccounts 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociatePricingRules

      default CompletableFuture<DisassociatePricingRulesResponse> disassociatePricingRules(DisassociatePricingRulesRequest disassociatePricingRulesRequest)

      Disassociates a list of pricing rules from a pricing plan.

      Parameters:
      disassociatePricingRulesRequest -
      Returns:
      A Java Future containing the result of the DisassociatePricingRules 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociatePricingRules

      default CompletableFuture<DisassociatePricingRulesResponse> disassociatePricingRules(Consumer<DisassociatePricingRulesRequest.Builder> disassociatePricingRulesRequest)

      Disassociates a list of pricing rules from a pricing plan.


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

      Parameters:
      disassociatePricingRulesRequest - A Consumer that will call methods on DisassociatePricingRulesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DisassociatePricingRules 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getBillingGroupCostReport

      default CompletableFuture<GetBillingGroupCostReportResponse> getBillingGroupCostReport(GetBillingGroupCostReportRequest getBillingGroupCostReportRequest)

      Retrieves the margin summary report, which includes the Amazon Web Services cost and charged amount (pro forma cost) by Amazon Web Service for a specific billing group.

      Parameters:
      getBillingGroupCostReportRequest -
      Returns:
      A Java Future containing the result of the GetBillingGroupCostReport 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getBillingGroupCostReport

      default CompletableFuture<GetBillingGroupCostReportResponse> getBillingGroupCostReport(Consumer<GetBillingGroupCostReportRequest.Builder> getBillingGroupCostReportRequest)

      Retrieves the margin summary report, which includes the Amazon Web Services cost and charged amount (pro forma cost) by Amazon Web Service for a specific billing group.


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

      Parameters:
      getBillingGroupCostReportRequest - A Consumer that will call methods on GetBillingGroupCostReportRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetBillingGroupCostReport 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAccountAssociations

      default CompletableFuture<ListAccountAssociationsResponse> listAccountAssociations(ListAccountAssociationsRequest listAccountAssociationsRequest)

      This is a paginated call to list linked accounts that are linked to the payer account for the specified time period. If no information is provided, the current billing period is used. The response will optionally include the billing group that's associated with the linked account.

      Parameters:
      listAccountAssociationsRequest -
      Returns:
      A Java Future containing the result of the ListAccountAssociations 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAccountAssociations

      default CompletableFuture<ListAccountAssociationsResponse> listAccountAssociations(Consumer<ListAccountAssociationsRequest.Builder> listAccountAssociationsRequest)

      This is a paginated call to list linked accounts that are linked to the payer account for the specified time period. If no information is provided, the current billing period is used. The response will optionally include the billing group that's associated with the linked account.


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

      Parameters:
      listAccountAssociationsRequest - A Consumer that will call methods on ListAccountAssociationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAccountAssociations 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAccountAssociationsPaginator

      default ListAccountAssociationsPublisher listAccountAssociationsPaginator(ListAccountAssociationsRequest listAccountAssociationsRequest)

      This is a variant of listAccountAssociations(software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsRequest) 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.billingconductor.paginators.ListAccountAssociationsPublisher publisher = client.listAccountAssociationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.billingconductor.paginators.ListAccountAssociationsPublisher publisher = client.listAccountAssociationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listAccountAssociations(software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsRequest) operation.

      Parameters:
      listAccountAssociationsRequest -
      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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAccountAssociationsPaginator

      default ListAccountAssociationsPublisher listAccountAssociationsPaginator(Consumer<ListAccountAssociationsRequest.Builder> listAccountAssociationsRequest)

      This is a variant of listAccountAssociations(software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsRequest) 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.billingconductor.paginators.ListAccountAssociationsPublisher publisher = client.listAccountAssociationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.billingconductor.paginators.ListAccountAssociationsPublisher publisher = client.listAccountAssociationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listAccountAssociations(software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsRequest) operation.


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

      Parameters:
      listAccountAssociationsRequest - A Consumer that will call methods on ListAccountAssociationsRequest.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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillingGroupCostReports

      default CompletableFuture<ListBillingGroupCostReportsResponse> listBillingGroupCostReports(ListBillingGroupCostReportsRequest listBillingGroupCostReportsRequest)

      A paginated call to retrieve a summary report of actual Amazon Web Services charges and the calculated Amazon Web Services charges based on the associated pricing plan of a billing group.

      Parameters:
      listBillingGroupCostReportsRequest -
      Returns:
      A Java Future containing the result of the ListBillingGroupCostReports 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillingGroupCostReports

      default CompletableFuture<ListBillingGroupCostReportsResponse> listBillingGroupCostReports(Consumer<ListBillingGroupCostReportsRequest.Builder> listBillingGroupCostReportsRequest)

      A paginated call to retrieve a summary report of actual Amazon Web Services charges and the calculated Amazon Web Services charges based on the associated pricing plan of a billing group.


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

      Parameters:
      listBillingGroupCostReportsRequest - A Consumer that will call methods on ListBillingGroupCostReportsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListBillingGroupCostReports 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillingGroupCostReportsPaginator

      default ListBillingGroupCostReportsPublisher listBillingGroupCostReportsPaginator(ListBillingGroupCostReportsRequest listBillingGroupCostReportsRequest)

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

      Parameters:
      listBillingGroupCostReportsRequest -
      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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillingGroupCostReportsPaginator

      default ListBillingGroupCostReportsPublisher listBillingGroupCostReportsPaginator(Consumer<ListBillingGroupCostReportsRequest.Builder> listBillingGroupCostReportsRequest)

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


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

      Parameters:
      listBillingGroupCostReportsRequest - A Consumer that will call methods on ListBillingGroupCostReportsRequest.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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillingGroups

      default CompletableFuture<ListBillingGroupsResponse> listBillingGroups(ListBillingGroupsRequest listBillingGroupsRequest)

      A paginated call to retrieve a list of billing groups for the given billing period. If you don't provide a billing group, the current billing period is used.

      Parameters:
      listBillingGroupsRequest -
      Returns:
      A Java Future containing the result of the ListBillingGroups 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillingGroups

      default CompletableFuture<ListBillingGroupsResponse> listBillingGroups(Consumer<ListBillingGroupsRequest.Builder> listBillingGroupsRequest)

      A paginated call to retrieve a list of billing groups for the given billing period. If you don't provide a billing group, the current billing period is used.


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

      Parameters:
      listBillingGroupsRequest - A Consumer that will call methods on ListBillingGroupsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListBillingGroups 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillingGroupsPaginator

      default ListBillingGroupsPublisher listBillingGroupsPaginator(ListBillingGroupsRequest listBillingGroupsRequest)

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

      Parameters:
      listBillingGroupsRequest -
      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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillingGroupsPaginator

      default ListBillingGroupsPublisher listBillingGroupsPaginator(Consumer<ListBillingGroupsRequest.Builder> listBillingGroupsRequest)

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


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

      Parameters:
      listBillingGroupsRequest - A Consumer that will call methods on ListBillingGroupsRequest.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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCustomLineItemVersions

      default CompletableFuture<ListCustomLineItemVersionsResponse> listCustomLineItemVersions(ListCustomLineItemVersionsRequest listCustomLineItemVersionsRequest)

      A paginated call to get a list of all custom line item versions.

      Parameters:
      listCustomLineItemVersionsRequest -
      Returns:
      A Java Future containing the result of the ListCustomLineItemVersions 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a 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.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCustomLineItemVersions

      default CompletableFuture<ListCustomLineItemVersionsResponse> listCustomLineItemVersions(Consumer<ListCustomLineItemVersionsRequest.Builder> listCustomLineItemVersionsRequest)

      A paginated call to get a list of all custom line item versions.


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

      Parameters:
      listCustomLineItemVersionsRequest - A Consumer that will call methods on ListCustomLineItemVersionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListCustomLineItemVersions 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a 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.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCustomLineItemVersionsPaginator

      default ListCustomLineItemVersionsPublisher listCustomLineItemVersionsPaginator(ListCustomLineItemVersionsRequest listCustomLineItemVersionsRequest)

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

      Parameters:
      listCustomLineItemVersionsRequest -
      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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a 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.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCustomLineItemVersionsPaginator

      default ListCustomLineItemVersionsPublisher listCustomLineItemVersionsPaginator(Consumer<ListCustomLineItemVersionsRequest.Builder> listCustomLineItemVersionsRequest)

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


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

      Parameters:
      listCustomLineItemVersionsRequest - A Consumer that will call methods on ListCustomLineItemVersionsRequest.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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a 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.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCustomLineItems

      default CompletableFuture<ListCustomLineItemsResponse> listCustomLineItems(ListCustomLineItemsRequest listCustomLineItemsRequest)

      A paginated call to get a list of all custom line items (FFLIs) for the given billing period. If you don't provide a billing period, the current billing period is used.

      Parameters:
      listCustomLineItemsRequest -
      Returns:
      A Java Future containing the result of the ListCustomLineItems 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCustomLineItems

      default CompletableFuture<ListCustomLineItemsResponse> listCustomLineItems(Consumer<ListCustomLineItemsRequest.Builder> listCustomLineItemsRequest)

      A paginated call to get a list of all custom line items (FFLIs) for the given billing period. If you don't provide a billing period, the current billing period is used.


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

      Parameters:
      listCustomLineItemsRequest - A Consumer that will call methods on ListCustomLineItemsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListCustomLineItems 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCustomLineItemsPaginator

      default ListCustomLineItemsPublisher listCustomLineItemsPaginator(ListCustomLineItemsRequest listCustomLineItemsRequest)

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

      Parameters:
      listCustomLineItemsRequest -
      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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCustomLineItemsPaginator

      default ListCustomLineItemsPublisher listCustomLineItemsPaginator(Consumer<ListCustomLineItemsRequest.Builder> listCustomLineItemsRequest)

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


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

      Parameters:
      listCustomLineItemsRequest - A Consumer that will call methods on ListCustomLineItemsRequest.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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPricingPlans

      default CompletableFuture<ListPricingPlansResponse> listPricingPlans(ListPricingPlansRequest listPricingPlansRequest)

      A paginated call to get pricing plans for the given billing period. If you don't provide a billing period, the current billing period is used.

      Parameters:
      listPricingPlansRequest -
      Returns:
      A Java Future containing the result of the ListPricingPlans 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a 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.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPricingPlans

      default CompletableFuture<ListPricingPlansResponse> listPricingPlans(Consumer<ListPricingPlansRequest.Builder> listPricingPlansRequest)

      A paginated call to get pricing plans for the given billing period. If you don't provide a billing period, the current billing period is used.


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

      Parameters:
      listPricingPlansRequest - A Consumer that will call methods on ListPricingPlansRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListPricingPlans 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a 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.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPricingPlansAssociatedWithPricingRule

      default CompletableFuture<ListPricingPlansAssociatedWithPricingRuleResponse> listPricingPlansAssociatedWithPricingRule(ListPricingPlansAssociatedWithPricingRuleRequest listPricingPlansAssociatedWithPricingRuleRequest)

      A list of the pricing plans that are associated with a pricing rule.

      Parameters:
      listPricingPlansAssociatedWithPricingRuleRequest -
      Returns:
      A Java Future containing the result of the ListPricingPlansAssociatedWithPricingRule 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPricingPlansAssociatedWithPricingRule

      default CompletableFuture<ListPricingPlansAssociatedWithPricingRuleResponse> listPricingPlansAssociatedWithPricingRule(Consumer<ListPricingPlansAssociatedWithPricingRuleRequest.Builder> listPricingPlansAssociatedWithPricingRuleRequest)

      A list of the pricing plans that are associated with a pricing rule.


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

      Parameters:
      listPricingPlansAssociatedWithPricingRuleRequest - A Consumer that will call methods on ListPricingPlansAssociatedWithPricingRuleRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListPricingPlansAssociatedWithPricingRule 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPricingPlansAssociatedWithPricingRulePaginator

      default ListPricingPlansAssociatedWithPricingRulePublisher listPricingPlansAssociatedWithPricingRulePaginator(ListPricingPlansAssociatedWithPricingRuleRequest listPricingPlansAssociatedWithPricingRuleRequest)

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

      Parameters:
      listPricingPlansAssociatedWithPricingRuleRequest -
      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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPricingPlansAssociatedWithPricingRulePaginator

      default ListPricingPlansAssociatedWithPricingRulePublisher listPricingPlansAssociatedWithPricingRulePaginator(Consumer<ListPricingPlansAssociatedWithPricingRuleRequest.Builder> listPricingPlansAssociatedWithPricingRuleRequest)

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


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

      Parameters:
      listPricingPlansAssociatedWithPricingRuleRequest - A Consumer that will call methods on ListPricingPlansAssociatedWithPricingRuleRequest.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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPricingPlansPaginator

      default ListPricingPlansPublisher listPricingPlansPaginator(ListPricingPlansRequest listPricingPlansRequest)

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

      Parameters:
      listPricingPlansRequest -
      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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a 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.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPricingPlansPaginator

      default ListPricingPlansPublisher listPricingPlansPaginator(Consumer<ListPricingPlansRequest.Builder> listPricingPlansRequest)

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


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

      Parameters:
      listPricingPlansRequest - A Consumer that will call methods on ListPricingPlansRequest.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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a 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.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPricingRules

      default CompletableFuture<ListPricingRulesResponse> listPricingRules(ListPricingRulesRequest listPricingRulesRequest)

      Describes a pricing rule that can be associated to a pricing plan, or set of pricing plans.

      Parameters:
      listPricingRulesRequest -
      Returns:
      A Java Future containing the result of the ListPricingRules 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a 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.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPricingRules

      default CompletableFuture<ListPricingRulesResponse> listPricingRules(Consumer<ListPricingRulesRequest.Builder> listPricingRulesRequest)

      Describes a pricing rule that can be associated to a pricing plan, or set of pricing plans.


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

      Parameters:
      listPricingRulesRequest - A Consumer that will call methods on ListPricingRulesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListPricingRules 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a 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.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPricingRulesAssociatedToPricingPlan

      default CompletableFuture<ListPricingRulesAssociatedToPricingPlanResponse> listPricingRulesAssociatedToPricingPlan(ListPricingRulesAssociatedToPricingPlanRequest listPricingRulesAssociatedToPricingPlanRequest)

      Lists the pricing rules that are associated with a pricing plan.

      Parameters:
      listPricingRulesAssociatedToPricingPlanRequest -
      Returns:
      A Java Future containing the result of the ListPricingRulesAssociatedToPricingPlan 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPricingRulesAssociatedToPricingPlan

      default CompletableFuture<ListPricingRulesAssociatedToPricingPlanResponse> listPricingRulesAssociatedToPricingPlan(Consumer<ListPricingRulesAssociatedToPricingPlanRequest.Builder> listPricingRulesAssociatedToPricingPlanRequest)

      Lists the pricing rules that are associated with a pricing plan.


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

      Parameters:
      listPricingRulesAssociatedToPricingPlanRequest - A Consumer that will call methods on ListPricingRulesAssociatedToPricingPlanRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListPricingRulesAssociatedToPricingPlan 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPricingRulesAssociatedToPricingPlanPaginator

      default ListPricingRulesAssociatedToPricingPlanPublisher listPricingRulesAssociatedToPricingPlanPaginator(ListPricingRulesAssociatedToPricingPlanRequest listPricingRulesAssociatedToPricingPlanRequest)

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

      Parameters:
      listPricingRulesAssociatedToPricingPlanRequest -
      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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPricingRulesAssociatedToPricingPlanPaginator

      default ListPricingRulesAssociatedToPricingPlanPublisher listPricingRulesAssociatedToPricingPlanPaginator(Consumer<ListPricingRulesAssociatedToPricingPlanRequest.Builder> listPricingRulesAssociatedToPricingPlanRequest)

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


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

      Parameters:
      listPricingRulesAssociatedToPricingPlanRequest - A Consumer that will call methods on ListPricingRulesAssociatedToPricingPlanRequest.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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPricingRulesPaginator

      default ListPricingRulesPublisher listPricingRulesPaginator(ListPricingRulesRequest listPricingRulesRequest)

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

      Parameters:
      listPricingRulesRequest -
      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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a 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.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPricingRulesPaginator

      default ListPricingRulesPublisher listPricingRulesPaginator(Consumer<ListPricingRulesRequest.Builder> listPricingRulesRequest)

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


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

      Parameters:
      listPricingRulesRequest - A Consumer that will call methods on ListPricingRulesRequest.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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a 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.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResourcesAssociatedToCustomLineItem

      default CompletableFuture<ListResourcesAssociatedToCustomLineItemResponse> listResourcesAssociatedToCustomLineItem(ListResourcesAssociatedToCustomLineItemRequest listResourcesAssociatedToCustomLineItemRequest)

      List the resources that are associated to a custom line item.

      Parameters:
      listResourcesAssociatedToCustomLineItemRequest -
      Returns:
      A Java Future containing the result of the ListResourcesAssociatedToCustomLineItem 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResourcesAssociatedToCustomLineItem

      default CompletableFuture<ListResourcesAssociatedToCustomLineItemResponse> listResourcesAssociatedToCustomLineItem(Consumer<ListResourcesAssociatedToCustomLineItemRequest.Builder> listResourcesAssociatedToCustomLineItemRequest)

      List the resources that are associated to a custom line item.


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

      Parameters:
      listResourcesAssociatedToCustomLineItemRequest - A Consumer that will call methods on ListResourcesAssociatedToCustomLineItemRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListResourcesAssociatedToCustomLineItem 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResourcesAssociatedToCustomLineItemPaginator

      default ListResourcesAssociatedToCustomLineItemPublisher listResourcesAssociatedToCustomLineItemPaginator(ListResourcesAssociatedToCustomLineItemRequest listResourcesAssociatedToCustomLineItemRequest)

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

      Parameters:
      listResourcesAssociatedToCustomLineItemRequest -
      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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResourcesAssociatedToCustomLineItemPaginator

      default ListResourcesAssociatedToCustomLineItemPublisher listResourcesAssociatedToCustomLineItemPaginator(Consumer<ListResourcesAssociatedToCustomLineItemRequest.Builder> listResourcesAssociatedToCustomLineItemRequest)

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


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

      Parameters:
      listResourcesAssociatedToCustomLineItemRequest - A Consumer that will call methods on ListResourcesAssociatedToCustomLineItemRequest.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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException 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)

      A list the tags for a 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException 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)

      A list the tags for a 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException 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)

      Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed.

      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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException 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)

      Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed.


      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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException 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)

      Deletes specified tags from a 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException 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)

      Deletes specified tags from a 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateBillingGroup

      default CompletableFuture<UpdateBillingGroupResponse> updateBillingGroup(UpdateBillingGroupRequest updateBillingGroupRequest)

      This updates an existing billing group.

      Parameters:
      updateBillingGroupRequest -
      Returns:
      A Java Future containing the result of the UpdateBillingGroup 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateBillingGroup

      default CompletableFuture<UpdateBillingGroupResponse> updateBillingGroup(Consumer<UpdateBillingGroupRequest.Builder> updateBillingGroupRequest)

      This updates an existing billing group.


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

      Parameters:
      updateBillingGroupRequest - A Consumer that will call methods on UpdateBillingGroupRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateBillingGroup 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateCustomLineItem

      default CompletableFuture<UpdateCustomLineItemResponse> updateCustomLineItem(UpdateCustomLineItemRequest updateCustomLineItemRequest)

      Update an existing custom line item in the current or previous billing period.

      Parameters:
      updateCustomLineItemRequest -
      Returns:
      A Java Future containing the result of the UpdateCustomLineItem 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateCustomLineItem

      default CompletableFuture<UpdateCustomLineItemResponse> updateCustomLineItem(Consumer<UpdateCustomLineItemRequest.Builder> updateCustomLineItemRequest)

      Update an existing custom line item in the current or previous billing period.


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

      Parameters:
      updateCustomLineItemRequest - A Consumer that will call methods on UpdateCustomLineItemRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateCustomLineItem 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 denied due to request throttling.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updatePricingPlan

      default CompletableFuture<UpdatePricingPlanResponse> updatePricingPlan(UpdatePricingPlanRequest updatePricingPlanRequest)

      This updates an existing pricing plan.

      Parameters:
      updatePricingPlanRequest -
      Returns:
      A Java Future containing the result of the UpdatePricingPlan 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updatePricingPlan

      default CompletableFuture<UpdatePricingPlanResponse> updatePricingPlan(Consumer<UpdatePricingPlanRequest.Builder> updatePricingPlanRequest)

      This updates an existing pricing plan.


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

      Parameters:
      updatePricingPlanRequest - A Consumer that will call methods on UpdatePricingPlanRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdatePricingPlan 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updatePricingRule

      default CompletableFuture<UpdatePricingRuleResponse> updatePricingRule(UpdatePricingRuleRequest updatePricingRuleRequest)

      Updates an existing pricing rule.

      Parameters:
      updatePricingRuleRequest -
      Returns:
      A Java Future containing the result of the UpdatePricingRule 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updatePricingRule

      default CompletableFuture<UpdatePricingRuleResponse> updatePricingRule(Consumer<UpdatePricingRuleRequest.Builder> updatePricingRuleRequest)

      Updates an existing pricing rule.


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

      Parameters:
      updatePricingRuleRequest - A Consumer that will call methods on UpdatePricingRuleRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdatePricingRule 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 denied due to request throttling.
      • ConflictException You can cause an inconsistent state by updating or deleting a resource.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
      • InternalServerException An unexpected error occurred while processing a request.
      • ResourceNotFoundException The request references a resource that doesn't exist.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • serviceClientConfiguration

      default BillingconductorServiceClientConfiguration 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

      static BillingconductorAsyncClient create()
      Create a BillingconductorAsyncClient 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 BillingconductorAsyncClient.