Interface BcmPricingCalculatorAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface BcmPricingCalculatorAsyncClient extends AwsClient
Service client for accessing AWS Billing and Cost Management Pricing Calculator 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.

You can use the Pricing Calculator API to programmatically create estimates for your planned cloud use. You can model usage and commitments such as Savings Plans and Reserved Instances, and generate estimated costs using your discounts and benefit sharing preferences.

The Pricing Calculator API provides the following endpoint:

  • https://bcm-pricing-calculator.us-east-1.api.aws

  • Field Details

  • Method Details

    • batchCreateBillScenarioCommitmentModification

      default CompletableFuture<BatchCreateBillScenarioCommitmentModificationResponse> batchCreateBillScenarioCommitmentModification(BatchCreateBillScenarioCommitmentModificationRequest batchCreateBillScenarioCommitmentModificationRequest)

      Create Compute Savings Plans, EC2 Instance Savings Plans, or EC2 Reserved Instances commitments that you want to model in a Bill Scenario.

      The BatchCreateBillScenarioCommitmentModification operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission bcm-pricing-calculator:CreateBillScenarioCommitmentModification in your policies.

      Parameters:
      batchCreateBillScenarioCommitmentModificationRequest -
      Returns:
      A Java Future containing the result of the BatchCreateBillScenarioCommitmentModification 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchCreateBillScenarioCommitmentModification

      default CompletableFuture<BatchCreateBillScenarioCommitmentModificationResponse> batchCreateBillScenarioCommitmentModification(Consumer<BatchCreateBillScenarioCommitmentModificationRequest.Builder> batchCreateBillScenarioCommitmentModificationRequest)

      Create Compute Savings Plans, EC2 Instance Savings Plans, or EC2 Reserved Instances commitments that you want to model in a Bill Scenario.

      The BatchCreateBillScenarioCommitmentModification operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission bcm-pricing-calculator:CreateBillScenarioCommitmentModification in your policies.


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

      Parameters:
      batchCreateBillScenarioCommitmentModificationRequest - A Consumer that will call methods on BatchCreateBillScenarioCommitmentModificationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchCreateBillScenarioCommitmentModification 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchCreateBillScenarioUsageModification

      default CompletableFuture<BatchCreateBillScenarioUsageModificationResponse> batchCreateBillScenarioUsageModification(BatchCreateBillScenarioUsageModificationRequest batchCreateBillScenarioUsageModificationRequest)

      Create Amazon Web Services service usage that you want to model in a Bill Scenario.

      The BatchCreateBillScenarioUsageModification operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission bcm-pricing-calculator:CreateBillScenarioUsageModification in your policies.

      Parameters:
      batchCreateBillScenarioUsageModificationRequest -
      Returns:
      A Java Future containing the result of the BatchCreateBillScenarioUsageModification 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • ServiceQuotaExceededException The request would cause you to exceed your service quota.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchCreateBillScenarioUsageModification

      default CompletableFuture<BatchCreateBillScenarioUsageModificationResponse> batchCreateBillScenarioUsageModification(Consumer<BatchCreateBillScenarioUsageModificationRequest.Builder> batchCreateBillScenarioUsageModificationRequest)

      Create Amazon Web Services service usage that you want to model in a Bill Scenario.

      The BatchCreateBillScenarioUsageModification operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission bcm-pricing-calculator:CreateBillScenarioUsageModification in your policies.


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

      Parameters:
      batchCreateBillScenarioUsageModificationRequest - A Consumer that will call methods on BatchCreateBillScenarioUsageModificationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchCreateBillScenarioUsageModification 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • ServiceQuotaExceededException The request would cause you to exceed your service quota.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchCreateWorkloadEstimateUsage

      default CompletableFuture<BatchCreateWorkloadEstimateUsageResponse> batchCreateWorkloadEstimateUsage(BatchCreateWorkloadEstimateUsageRequest batchCreateWorkloadEstimateUsageRequest)

      Create Amazon Web Services service usage that you want to model in a Workload Estimate.

      The BatchCreateWorkloadEstimateUsage operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission bcm-pricing-calculator:CreateWorkloadEstimateUsage in your policies.

      Parameters:
      batchCreateWorkloadEstimateUsageRequest -
      Returns:
      A Java Future containing the result of the BatchCreateWorkloadEstimateUsage 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • ServiceQuotaExceededException The request would cause you to exceed your service quota.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchCreateWorkloadEstimateUsage

      default CompletableFuture<BatchCreateWorkloadEstimateUsageResponse> batchCreateWorkloadEstimateUsage(Consumer<BatchCreateWorkloadEstimateUsageRequest.Builder> batchCreateWorkloadEstimateUsageRequest)

      Create Amazon Web Services service usage that you want to model in a Workload Estimate.

      The BatchCreateWorkloadEstimateUsage operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission bcm-pricing-calculator:CreateWorkloadEstimateUsage in your policies.


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

      Parameters:
      batchCreateWorkloadEstimateUsageRequest - A Consumer that will call methods on BatchCreateWorkloadEstimateUsageRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchCreateWorkloadEstimateUsage 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • ServiceQuotaExceededException The request would cause you to exceed your service quota.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchDeleteBillScenarioCommitmentModification

      default CompletableFuture<BatchDeleteBillScenarioCommitmentModificationResponse> batchDeleteBillScenarioCommitmentModification(BatchDeleteBillScenarioCommitmentModificationRequest batchDeleteBillScenarioCommitmentModificationRequest)

      Delete commitment that you have created in a Bill Scenario. You can only delete a commitment that you had added and cannot model deletion (or removal) of a existing commitment. If you want model deletion of an existing commitment, see the negate BillScenarioCommitmentModificationAction of BatchCreateBillScenarioCommitmentModification operation.

      The BatchDeleteBillScenarioCommitmentModification operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission bcm-pricing-calculator:DeleteBillScenarioCommitmentModification in your policies.

      Parameters:
      batchDeleteBillScenarioCommitmentModificationRequest -
      Returns:
      A Java Future containing the result of the BatchDeleteBillScenarioCommitmentModification 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchDeleteBillScenarioCommitmentModification

      default CompletableFuture<BatchDeleteBillScenarioCommitmentModificationResponse> batchDeleteBillScenarioCommitmentModification(Consumer<BatchDeleteBillScenarioCommitmentModificationRequest.Builder> batchDeleteBillScenarioCommitmentModificationRequest)

      Delete commitment that you have created in a Bill Scenario. You can only delete a commitment that you had added and cannot model deletion (or removal) of a existing commitment. If you want model deletion of an existing commitment, see the negate BillScenarioCommitmentModificationAction of BatchCreateBillScenarioCommitmentModification operation.

      The BatchDeleteBillScenarioCommitmentModification operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission bcm-pricing-calculator:DeleteBillScenarioCommitmentModification in your policies.


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

      Parameters:
      batchDeleteBillScenarioCommitmentModificationRequest - A Consumer that will call methods on BatchDeleteBillScenarioCommitmentModificationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchDeleteBillScenarioCommitmentModification 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchDeleteBillScenarioUsageModification

      default CompletableFuture<BatchDeleteBillScenarioUsageModificationResponse> batchDeleteBillScenarioUsageModification(BatchDeleteBillScenarioUsageModificationRequest batchDeleteBillScenarioUsageModificationRequest)

      Delete usage that you have created in a Bill Scenario. You can only delete usage that you had added and cannot model deletion (or removal) of a existing usage. If you want model removal of an existing usage, see BatchUpdateBillScenarioUsageModification.

      The BatchDeleteBillScenarioUsageModification operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission bcm-pricing-calculator:DeleteBillScenarioUsageModification in your policies.

      Parameters:
      batchDeleteBillScenarioUsageModificationRequest -
      Returns:
      A Java Future containing the result of the BatchDeleteBillScenarioUsageModification 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • ServiceQuotaExceededException The request would cause you to exceed your service quota.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchDeleteBillScenarioUsageModification

      default CompletableFuture<BatchDeleteBillScenarioUsageModificationResponse> batchDeleteBillScenarioUsageModification(Consumer<BatchDeleteBillScenarioUsageModificationRequest.Builder> batchDeleteBillScenarioUsageModificationRequest)

      Delete usage that you have created in a Bill Scenario. You can only delete usage that you had added and cannot model deletion (or removal) of a existing usage. If you want model removal of an existing usage, see BatchUpdateBillScenarioUsageModification.

      The BatchDeleteBillScenarioUsageModification operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission bcm-pricing-calculator:DeleteBillScenarioUsageModification in your policies.


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

      Parameters:
      batchDeleteBillScenarioUsageModificationRequest - A Consumer that will call methods on BatchDeleteBillScenarioUsageModificationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchDeleteBillScenarioUsageModification 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • ServiceQuotaExceededException The request would cause you to exceed your service quota.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchDeleteWorkloadEstimateUsage

      default CompletableFuture<BatchDeleteWorkloadEstimateUsageResponse> batchDeleteWorkloadEstimateUsage(BatchDeleteWorkloadEstimateUsageRequest batchDeleteWorkloadEstimateUsageRequest)

      Delete usage that you have created in a Workload estimate. You can only delete usage that you had added and cannot model deletion (or removal) of a existing usage. If you want model removal of an existing usage, see BatchUpdateWorkloadEstimateUsage.

      The BatchDeleteWorkloadEstimateUsage operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission bcm-pricing-calculator:DeleteWorkloadEstimateUsage in your policies.

      Parameters:
      batchDeleteWorkloadEstimateUsageRequest -
      Returns:
      A Java Future containing the result of the BatchDeleteWorkloadEstimateUsage 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • ServiceQuotaExceededException The request would cause you to exceed your service quota.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchDeleteWorkloadEstimateUsage

      default CompletableFuture<BatchDeleteWorkloadEstimateUsageResponse> batchDeleteWorkloadEstimateUsage(Consumer<BatchDeleteWorkloadEstimateUsageRequest.Builder> batchDeleteWorkloadEstimateUsageRequest)

      Delete usage that you have created in a Workload estimate. You can only delete usage that you had added and cannot model deletion (or removal) of a existing usage. If you want model removal of an existing usage, see BatchUpdateWorkloadEstimateUsage.

      The BatchDeleteWorkloadEstimateUsage operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission bcm-pricing-calculator:DeleteWorkloadEstimateUsage in your policies.


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

      Parameters:
      batchDeleteWorkloadEstimateUsageRequest - A Consumer that will call methods on BatchDeleteWorkloadEstimateUsageRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchDeleteWorkloadEstimateUsage 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • ServiceQuotaExceededException The request would cause you to exceed your service quota.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchUpdateBillScenarioCommitmentModification

      default CompletableFuture<BatchUpdateBillScenarioCommitmentModificationResponse> batchUpdateBillScenarioCommitmentModification(BatchUpdateBillScenarioCommitmentModificationRequest batchUpdateBillScenarioCommitmentModificationRequest)

      Update a newly added or existing commitment. You can update the commitment group based on a commitment ID and a Bill scenario ID.

      The BatchUpdateBillScenarioCommitmentModification operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission bcm-pricing-calculator:UpdateBillScenarioCommitmentModification in your policies.

      Parameters:
      batchUpdateBillScenarioCommitmentModificationRequest -
      Returns:
      A Java Future containing the result of the BatchUpdateBillScenarioCommitmentModification 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchUpdateBillScenarioCommitmentModification

      default CompletableFuture<BatchUpdateBillScenarioCommitmentModificationResponse> batchUpdateBillScenarioCommitmentModification(Consumer<BatchUpdateBillScenarioCommitmentModificationRequest.Builder> batchUpdateBillScenarioCommitmentModificationRequest)

      Update a newly added or existing commitment. You can update the commitment group based on a commitment ID and a Bill scenario ID.

      The BatchUpdateBillScenarioCommitmentModification operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission bcm-pricing-calculator:UpdateBillScenarioCommitmentModification in your policies.


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

      Parameters:
      batchUpdateBillScenarioCommitmentModificationRequest - A Consumer that will call methods on BatchUpdateBillScenarioCommitmentModificationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchUpdateBillScenarioCommitmentModification 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchUpdateBillScenarioUsageModification

      default CompletableFuture<BatchUpdateBillScenarioUsageModificationResponse> batchUpdateBillScenarioUsageModification(BatchUpdateBillScenarioUsageModificationRequest batchUpdateBillScenarioUsageModificationRequest)

      Update a newly added or existing usage lines. You can update the usage amounts, usage hour, and usage group based on a usage ID and a Bill scenario ID.

      The BatchUpdateBillScenarioUsageModification operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission bcm-pricing-calculator:UpdateBillScenarioUsageModification in your policies.

      Parameters:
      batchUpdateBillScenarioUsageModificationRequest -
      Returns:
      A Java Future containing the result of the BatchUpdateBillScenarioUsageModification 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • ServiceQuotaExceededException The request would cause you to exceed your service quota.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchUpdateBillScenarioUsageModification

      default CompletableFuture<BatchUpdateBillScenarioUsageModificationResponse> batchUpdateBillScenarioUsageModification(Consumer<BatchUpdateBillScenarioUsageModificationRequest.Builder> batchUpdateBillScenarioUsageModificationRequest)

      Update a newly added or existing usage lines. You can update the usage amounts, usage hour, and usage group based on a usage ID and a Bill scenario ID.

      The BatchUpdateBillScenarioUsageModification operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission bcm-pricing-calculator:UpdateBillScenarioUsageModification in your policies.


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

      Parameters:
      batchUpdateBillScenarioUsageModificationRequest - A Consumer that will call methods on BatchUpdateBillScenarioUsageModificationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchUpdateBillScenarioUsageModification 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • ServiceQuotaExceededException The request would cause you to exceed your service quota.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchUpdateWorkloadEstimateUsage

      default CompletableFuture<BatchUpdateWorkloadEstimateUsageResponse> batchUpdateWorkloadEstimateUsage(BatchUpdateWorkloadEstimateUsageRequest batchUpdateWorkloadEstimateUsageRequest)

      Update a newly added or existing usage lines. You can update the usage amounts and usage group based on a usage ID and a Workload estimate ID.

      The BatchUpdateWorkloadEstimateUsage operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission bcm-pricing-calculator:UpdateWorkloadEstimateUsage in your policies.

      Parameters:
      batchUpdateWorkloadEstimateUsageRequest -
      Returns:
      A Java Future containing the result of the BatchUpdateWorkloadEstimateUsage 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • ServiceQuotaExceededException The request would cause you to exceed your service quota.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchUpdateWorkloadEstimateUsage

      default CompletableFuture<BatchUpdateWorkloadEstimateUsageResponse> batchUpdateWorkloadEstimateUsage(Consumer<BatchUpdateWorkloadEstimateUsageRequest.Builder> batchUpdateWorkloadEstimateUsageRequest)

      Update a newly added or existing usage lines. You can update the usage amounts and usage group based on a usage ID and a Workload estimate ID.

      The BatchUpdateWorkloadEstimateUsage operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission bcm-pricing-calculator:UpdateWorkloadEstimateUsage in your policies.


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

      Parameters:
      batchUpdateWorkloadEstimateUsageRequest - A Consumer that will call methods on BatchUpdateWorkloadEstimateUsageRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchUpdateWorkloadEstimateUsage 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • ServiceQuotaExceededException The request would cause you to exceed your service quota.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createBillEstimate

      default CompletableFuture<CreateBillEstimateResponse> createBillEstimate(CreateBillEstimateRequest createBillEstimateRequest)

      Create a Bill estimate from a Bill scenario. In the Bill scenario you can model usage addition, usage changes, and usage removal. You can also model commitment addition and commitment removal. After all changes in a Bill scenario is made satisfactorily, you can call this API with a Bill scenario ID to generate the Bill estimate. Bill estimate calculates the pre-tax cost for your consolidated billing family, incorporating all modeled usage and commitments alongside existing usage and commitments from your most recent completed anniversary bill, with any applicable discounts applied.

      Parameters:
      createBillEstimateRequest -
      Returns:
      A Java Future containing the result of the CreateBillEstimate 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createBillEstimate

      default CompletableFuture<CreateBillEstimateResponse> createBillEstimate(Consumer<CreateBillEstimateRequest.Builder> createBillEstimateRequest)

      Create a Bill estimate from a Bill scenario. In the Bill scenario you can model usage addition, usage changes, and usage removal. You can also model commitment addition and commitment removal. After all changes in a Bill scenario is made satisfactorily, you can call this API with a Bill scenario ID to generate the Bill estimate. Bill estimate calculates the pre-tax cost for your consolidated billing family, incorporating all modeled usage and commitments alongside existing usage and commitments from your most recent completed anniversary bill, with any applicable discounts applied.


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

      Parameters:
      createBillEstimateRequest - A Consumer that will call methods on CreateBillEstimateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateBillEstimate 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createBillScenario

      default CompletableFuture<CreateBillScenarioResponse> createBillScenario(CreateBillScenarioRequest createBillScenarioRequest)

      Creates a new bill scenario to model potential changes to Amazon Web Services usage and costs.

      Parameters:
      createBillScenarioRequest -
      Returns:
      A Java Future containing the result of the CreateBillScenario 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • ServiceQuotaExceededException The request would cause you to exceed your service quota.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createBillScenario

      default CompletableFuture<CreateBillScenarioResponse> createBillScenario(Consumer<CreateBillScenarioRequest.Builder> createBillScenarioRequest)

      Creates a new bill scenario to model potential changes to Amazon Web Services usage and costs.


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

      Parameters:
      createBillScenarioRequest - A Consumer that will call methods on CreateBillScenarioRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateBillScenario 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • ServiceQuotaExceededException The request would cause you to exceed your service quota.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createWorkloadEstimate

      default CompletableFuture<CreateWorkloadEstimateResponse> createWorkloadEstimate(CreateWorkloadEstimateRequest createWorkloadEstimateRequest)

      Creates a new workload estimate to model costs for a specific workload.

      Parameters:
      createWorkloadEstimateRequest -
      Returns:
      A Java Future containing the result of the CreateWorkloadEstimate 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • ServiceQuotaExceededException The request would cause you to exceed your service quota.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createWorkloadEstimate

      default CompletableFuture<CreateWorkloadEstimateResponse> createWorkloadEstimate(Consumer<CreateWorkloadEstimateRequest.Builder> createWorkloadEstimateRequest)

      Creates a new workload estimate to model costs for a specific workload.


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

      Parameters:
      createWorkloadEstimateRequest - A Consumer that will call methods on CreateWorkloadEstimateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateWorkloadEstimate 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • ServiceQuotaExceededException The request would cause you to exceed your service quota.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteBillEstimate

      default CompletableFuture<DeleteBillEstimateResponse> deleteBillEstimate(DeleteBillEstimateRequest deleteBillEstimateRequest)

      Deletes an existing bill estimate.

      Parameters:
      deleteBillEstimateRequest -
      Returns:
      A Java Future containing the result of the DeleteBillEstimate 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteBillEstimate

      default CompletableFuture<DeleteBillEstimateResponse> deleteBillEstimate(Consumer<DeleteBillEstimateRequest.Builder> deleteBillEstimateRequest)

      Deletes an existing bill estimate.


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

      Parameters:
      deleteBillEstimateRequest - A Consumer that will call methods on DeleteBillEstimateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteBillEstimate 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteBillScenario

      default CompletableFuture<DeleteBillScenarioResponse> deleteBillScenario(DeleteBillScenarioRequest deleteBillScenarioRequest)

      Deletes an existing bill scenario.

      Parameters:
      deleteBillScenarioRequest -
      Returns:
      A Java Future containing the result of the DeleteBillScenario 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteBillScenario

      default CompletableFuture<DeleteBillScenarioResponse> deleteBillScenario(Consumer<DeleteBillScenarioRequest.Builder> deleteBillScenarioRequest)

      Deletes an existing bill scenario.


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

      Parameters:
      deleteBillScenarioRequest - A Consumer that will call methods on DeleteBillScenarioRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteBillScenario 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteWorkloadEstimate

      default CompletableFuture<DeleteWorkloadEstimateResponse> deleteWorkloadEstimate(DeleteWorkloadEstimateRequest deleteWorkloadEstimateRequest)

      Deletes an existing workload estimate.

      Parameters:
      deleteWorkloadEstimateRequest -
      Returns:
      A Java Future containing the result of the DeleteWorkloadEstimate 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteWorkloadEstimate

      default CompletableFuture<DeleteWorkloadEstimateResponse> deleteWorkloadEstimate(Consumer<DeleteWorkloadEstimateRequest.Builder> deleteWorkloadEstimateRequest)

      Deletes an existing workload estimate.


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

      Parameters:
      deleteWorkloadEstimateRequest - A Consumer that will call methods on DeleteWorkloadEstimateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteWorkloadEstimate 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getBillEstimate

      default CompletableFuture<GetBillEstimateResponse> getBillEstimate(GetBillEstimateRequest getBillEstimateRequest)

      Retrieves details of a specific bill estimate.

      Parameters:
      getBillEstimateRequest -
      Returns:
      A Java Future containing the result of the GetBillEstimate 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getBillEstimate

      default CompletableFuture<GetBillEstimateResponse> getBillEstimate(Consumer<GetBillEstimateRequest.Builder> getBillEstimateRequest)

      Retrieves details of a specific bill estimate.


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

      Parameters:
      getBillEstimateRequest - A Consumer that will call methods on GetBillEstimateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetBillEstimate 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getBillScenario

      default CompletableFuture<GetBillScenarioResponse> getBillScenario(GetBillScenarioRequest getBillScenarioRequest)

      Retrieves details of a specific bill scenario.

      Parameters:
      getBillScenarioRequest -
      Returns:
      A Java Future containing the result of the GetBillScenario 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getBillScenario

      default CompletableFuture<GetBillScenarioResponse> getBillScenario(Consumer<GetBillScenarioRequest.Builder> getBillScenarioRequest)

      Retrieves details of a specific bill scenario.


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

      Parameters:
      getBillScenarioRequest - A Consumer that will call methods on GetBillScenarioRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetBillScenario 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getPreferences

      default CompletableFuture<GetPreferencesResponse> getPreferences(GetPreferencesRequest getPreferencesRequest)

      Retrieves the current preferences for Pricing Calculator.

      Parameters:
      getPreferencesRequest -
      Returns:
      A Java Future containing the result of the GetPreferences 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getPreferences

      default CompletableFuture<GetPreferencesResponse> getPreferences(Consumer<GetPreferencesRequest.Builder> getPreferencesRequest)

      Retrieves the current preferences for Pricing Calculator.


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

      Parameters:
      getPreferencesRequest - A Consumer that will call methods on GetPreferencesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetPreferences 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getWorkloadEstimate

      default CompletableFuture<GetWorkloadEstimateResponse> getWorkloadEstimate(GetWorkloadEstimateRequest getWorkloadEstimateRequest)

      Retrieves details of a specific workload estimate.

      Parameters:
      getWorkloadEstimateRequest -
      Returns:
      A Java Future containing the result of the GetWorkloadEstimate 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getWorkloadEstimate

      default CompletableFuture<GetWorkloadEstimateResponse> getWorkloadEstimate(Consumer<GetWorkloadEstimateRequest.Builder> getWorkloadEstimateRequest)

      Retrieves details of a specific workload estimate.


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

      Parameters:
      getWorkloadEstimateRequest - A Consumer that will call methods on GetWorkloadEstimateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetWorkloadEstimate 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillEstimateCommitments

      default CompletableFuture<ListBillEstimateCommitmentsResponse> listBillEstimateCommitments(ListBillEstimateCommitmentsRequest listBillEstimateCommitmentsRequest)

      Lists the commitments associated with a bill estimate.

      Parameters:
      listBillEstimateCommitmentsRequest -
      Returns:
      A Java Future containing the result of the ListBillEstimateCommitments 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillEstimateCommitments

      default CompletableFuture<ListBillEstimateCommitmentsResponse> listBillEstimateCommitments(Consumer<ListBillEstimateCommitmentsRequest.Builder> listBillEstimateCommitmentsRequest)

      Lists the commitments associated with a bill estimate.


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

      Parameters:
      listBillEstimateCommitmentsRequest - A Consumer that will call methods on ListBillEstimateCommitmentsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListBillEstimateCommitments 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillEstimateCommitmentsPaginator

      default ListBillEstimateCommitmentsPublisher listBillEstimateCommitmentsPaginator(ListBillEstimateCommitmentsRequest listBillEstimateCommitmentsRequest)

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

      Parameters:
      listBillEstimateCommitmentsRequest -
      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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillEstimateCommitmentsPaginator

      default ListBillEstimateCommitmentsPublisher listBillEstimateCommitmentsPaginator(Consumer<ListBillEstimateCommitmentsRequest.Builder> listBillEstimateCommitmentsRequest)

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


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

      Parameters:
      listBillEstimateCommitmentsRequest - A Consumer that will call methods on ListBillEstimateCommitmentsRequest.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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillEstimateInputCommitmentModifications

      default CompletableFuture<ListBillEstimateInputCommitmentModificationsResponse> listBillEstimateInputCommitmentModifications(ListBillEstimateInputCommitmentModificationsRequest listBillEstimateInputCommitmentModificationsRequest)

      Lists the input commitment modifications associated with a bill estimate.

      Parameters:
      listBillEstimateInputCommitmentModificationsRequest -
      Returns:
      A Java Future containing the result of the ListBillEstimateInputCommitmentModifications 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillEstimateInputCommitmentModifications

      default CompletableFuture<ListBillEstimateInputCommitmentModificationsResponse> listBillEstimateInputCommitmentModifications(Consumer<ListBillEstimateInputCommitmentModificationsRequest.Builder> listBillEstimateInputCommitmentModificationsRequest)

      Lists the input commitment modifications associated with a bill estimate.


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

      Parameters:
      listBillEstimateInputCommitmentModificationsRequest - A Consumer that will call methods on ListBillEstimateInputCommitmentModificationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListBillEstimateInputCommitmentModifications 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillEstimateInputCommitmentModificationsPaginator

      default ListBillEstimateInputCommitmentModificationsPublisher listBillEstimateInputCommitmentModificationsPaginator(ListBillEstimateInputCommitmentModificationsRequest listBillEstimateInputCommitmentModificationsRequest)

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

      Parameters:
      listBillEstimateInputCommitmentModificationsRequest -
      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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillEstimateInputCommitmentModificationsPaginator

      default ListBillEstimateInputCommitmentModificationsPublisher listBillEstimateInputCommitmentModificationsPaginator(Consumer<ListBillEstimateInputCommitmentModificationsRequest.Builder> listBillEstimateInputCommitmentModificationsRequest)

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


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

      Parameters:
      listBillEstimateInputCommitmentModificationsRequest - A Consumer that will call methods on ListBillEstimateInputCommitmentModificationsRequest.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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillEstimateInputUsageModifications

      default CompletableFuture<ListBillEstimateInputUsageModificationsResponse> listBillEstimateInputUsageModifications(ListBillEstimateInputUsageModificationsRequest listBillEstimateInputUsageModificationsRequest)

      Lists the input usage modifications associated with a bill estimate.

      Parameters:
      listBillEstimateInputUsageModificationsRequest -
      Returns:
      A Java Future containing the result of the ListBillEstimateInputUsageModifications 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillEstimateInputUsageModifications

      default CompletableFuture<ListBillEstimateInputUsageModificationsResponse> listBillEstimateInputUsageModifications(Consumer<ListBillEstimateInputUsageModificationsRequest.Builder> listBillEstimateInputUsageModificationsRequest)

      Lists the input usage modifications associated with a bill estimate.


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

      Parameters:
      listBillEstimateInputUsageModificationsRequest - A Consumer that will call methods on ListBillEstimateInputUsageModificationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListBillEstimateInputUsageModifications 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillEstimateInputUsageModificationsPaginator

      default ListBillEstimateInputUsageModificationsPublisher listBillEstimateInputUsageModificationsPaginator(ListBillEstimateInputUsageModificationsRequest listBillEstimateInputUsageModificationsRequest)

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

      Parameters:
      listBillEstimateInputUsageModificationsRequest -
      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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillEstimateInputUsageModificationsPaginator

      default ListBillEstimateInputUsageModificationsPublisher listBillEstimateInputUsageModificationsPaginator(Consumer<ListBillEstimateInputUsageModificationsRequest.Builder> listBillEstimateInputUsageModificationsRequest)

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


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

      Parameters:
      listBillEstimateInputUsageModificationsRequest - A Consumer that will call methods on ListBillEstimateInputUsageModificationsRequest.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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillEstimateLineItems

      default CompletableFuture<ListBillEstimateLineItemsResponse> listBillEstimateLineItems(ListBillEstimateLineItemsRequest listBillEstimateLineItemsRequest)

      Lists the line items associated with a bill estimate.

      Parameters:
      listBillEstimateLineItemsRequest -
      Returns:
      A Java Future containing the result of the ListBillEstimateLineItems 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillEstimateLineItems

      default CompletableFuture<ListBillEstimateLineItemsResponse> listBillEstimateLineItems(Consumer<ListBillEstimateLineItemsRequest.Builder> listBillEstimateLineItemsRequest)

      Lists the line items associated with a bill estimate.


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

      Parameters:
      listBillEstimateLineItemsRequest - A Consumer that will call methods on ListBillEstimateLineItemsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListBillEstimateLineItems 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillEstimateLineItemsPaginator

      default ListBillEstimateLineItemsPublisher listBillEstimateLineItemsPaginator(ListBillEstimateLineItemsRequest listBillEstimateLineItemsRequest)

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

      Parameters:
      listBillEstimateLineItemsRequest -
      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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillEstimateLineItemsPaginator

      default ListBillEstimateLineItemsPublisher listBillEstimateLineItemsPaginator(Consumer<ListBillEstimateLineItemsRequest.Builder> listBillEstimateLineItemsRequest)

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


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

      Parameters:
      listBillEstimateLineItemsRequest - A Consumer that will call methods on ListBillEstimateLineItemsRequest.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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillEstimates

      default CompletableFuture<ListBillEstimatesResponse> listBillEstimates(ListBillEstimatesRequest listBillEstimatesRequest)

      Lists all bill estimates for the account.

      Parameters:
      listBillEstimatesRequest -
      Returns:
      A Java Future containing the result of the ListBillEstimates 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillEstimates

      default CompletableFuture<ListBillEstimatesResponse> listBillEstimates(Consumer<ListBillEstimatesRequest.Builder> listBillEstimatesRequest)

      Lists all bill estimates for the account.


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

      Parameters:
      listBillEstimatesRequest - A Consumer that will call methods on ListBillEstimatesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListBillEstimates 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillEstimatesPaginator

      default ListBillEstimatesPublisher listBillEstimatesPaginator(ListBillEstimatesRequest listBillEstimatesRequest)

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

      Parameters:
      listBillEstimatesRequest -
      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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillEstimatesPaginator

      default ListBillEstimatesPublisher listBillEstimatesPaginator(Consumer<ListBillEstimatesRequest.Builder> listBillEstimatesRequest)

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


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

      Parameters:
      listBillEstimatesRequest - A Consumer that will call methods on ListBillEstimatesRequest.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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillScenarioCommitmentModifications

      default CompletableFuture<ListBillScenarioCommitmentModificationsResponse> listBillScenarioCommitmentModifications(ListBillScenarioCommitmentModificationsRequest listBillScenarioCommitmentModificationsRequest)

      Lists the commitment modifications associated with a bill scenario.

      Parameters:
      listBillScenarioCommitmentModificationsRequest -
      Returns:
      A Java Future containing the result of the ListBillScenarioCommitmentModifications 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillScenarioCommitmentModifications

      default CompletableFuture<ListBillScenarioCommitmentModificationsResponse> listBillScenarioCommitmentModifications(Consumer<ListBillScenarioCommitmentModificationsRequest.Builder> listBillScenarioCommitmentModificationsRequest)

      Lists the commitment modifications associated with a bill scenario.


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

      Parameters:
      listBillScenarioCommitmentModificationsRequest - A Consumer that will call methods on ListBillScenarioCommitmentModificationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListBillScenarioCommitmentModifications 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillScenarioCommitmentModificationsPaginator

      default ListBillScenarioCommitmentModificationsPublisher listBillScenarioCommitmentModificationsPaginator(ListBillScenarioCommitmentModificationsRequest listBillScenarioCommitmentModificationsRequest)

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

      Parameters:
      listBillScenarioCommitmentModificationsRequest -
      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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillScenarioCommitmentModificationsPaginator

      default ListBillScenarioCommitmentModificationsPublisher listBillScenarioCommitmentModificationsPaginator(Consumer<ListBillScenarioCommitmentModificationsRequest.Builder> listBillScenarioCommitmentModificationsRequest)

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


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

      Parameters:
      listBillScenarioCommitmentModificationsRequest - A Consumer that will call methods on ListBillScenarioCommitmentModificationsRequest.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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillScenarioUsageModifications

      default CompletableFuture<ListBillScenarioUsageModificationsResponse> listBillScenarioUsageModifications(ListBillScenarioUsageModificationsRequest listBillScenarioUsageModificationsRequest)

      Lists the usage modifications associated with a bill scenario.

      Parameters:
      listBillScenarioUsageModificationsRequest -
      Returns:
      A Java Future containing the result of the ListBillScenarioUsageModifications 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillScenarioUsageModifications

      default CompletableFuture<ListBillScenarioUsageModificationsResponse> listBillScenarioUsageModifications(Consumer<ListBillScenarioUsageModificationsRequest.Builder> listBillScenarioUsageModificationsRequest)

      Lists the usage modifications associated with a bill scenario.


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

      Parameters:
      listBillScenarioUsageModificationsRequest - A Consumer that will call methods on ListBillScenarioUsageModificationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListBillScenarioUsageModifications 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillScenarioUsageModificationsPaginator

      default ListBillScenarioUsageModificationsPublisher listBillScenarioUsageModificationsPaginator(ListBillScenarioUsageModificationsRequest listBillScenarioUsageModificationsRequest)

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

      Parameters:
      listBillScenarioUsageModificationsRequest -
      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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillScenarioUsageModificationsPaginator

      default ListBillScenarioUsageModificationsPublisher listBillScenarioUsageModificationsPaginator(Consumer<ListBillScenarioUsageModificationsRequest.Builder> listBillScenarioUsageModificationsRequest)

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


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

      Parameters:
      listBillScenarioUsageModificationsRequest - A Consumer that will call methods on ListBillScenarioUsageModificationsRequest.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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillScenarios

      default CompletableFuture<ListBillScenariosResponse> listBillScenarios(ListBillScenariosRequest listBillScenariosRequest)

      Lists all bill scenarios for the account.

      Parameters:
      listBillScenariosRequest -
      Returns:
      A Java Future containing the result of the ListBillScenarios 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillScenarios

      default CompletableFuture<ListBillScenariosResponse> listBillScenarios(Consumer<ListBillScenariosRequest.Builder> listBillScenariosRequest)

      Lists all bill scenarios for the account.


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

      Parameters:
      listBillScenariosRequest - A Consumer that will call methods on ListBillScenariosRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListBillScenarios 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillScenariosPaginator

      default ListBillScenariosPublisher listBillScenariosPaginator(ListBillScenariosRequest listBillScenariosRequest)

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

      Parameters:
      listBillScenariosRequest -
      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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBillScenariosPaginator

      default ListBillScenariosPublisher listBillScenariosPaginator(Consumer<ListBillScenariosRequest.Builder> listBillScenariosRequest)

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


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

      Parameters:
      listBillScenariosRequest - A Consumer that will call methods on ListBillScenariosRequest.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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)

      Lists all tags associated with a specified resource.

      Parameters:
      listTagsForResourceRequest -
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)

      Lists all tags associated with a specified resource.


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

      Parameters:
      listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkloadEstimateUsage

      default CompletableFuture<ListWorkloadEstimateUsageResponse> listWorkloadEstimateUsage(ListWorkloadEstimateUsageRequest listWorkloadEstimateUsageRequest)

      Lists the usage associated with a workload estimate.

      Parameters:
      listWorkloadEstimateUsageRequest -
      Returns:
      A Java Future containing the result of the ListWorkloadEstimateUsage 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkloadEstimateUsage

      default CompletableFuture<ListWorkloadEstimateUsageResponse> listWorkloadEstimateUsage(Consumer<ListWorkloadEstimateUsageRequest.Builder> listWorkloadEstimateUsageRequest)

      Lists the usage associated with a workload estimate.


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

      Parameters:
      listWorkloadEstimateUsageRequest - A Consumer that will call methods on ListWorkloadEstimateUsageRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListWorkloadEstimateUsage 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkloadEstimateUsagePaginator

      default ListWorkloadEstimateUsagePublisher listWorkloadEstimateUsagePaginator(ListWorkloadEstimateUsageRequest listWorkloadEstimateUsageRequest)

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

      Parameters:
      listWorkloadEstimateUsageRequest -
      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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkloadEstimateUsagePaginator

      default ListWorkloadEstimateUsagePublisher listWorkloadEstimateUsagePaginator(Consumer<ListWorkloadEstimateUsageRequest.Builder> listWorkloadEstimateUsageRequest)

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


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

      Parameters:
      listWorkloadEstimateUsageRequest - A Consumer that will call methods on ListWorkloadEstimateUsageRequest.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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkloadEstimates

      default CompletableFuture<ListWorkloadEstimatesResponse> listWorkloadEstimates(ListWorkloadEstimatesRequest listWorkloadEstimatesRequest)

      Lists all workload estimates for the account.

      Parameters:
      listWorkloadEstimatesRequest -
      Returns:
      A Java Future containing the result of the ListWorkloadEstimates 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkloadEstimates

      default CompletableFuture<ListWorkloadEstimatesResponse> listWorkloadEstimates(Consumer<ListWorkloadEstimatesRequest.Builder> listWorkloadEstimatesRequest)

      Lists all workload estimates for the account.


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

      Parameters:
      listWorkloadEstimatesRequest - A Consumer that will call methods on ListWorkloadEstimatesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListWorkloadEstimates 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkloadEstimatesPaginator

      default ListWorkloadEstimatesPublisher listWorkloadEstimatesPaginator(ListWorkloadEstimatesRequest listWorkloadEstimatesRequest)

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

      Parameters:
      listWorkloadEstimatesRequest -
      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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkloadEstimatesPaginator

      default ListWorkloadEstimatesPublisher listWorkloadEstimatesPaginator(Consumer<ListWorkloadEstimatesRequest.Builder> listWorkloadEstimatesRequest)

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


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

      Parameters:
      listWorkloadEstimatesRequest - A Consumer that will call methods on ListWorkloadEstimatesRequest.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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)

      Adds one or more tags to a specified resource.

      Parameters:
      tagResourceRequest -
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • ServiceQuotaExceededException The request would cause you to exceed your service quota.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)

      Adds one or more tags to a specified resource.


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

      Parameters:
      tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • ServiceQuotaExceededException The request would cause you to exceed your service quota.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)

      Removes one or more tags from a specified resource.

      Parameters:
      untagResourceRequest -
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)

      Removes one or more tags from a specified resource.


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

      Parameters:
      untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateBillEstimate

      default CompletableFuture<UpdateBillEstimateResponse> updateBillEstimate(UpdateBillEstimateRequest updateBillEstimateRequest)

      Updates an existing bill estimate.

      Parameters:
      updateBillEstimateRequest -
      Returns:
      A Java Future containing the result of the UpdateBillEstimate 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateBillEstimate

      default CompletableFuture<UpdateBillEstimateResponse> updateBillEstimate(Consumer<UpdateBillEstimateRequest.Builder> updateBillEstimateRequest)

      Updates an existing bill estimate.


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

      Parameters:
      updateBillEstimateRequest - A Consumer that will call methods on UpdateBillEstimateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateBillEstimate 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateBillScenario

      default CompletableFuture<UpdateBillScenarioResponse> updateBillScenario(UpdateBillScenarioRequest updateBillScenarioRequest)

      Updates an existing bill scenario.

      Parameters:
      updateBillScenarioRequest -
      Returns:
      A Java Future containing the result of the UpdateBillScenario 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateBillScenario

      default CompletableFuture<UpdateBillScenarioResponse> updateBillScenario(Consumer<UpdateBillScenarioRequest.Builder> updateBillScenarioRequest)

      Updates an existing bill scenario.


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

      Parameters:
      updateBillScenarioRequest - A Consumer that will call methods on UpdateBillScenarioRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateBillScenario 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updatePreferences

      default CompletableFuture<UpdatePreferencesResponse> updatePreferences(UpdatePreferencesRequest updatePreferencesRequest)

      Updates the preferences for Pricing Calculator.

      Parameters:
      updatePreferencesRequest -
      Returns:
      A Java Future containing the result of the UpdatePreferences 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • ServiceQuotaExceededException The request would cause you to exceed your service quota.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updatePreferences

      default CompletableFuture<UpdatePreferencesResponse> updatePreferences(Consumer<UpdatePreferencesRequest.Builder> updatePreferencesRequest)

      Updates the preferences for Pricing Calculator.


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

      Parameters:
      updatePreferencesRequest - A Consumer that will call methods on UpdatePreferencesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdatePreferences 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.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • ServiceQuotaExceededException The request would cause you to exceed your service quota.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateWorkloadEstimate

      default CompletableFuture<UpdateWorkloadEstimateResponse> updateWorkloadEstimate(UpdateWorkloadEstimateRequest updateWorkloadEstimateRequest)

      Updates an existing workload estimate.

      Parameters:
      updateWorkloadEstimateRequest -
      Returns:
      A Java Future containing the result of the UpdateWorkloadEstimate 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateWorkloadEstimate

      default CompletableFuture<UpdateWorkloadEstimateResponse> updateWorkloadEstimate(Consumer<UpdateWorkloadEstimateRequest.Builder> updateWorkloadEstimateRequest)

      Updates an existing workload estimate.


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

      Parameters:
      updateWorkloadEstimateRequest - A Consumer that will call methods on UpdateWorkloadEstimateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateWorkloadEstimate 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.
      • ConflictException The request could not be processed because of conflict in the current state of the resource.
      • ValidationException The input provided fails to satisfy the constraints specified by an Amazon Web Services service.
      • DataUnavailableException The requested data is currently unavailable.
      • InternalServerException An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web Services support.
      • ResourceNotFoundException The specified resource was not found.
      • AccessDeniedException You do not have sufficient access to perform this action.
      • ThrottlingException The request was denied due to request throttling.
      • 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.
      • BcmPricingCalculatorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • serviceClientConfiguration

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

      Create a BcmPricingCalculatorAsyncClient 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 BcmPricingCalculatorAsyncClient.