Interface BcmPricingCalculatorClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface BcmPricingCalculatorClient extends AwsClient
Service client for accessing AWS Billing and Cost Management Pricing Calculator. This can be created using the staticbuilder()method.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 Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
batchCreateBillScenarioCommitmentModification
default BatchCreateBillScenarioCommitmentModificationResponse batchCreateBillScenarioCommitmentModification(BatchCreateBillScenarioCommitmentModificationRequest batchCreateBillScenarioCommitmentModificationRequest) throws ConflictException, ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Create Compute Savings Plans, EC2 Instance Savings Plans, or EC2 Reserved Instances commitments that you want to model in a Bill Scenario.
The
BatchCreateBillScenarioCommitmentModificationoperation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permissionbcm-pricing-calculator:CreateBillScenarioCommitmentModificationin your policies.- Parameters:
batchCreateBillScenarioCommitmentModificationRequest-- Returns:
- Result of the BatchCreateBillScenarioCommitmentModification operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchCreateBillScenarioCommitmentModification
default BatchCreateBillScenarioCommitmentModificationResponse batchCreateBillScenarioCommitmentModification(Consumer<BatchCreateBillScenarioCommitmentModificationRequest.Builder> batchCreateBillScenarioCommitmentModificationRequest) throws ConflictException, ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Create Compute Savings Plans, EC2 Instance Savings Plans, or EC2 Reserved Instances commitments that you want to model in a Bill Scenario.
The
BatchCreateBillScenarioCommitmentModificationoperation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permissionbcm-pricing-calculator:CreateBillScenarioCommitmentModificationin your policies.
This is a convenience which creates an instance of the
BatchCreateBillScenarioCommitmentModificationRequest.Builderavoiding the need to create one manually viaBatchCreateBillScenarioCommitmentModificationRequest.builder()- Parameters:
batchCreateBillScenarioCommitmentModificationRequest- AConsumerthat will call methods onBatchCreateBillScenarioCommitmentModificationRequest.Builderto create a request.- Returns:
- Result of the BatchCreateBillScenarioCommitmentModification operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchCreateBillScenarioUsageModification
default BatchCreateBillScenarioUsageModificationResponse batchCreateBillScenarioUsageModification(BatchCreateBillScenarioUsageModificationRequest batchCreateBillScenarioUsageModificationRequest) throws ConflictException, ValidationException, DataUnavailableException, ServiceQuotaExceededException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Create Amazon Web Services service usage that you want to model in a Bill Scenario.
The
BatchCreateBillScenarioUsageModificationoperation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permissionbcm-pricing-calculator:CreateBillScenarioUsageModificationin your policies.- Parameters:
batchCreateBillScenarioUsageModificationRequest-- Returns:
- Result of the BatchCreateBillScenarioUsageModification operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchCreateBillScenarioUsageModification
default BatchCreateBillScenarioUsageModificationResponse batchCreateBillScenarioUsageModification(Consumer<BatchCreateBillScenarioUsageModificationRequest.Builder> batchCreateBillScenarioUsageModificationRequest) throws ConflictException, ValidationException, DataUnavailableException, ServiceQuotaExceededException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Create Amazon Web Services service usage that you want to model in a Bill Scenario.
The
BatchCreateBillScenarioUsageModificationoperation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permissionbcm-pricing-calculator:CreateBillScenarioUsageModificationin your policies.
This is a convenience which creates an instance of the
BatchCreateBillScenarioUsageModificationRequest.Builderavoiding the need to create one manually viaBatchCreateBillScenarioUsageModificationRequest.builder()- Parameters:
batchCreateBillScenarioUsageModificationRequest- AConsumerthat will call methods onBatchCreateBillScenarioUsageModificationRequest.Builderto create a request.- Returns:
- Result of the BatchCreateBillScenarioUsageModification operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchCreateWorkloadEstimateUsage
default BatchCreateWorkloadEstimateUsageResponse batchCreateWorkloadEstimateUsage(BatchCreateWorkloadEstimateUsageRequest batchCreateWorkloadEstimateUsageRequest) throws ConflictException, ValidationException, DataUnavailableException, ServiceQuotaExceededException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Create Amazon Web Services service usage that you want to model in a Workload Estimate.
The
BatchCreateWorkloadEstimateUsageoperation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permissionbcm-pricing-calculator:CreateWorkloadEstimateUsagein your policies.- Parameters:
batchCreateWorkloadEstimateUsageRequest-- Returns:
- Result of the BatchCreateWorkloadEstimateUsage operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchCreateWorkloadEstimateUsage
default BatchCreateWorkloadEstimateUsageResponse batchCreateWorkloadEstimateUsage(Consumer<BatchCreateWorkloadEstimateUsageRequest.Builder> batchCreateWorkloadEstimateUsageRequest) throws ConflictException, ValidationException, DataUnavailableException, ServiceQuotaExceededException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Create Amazon Web Services service usage that you want to model in a Workload Estimate.
The
BatchCreateWorkloadEstimateUsageoperation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permissionbcm-pricing-calculator:CreateWorkloadEstimateUsagein your policies.
This is a convenience which creates an instance of the
BatchCreateWorkloadEstimateUsageRequest.Builderavoiding the need to create one manually viaBatchCreateWorkloadEstimateUsageRequest.builder()- Parameters:
batchCreateWorkloadEstimateUsageRequest- AConsumerthat will call methods onBatchCreateWorkloadEstimateUsageRequest.Builderto create a request.- Returns:
- Result of the BatchCreateWorkloadEstimateUsage operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchDeleteBillScenarioCommitmentModification
default BatchDeleteBillScenarioCommitmentModificationResponse batchDeleteBillScenarioCommitmentModification(BatchDeleteBillScenarioCommitmentModificationRequest batchDeleteBillScenarioCommitmentModificationRequest) throws ConflictException, ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
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
BatchDeleteBillScenarioCommitmentModificationoperation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permissionbcm-pricing-calculator:DeleteBillScenarioCommitmentModificationin your policies.- Parameters:
batchDeleteBillScenarioCommitmentModificationRequest-- Returns:
- Result of the BatchDeleteBillScenarioCommitmentModification operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchDeleteBillScenarioCommitmentModification
default BatchDeleteBillScenarioCommitmentModificationResponse batchDeleteBillScenarioCommitmentModification(Consumer<BatchDeleteBillScenarioCommitmentModificationRequest.Builder> batchDeleteBillScenarioCommitmentModificationRequest) throws ConflictException, ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
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
BatchDeleteBillScenarioCommitmentModificationoperation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permissionbcm-pricing-calculator:DeleteBillScenarioCommitmentModificationin your policies.
This is a convenience which creates an instance of the
BatchDeleteBillScenarioCommitmentModificationRequest.Builderavoiding the need to create one manually viaBatchDeleteBillScenarioCommitmentModificationRequest.builder()- Parameters:
batchDeleteBillScenarioCommitmentModificationRequest- AConsumerthat will call methods onBatchDeleteBillScenarioCommitmentModificationRequest.Builderto create a request.- Returns:
- Result of the BatchDeleteBillScenarioCommitmentModification operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchDeleteBillScenarioUsageModification
default BatchDeleteBillScenarioUsageModificationResponse batchDeleteBillScenarioUsageModification(BatchDeleteBillScenarioUsageModificationRequest batchDeleteBillScenarioUsageModificationRequest) throws ConflictException, ValidationException, DataUnavailableException, ServiceQuotaExceededException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
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
BatchDeleteBillScenarioUsageModificationoperation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permissionbcm-pricing-calculator:DeleteBillScenarioUsageModificationin your policies.- Parameters:
batchDeleteBillScenarioUsageModificationRequest-- Returns:
- Result of the BatchDeleteBillScenarioUsageModification operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchDeleteBillScenarioUsageModification
default BatchDeleteBillScenarioUsageModificationResponse batchDeleteBillScenarioUsageModification(Consumer<BatchDeleteBillScenarioUsageModificationRequest.Builder> batchDeleteBillScenarioUsageModificationRequest) throws ConflictException, ValidationException, DataUnavailableException, ServiceQuotaExceededException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
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
BatchDeleteBillScenarioUsageModificationoperation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permissionbcm-pricing-calculator:DeleteBillScenarioUsageModificationin your policies.
This is a convenience which creates an instance of the
BatchDeleteBillScenarioUsageModificationRequest.Builderavoiding the need to create one manually viaBatchDeleteBillScenarioUsageModificationRequest.builder()- Parameters:
batchDeleteBillScenarioUsageModificationRequest- AConsumerthat will call methods onBatchDeleteBillScenarioUsageModificationRequest.Builderto create a request.- Returns:
- Result of the BatchDeleteBillScenarioUsageModification operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchDeleteWorkloadEstimateUsage
default BatchDeleteWorkloadEstimateUsageResponse batchDeleteWorkloadEstimateUsage(BatchDeleteWorkloadEstimateUsageRequest batchDeleteWorkloadEstimateUsageRequest) throws ValidationException, DataUnavailableException, ServiceQuotaExceededException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
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
BatchDeleteWorkloadEstimateUsageoperation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permissionbcm-pricing-calculator:DeleteWorkloadEstimateUsagein your policies.- Parameters:
batchDeleteWorkloadEstimateUsageRequest-- Returns:
- Result of the BatchDeleteWorkloadEstimateUsage operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchDeleteWorkloadEstimateUsage
default BatchDeleteWorkloadEstimateUsageResponse batchDeleteWorkloadEstimateUsage(Consumer<BatchDeleteWorkloadEstimateUsageRequest.Builder> batchDeleteWorkloadEstimateUsageRequest) throws ValidationException, DataUnavailableException, ServiceQuotaExceededException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
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
BatchDeleteWorkloadEstimateUsageoperation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permissionbcm-pricing-calculator:DeleteWorkloadEstimateUsagein your policies.
This is a convenience which creates an instance of the
BatchDeleteWorkloadEstimateUsageRequest.Builderavoiding the need to create one manually viaBatchDeleteWorkloadEstimateUsageRequest.builder()- Parameters:
batchDeleteWorkloadEstimateUsageRequest- AConsumerthat will call methods onBatchDeleteWorkloadEstimateUsageRequest.Builderto create a request.- Returns:
- Result of the BatchDeleteWorkloadEstimateUsage operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchUpdateBillScenarioCommitmentModification
default BatchUpdateBillScenarioCommitmentModificationResponse batchUpdateBillScenarioCommitmentModification(BatchUpdateBillScenarioCommitmentModificationRequest batchUpdateBillScenarioCommitmentModificationRequest) throws ConflictException, ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Update a newly added or existing commitment. You can update the commitment group based on a commitment ID and a Bill scenario ID.
The
BatchUpdateBillScenarioCommitmentModificationoperation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permissionbcm-pricing-calculator:UpdateBillScenarioCommitmentModificationin your policies.- Parameters:
batchUpdateBillScenarioCommitmentModificationRequest-- Returns:
- Result of the BatchUpdateBillScenarioCommitmentModification operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchUpdateBillScenarioCommitmentModification
default BatchUpdateBillScenarioCommitmentModificationResponse batchUpdateBillScenarioCommitmentModification(Consumer<BatchUpdateBillScenarioCommitmentModificationRequest.Builder> batchUpdateBillScenarioCommitmentModificationRequest) throws ConflictException, ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Update a newly added or existing commitment. You can update the commitment group based on a commitment ID and a Bill scenario ID.
The
BatchUpdateBillScenarioCommitmentModificationoperation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permissionbcm-pricing-calculator:UpdateBillScenarioCommitmentModificationin your policies.
This is a convenience which creates an instance of the
BatchUpdateBillScenarioCommitmentModificationRequest.Builderavoiding the need to create one manually viaBatchUpdateBillScenarioCommitmentModificationRequest.builder()- Parameters:
batchUpdateBillScenarioCommitmentModificationRequest- AConsumerthat will call methods onBatchUpdateBillScenarioCommitmentModificationRequest.Builderto create a request.- Returns:
- Result of the BatchUpdateBillScenarioCommitmentModification operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchUpdateBillScenarioUsageModification
default BatchUpdateBillScenarioUsageModificationResponse batchUpdateBillScenarioUsageModification(BatchUpdateBillScenarioUsageModificationRequest batchUpdateBillScenarioUsageModificationRequest) throws ConflictException, ValidationException, DataUnavailableException, ServiceQuotaExceededException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
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
BatchUpdateBillScenarioUsageModificationoperation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permissionbcm-pricing-calculator:UpdateBillScenarioUsageModificationin your policies.- Parameters:
batchUpdateBillScenarioUsageModificationRequest-- Returns:
- Result of the BatchUpdateBillScenarioUsageModification operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchUpdateBillScenarioUsageModification
default BatchUpdateBillScenarioUsageModificationResponse batchUpdateBillScenarioUsageModification(Consumer<BatchUpdateBillScenarioUsageModificationRequest.Builder> batchUpdateBillScenarioUsageModificationRequest) throws ConflictException, ValidationException, DataUnavailableException, ServiceQuotaExceededException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
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
BatchUpdateBillScenarioUsageModificationoperation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permissionbcm-pricing-calculator:UpdateBillScenarioUsageModificationin your policies.
This is a convenience which creates an instance of the
BatchUpdateBillScenarioUsageModificationRequest.Builderavoiding the need to create one manually viaBatchUpdateBillScenarioUsageModificationRequest.builder()- Parameters:
batchUpdateBillScenarioUsageModificationRequest- AConsumerthat will call methods onBatchUpdateBillScenarioUsageModificationRequest.Builderto create a request.- Returns:
- Result of the BatchUpdateBillScenarioUsageModification operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchUpdateWorkloadEstimateUsage
default BatchUpdateWorkloadEstimateUsageResponse batchUpdateWorkloadEstimateUsage(BatchUpdateWorkloadEstimateUsageRequest batchUpdateWorkloadEstimateUsageRequest) throws ValidationException, DataUnavailableException, ServiceQuotaExceededException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
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
BatchUpdateWorkloadEstimateUsageoperation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permissionbcm-pricing-calculator:UpdateWorkloadEstimateUsagein your policies.- Parameters:
batchUpdateWorkloadEstimateUsageRequest-- Returns:
- Result of the BatchUpdateWorkloadEstimateUsage operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchUpdateWorkloadEstimateUsage
default BatchUpdateWorkloadEstimateUsageResponse batchUpdateWorkloadEstimateUsage(Consumer<BatchUpdateWorkloadEstimateUsageRequest.Builder> batchUpdateWorkloadEstimateUsageRequest) throws ValidationException, DataUnavailableException, ServiceQuotaExceededException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
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
BatchUpdateWorkloadEstimateUsageoperation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permissionbcm-pricing-calculator:UpdateWorkloadEstimateUsagein your policies.
This is a convenience which creates an instance of the
BatchUpdateWorkloadEstimateUsageRequest.Builderavoiding the need to create one manually viaBatchUpdateWorkloadEstimateUsageRequest.builder()- Parameters:
batchUpdateWorkloadEstimateUsageRequest- AConsumerthat will call methods onBatchUpdateWorkloadEstimateUsageRequest.Builderto create a request.- Returns:
- Result of the BatchUpdateWorkloadEstimateUsage operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createBillEstimate
default CreateBillEstimateResponse createBillEstimate(CreateBillEstimateRequest createBillEstimateRequest) throws ConflictException, ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
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:
- Result of the CreateBillEstimate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createBillEstimate
default CreateBillEstimateResponse createBillEstimate(Consumer<CreateBillEstimateRequest.Builder> createBillEstimateRequest) throws ConflictException, ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
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.Builderavoiding the need to create one manually viaCreateBillEstimateRequest.builder()- Parameters:
createBillEstimateRequest- AConsumerthat will call methods onCreateBillEstimateRequest.Builderto create a request.- Returns:
- Result of the CreateBillEstimate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createBillScenario
default CreateBillScenarioResponse createBillScenario(CreateBillScenarioRequest createBillScenarioRequest) throws ConflictException, ValidationException, DataUnavailableException, ServiceQuotaExceededException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Creates a new bill scenario to model potential changes to Amazon Web Services usage and costs.
- Parameters:
createBillScenarioRequest-- Returns:
- Result of the CreateBillScenario operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createBillScenario
default CreateBillScenarioResponse createBillScenario(Consumer<CreateBillScenarioRequest.Builder> createBillScenarioRequest) throws ConflictException, ValidationException, DataUnavailableException, ServiceQuotaExceededException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
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.Builderavoiding the need to create one manually viaCreateBillScenarioRequest.builder()- Parameters:
createBillScenarioRequest- AConsumerthat will call methods onCreateBillScenarioRequest.Builderto create a request.- Returns:
- Result of the CreateBillScenario operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createWorkloadEstimate
default CreateWorkloadEstimateResponse createWorkloadEstimate(CreateWorkloadEstimateRequest createWorkloadEstimateRequest) throws ConflictException, ValidationException, DataUnavailableException, ServiceQuotaExceededException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Creates a new workload estimate to model costs for a specific workload.
- Parameters:
createWorkloadEstimateRequest-- Returns:
- Result of the CreateWorkloadEstimate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createWorkloadEstimate
default CreateWorkloadEstimateResponse createWorkloadEstimate(Consumer<CreateWorkloadEstimateRequest.Builder> createWorkloadEstimateRequest) throws ConflictException, ValidationException, DataUnavailableException, ServiceQuotaExceededException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Creates a new workload estimate to model costs for a specific workload.
This is a convenience which creates an instance of the
CreateWorkloadEstimateRequest.Builderavoiding the need to create one manually viaCreateWorkloadEstimateRequest.builder()- Parameters:
createWorkloadEstimateRequest- AConsumerthat will call methods onCreateWorkloadEstimateRequest.Builderto create a request.- Returns:
- Result of the CreateWorkloadEstimate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteBillEstimate
default DeleteBillEstimateResponse deleteBillEstimate(DeleteBillEstimateRequest deleteBillEstimateRequest) throws ConflictException, ValidationException, DataUnavailableException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Deletes an existing bill estimate.
- Parameters:
deleteBillEstimateRequest-- Returns:
- Result of the DeleteBillEstimate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteBillEstimate
default DeleteBillEstimateResponse deleteBillEstimate(Consumer<DeleteBillEstimateRequest.Builder> deleteBillEstimateRequest) throws ConflictException, ValidationException, DataUnavailableException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Deletes an existing bill estimate.
This is a convenience which creates an instance of the
DeleteBillEstimateRequest.Builderavoiding the need to create one manually viaDeleteBillEstimateRequest.builder()- Parameters:
deleteBillEstimateRequest- AConsumerthat will call methods onDeleteBillEstimateRequest.Builderto create a request.- Returns:
- Result of the DeleteBillEstimate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteBillScenario
default DeleteBillScenarioResponse deleteBillScenario(DeleteBillScenarioRequest deleteBillScenarioRequest) throws ConflictException, ValidationException, DataUnavailableException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Deletes an existing bill scenario.
- Parameters:
deleteBillScenarioRequest-- Returns:
- Result of the DeleteBillScenario operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteBillScenario
default DeleteBillScenarioResponse deleteBillScenario(Consumer<DeleteBillScenarioRequest.Builder> deleteBillScenarioRequest) throws ConflictException, ValidationException, DataUnavailableException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Deletes an existing bill scenario.
This is a convenience which creates an instance of the
DeleteBillScenarioRequest.Builderavoiding the need to create one manually viaDeleteBillScenarioRequest.builder()- Parameters:
deleteBillScenarioRequest- AConsumerthat will call methods onDeleteBillScenarioRequest.Builderto create a request.- Returns:
- Result of the DeleteBillScenario operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteWorkloadEstimate
default DeleteWorkloadEstimateResponse deleteWorkloadEstimate(DeleteWorkloadEstimateRequest deleteWorkloadEstimateRequest) throws ValidationException, DataUnavailableException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Deletes an existing workload estimate.
- Parameters:
deleteWorkloadEstimateRequest-- Returns:
- Result of the DeleteWorkloadEstimate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteWorkloadEstimate
default DeleteWorkloadEstimateResponse deleteWorkloadEstimate(Consumer<DeleteWorkloadEstimateRequest.Builder> deleteWorkloadEstimateRequest) throws ValidationException, DataUnavailableException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Deletes an existing workload estimate.
This is a convenience which creates an instance of the
DeleteWorkloadEstimateRequest.Builderavoiding the need to create one manually viaDeleteWorkloadEstimateRequest.builder()- Parameters:
deleteWorkloadEstimateRequest- AConsumerthat will call methods onDeleteWorkloadEstimateRequest.Builderto create a request.- Returns:
- Result of the DeleteWorkloadEstimate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getBillEstimate
default GetBillEstimateResponse getBillEstimate(GetBillEstimateRequest getBillEstimateRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Retrieves details of a specific bill estimate.
- Parameters:
getBillEstimateRequest-- Returns:
- Result of the GetBillEstimate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getBillEstimate
default GetBillEstimateResponse getBillEstimate(Consumer<GetBillEstimateRequest.Builder> getBillEstimateRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Retrieves details of a specific bill estimate.
This is a convenience which creates an instance of the
GetBillEstimateRequest.Builderavoiding the need to create one manually viaGetBillEstimateRequest.builder()- Parameters:
getBillEstimateRequest- AConsumerthat will call methods onGetBillEstimateRequest.Builderto create a request.- Returns:
- Result of the GetBillEstimate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getBillScenario
default GetBillScenarioResponse getBillScenario(GetBillScenarioRequest getBillScenarioRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Retrieves details of a specific bill scenario.
- Parameters:
getBillScenarioRequest-- Returns:
- Result of the GetBillScenario operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getBillScenario
default GetBillScenarioResponse getBillScenario(Consumer<GetBillScenarioRequest.Builder> getBillScenarioRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Retrieves details of a specific bill scenario.
This is a convenience which creates an instance of the
GetBillScenarioRequest.Builderavoiding the need to create one manually viaGetBillScenarioRequest.builder()- Parameters:
getBillScenarioRequest- AConsumerthat will call methods onGetBillScenarioRequest.Builderto create a request.- Returns:
- Result of the GetBillScenario operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getPreferences
default GetPreferencesResponse getPreferences(GetPreferencesRequest getPreferencesRequest) throws ValidationException, DataUnavailableException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Retrieves the current preferences for the Amazon Web Services Cost Explorer service.
- Parameters:
getPreferencesRequest-- Returns:
- Result of the GetPreferences operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getPreferences
default GetPreferencesResponse getPreferences(Consumer<GetPreferencesRequest.Builder> getPreferencesRequest) throws ValidationException, DataUnavailableException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Retrieves the current preferences for the Amazon Web Services Cost Explorer service.
This is a convenience which creates an instance of the
GetPreferencesRequest.Builderavoiding the need to create one manually viaGetPreferencesRequest.builder()- Parameters:
getPreferencesRequest- AConsumerthat will call methods onGetPreferencesRequest.Builderto create a request.- Returns:
- Result of the GetPreferences operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getWorkloadEstimate
default GetWorkloadEstimateResponse getWorkloadEstimate(GetWorkloadEstimateRequest getWorkloadEstimateRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Retrieves details of a specific workload estimate.
- Parameters:
getWorkloadEstimateRequest-- Returns:
- Result of the GetWorkloadEstimate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getWorkloadEstimate
default GetWorkloadEstimateResponse getWorkloadEstimate(Consumer<GetWorkloadEstimateRequest.Builder> getWorkloadEstimateRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Retrieves details of a specific workload estimate.
This is a convenience which creates an instance of the
GetWorkloadEstimateRequest.Builderavoiding the need to create one manually viaGetWorkloadEstimateRequest.builder()- Parameters:
getWorkloadEstimateRequest- AConsumerthat will call methods onGetWorkloadEstimateRequest.Builderto create a request.- Returns:
- Result of the GetWorkloadEstimate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillEstimateCommitments
default ListBillEstimateCommitmentsResponse listBillEstimateCommitments(ListBillEstimateCommitmentsRequest listBillEstimateCommitmentsRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Lists the commitments associated with a bill estimate.
- Parameters:
listBillEstimateCommitmentsRequest-- Returns:
- Result of the ListBillEstimateCommitments operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillEstimateCommitments
default ListBillEstimateCommitmentsResponse listBillEstimateCommitments(Consumer<ListBillEstimateCommitmentsRequest.Builder> listBillEstimateCommitmentsRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Lists the commitments associated with a bill estimate.
This is a convenience which creates an instance of the
ListBillEstimateCommitmentsRequest.Builderavoiding the need to create one manually viaListBillEstimateCommitmentsRequest.builder()- Parameters:
listBillEstimateCommitmentsRequest- AConsumerthat will call methods onListBillEstimateCommitmentsRequest.Builderto create a request.- Returns:
- Result of the ListBillEstimateCommitments operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillEstimateCommitmentsPaginator
default ListBillEstimateCommitmentsIterable listBillEstimateCommitmentsPaginator(ListBillEstimateCommitmentsRequest listBillEstimateCommitmentsRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
This is a variant of
listBillEstimateCommitments(software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillEstimateCommitmentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimateCommitmentsIterable responses = client.listBillEstimateCommitmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimateCommitmentsIterable responses = client .listBillEstimateCommitmentsPaginator(request); for (software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillEstimateCommitmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimateCommitmentsIterable responses = client.listBillEstimateCommitmentsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillEstimateCommitmentsPaginator
default ListBillEstimateCommitmentsIterable listBillEstimateCommitmentsPaginator(Consumer<ListBillEstimateCommitmentsRequest.Builder> listBillEstimateCommitmentsRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
This is a variant of
listBillEstimateCommitments(software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillEstimateCommitmentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimateCommitmentsIterable responses = client.listBillEstimateCommitmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimateCommitmentsIterable responses = client .listBillEstimateCommitmentsPaginator(request); for (software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillEstimateCommitmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimateCommitmentsIterable responses = client.listBillEstimateCommitmentsPaginator(request); responses.iterator().forEachRemaining(....);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.Builderavoiding the need to create one manually viaListBillEstimateCommitmentsRequest.builder()- Parameters:
listBillEstimateCommitmentsRequest- AConsumerthat will call methods onListBillEstimateCommitmentsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillEstimateInputCommitmentModifications
default ListBillEstimateInputCommitmentModificationsResponse listBillEstimateInputCommitmentModifications(ListBillEstimateInputCommitmentModificationsRequest listBillEstimateInputCommitmentModificationsRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Lists the input commitment modifications associated with a bill estimate.
- Parameters:
listBillEstimateInputCommitmentModificationsRequest-- Returns:
- Result of the ListBillEstimateInputCommitmentModifications operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillEstimateInputCommitmentModifications
default ListBillEstimateInputCommitmentModificationsResponse listBillEstimateInputCommitmentModifications(Consumer<ListBillEstimateInputCommitmentModificationsRequest.Builder> listBillEstimateInputCommitmentModificationsRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Lists the input commitment modifications associated with a bill estimate.
This is a convenience which creates an instance of the
ListBillEstimateInputCommitmentModificationsRequest.Builderavoiding the need to create one manually viaListBillEstimateInputCommitmentModificationsRequest.builder()- Parameters:
listBillEstimateInputCommitmentModificationsRequest- AConsumerthat will call methods onListBillEstimateInputCommitmentModificationsRequest.Builderto create a request.- Returns:
- Result of the ListBillEstimateInputCommitmentModifications operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillEstimateInputCommitmentModificationsPaginator
default ListBillEstimateInputCommitmentModificationsIterable listBillEstimateInputCommitmentModificationsPaginator(ListBillEstimateInputCommitmentModificationsRequest listBillEstimateInputCommitmentModificationsRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
This is a variant of
listBillEstimateInputCommitmentModifications(software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillEstimateInputCommitmentModificationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimateInputCommitmentModificationsIterable responses = client.listBillEstimateInputCommitmentModificationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimateInputCommitmentModificationsIterable responses = client .listBillEstimateInputCommitmentModificationsPaginator(request); for (software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillEstimateInputCommitmentModificationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimateInputCommitmentModificationsIterable responses = client.listBillEstimateInputCommitmentModificationsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillEstimateInputCommitmentModificationsPaginator
default ListBillEstimateInputCommitmentModificationsIterable listBillEstimateInputCommitmentModificationsPaginator(Consumer<ListBillEstimateInputCommitmentModificationsRequest.Builder> listBillEstimateInputCommitmentModificationsRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
This is a variant of
listBillEstimateInputCommitmentModifications(software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillEstimateInputCommitmentModificationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimateInputCommitmentModificationsIterable responses = client.listBillEstimateInputCommitmentModificationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimateInputCommitmentModificationsIterable responses = client .listBillEstimateInputCommitmentModificationsPaginator(request); for (software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillEstimateInputCommitmentModificationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimateInputCommitmentModificationsIterable responses = client.listBillEstimateInputCommitmentModificationsPaginator(request); responses.iterator().forEachRemaining(....);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.Builderavoiding the need to create one manually viaListBillEstimateInputCommitmentModificationsRequest.builder()- Parameters:
listBillEstimateInputCommitmentModificationsRequest- AConsumerthat will call methods onListBillEstimateInputCommitmentModificationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillEstimateInputUsageModifications
default ListBillEstimateInputUsageModificationsResponse listBillEstimateInputUsageModifications(ListBillEstimateInputUsageModificationsRequest listBillEstimateInputUsageModificationsRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Lists the input usage modifications associated with a bill estimate.
- Parameters:
listBillEstimateInputUsageModificationsRequest-- Returns:
- Result of the ListBillEstimateInputUsageModifications operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillEstimateInputUsageModifications
default ListBillEstimateInputUsageModificationsResponse listBillEstimateInputUsageModifications(Consumer<ListBillEstimateInputUsageModificationsRequest.Builder> listBillEstimateInputUsageModificationsRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Lists the input usage modifications associated with a bill estimate.
This is a convenience which creates an instance of the
ListBillEstimateInputUsageModificationsRequest.Builderavoiding the need to create one manually viaListBillEstimateInputUsageModificationsRequest.builder()- Parameters:
listBillEstimateInputUsageModificationsRequest- AConsumerthat will call methods onListBillEstimateInputUsageModificationsRequest.Builderto create a request.- Returns:
- Result of the ListBillEstimateInputUsageModifications operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillEstimateInputUsageModificationsPaginator
default ListBillEstimateInputUsageModificationsIterable listBillEstimateInputUsageModificationsPaginator(ListBillEstimateInputUsageModificationsRequest listBillEstimateInputUsageModificationsRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
This is a variant of
listBillEstimateInputUsageModifications(software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillEstimateInputUsageModificationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimateInputUsageModificationsIterable responses = client.listBillEstimateInputUsageModificationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimateInputUsageModificationsIterable responses = client .listBillEstimateInputUsageModificationsPaginator(request); for (software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillEstimateInputUsageModificationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimateInputUsageModificationsIterable responses = client.listBillEstimateInputUsageModificationsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillEstimateInputUsageModificationsPaginator
default ListBillEstimateInputUsageModificationsIterable listBillEstimateInputUsageModificationsPaginator(Consumer<ListBillEstimateInputUsageModificationsRequest.Builder> listBillEstimateInputUsageModificationsRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
This is a variant of
listBillEstimateInputUsageModifications(software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillEstimateInputUsageModificationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimateInputUsageModificationsIterable responses = client.listBillEstimateInputUsageModificationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimateInputUsageModificationsIterable responses = client .listBillEstimateInputUsageModificationsPaginator(request); for (software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillEstimateInputUsageModificationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimateInputUsageModificationsIterable responses = client.listBillEstimateInputUsageModificationsPaginator(request); responses.iterator().forEachRemaining(....);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.Builderavoiding the need to create one manually viaListBillEstimateInputUsageModificationsRequest.builder()- Parameters:
listBillEstimateInputUsageModificationsRequest- AConsumerthat will call methods onListBillEstimateInputUsageModificationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillEstimateLineItems
default ListBillEstimateLineItemsResponse listBillEstimateLineItems(ListBillEstimateLineItemsRequest listBillEstimateLineItemsRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Lists the line items associated with a bill estimate.
- Parameters:
listBillEstimateLineItemsRequest-- Returns:
- Result of the ListBillEstimateLineItems operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillEstimateLineItems
default ListBillEstimateLineItemsResponse listBillEstimateLineItems(Consumer<ListBillEstimateLineItemsRequest.Builder> listBillEstimateLineItemsRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Lists the line items associated with a bill estimate.
This is a convenience which creates an instance of the
ListBillEstimateLineItemsRequest.Builderavoiding the need to create one manually viaListBillEstimateLineItemsRequest.builder()- Parameters:
listBillEstimateLineItemsRequest- AConsumerthat will call methods onListBillEstimateLineItemsRequest.Builderto create a request.- Returns:
- Result of the ListBillEstimateLineItems operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillEstimateLineItemsPaginator
default ListBillEstimateLineItemsIterable listBillEstimateLineItemsPaginator(ListBillEstimateLineItemsRequest listBillEstimateLineItemsRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
This is a variant of
listBillEstimateLineItems(software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillEstimateLineItemsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimateLineItemsIterable responses = client.listBillEstimateLineItemsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimateLineItemsIterable responses = client .listBillEstimateLineItemsPaginator(request); for (software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillEstimateLineItemsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimateLineItemsIterable responses = client.listBillEstimateLineItemsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillEstimateLineItemsPaginator
default ListBillEstimateLineItemsIterable listBillEstimateLineItemsPaginator(Consumer<ListBillEstimateLineItemsRequest.Builder> listBillEstimateLineItemsRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
This is a variant of
listBillEstimateLineItems(software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillEstimateLineItemsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimateLineItemsIterable responses = client.listBillEstimateLineItemsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimateLineItemsIterable responses = client .listBillEstimateLineItemsPaginator(request); for (software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillEstimateLineItemsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimateLineItemsIterable responses = client.listBillEstimateLineItemsPaginator(request); responses.iterator().forEachRemaining(....);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.Builderavoiding the need to create one manually viaListBillEstimateLineItemsRequest.builder()- Parameters:
listBillEstimateLineItemsRequest- AConsumerthat will call methods onListBillEstimateLineItemsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillEstimates
default ListBillEstimatesResponse listBillEstimates(ListBillEstimatesRequest listBillEstimatesRequest) throws ValidationException, DataUnavailableException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Lists all bill estimates for the account.
- Parameters:
listBillEstimatesRequest-- Returns:
- Result of the ListBillEstimates operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillEstimates
default ListBillEstimatesResponse listBillEstimates(Consumer<ListBillEstimatesRequest.Builder> listBillEstimatesRequest) throws ValidationException, DataUnavailableException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Lists all bill estimates for the account.
This is a convenience which creates an instance of the
ListBillEstimatesRequest.Builderavoiding the need to create one manually viaListBillEstimatesRequest.builder()- Parameters:
listBillEstimatesRequest- AConsumerthat will call methods onListBillEstimatesRequest.Builderto create a request.- Returns:
- Result of the ListBillEstimates operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillEstimatesPaginator
default ListBillEstimatesIterable listBillEstimatesPaginator(ListBillEstimatesRequest listBillEstimatesRequest) throws ValidationException, DataUnavailableException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
This is a variant of
listBillEstimates(software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillEstimatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimatesIterable responses = client.listBillEstimatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimatesIterable responses = client .listBillEstimatesPaginator(request); for (software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillEstimatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimatesIterable responses = client.listBillEstimatesPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillEstimatesPaginator
default ListBillEstimatesIterable listBillEstimatesPaginator(Consumer<ListBillEstimatesRequest.Builder> listBillEstimatesRequest) throws ValidationException, DataUnavailableException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
This is a variant of
listBillEstimates(software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillEstimatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimatesIterable responses = client.listBillEstimatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimatesIterable responses = client .listBillEstimatesPaginator(request); for (software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillEstimatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillEstimatesIterable responses = client.listBillEstimatesPaginator(request); responses.iterator().forEachRemaining(....);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.Builderavoiding the need to create one manually viaListBillEstimatesRequest.builder()- Parameters:
listBillEstimatesRequest- AConsumerthat will call methods onListBillEstimatesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillScenarioCommitmentModifications
default ListBillScenarioCommitmentModificationsResponse listBillScenarioCommitmentModifications(ListBillScenarioCommitmentModificationsRequest listBillScenarioCommitmentModificationsRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Lists the commitment modifications associated with a bill scenario.
- Parameters:
listBillScenarioCommitmentModificationsRequest-- Returns:
- Result of the ListBillScenarioCommitmentModifications operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillScenarioCommitmentModifications
default ListBillScenarioCommitmentModificationsResponse listBillScenarioCommitmentModifications(Consumer<ListBillScenarioCommitmentModificationsRequest.Builder> listBillScenarioCommitmentModificationsRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Lists the commitment modifications associated with a bill scenario.
This is a convenience which creates an instance of the
ListBillScenarioCommitmentModificationsRequest.Builderavoiding the need to create one manually viaListBillScenarioCommitmentModificationsRequest.builder()- Parameters:
listBillScenarioCommitmentModificationsRequest- AConsumerthat will call methods onListBillScenarioCommitmentModificationsRequest.Builderto create a request.- Returns:
- Result of the ListBillScenarioCommitmentModifications operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillScenarioCommitmentModificationsPaginator
default ListBillScenarioCommitmentModificationsIterable listBillScenarioCommitmentModificationsPaginator(ListBillScenarioCommitmentModificationsRequest listBillScenarioCommitmentModificationsRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
This is a variant of
listBillScenarioCommitmentModifications(software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillScenarioCommitmentModificationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillScenarioCommitmentModificationsIterable responses = client.listBillScenarioCommitmentModificationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillScenarioCommitmentModificationsIterable responses = client .listBillScenarioCommitmentModificationsPaginator(request); for (software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillScenarioCommitmentModificationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillScenarioCommitmentModificationsIterable responses = client.listBillScenarioCommitmentModificationsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillScenarioCommitmentModificationsPaginator
default ListBillScenarioCommitmentModificationsIterable listBillScenarioCommitmentModificationsPaginator(Consumer<ListBillScenarioCommitmentModificationsRequest.Builder> listBillScenarioCommitmentModificationsRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
This is a variant of
listBillScenarioCommitmentModifications(software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillScenarioCommitmentModificationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillScenarioCommitmentModificationsIterable responses = client.listBillScenarioCommitmentModificationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillScenarioCommitmentModificationsIterable responses = client .listBillScenarioCommitmentModificationsPaginator(request); for (software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillScenarioCommitmentModificationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillScenarioCommitmentModificationsIterable responses = client.listBillScenarioCommitmentModificationsPaginator(request); responses.iterator().forEachRemaining(....);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.Builderavoiding the need to create one manually viaListBillScenarioCommitmentModificationsRequest.builder()- Parameters:
listBillScenarioCommitmentModificationsRequest- AConsumerthat will call methods onListBillScenarioCommitmentModificationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillScenarioUsageModifications
default ListBillScenarioUsageModificationsResponse listBillScenarioUsageModifications(ListBillScenarioUsageModificationsRequest listBillScenarioUsageModificationsRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Lists the usage modifications associated with a bill scenario.
- Parameters:
listBillScenarioUsageModificationsRequest-- Returns:
- Result of the ListBillScenarioUsageModifications operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillScenarioUsageModifications
default ListBillScenarioUsageModificationsResponse listBillScenarioUsageModifications(Consumer<ListBillScenarioUsageModificationsRequest.Builder> listBillScenarioUsageModificationsRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Lists the usage modifications associated with a bill scenario.
This is a convenience which creates an instance of the
ListBillScenarioUsageModificationsRequest.Builderavoiding the need to create one manually viaListBillScenarioUsageModificationsRequest.builder()- Parameters:
listBillScenarioUsageModificationsRequest- AConsumerthat will call methods onListBillScenarioUsageModificationsRequest.Builderto create a request.- Returns:
- Result of the ListBillScenarioUsageModifications operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillScenarioUsageModificationsPaginator
default ListBillScenarioUsageModificationsIterable listBillScenarioUsageModificationsPaginator(ListBillScenarioUsageModificationsRequest listBillScenarioUsageModificationsRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
This is a variant of
listBillScenarioUsageModifications(software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillScenarioUsageModificationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillScenarioUsageModificationsIterable responses = client.listBillScenarioUsageModificationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillScenarioUsageModificationsIterable responses = client .listBillScenarioUsageModificationsPaginator(request); for (software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillScenarioUsageModificationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillScenarioUsageModificationsIterable responses = client.listBillScenarioUsageModificationsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillScenarioUsageModificationsPaginator
default ListBillScenarioUsageModificationsIterable listBillScenarioUsageModificationsPaginator(Consumer<ListBillScenarioUsageModificationsRequest.Builder> listBillScenarioUsageModificationsRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
This is a variant of
listBillScenarioUsageModifications(software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillScenarioUsageModificationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillScenarioUsageModificationsIterable responses = client.listBillScenarioUsageModificationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillScenarioUsageModificationsIterable responses = client .listBillScenarioUsageModificationsPaginator(request); for (software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillScenarioUsageModificationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillScenarioUsageModificationsIterable responses = client.listBillScenarioUsageModificationsPaginator(request); responses.iterator().forEachRemaining(....);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.Builderavoiding the need to create one manually viaListBillScenarioUsageModificationsRequest.builder()- Parameters:
listBillScenarioUsageModificationsRequest- AConsumerthat will call methods onListBillScenarioUsageModificationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillScenarios
default ListBillScenariosResponse listBillScenarios(ListBillScenariosRequest listBillScenariosRequest) throws ValidationException, DataUnavailableException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Lists all bill scenarios for the account.
- Parameters:
listBillScenariosRequest-- Returns:
- Result of the ListBillScenarios operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillScenarios
default ListBillScenariosResponse listBillScenarios(Consumer<ListBillScenariosRequest.Builder> listBillScenariosRequest) throws ValidationException, DataUnavailableException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Lists all bill scenarios for the account.
This is a convenience which creates an instance of the
ListBillScenariosRequest.Builderavoiding the need to create one manually viaListBillScenariosRequest.builder()- Parameters:
listBillScenariosRequest- AConsumerthat will call methods onListBillScenariosRequest.Builderto create a request.- Returns:
- Result of the ListBillScenarios operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillScenariosPaginator
default ListBillScenariosIterable listBillScenariosPaginator(ListBillScenariosRequest listBillScenariosRequest) throws ValidationException, DataUnavailableException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
This is a variant of
listBillScenarios(software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillScenariosRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillScenariosIterable responses = client.listBillScenariosPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillScenariosIterable responses = client .listBillScenariosPaginator(request); for (software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillScenariosResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillScenariosIterable responses = client.listBillScenariosPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillScenariosPaginator
default ListBillScenariosIterable listBillScenariosPaginator(Consumer<ListBillScenariosRequest.Builder> listBillScenariosRequest) throws ValidationException, DataUnavailableException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
This is a variant of
listBillScenarios(software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillScenariosRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillScenariosIterable responses = client.listBillScenariosPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillScenariosIterable responses = client .listBillScenariosPaginator(request); for (software.amazon.awssdk.services.bcmpricingcalculator.model.ListBillScenariosResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListBillScenariosIterable responses = client.listBillScenariosPaginator(request); responses.iterator().forEachRemaining(....);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.Builderavoiding the need to create one manually viaListBillScenariosRequest.builder()- Parameters:
listBillScenariosRequest- AConsumerthat will call methods onListBillScenariosRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Lists all tags associated with a specified resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Lists all tags associated with a specified resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listWorkloadEstimateUsage
default ListWorkloadEstimateUsageResponse listWorkloadEstimateUsage(ListWorkloadEstimateUsageRequest listWorkloadEstimateUsageRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Lists the usage associated with a workload estimate.
- Parameters:
listWorkloadEstimateUsageRequest-- Returns:
- Result of the ListWorkloadEstimateUsage operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listWorkloadEstimateUsage
default ListWorkloadEstimateUsageResponse listWorkloadEstimateUsage(Consumer<ListWorkloadEstimateUsageRequest.Builder> listWorkloadEstimateUsageRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Lists the usage associated with a workload estimate.
This is a convenience which creates an instance of the
ListWorkloadEstimateUsageRequest.Builderavoiding the need to create one manually viaListWorkloadEstimateUsageRequest.builder()- Parameters:
listWorkloadEstimateUsageRequest- AConsumerthat will call methods onListWorkloadEstimateUsageRequest.Builderto create a request.- Returns:
- Result of the ListWorkloadEstimateUsage operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listWorkloadEstimateUsagePaginator
default ListWorkloadEstimateUsageIterable listWorkloadEstimateUsagePaginator(ListWorkloadEstimateUsageRequest listWorkloadEstimateUsageRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
This is a variant of
listWorkloadEstimateUsage(software.amazon.awssdk.services.bcmpricingcalculator.model.ListWorkloadEstimateUsageRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListWorkloadEstimateUsageIterable responses = client.listWorkloadEstimateUsagePaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bcmpricingcalculator.paginators.ListWorkloadEstimateUsageIterable responses = client .listWorkloadEstimateUsagePaginator(request); for (software.amazon.awssdk.services.bcmpricingcalculator.model.ListWorkloadEstimateUsageResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListWorkloadEstimateUsageIterable responses = client.listWorkloadEstimateUsagePaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listWorkloadEstimateUsagePaginator
default ListWorkloadEstimateUsageIterable listWorkloadEstimateUsagePaginator(Consumer<ListWorkloadEstimateUsageRequest.Builder> listWorkloadEstimateUsageRequest) throws ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
This is a variant of
listWorkloadEstimateUsage(software.amazon.awssdk.services.bcmpricingcalculator.model.ListWorkloadEstimateUsageRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListWorkloadEstimateUsageIterable responses = client.listWorkloadEstimateUsagePaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bcmpricingcalculator.paginators.ListWorkloadEstimateUsageIterable responses = client .listWorkloadEstimateUsagePaginator(request); for (software.amazon.awssdk.services.bcmpricingcalculator.model.ListWorkloadEstimateUsageResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListWorkloadEstimateUsageIterable responses = client.listWorkloadEstimateUsagePaginator(request); responses.iterator().forEachRemaining(....);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.Builderavoiding the need to create one manually viaListWorkloadEstimateUsageRequest.builder()- Parameters:
listWorkloadEstimateUsageRequest- AConsumerthat will call methods onListWorkloadEstimateUsageRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listWorkloadEstimates
default ListWorkloadEstimatesResponse listWorkloadEstimates(ListWorkloadEstimatesRequest listWorkloadEstimatesRequest) throws ValidationException, DataUnavailableException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Lists all workload estimates for the account.
- Parameters:
listWorkloadEstimatesRequest-- Returns:
- Result of the ListWorkloadEstimates operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listWorkloadEstimates
default ListWorkloadEstimatesResponse listWorkloadEstimates(Consumer<ListWorkloadEstimatesRequest.Builder> listWorkloadEstimatesRequest) throws ValidationException, DataUnavailableException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Lists all workload estimates for the account.
This is a convenience which creates an instance of the
ListWorkloadEstimatesRequest.Builderavoiding the need to create one manually viaListWorkloadEstimatesRequest.builder()- Parameters:
listWorkloadEstimatesRequest- AConsumerthat will call methods onListWorkloadEstimatesRequest.Builderto create a request.- Returns:
- Result of the ListWorkloadEstimates operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listWorkloadEstimatesPaginator
default ListWorkloadEstimatesIterable listWorkloadEstimatesPaginator(ListWorkloadEstimatesRequest listWorkloadEstimatesRequest) throws ValidationException, DataUnavailableException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
This is a variant of
listWorkloadEstimates(software.amazon.awssdk.services.bcmpricingcalculator.model.ListWorkloadEstimatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListWorkloadEstimatesIterable responses = client.listWorkloadEstimatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bcmpricingcalculator.paginators.ListWorkloadEstimatesIterable responses = client .listWorkloadEstimatesPaginator(request); for (software.amazon.awssdk.services.bcmpricingcalculator.model.ListWorkloadEstimatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListWorkloadEstimatesIterable responses = client.listWorkloadEstimatesPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listWorkloadEstimatesPaginator
default ListWorkloadEstimatesIterable listWorkloadEstimatesPaginator(Consumer<ListWorkloadEstimatesRequest.Builder> listWorkloadEstimatesRequest) throws ValidationException, DataUnavailableException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
This is a variant of
listWorkloadEstimates(software.amazon.awssdk.services.bcmpricingcalculator.model.ListWorkloadEstimatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListWorkloadEstimatesIterable responses = client.listWorkloadEstimatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.bcmpricingcalculator.paginators.ListWorkloadEstimatesIterable responses = client .listWorkloadEstimatesPaginator(request); for (software.amazon.awssdk.services.bcmpricingcalculator.model.ListWorkloadEstimatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.bcmpricingcalculator.paginators.ListWorkloadEstimatesIterable responses = client.listWorkloadEstimatesPaginator(request); responses.iterator().forEachRemaining(....);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.Builderavoiding the need to create one manually viaListWorkloadEstimatesRequest.builder()- Parameters:
listWorkloadEstimatesRequest- AConsumerthat will call methods onListWorkloadEstimatesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ValidationException, ServiceQuotaExceededException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Adds one or more tags to a specified resource.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ValidationException, ServiceQuotaExceededException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Adds one or more tags to a specified resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Removes one or more tags from a specified resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ValidationException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Removes one or more tags from a specified resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateBillEstimate
default UpdateBillEstimateResponse updateBillEstimate(UpdateBillEstimateRequest updateBillEstimateRequest) throws ConflictException, ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Updates an existing bill estimate.
- Parameters:
updateBillEstimateRequest-- Returns:
- Result of the UpdateBillEstimate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateBillEstimate
default UpdateBillEstimateResponse updateBillEstimate(Consumer<UpdateBillEstimateRequest.Builder> updateBillEstimateRequest) throws ConflictException, ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Updates an existing bill estimate.
This is a convenience which creates an instance of the
UpdateBillEstimateRequest.Builderavoiding the need to create one manually viaUpdateBillEstimateRequest.builder()- Parameters:
updateBillEstimateRequest- AConsumerthat will call methods onUpdateBillEstimateRequest.Builderto create a request.- Returns:
- Result of the UpdateBillEstimate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateBillScenario
default UpdateBillScenarioResponse updateBillScenario(UpdateBillScenarioRequest updateBillScenarioRequest) throws ConflictException, ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Updates an existing bill scenario.
- Parameters:
updateBillScenarioRequest-- Returns:
- Result of the UpdateBillScenario operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateBillScenario
default UpdateBillScenarioResponse updateBillScenario(Consumer<UpdateBillScenarioRequest.Builder> updateBillScenarioRequest) throws ConflictException, ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Updates an existing bill scenario.
This is a convenience which creates an instance of the
UpdateBillScenarioRequest.Builderavoiding the need to create one manually viaUpdateBillScenarioRequest.builder()- Parameters:
updateBillScenarioRequest- AConsumerthat will call methods onUpdateBillScenarioRequest.Builderto create a request.- Returns:
- Result of the UpdateBillScenario operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updatePreferences
default UpdatePreferencesResponse updatePreferences(UpdatePreferencesRequest updatePreferencesRequest) throws ValidationException, DataUnavailableException, ServiceQuotaExceededException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Updates the preferences for the Amazon Web Services Cost Explorer service.
- Parameters:
updatePreferencesRequest-- Returns:
- Result of the UpdatePreferences operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updatePreferences
default UpdatePreferencesResponse updatePreferences(Consumer<UpdatePreferencesRequest.Builder> updatePreferencesRequest) throws ValidationException, DataUnavailableException, ServiceQuotaExceededException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Updates the preferences for the Amazon Web Services Cost Explorer service.
This is a convenience which creates an instance of the
UpdatePreferencesRequest.Builderavoiding the need to create one manually viaUpdatePreferencesRequest.builder()- Parameters:
updatePreferencesRequest- AConsumerthat will call methods onUpdatePreferencesRequest.Builderto create a request.- Returns:
- Result of the UpdatePreferences operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateWorkloadEstimate
default UpdateWorkloadEstimateResponse updateWorkloadEstimate(UpdateWorkloadEstimateRequest updateWorkloadEstimateRequest) throws ConflictException, ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Updates an existing workload estimate.
- Parameters:
updateWorkloadEstimateRequest-- Returns:
- Result of the UpdateWorkloadEstimate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateWorkloadEstimate
default UpdateWorkloadEstimateResponse updateWorkloadEstimate(Consumer<UpdateWorkloadEstimateRequest.Builder> updateWorkloadEstimateRequest) throws ConflictException, ValidationException, DataUnavailableException, InternalServerException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BcmPricingCalculatorException
Updates an existing workload estimate.
This is a convenience which creates an instance of the
UpdateWorkloadEstimateRequest.Builderavoiding the need to create one manually viaUpdateWorkloadEstimateRequest.builder()- Parameters:
updateWorkloadEstimateRequest- AConsumerthat will call methods onUpdateWorkloadEstimateRequest.Builderto create a request.- Returns:
- Result of the UpdateWorkloadEstimate operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
create
static BcmPricingCalculatorClient create()
Create aBcmPricingCalculatorClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static BcmPricingCalculatorClientBuilder builder()
Create a builder that can be used to configure and create aBcmPricingCalculatorClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default BcmPricingCalculatorServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-