Interface BillingconductorAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any
SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may
perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
call.
Amazon Web Services Billing Conductor is a fully managed service that you can use to customize a proforma version of your billing data each month, to accurately show or chargeback your end customers. Amazon Web Services Billing Conductor doesn't change the way you're billed by Amazon Web Services each month by design. Instead, it provides you with a mechanism to configure, generate, and display rates to certain customers over a given billing period. You can also analyze the difference between the rates you apply to your accounting groupings relative to your actual rates from Amazon Web Services. As a result of your Amazon Web Services Billing Conductor configuration, the payer account can also see the custom rate applied on the billing details page of the Amazon Web Services Billing console, or configure a cost and usage report per billing group.
This documentation shows how you can configure Amazon Web Services Billing Conductor using its API. For more information about using the Amazon Web Services Billing Conductor user interface, see the Amazon Web Services Billing Conductor User Guide.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionassociateAccounts
(Consumer<AssociateAccountsRequest.Builder> associateAccountsRequest) Connects an array of account IDs in a consolidated billing family to a predefined billing group.associateAccounts
(AssociateAccountsRequest associateAccountsRequest) Connects an array of account IDs in a consolidated billing family to a predefined billing group.associatePricingRules
(Consumer<AssociatePricingRulesRequest.Builder> associatePricingRulesRequest) Connects an array ofPricingRuleArns
to a definedPricingPlan
.associatePricingRules
(AssociatePricingRulesRequest associatePricingRulesRequest) Connects an array ofPricingRuleArns
to a definedPricingPlan
.batchAssociateResourcesToCustomLineItem
(Consumer<BatchAssociateResourcesToCustomLineItemRequest.Builder> batchAssociateResourcesToCustomLineItemRequest) Associates a batch of resources to a percentage custom line item.batchAssociateResourcesToCustomLineItem
(BatchAssociateResourcesToCustomLineItemRequest batchAssociateResourcesToCustomLineItemRequest) Associates a batch of resources to a percentage custom line item.batchDisassociateResourcesFromCustomLineItem
(Consumer<BatchDisassociateResourcesFromCustomLineItemRequest.Builder> batchDisassociateResourcesFromCustomLineItemRequest) Disassociates a batch of resources from a percentage custom line item.batchDisassociateResourcesFromCustomLineItem
(BatchDisassociateResourcesFromCustomLineItemRequest batchDisassociateResourcesFromCustomLineItemRequest) Disassociates a batch of resources from a percentage custom line item.builder()
Create a builder that can be used to configure and create aBillingconductorAsyncClient
.static BillingconductorAsyncClient
create()
Create aBillingconductorAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.createBillingGroup
(Consumer<CreateBillingGroupRequest.Builder> createBillingGroupRequest) Creates a billing group that resembles a consolidated billing family that Amazon Web Services charges, based off of the predefined pricing plan computation.createBillingGroup
(CreateBillingGroupRequest createBillingGroupRequest) Creates a billing group that resembles a consolidated billing family that Amazon Web Services charges, based off of the predefined pricing plan computation.createCustomLineItem
(Consumer<CreateCustomLineItemRequest.Builder> createCustomLineItemRequest) Creates a custom line item that can be used to create a one-time fixed charge that can be applied to a single billing group for the current or previous billing period.createCustomLineItem
(CreateCustomLineItemRequest createCustomLineItemRequest) Creates a custom line item that can be used to create a one-time fixed charge that can be applied to a single billing group for the current or previous billing period.createPricingPlan
(Consumer<CreatePricingPlanRequest.Builder> createPricingPlanRequest) Creates a pricing plan that is used for computing Amazon Web Services charges for billing groups.createPricingPlan
(CreatePricingPlanRequest createPricingPlanRequest) Creates a pricing plan that is used for computing Amazon Web Services charges for billing groups.createPricingRule
(Consumer<CreatePricingRuleRequest.Builder> createPricingRuleRequest) Creates a pricing rule can be associated to a pricing plan, or a set of pricing plans.createPricingRule
(CreatePricingRuleRequest createPricingRuleRequest) Creates a pricing rule can be associated to a pricing plan, or a set of pricing plans.deleteBillingGroup
(Consumer<DeleteBillingGroupRequest.Builder> deleteBillingGroupRequest) Deletes a billing group.deleteBillingGroup
(DeleteBillingGroupRequest deleteBillingGroupRequest) Deletes a billing group.deleteCustomLineItem
(Consumer<DeleteCustomLineItemRequest.Builder> deleteCustomLineItemRequest) Deletes the custom line item identified by the given ARN in the current, or previous billing period.deleteCustomLineItem
(DeleteCustomLineItemRequest deleteCustomLineItemRequest) Deletes the custom line item identified by the given ARN in the current, or previous billing period.deletePricingPlan
(Consumer<DeletePricingPlanRequest.Builder> deletePricingPlanRequest) Deletes a pricing plan.deletePricingPlan
(DeletePricingPlanRequest deletePricingPlanRequest) Deletes a pricing plan.deletePricingRule
(Consumer<DeletePricingRuleRequest.Builder> deletePricingRuleRequest) Deletes the pricing rule that's identified by the input Amazon Resource Name (ARN).deletePricingRule
(DeletePricingRuleRequest deletePricingRuleRequest) Deletes the pricing rule that's identified by the input Amazon Resource Name (ARN).disassociateAccounts
(Consumer<DisassociateAccountsRequest.Builder> disassociateAccountsRequest) Removes the specified list of account IDs from the given billing group.disassociateAccounts
(DisassociateAccountsRequest disassociateAccountsRequest) Removes the specified list of account IDs from the given billing group.disassociatePricingRules
(Consumer<DisassociatePricingRulesRequest.Builder> disassociatePricingRulesRequest) Disassociates a list of pricing rules from a pricing plan.disassociatePricingRules
(DisassociatePricingRulesRequest disassociatePricingRulesRequest) Disassociates a list of pricing rules from a pricing plan.getBillingGroupCostReport
(Consumer<GetBillingGroupCostReportRequest.Builder> getBillingGroupCostReportRequest) Retrieves the margin summary report, which includes the Amazon Web Services cost and charged amount (pro forma cost) by Amazon Web Service for a specific billing group.getBillingGroupCostReport
(GetBillingGroupCostReportRequest getBillingGroupCostReportRequest) Retrieves the margin summary report, which includes the Amazon Web Services cost and charged amount (pro forma cost) by Amazon Web Service for a specific billing group.listAccountAssociations
(Consumer<ListAccountAssociationsRequest.Builder> listAccountAssociationsRequest) This is a paginated call to list linked accounts that are linked to the payer account for the specified time period.listAccountAssociations
(ListAccountAssociationsRequest listAccountAssociationsRequest) This is a paginated call to list linked accounts that are linked to the payer account for the specified time period.default ListAccountAssociationsPublisher
listAccountAssociationsPaginator
(Consumer<ListAccountAssociationsRequest.Builder> listAccountAssociationsRequest) This is a variant oflistAccountAssociations(software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsRequest)
operation.default ListAccountAssociationsPublisher
listAccountAssociationsPaginator
(ListAccountAssociationsRequest listAccountAssociationsRequest) This is a variant oflistAccountAssociations(software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsRequest)
operation.listBillingGroupCostReports
(Consumer<ListBillingGroupCostReportsRequest.Builder> listBillingGroupCostReportsRequest) A paginated call to retrieve a summary report of actual Amazon Web Services charges and the calculated Amazon Web Services charges based on the associated pricing plan of a billing group.listBillingGroupCostReports
(ListBillingGroupCostReportsRequest listBillingGroupCostReportsRequest) A paginated call to retrieve a summary report of actual Amazon Web Services charges and the calculated Amazon Web Services charges based on the associated pricing plan of a billing group.listBillingGroupCostReportsPaginator
(Consumer<ListBillingGroupCostReportsRequest.Builder> listBillingGroupCostReportsRequest) This is a variant oflistBillingGroupCostReports(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupCostReportsRequest)
operation.listBillingGroupCostReportsPaginator
(ListBillingGroupCostReportsRequest listBillingGroupCostReportsRequest) This is a variant oflistBillingGroupCostReports(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupCostReportsRequest)
operation.listBillingGroups
(Consumer<ListBillingGroupsRequest.Builder> listBillingGroupsRequest) A paginated call to retrieve a list of billing groups for the given billing period.listBillingGroups
(ListBillingGroupsRequest listBillingGroupsRequest) A paginated call to retrieve a list of billing groups for the given billing period.default ListBillingGroupsPublisher
listBillingGroupsPaginator
(Consumer<ListBillingGroupsRequest.Builder> listBillingGroupsRequest) This is a variant oflistBillingGroups(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupsRequest)
operation.default ListBillingGroupsPublisher
listBillingGroupsPaginator
(ListBillingGroupsRequest listBillingGroupsRequest) This is a variant oflistBillingGroups(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupsRequest)
operation.listCustomLineItems
(Consumer<ListCustomLineItemsRequest.Builder> listCustomLineItemsRequest) A paginated call to get a list of all custom line items (FFLIs) for the given billing period.listCustomLineItems
(ListCustomLineItemsRequest listCustomLineItemsRequest) A paginated call to get a list of all custom line items (FFLIs) for the given billing period.default ListCustomLineItemsPublisher
listCustomLineItemsPaginator
(Consumer<ListCustomLineItemsRequest.Builder> listCustomLineItemsRequest) This is a variant oflistCustomLineItems(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemsRequest)
operation.default ListCustomLineItemsPublisher
listCustomLineItemsPaginator
(ListCustomLineItemsRequest listCustomLineItemsRequest) This is a variant oflistCustomLineItems(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemsRequest)
operation.listCustomLineItemVersions
(Consumer<ListCustomLineItemVersionsRequest.Builder> listCustomLineItemVersionsRequest) A paginated call to get a list of all custom line item versions.listCustomLineItemVersions
(ListCustomLineItemVersionsRequest listCustomLineItemVersionsRequest) A paginated call to get a list of all custom line item versions.listCustomLineItemVersionsPaginator
(Consumer<ListCustomLineItemVersionsRequest.Builder> listCustomLineItemVersionsRequest) This is a variant oflistCustomLineItemVersions(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemVersionsRequest)
operation.listCustomLineItemVersionsPaginator
(ListCustomLineItemVersionsRequest listCustomLineItemVersionsRequest) This is a variant oflistCustomLineItemVersions(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemVersionsRequest)
operation.listPricingPlans
(Consumer<ListPricingPlansRequest.Builder> listPricingPlansRequest) A paginated call to get pricing plans for the given billing period.listPricingPlans
(ListPricingPlansRequest listPricingPlansRequest) A paginated call to get pricing plans for the given billing period.listPricingPlansAssociatedWithPricingRule
(Consumer<ListPricingPlansAssociatedWithPricingRuleRequest.Builder> listPricingPlansAssociatedWithPricingRuleRequest) A list of the pricing plans that are associated with a pricing rule.listPricingPlansAssociatedWithPricingRule
(ListPricingPlansAssociatedWithPricingRuleRequest listPricingPlansAssociatedWithPricingRuleRequest) A list of the pricing plans that are associated with a pricing rule.listPricingPlansAssociatedWithPricingRulePaginator
(Consumer<ListPricingPlansAssociatedWithPricingRuleRequest.Builder> listPricingPlansAssociatedWithPricingRuleRequest) listPricingPlansAssociatedWithPricingRulePaginator
(ListPricingPlansAssociatedWithPricingRuleRequest listPricingPlansAssociatedWithPricingRuleRequest) default ListPricingPlansPublisher
listPricingPlansPaginator
(Consumer<ListPricingPlansRequest.Builder> listPricingPlansRequest) This is a variant oflistPricingPlans(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansRequest)
operation.default ListPricingPlansPublisher
listPricingPlansPaginator
(ListPricingPlansRequest listPricingPlansRequest) This is a variant oflistPricingPlans(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansRequest)
operation.listPricingRules
(Consumer<ListPricingRulesRequest.Builder> listPricingRulesRequest) Describes a pricing rule that can be associated to a pricing plan, or set of pricing plans.listPricingRules
(ListPricingRulesRequest listPricingRulesRequest) Describes a pricing rule that can be associated to a pricing plan, or set of pricing plans.listPricingRulesAssociatedToPricingPlan
(Consumer<ListPricingRulesAssociatedToPricingPlanRequest.Builder> listPricingRulesAssociatedToPricingPlanRequest) Lists the pricing rules that are associated with a pricing plan.listPricingRulesAssociatedToPricingPlan
(ListPricingRulesAssociatedToPricingPlanRequest listPricingRulesAssociatedToPricingPlanRequest) Lists the pricing rules that are associated with a pricing plan.listPricingRulesAssociatedToPricingPlanPaginator
(Consumer<ListPricingRulesAssociatedToPricingPlanRequest.Builder> listPricingRulesAssociatedToPricingPlanRequest) listPricingRulesAssociatedToPricingPlanPaginator
(ListPricingRulesAssociatedToPricingPlanRequest listPricingRulesAssociatedToPricingPlanRequest) default ListPricingRulesPublisher
listPricingRulesPaginator
(Consumer<ListPricingRulesRequest.Builder> listPricingRulesRequest) This is a variant oflistPricingRules(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesRequest)
operation.default ListPricingRulesPublisher
listPricingRulesPaginator
(ListPricingRulesRequest listPricingRulesRequest) This is a variant oflistPricingRules(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesRequest)
operation.listResourcesAssociatedToCustomLineItem
(Consumer<ListResourcesAssociatedToCustomLineItemRequest.Builder> listResourcesAssociatedToCustomLineItemRequest) List the resources that are associated to a custom line item.listResourcesAssociatedToCustomLineItem
(ListResourcesAssociatedToCustomLineItemRequest listResourcesAssociatedToCustomLineItemRequest) List the resources that are associated to a custom line item.listResourcesAssociatedToCustomLineItemPaginator
(Consumer<ListResourcesAssociatedToCustomLineItemRequest.Builder> listResourcesAssociatedToCustomLineItemRequest) listResourcesAssociatedToCustomLineItemPaginator
(ListResourcesAssociatedToCustomLineItemRequest listResourcesAssociatedToCustomLineItemRequest) listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) A list the tags for a resource.listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) A list the tags for a resource.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture
<TagResourceResponse> tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Associates the specified tags to a resource with the specifiedresourceArn
.default CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) Associates the specified tags to a resource with the specifiedresourceArn
.default CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Deletes specified tags from a resource.default CompletableFuture
<UntagResourceResponse> untagResource
(UntagResourceRequest untagResourceRequest) Deletes specified tags from a resource.updateBillingGroup
(Consumer<UpdateBillingGroupRequest.Builder> updateBillingGroupRequest) This updates an existing billing group.updateBillingGroup
(UpdateBillingGroupRequest updateBillingGroupRequest) This updates an existing billing group.updateCustomLineItem
(Consumer<UpdateCustomLineItemRequest.Builder> updateCustomLineItemRequest) Update an existing custom line item in the current or previous billing period.updateCustomLineItem
(UpdateCustomLineItemRequest updateCustomLineItemRequest) Update an existing custom line item in the current or previous billing period.updatePricingPlan
(Consumer<UpdatePricingPlanRequest.Builder> updatePricingPlanRequest) This updates an existing pricing plan.updatePricingPlan
(UpdatePricingPlanRequest updatePricingPlanRequest) This updates an existing pricing plan.updatePricingRule
(Consumer<UpdatePricingRuleRequest.Builder> updatePricingRuleRequest) Updates an existing pricing rule.updatePricingRule
(UpdatePricingRuleRequest updatePricingRuleRequest) Updates an existing pricing rule.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
associateAccounts
default CompletableFuture<AssociateAccountsResponse> associateAccounts(AssociateAccountsRequest associateAccountsRequest) Connects an array of account IDs in a consolidated billing family to a predefined billing group. The account IDs must be a part of the consolidated billing family during the current month, and not already associated with another billing group. The maximum number of accounts that can be associated in one call is 30.
- Parameters:
associateAccountsRequest
-- Returns:
- A Java Future containing the result of the AssociateAccounts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- ServiceLimitExceededException The request would cause a service limit to exceed.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateAccounts
default CompletableFuture<AssociateAccountsResponse> associateAccounts(Consumer<AssociateAccountsRequest.Builder> associateAccountsRequest) Connects an array of account IDs in a consolidated billing family to a predefined billing group. The account IDs must be a part of the consolidated billing family during the current month, and not already associated with another billing group. The maximum number of accounts that can be associated in one call is 30.
This is a convenience which creates an instance of the
AssociateAccountsRequest.Builder
avoiding the need to create one manually viaAssociateAccountsRequest.builder()
- Parameters:
associateAccountsRequest
- AConsumer
that will call methods onAssociateAccountsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AssociateAccounts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- ServiceLimitExceededException The request would cause a service limit to exceed.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associatePricingRules
default CompletableFuture<AssociatePricingRulesResponse> associatePricingRules(AssociatePricingRulesRequest associatePricingRulesRequest) Connects an array of
PricingRuleArns
to a definedPricingPlan
. The maximum numberPricingRuleArn
that can be associated in one call is 30.- Parameters:
associatePricingRulesRequest
-- Returns:
- A Java Future containing the result of the AssociatePricingRules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- ServiceLimitExceededException The request would cause a service limit to exceed.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associatePricingRules
default CompletableFuture<AssociatePricingRulesResponse> associatePricingRules(Consumer<AssociatePricingRulesRequest.Builder> associatePricingRulesRequest) Connects an array of
PricingRuleArns
to a definedPricingPlan
. The maximum numberPricingRuleArn
that can be associated in one call is 30.
This is a convenience which creates an instance of the
AssociatePricingRulesRequest.Builder
avoiding the need to create one manually viaAssociatePricingRulesRequest.builder()
- Parameters:
associatePricingRulesRequest
- AConsumer
that will call methods onAssociatePricingRulesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AssociatePricingRules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- ServiceLimitExceededException The request would cause a service limit to exceed.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchAssociateResourcesToCustomLineItem
default CompletableFuture<BatchAssociateResourcesToCustomLineItemResponse> batchAssociateResourcesToCustomLineItem(BatchAssociateResourcesToCustomLineItemRequest batchAssociateResourcesToCustomLineItemRequest) Associates a batch of resources to a percentage custom line item.
- Parameters:
batchAssociateResourcesToCustomLineItemRequest
-- Returns:
- A Java Future containing the result of the BatchAssociateResourcesToCustomLineItem operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- ServiceLimitExceededException The request would cause a service limit to exceed.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchAssociateResourcesToCustomLineItem
default CompletableFuture<BatchAssociateResourcesToCustomLineItemResponse> batchAssociateResourcesToCustomLineItem(Consumer<BatchAssociateResourcesToCustomLineItemRequest.Builder> batchAssociateResourcesToCustomLineItemRequest) Associates a batch of resources to a percentage custom line item.
This is a convenience which creates an instance of the
BatchAssociateResourcesToCustomLineItemRequest.Builder
avoiding the need to create one manually viaBatchAssociateResourcesToCustomLineItemRequest.builder()
- Parameters:
batchAssociateResourcesToCustomLineItemRequest
- AConsumer
that will call methods onBatchAssociateResourcesToCustomLineItemRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the BatchAssociateResourcesToCustomLineItem operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- ServiceLimitExceededException The request would cause a service limit to exceed.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchDisassociateResourcesFromCustomLineItem
default CompletableFuture<BatchDisassociateResourcesFromCustomLineItemResponse> batchDisassociateResourcesFromCustomLineItem(BatchDisassociateResourcesFromCustomLineItemRequest batchDisassociateResourcesFromCustomLineItemRequest) Disassociates a batch of resources from a percentage custom line item.
- Parameters:
batchDisassociateResourcesFromCustomLineItemRequest
-- Returns:
- A Java Future containing the result of the BatchDisassociateResourcesFromCustomLineItem operation
returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchDisassociateResourcesFromCustomLineItem
default CompletableFuture<BatchDisassociateResourcesFromCustomLineItemResponse> batchDisassociateResourcesFromCustomLineItem(Consumer<BatchDisassociateResourcesFromCustomLineItemRequest.Builder> batchDisassociateResourcesFromCustomLineItemRequest) Disassociates a batch of resources from a percentage custom line item.
This is a convenience which creates an instance of the
BatchDisassociateResourcesFromCustomLineItemRequest.Builder
avoiding the need to create one manually viaBatchDisassociateResourcesFromCustomLineItemRequest.builder()
- Parameters:
batchDisassociateResourcesFromCustomLineItemRequest
- AConsumer
that will call methods onBatchDisassociateResourcesFromCustomLineItemRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the BatchDisassociateResourcesFromCustomLineItem operation
returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createBillingGroup
default CompletableFuture<CreateBillingGroupResponse> createBillingGroup(CreateBillingGroupRequest createBillingGroupRequest) Creates a billing group that resembles a consolidated billing family that Amazon Web Services charges, based off of the predefined pricing plan computation.
- Parameters:
createBillingGroupRequest
-- Returns:
- A Java Future containing the result of the CreateBillingGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- ServiceLimitExceededException The request would cause a service limit to exceed.
- InternalServerException An unexpected error occurred while processing a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createBillingGroup
default CompletableFuture<CreateBillingGroupResponse> createBillingGroup(Consumer<CreateBillingGroupRequest.Builder> createBillingGroupRequest) Creates a billing group that resembles a consolidated billing family that Amazon Web Services charges, based off of the predefined pricing plan computation.
This is a convenience which creates an instance of the
CreateBillingGroupRequest.Builder
avoiding the need to create one manually viaCreateBillingGroupRequest.builder()
- Parameters:
createBillingGroupRequest
- AConsumer
that will call methods onCreateBillingGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateBillingGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- ServiceLimitExceededException The request would cause a service limit to exceed.
- InternalServerException An unexpected error occurred while processing a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createCustomLineItem
default CompletableFuture<CreateCustomLineItemResponse> createCustomLineItem(CreateCustomLineItemRequest createCustomLineItemRequest) Creates a custom line item that can be used to create a one-time fixed charge that can be applied to a single billing group for the current or previous billing period. The one-time fixed charge is either a fee or discount.
- Parameters:
createCustomLineItemRequest
-- Returns:
- A Java Future containing the result of the CreateCustomLineItem operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- ServiceLimitExceededException The request would cause a service limit to exceed.
- InternalServerException An unexpected error occurred while processing a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createCustomLineItem
default CompletableFuture<CreateCustomLineItemResponse> createCustomLineItem(Consumer<CreateCustomLineItemRequest.Builder> createCustomLineItemRequest) Creates a custom line item that can be used to create a one-time fixed charge that can be applied to a single billing group for the current or previous billing period. The one-time fixed charge is either a fee or discount.
This is a convenience which creates an instance of the
CreateCustomLineItemRequest.Builder
avoiding the need to create one manually viaCreateCustomLineItemRequest.builder()
- Parameters:
createCustomLineItemRequest
- AConsumer
that will call methods onCreateCustomLineItemRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateCustomLineItem operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- ServiceLimitExceededException The request would cause a service limit to exceed.
- InternalServerException An unexpected error occurred while processing a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPricingPlan
default CompletableFuture<CreatePricingPlanResponse> createPricingPlan(CreatePricingPlanRequest createPricingPlanRequest) Creates a pricing plan that is used for computing Amazon Web Services charges for billing groups.
- Parameters:
createPricingPlanRequest
-- Returns:
- A Java Future containing the result of the CreatePricingPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- ServiceLimitExceededException The request would cause a service limit to exceed.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPricingPlan
default CompletableFuture<CreatePricingPlanResponse> createPricingPlan(Consumer<CreatePricingPlanRequest.Builder> createPricingPlanRequest) Creates a pricing plan that is used for computing Amazon Web Services charges for billing groups.
This is a convenience which creates an instance of the
CreatePricingPlanRequest.Builder
avoiding the need to create one manually viaCreatePricingPlanRequest.builder()
- Parameters:
createPricingPlanRequest
- AConsumer
that will call methods onCreatePricingPlanRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreatePricingPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- ServiceLimitExceededException The request would cause a service limit to exceed.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPricingRule
default CompletableFuture<CreatePricingRuleResponse> createPricingRule(CreatePricingRuleRequest createPricingRuleRequest) Creates a pricing rule can be associated to a pricing plan, or a set of pricing plans.
- Parameters:
createPricingRuleRequest
-- Returns:
- A Java Future containing the result of the CreatePricingRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- ServiceLimitExceededException The request would cause a service limit to exceed.
- InternalServerException An unexpected error occurred while processing a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPricingRule
default CompletableFuture<CreatePricingRuleResponse> createPricingRule(Consumer<CreatePricingRuleRequest.Builder> createPricingRuleRequest) Creates a pricing rule can be associated to a pricing plan, or a set of pricing plans.
This is a convenience which creates an instance of the
CreatePricingRuleRequest.Builder
avoiding the need to create one manually viaCreatePricingRuleRequest.builder()
- Parameters:
createPricingRuleRequest
- AConsumer
that will call methods onCreatePricingRuleRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreatePricingRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- ServiceLimitExceededException The request would cause a service limit to exceed.
- InternalServerException An unexpected error occurred while processing a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteBillingGroup
default CompletableFuture<DeleteBillingGroupResponse> deleteBillingGroup(DeleteBillingGroupRequest deleteBillingGroupRequest) Deletes a billing group.
- Parameters:
deleteBillingGroupRequest
-- Returns:
- A Java Future containing the result of the DeleteBillingGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteBillingGroup
default CompletableFuture<DeleteBillingGroupResponse> deleteBillingGroup(Consumer<DeleteBillingGroupRequest.Builder> deleteBillingGroupRequest) Deletes a billing group.
This is a convenience which creates an instance of the
DeleteBillingGroupRequest.Builder
avoiding the need to create one manually viaDeleteBillingGroupRequest.builder()
- Parameters:
deleteBillingGroupRequest
- AConsumer
that will call methods onDeleteBillingGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteBillingGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteCustomLineItem
default CompletableFuture<DeleteCustomLineItemResponse> deleteCustomLineItem(DeleteCustomLineItemRequest deleteCustomLineItemRequest) Deletes the custom line item identified by the given ARN in the current, or previous billing period.
- Parameters:
deleteCustomLineItemRequest
-- Returns:
- A Java Future containing the result of the DeleteCustomLineItem operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteCustomLineItem
default CompletableFuture<DeleteCustomLineItemResponse> deleteCustomLineItem(Consumer<DeleteCustomLineItemRequest.Builder> deleteCustomLineItemRequest) Deletes the custom line item identified by the given ARN in the current, or previous billing period.
This is a convenience which creates an instance of the
DeleteCustomLineItemRequest.Builder
avoiding the need to create one manually viaDeleteCustomLineItemRequest.builder()
- Parameters:
deleteCustomLineItemRequest
- AConsumer
that will call methods onDeleteCustomLineItemRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteCustomLineItem operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deletePricingPlan
default CompletableFuture<DeletePricingPlanResponse> deletePricingPlan(DeletePricingPlanRequest deletePricingPlanRequest) Deletes a pricing plan. The pricing plan must not be associated with any billing groups to delete successfully.
- Parameters:
deletePricingPlanRequest
-- Returns:
- A Java Future containing the result of the DeletePricingPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deletePricingPlan
default CompletableFuture<DeletePricingPlanResponse> deletePricingPlan(Consumer<DeletePricingPlanRequest.Builder> deletePricingPlanRequest) Deletes a pricing plan. The pricing plan must not be associated with any billing groups to delete successfully.
This is a convenience which creates an instance of the
DeletePricingPlanRequest.Builder
avoiding the need to create one manually viaDeletePricingPlanRequest.builder()
- Parameters:
deletePricingPlanRequest
- AConsumer
that will call methods onDeletePricingPlanRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeletePricingPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deletePricingRule
default CompletableFuture<DeletePricingRuleResponse> deletePricingRule(DeletePricingRuleRequest deletePricingRuleRequest) Deletes the pricing rule that's identified by the input Amazon Resource Name (ARN).
- Parameters:
deletePricingRuleRequest
-- Returns:
- A Java Future containing the result of the DeletePricingRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deletePricingRule
default CompletableFuture<DeletePricingRuleResponse> deletePricingRule(Consumer<DeletePricingRuleRequest.Builder> deletePricingRuleRequest) Deletes the pricing rule that's identified by the input Amazon Resource Name (ARN).
This is a convenience which creates an instance of the
DeletePricingRuleRequest.Builder
avoiding the need to create one manually viaDeletePricingRuleRequest.builder()
- Parameters:
deletePricingRuleRequest
- AConsumer
that will call methods onDeletePricingRuleRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeletePricingRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateAccounts
default CompletableFuture<DisassociateAccountsResponse> disassociateAccounts(DisassociateAccountsRequest disassociateAccountsRequest) Removes the specified list of account IDs from the given billing group.
- Parameters:
disassociateAccountsRequest
-- Returns:
- A Java Future containing the result of the DisassociateAccounts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateAccounts
default CompletableFuture<DisassociateAccountsResponse> disassociateAccounts(Consumer<DisassociateAccountsRequest.Builder> disassociateAccountsRequest) Removes the specified list of account IDs from the given billing group.
This is a convenience which creates an instance of the
DisassociateAccountsRequest.Builder
avoiding the need to create one manually viaDisassociateAccountsRequest.builder()
- Parameters:
disassociateAccountsRequest
- AConsumer
that will call methods onDisassociateAccountsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DisassociateAccounts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociatePricingRules
default CompletableFuture<DisassociatePricingRulesResponse> disassociatePricingRules(DisassociatePricingRulesRequest disassociatePricingRulesRequest) Disassociates a list of pricing rules from a pricing plan.
- Parameters:
disassociatePricingRulesRequest
-- Returns:
- A Java Future containing the result of the DisassociatePricingRules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociatePricingRules
default CompletableFuture<DisassociatePricingRulesResponse> disassociatePricingRules(Consumer<DisassociatePricingRulesRequest.Builder> disassociatePricingRulesRequest) Disassociates a list of pricing rules from a pricing plan.
This is a convenience which creates an instance of the
DisassociatePricingRulesRequest.Builder
avoiding the need to create one manually viaDisassociatePricingRulesRequest.builder()
- Parameters:
disassociatePricingRulesRequest
- AConsumer
that will call methods onDisassociatePricingRulesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DisassociatePricingRules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getBillingGroupCostReport
default CompletableFuture<GetBillingGroupCostReportResponse> getBillingGroupCostReport(GetBillingGroupCostReportRequest getBillingGroupCostReportRequest) Retrieves the margin summary report, which includes the Amazon Web Services cost and charged amount (pro forma cost) by Amazon Web Service for a specific billing group.
- Parameters:
getBillingGroupCostReportRequest
-- Returns:
- A Java Future containing the result of the GetBillingGroupCostReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getBillingGroupCostReport
default CompletableFuture<GetBillingGroupCostReportResponse> getBillingGroupCostReport(Consumer<GetBillingGroupCostReportRequest.Builder> getBillingGroupCostReportRequest) Retrieves the margin summary report, which includes the Amazon Web Services cost and charged amount (pro forma cost) by Amazon Web Service for a specific billing group.
This is a convenience which creates an instance of the
GetBillingGroupCostReportRequest.Builder
avoiding the need to create one manually viaGetBillingGroupCostReportRequest.builder()
- Parameters:
getBillingGroupCostReportRequest
- AConsumer
that will call methods onGetBillingGroupCostReportRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetBillingGroupCostReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccountAssociations
default CompletableFuture<ListAccountAssociationsResponse> listAccountAssociations(ListAccountAssociationsRequest listAccountAssociationsRequest) This is a paginated call to list linked accounts that are linked to the payer account for the specified time period. If no information is provided, the current billing period is used. The response will optionally include the billing group that's associated with the linked account.
- Parameters:
listAccountAssociationsRequest
-- Returns:
- A Java Future containing the result of the ListAccountAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccountAssociations
default CompletableFuture<ListAccountAssociationsResponse> listAccountAssociations(Consumer<ListAccountAssociationsRequest.Builder> listAccountAssociationsRequest) This is a paginated call to list linked accounts that are linked to the payer account for the specified time period. If no information is provided, the current billing period is used. The response will optionally include the billing group that's associated with the linked account.
This is a convenience which creates an instance of the
ListAccountAssociationsRequest.Builder
avoiding the need to create one manually viaListAccountAssociationsRequest.builder()
- Parameters:
listAccountAssociationsRequest
- AConsumer
that will call methods onListAccountAssociationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListAccountAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccountAssociationsPaginator
default ListAccountAssociationsPublisher listAccountAssociationsPaginator(ListAccountAssociationsRequest listAccountAssociationsRequest) This is a variant of
listAccountAssociations(software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.billingconductor.paginators.ListAccountAssociationsPublisher publisher = client.listAccountAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.billingconductor.paginators.ListAccountAssociationsPublisher publisher = client.listAccountAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsResponse response) { //... }; });
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccountAssociations(software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsRequest)
operation.- Parameters:
listAccountAssociationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccountAssociationsPaginator
default ListAccountAssociationsPublisher listAccountAssociationsPaginator(Consumer<ListAccountAssociationsRequest.Builder> listAccountAssociationsRequest) This is a variant of
listAccountAssociations(software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.billingconductor.paginators.ListAccountAssociationsPublisher publisher = client.listAccountAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.billingconductor.paginators.ListAccountAssociationsPublisher publisher = client.listAccountAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsResponse response) { //... }; });
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccountAssociations(software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsRequest)
operation.
This is a convenience which creates an instance of the
ListAccountAssociationsRequest.Builder
avoiding the need to create one manually viaListAccountAssociationsRequest.builder()
- Parameters:
listAccountAssociationsRequest
- AConsumer
that will call methods onListAccountAssociationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBillingGroupCostReports
default CompletableFuture<ListBillingGroupCostReportsResponse> listBillingGroupCostReports(ListBillingGroupCostReportsRequest listBillingGroupCostReportsRequest) A paginated call to retrieve a summary report of actual Amazon Web Services charges and the calculated Amazon Web Services charges based on the associated pricing plan of a billing group.
- Parameters:
listBillingGroupCostReportsRequest
-- Returns:
- A Java Future containing the result of the ListBillingGroupCostReports operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBillingGroupCostReports
default CompletableFuture<ListBillingGroupCostReportsResponse> listBillingGroupCostReports(Consumer<ListBillingGroupCostReportsRequest.Builder> listBillingGroupCostReportsRequest) A paginated call to retrieve a summary report of actual Amazon Web Services charges and the calculated Amazon Web Services charges based on the associated pricing plan of a billing group.
This is a convenience which creates an instance of the
ListBillingGroupCostReportsRequest.Builder
avoiding the need to create one manually viaListBillingGroupCostReportsRequest.builder()
- Parameters:
listBillingGroupCostReportsRequest
- AConsumer
that will call methods onListBillingGroupCostReportsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListBillingGroupCostReports operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBillingGroupCostReportsPaginator
default ListBillingGroupCostReportsPublisher listBillingGroupCostReportsPaginator(ListBillingGroupCostReportsRequest listBillingGroupCostReportsRequest) This is a variant of
listBillingGroupCostReports(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupCostReportsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupCostReportsPublisher publisher = client.listBillingGroupCostReportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupCostReportsPublisher publisher = client.listBillingGroupCostReportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.billingconductor.model.ListBillingGroupCostReportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupCostReportsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBillingGroupCostReports(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupCostReportsRequest)
operation.- Parameters:
listBillingGroupCostReportsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBillingGroupCostReportsPaginator
default ListBillingGroupCostReportsPublisher listBillingGroupCostReportsPaginator(Consumer<ListBillingGroupCostReportsRequest.Builder> listBillingGroupCostReportsRequest) This is a variant of
listBillingGroupCostReports(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupCostReportsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupCostReportsPublisher publisher = client.listBillingGroupCostReportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupCostReportsPublisher publisher = client.listBillingGroupCostReportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.billingconductor.model.ListBillingGroupCostReportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupCostReportsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBillingGroupCostReports(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupCostReportsRequest)
operation.
This is a convenience which creates an instance of the
ListBillingGroupCostReportsRequest.Builder
avoiding the need to create one manually viaListBillingGroupCostReportsRequest.builder()
- Parameters:
listBillingGroupCostReportsRequest
- AConsumer
that will call methods onListBillingGroupCostReportsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBillingGroups
default CompletableFuture<ListBillingGroupsResponse> listBillingGroups(ListBillingGroupsRequest listBillingGroupsRequest) A paginated call to retrieve a list of billing groups for the given billing period. If you don't provide a billing group, the current billing period is used.
- Parameters:
listBillingGroupsRequest
-- Returns:
- A Java Future containing the result of the ListBillingGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBillingGroups
default CompletableFuture<ListBillingGroupsResponse> listBillingGroups(Consumer<ListBillingGroupsRequest.Builder> listBillingGroupsRequest) A paginated call to retrieve a list of billing groups for the given billing period. If you don't provide a billing group, the current billing period is used.
This is a convenience which creates an instance of the
ListBillingGroupsRequest.Builder
avoiding the need to create one manually viaListBillingGroupsRequest.builder()
- Parameters:
listBillingGroupsRequest
- AConsumer
that will call methods onListBillingGroupsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListBillingGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBillingGroupsPaginator
default ListBillingGroupsPublisher listBillingGroupsPaginator(ListBillingGroupsRequest listBillingGroupsRequest) This is a variant of
listBillingGroups(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupsPublisher publisher = client.listBillingGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupsPublisher publisher = client.listBillingGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.billingconductor.model.ListBillingGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBillingGroups(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupsRequest)
operation.- Parameters:
listBillingGroupsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBillingGroupsPaginator
default ListBillingGroupsPublisher listBillingGroupsPaginator(Consumer<ListBillingGroupsRequest.Builder> listBillingGroupsRequest) This is a variant of
listBillingGroups(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupsPublisher publisher = client.listBillingGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupsPublisher publisher = client.listBillingGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.billingconductor.model.ListBillingGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBillingGroups(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupsRequest)
operation.
This is a convenience which creates an instance of the
ListBillingGroupsRequest.Builder
avoiding the need to create one manually viaListBillingGroupsRequest.builder()
- Parameters:
listBillingGroupsRequest
- AConsumer
that will call methods onListBillingGroupsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCustomLineItemVersions
default CompletableFuture<ListCustomLineItemVersionsResponse> listCustomLineItemVersions(ListCustomLineItemVersionsRequest listCustomLineItemVersionsRequest) A paginated call to get a list of all custom line item versions.
- Parameters:
listCustomLineItemVersionsRequest
-- Returns:
- A Java Future containing the result of the ListCustomLineItemVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCustomLineItemVersions
default CompletableFuture<ListCustomLineItemVersionsResponse> listCustomLineItemVersions(Consumer<ListCustomLineItemVersionsRequest.Builder> listCustomLineItemVersionsRequest) A paginated call to get a list of all custom line item versions.
This is a convenience which creates an instance of the
ListCustomLineItemVersionsRequest.Builder
avoiding the need to create one manually viaListCustomLineItemVersionsRequest.builder()
- Parameters:
listCustomLineItemVersionsRequest
- AConsumer
that will call methods onListCustomLineItemVersionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListCustomLineItemVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCustomLineItemVersionsPaginator
default ListCustomLineItemVersionsPublisher listCustomLineItemVersionsPaginator(ListCustomLineItemVersionsRequest listCustomLineItemVersionsRequest) This is a variant of
listCustomLineItemVersions(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemVersionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemVersionsPublisher publisher = client.listCustomLineItemVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemVersionsPublisher publisher = client.listCustomLineItemVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemVersionsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomLineItemVersions(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemVersionsRequest)
operation.- Parameters:
listCustomLineItemVersionsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCustomLineItemVersionsPaginator
default ListCustomLineItemVersionsPublisher listCustomLineItemVersionsPaginator(Consumer<ListCustomLineItemVersionsRequest.Builder> listCustomLineItemVersionsRequest) This is a variant of
listCustomLineItemVersions(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemVersionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemVersionsPublisher publisher = client.listCustomLineItemVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemVersionsPublisher publisher = client.listCustomLineItemVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemVersionsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomLineItemVersions(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemVersionsRequest)
operation.
This is a convenience which creates an instance of the
ListCustomLineItemVersionsRequest.Builder
avoiding the need to create one manually viaListCustomLineItemVersionsRequest.builder()
- Parameters:
listCustomLineItemVersionsRequest
- AConsumer
that will call methods onListCustomLineItemVersionsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCustomLineItems
default CompletableFuture<ListCustomLineItemsResponse> listCustomLineItems(ListCustomLineItemsRequest listCustomLineItemsRequest) A paginated call to get a list of all custom line items (FFLIs) for the given billing period. If you don't provide a billing period, the current billing period is used.
- Parameters:
listCustomLineItemsRequest
-- Returns:
- A Java Future containing the result of the ListCustomLineItems operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCustomLineItems
default CompletableFuture<ListCustomLineItemsResponse> listCustomLineItems(Consumer<ListCustomLineItemsRequest.Builder> listCustomLineItemsRequest) A paginated call to get a list of all custom line items (FFLIs) for the given billing period. If you don't provide a billing period, the current billing period is used.
This is a convenience which creates an instance of the
ListCustomLineItemsRequest.Builder
avoiding the need to create one manually viaListCustomLineItemsRequest.builder()
- Parameters:
listCustomLineItemsRequest
- AConsumer
that will call methods onListCustomLineItemsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListCustomLineItems operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCustomLineItemsPaginator
default ListCustomLineItemsPublisher listCustomLineItemsPaginator(ListCustomLineItemsRequest listCustomLineItemsRequest) This is a variant of
listCustomLineItems(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemsPublisher publisher = client.listCustomLineItemsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemsPublisher publisher = client.listCustomLineItemsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomLineItems(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemsRequest)
operation.- Parameters:
listCustomLineItemsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCustomLineItemsPaginator
default ListCustomLineItemsPublisher listCustomLineItemsPaginator(Consumer<ListCustomLineItemsRequest.Builder> listCustomLineItemsRequest) This is a variant of
listCustomLineItems(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemsPublisher publisher = client.listCustomLineItemsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemsPublisher publisher = client.listCustomLineItemsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomLineItems(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemsRequest)
operation.
This is a convenience which creates an instance of the
ListCustomLineItemsRequest.Builder
avoiding the need to create one manually viaListCustomLineItemsRequest.builder()
- Parameters:
listCustomLineItemsRequest
- AConsumer
that will call methods onListCustomLineItemsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPricingPlans
default CompletableFuture<ListPricingPlansResponse> listPricingPlans(ListPricingPlansRequest listPricingPlansRequest) A paginated call to get pricing plans for the given billing period. If you don't provide a billing period, the current billing period is used.
- Parameters:
listPricingPlansRequest
-- Returns:
- A Java Future containing the result of the ListPricingPlans operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPricingPlans
default CompletableFuture<ListPricingPlansResponse> listPricingPlans(Consumer<ListPricingPlansRequest.Builder> listPricingPlansRequest) A paginated call to get pricing plans for the given billing period. If you don't provide a billing period, the current billing period is used.
This is a convenience which creates an instance of the
ListPricingPlansRequest.Builder
avoiding the need to create one manually viaListPricingPlansRequest.builder()
- Parameters:
listPricingPlansRequest
- AConsumer
that will call methods onListPricingPlansRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListPricingPlans operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPricingPlansAssociatedWithPricingRule
default CompletableFuture<ListPricingPlansAssociatedWithPricingRuleResponse> listPricingPlansAssociatedWithPricingRule(ListPricingPlansAssociatedWithPricingRuleRequest listPricingPlansAssociatedWithPricingRuleRequest) A list of the pricing plans that are associated with a pricing rule.
- Parameters:
listPricingPlansAssociatedWithPricingRuleRequest
-- Returns:
- A Java Future containing the result of the ListPricingPlansAssociatedWithPricingRule operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPricingPlansAssociatedWithPricingRule
default CompletableFuture<ListPricingPlansAssociatedWithPricingRuleResponse> listPricingPlansAssociatedWithPricingRule(Consumer<ListPricingPlansAssociatedWithPricingRuleRequest.Builder> listPricingPlansAssociatedWithPricingRuleRequest) A list of the pricing plans that are associated with a pricing rule.
This is a convenience which creates an instance of the
ListPricingPlansAssociatedWithPricingRuleRequest.Builder
avoiding the need to create one manually viaListPricingPlansAssociatedWithPricingRuleRequest.builder()
- Parameters:
listPricingPlansAssociatedWithPricingRuleRequest
- AConsumer
that will call methods onListPricingPlansAssociatedWithPricingRuleRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListPricingPlansAssociatedWithPricingRule operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPricingPlansAssociatedWithPricingRulePaginator
default ListPricingPlansAssociatedWithPricingRulePublisher listPricingPlansAssociatedWithPricingRulePaginator(ListPricingPlansAssociatedWithPricingRuleRequest listPricingPlansAssociatedWithPricingRuleRequest) This is a variant of
listPricingPlansAssociatedWithPricingRule(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansAssociatedWithPricingRuleRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansAssociatedWithPricingRulePublisher publisher = client.listPricingPlansAssociatedWithPricingRulePaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansAssociatedWithPricingRulePublisher publisher = client.listPricingPlansAssociatedWithPricingRulePaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.billingconductor.model.ListPricingPlansAssociatedWithPricingRuleResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansAssociatedWithPricingRuleResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPricingPlansAssociatedWithPricingRule(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansAssociatedWithPricingRuleRequest)
operation.- Parameters:
listPricingPlansAssociatedWithPricingRuleRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPricingPlansAssociatedWithPricingRulePaginator
default ListPricingPlansAssociatedWithPricingRulePublisher listPricingPlansAssociatedWithPricingRulePaginator(Consumer<ListPricingPlansAssociatedWithPricingRuleRequest.Builder> listPricingPlansAssociatedWithPricingRuleRequest) This is a variant of
listPricingPlansAssociatedWithPricingRule(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansAssociatedWithPricingRuleRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansAssociatedWithPricingRulePublisher publisher = client.listPricingPlansAssociatedWithPricingRulePaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansAssociatedWithPricingRulePublisher publisher = client.listPricingPlansAssociatedWithPricingRulePaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.billingconductor.model.ListPricingPlansAssociatedWithPricingRuleResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansAssociatedWithPricingRuleResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPricingPlansAssociatedWithPricingRule(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansAssociatedWithPricingRuleRequest)
operation.
This is a convenience which creates an instance of the
ListPricingPlansAssociatedWithPricingRuleRequest.Builder
avoiding the need to create one manually viaListPricingPlansAssociatedWithPricingRuleRequest.builder()
- Parameters:
listPricingPlansAssociatedWithPricingRuleRequest
- AConsumer
that will call methods onListPricingPlansAssociatedWithPricingRuleRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPricingPlansPaginator
default ListPricingPlansPublisher listPricingPlansPaginator(ListPricingPlansRequest listPricingPlansRequest) This is a variant of
listPricingPlans(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansPublisher publisher = client.listPricingPlansPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansPublisher publisher = client.listPricingPlansPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.billingconductor.model.ListPricingPlansResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPricingPlans(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansRequest)
operation.- Parameters:
listPricingPlansRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPricingPlansPaginator
default ListPricingPlansPublisher listPricingPlansPaginator(Consumer<ListPricingPlansRequest.Builder> listPricingPlansRequest) This is a variant of
listPricingPlans(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansPublisher publisher = client.listPricingPlansPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansPublisher publisher = client.listPricingPlansPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.billingconductor.model.ListPricingPlansResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPricingPlans(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansRequest)
operation.
This is a convenience which creates an instance of the
ListPricingPlansRequest.Builder
avoiding the need to create one manually viaListPricingPlansRequest.builder()
- Parameters:
listPricingPlansRequest
- AConsumer
that will call methods onListPricingPlansRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPricingRules
default CompletableFuture<ListPricingRulesResponse> listPricingRules(ListPricingRulesRequest listPricingRulesRequest) Describes a pricing rule that can be associated to a pricing plan, or set of pricing plans.
- Parameters:
listPricingRulesRequest
-- Returns:
- A Java Future containing the result of the ListPricingRules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPricingRules
default CompletableFuture<ListPricingRulesResponse> listPricingRules(Consumer<ListPricingRulesRequest.Builder> listPricingRulesRequest) Describes a pricing rule that can be associated to a pricing plan, or set of pricing plans.
This is a convenience which creates an instance of the
ListPricingRulesRequest.Builder
avoiding the need to create one manually viaListPricingRulesRequest.builder()
- Parameters:
listPricingRulesRequest
- AConsumer
that will call methods onListPricingRulesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListPricingRules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPricingRulesAssociatedToPricingPlan
default CompletableFuture<ListPricingRulesAssociatedToPricingPlanResponse> listPricingRulesAssociatedToPricingPlan(ListPricingRulesAssociatedToPricingPlanRequest listPricingRulesAssociatedToPricingPlanRequest) Lists the pricing rules that are associated with a pricing plan.
- Parameters:
listPricingRulesAssociatedToPricingPlanRequest
-- Returns:
- A Java Future containing the result of the ListPricingRulesAssociatedToPricingPlan operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPricingRulesAssociatedToPricingPlan
default CompletableFuture<ListPricingRulesAssociatedToPricingPlanResponse> listPricingRulesAssociatedToPricingPlan(Consumer<ListPricingRulesAssociatedToPricingPlanRequest.Builder> listPricingRulesAssociatedToPricingPlanRequest) Lists the pricing rules that are associated with a pricing plan.
This is a convenience which creates an instance of the
ListPricingRulesAssociatedToPricingPlanRequest.Builder
avoiding the need to create one manually viaListPricingRulesAssociatedToPricingPlanRequest.builder()
- Parameters:
listPricingRulesAssociatedToPricingPlanRequest
- AConsumer
that will call methods onListPricingRulesAssociatedToPricingPlanRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListPricingRulesAssociatedToPricingPlan operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPricingRulesAssociatedToPricingPlanPaginator
default ListPricingRulesAssociatedToPricingPlanPublisher listPricingRulesAssociatedToPricingPlanPaginator(ListPricingRulesAssociatedToPricingPlanRequest listPricingRulesAssociatedToPricingPlanRequest) This is a variant of
listPricingRulesAssociatedToPricingPlan(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesAssociatedToPricingPlanRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesAssociatedToPricingPlanPublisher publisher = client.listPricingRulesAssociatedToPricingPlanPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesAssociatedToPricingPlanPublisher publisher = client.listPricingRulesAssociatedToPricingPlanPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.billingconductor.model.ListPricingRulesAssociatedToPricingPlanResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesAssociatedToPricingPlanResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPricingRulesAssociatedToPricingPlan(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesAssociatedToPricingPlanRequest)
operation.- Parameters:
listPricingRulesAssociatedToPricingPlanRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPricingRulesAssociatedToPricingPlanPaginator
default ListPricingRulesAssociatedToPricingPlanPublisher listPricingRulesAssociatedToPricingPlanPaginator(Consumer<ListPricingRulesAssociatedToPricingPlanRequest.Builder> listPricingRulesAssociatedToPricingPlanRequest) This is a variant of
listPricingRulesAssociatedToPricingPlan(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesAssociatedToPricingPlanRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesAssociatedToPricingPlanPublisher publisher = client.listPricingRulesAssociatedToPricingPlanPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesAssociatedToPricingPlanPublisher publisher = client.listPricingRulesAssociatedToPricingPlanPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.billingconductor.model.ListPricingRulesAssociatedToPricingPlanResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesAssociatedToPricingPlanResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPricingRulesAssociatedToPricingPlan(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesAssociatedToPricingPlanRequest)
operation.
This is a convenience which creates an instance of the
ListPricingRulesAssociatedToPricingPlanRequest.Builder
avoiding the need to create one manually viaListPricingRulesAssociatedToPricingPlanRequest.builder()
- Parameters:
listPricingRulesAssociatedToPricingPlanRequest
- AConsumer
that will call methods onListPricingRulesAssociatedToPricingPlanRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPricingRulesPaginator
default ListPricingRulesPublisher listPricingRulesPaginator(ListPricingRulesRequest listPricingRulesRequest) This is a variant of
listPricingRules(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesPublisher publisher = client.listPricingRulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesPublisher publisher = client.listPricingRulesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.billingconductor.model.ListPricingRulesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPricingRules(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesRequest)
operation.- Parameters:
listPricingRulesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPricingRulesPaginator
default ListPricingRulesPublisher listPricingRulesPaginator(Consumer<ListPricingRulesRequest.Builder> listPricingRulesRequest) This is a variant of
listPricingRules(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesPublisher publisher = client.listPricingRulesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesPublisher publisher = client.listPricingRulesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.billingconductor.model.ListPricingRulesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPricingRules(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesRequest)
operation.
This is a convenience which creates an instance of the
ListPricingRulesRequest.Builder
avoiding the need to create one manually viaListPricingRulesRequest.builder()
- Parameters:
listPricingRulesRequest
- AConsumer
that will call methods onListPricingRulesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourcesAssociatedToCustomLineItem
default CompletableFuture<ListResourcesAssociatedToCustomLineItemResponse> listResourcesAssociatedToCustomLineItem(ListResourcesAssociatedToCustomLineItemRequest listResourcesAssociatedToCustomLineItemRequest) List the resources that are associated to a custom line item.
- Parameters:
listResourcesAssociatedToCustomLineItemRequest
-- Returns:
- A Java Future containing the result of the ListResourcesAssociatedToCustomLineItem operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourcesAssociatedToCustomLineItem
default CompletableFuture<ListResourcesAssociatedToCustomLineItemResponse> listResourcesAssociatedToCustomLineItem(Consumer<ListResourcesAssociatedToCustomLineItemRequest.Builder> listResourcesAssociatedToCustomLineItemRequest) List the resources that are associated to a custom line item.
This is a convenience which creates an instance of the
ListResourcesAssociatedToCustomLineItemRequest.Builder
avoiding the need to create one manually viaListResourcesAssociatedToCustomLineItemRequest.builder()
- Parameters:
listResourcesAssociatedToCustomLineItemRequest
- AConsumer
that will call methods onListResourcesAssociatedToCustomLineItemRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListResourcesAssociatedToCustomLineItem operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourcesAssociatedToCustomLineItemPaginator
default ListResourcesAssociatedToCustomLineItemPublisher listResourcesAssociatedToCustomLineItemPaginator(ListResourcesAssociatedToCustomLineItemRequest listResourcesAssociatedToCustomLineItemRequest) This is a variant of
listResourcesAssociatedToCustomLineItem(software.amazon.awssdk.services.billingconductor.model.ListResourcesAssociatedToCustomLineItemRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.billingconductor.paginators.ListResourcesAssociatedToCustomLineItemPublisher publisher = client.listResourcesAssociatedToCustomLineItemPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.billingconductor.paginators.ListResourcesAssociatedToCustomLineItemPublisher publisher = client.listResourcesAssociatedToCustomLineItemPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.billingconductor.model.ListResourcesAssociatedToCustomLineItemResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.billingconductor.model.ListResourcesAssociatedToCustomLineItemResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResourcesAssociatedToCustomLineItem(software.amazon.awssdk.services.billingconductor.model.ListResourcesAssociatedToCustomLineItemRequest)
operation.- Parameters:
listResourcesAssociatedToCustomLineItemRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourcesAssociatedToCustomLineItemPaginator
default ListResourcesAssociatedToCustomLineItemPublisher listResourcesAssociatedToCustomLineItemPaginator(Consumer<ListResourcesAssociatedToCustomLineItemRequest.Builder> listResourcesAssociatedToCustomLineItemRequest) This is a variant of
listResourcesAssociatedToCustomLineItem(software.amazon.awssdk.services.billingconductor.model.ListResourcesAssociatedToCustomLineItemRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.billingconductor.paginators.ListResourcesAssociatedToCustomLineItemPublisher publisher = client.listResourcesAssociatedToCustomLineItemPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.billingconductor.paginators.ListResourcesAssociatedToCustomLineItemPublisher publisher = client.listResourcesAssociatedToCustomLineItemPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.billingconductor.model.ListResourcesAssociatedToCustomLineItemResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.billingconductor.model.ListResourcesAssociatedToCustomLineItemResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResourcesAssociatedToCustomLineItem(software.amazon.awssdk.services.billingconductor.model.ListResourcesAssociatedToCustomLineItemRequest)
operation.
This is a convenience which creates an instance of the
ListResourcesAssociatedToCustomLineItemRequest.Builder
avoiding the need to create one manually viaListResourcesAssociatedToCustomLineItemRequest.builder()
- Parameters:
listResourcesAssociatedToCustomLineItemRequest
- AConsumer
that will call methods onListResourcesAssociatedToCustomLineItemRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) A list the tags for a resource.
- Parameters:
listTagsForResourceRequest
-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) A list the tags for a resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Associates the specified tags to a resource with the specified
resourceArn
. If existing tags on a resource are not specified in the request parameters, they are not changed.- Parameters:
tagResourceRequest
-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Associates the specified tags to a resource with the specified
resourceArn
. If existing tags on a resource are not specified in the request parameters, they are not changed.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Deletes specified tags from a resource.
- Parameters:
untagResourceRequest
-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Deletes specified tags from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateBillingGroup
default CompletableFuture<UpdateBillingGroupResponse> updateBillingGroup(UpdateBillingGroupRequest updateBillingGroupRequest) This updates an existing billing group.
- Parameters:
updateBillingGroupRequest
-- Returns:
- A Java Future containing the result of the UpdateBillingGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateBillingGroup
default CompletableFuture<UpdateBillingGroupResponse> updateBillingGroup(Consumer<UpdateBillingGroupRequest.Builder> updateBillingGroupRequest) This updates an existing billing group.
This is a convenience which creates an instance of the
UpdateBillingGroupRequest.Builder
avoiding the need to create one manually viaUpdateBillingGroupRequest.builder()
- Parameters:
updateBillingGroupRequest
- AConsumer
that will call methods onUpdateBillingGroupRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateBillingGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateCustomLineItem
default CompletableFuture<UpdateCustomLineItemResponse> updateCustomLineItem(UpdateCustomLineItemRequest updateCustomLineItemRequest) Update an existing custom line item in the current or previous billing period.
- Parameters:
updateCustomLineItemRequest
-- Returns:
- A Java Future containing the result of the UpdateCustomLineItem operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateCustomLineItem
default CompletableFuture<UpdateCustomLineItemResponse> updateCustomLineItem(Consumer<UpdateCustomLineItemRequest.Builder> updateCustomLineItemRequest) Update an existing custom line item in the current or previous billing period.
This is a convenience which creates an instance of the
UpdateCustomLineItemRequest.Builder
avoiding the need to create one manually viaUpdateCustomLineItemRequest.builder()
- Parameters:
updateCustomLineItemRequest
- AConsumer
that will call methods onUpdateCustomLineItemRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateCustomLineItem operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updatePricingPlan
default CompletableFuture<UpdatePricingPlanResponse> updatePricingPlan(UpdatePricingPlanRequest updatePricingPlanRequest) This updates an existing pricing plan.
- Parameters:
updatePricingPlanRequest
-- Returns:
- A Java Future containing the result of the UpdatePricingPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updatePricingPlan
default CompletableFuture<UpdatePricingPlanResponse> updatePricingPlan(Consumer<UpdatePricingPlanRequest.Builder> updatePricingPlanRequest) This updates an existing pricing plan.
This is a convenience which creates an instance of the
UpdatePricingPlanRequest.Builder
avoiding the need to create one manually viaUpdatePricingPlanRequest.builder()
- Parameters:
updatePricingPlanRequest
- AConsumer
that will call methods onUpdatePricingPlanRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdatePricingPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updatePricingRule
default CompletableFuture<UpdatePricingRuleResponse> updatePricingRule(UpdatePricingRuleRequest updatePricingRuleRequest) Updates an existing pricing rule.
- Parameters:
updatePricingRuleRequest
-- Returns:
- A Java Future containing the result of the UpdatePricingRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updatePricingRule
default CompletableFuture<UpdatePricingRuleResponse> updatePricingRule(Consumer<UpdatePricingRuleRequest.Builder> updatePricingRuleRequest) Updates an existing pricing rule.
This is a convenience which creates an instance of the
UpdatePricingRuleRequest.Builder
avoiding the need to create one manually viaUpdatePricingRuleRequest.builder()
- Parameters:
updatePricingRuleRequest
- AConsumer
that will call methods onUpdatePricingRuleRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdatePricingRule operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException You can cause an inconsistent state by updating or deleting a resource.
- AccessDeniedException You do not have sufficient access to perform this action.
- ValidationException The input doesn't match with the constraints specified by Amazon Web Services.
- InternalServerException An unexpected error occurred while processing a request.
- ResourceNotFoundException The request references a resource that doesn't exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- BillingconductorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aBillingconductorAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aBillingconductorAsyncClient
.
-