Interface BillingconductorClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface BillingconductorClient extends AwsClient
Service client for accessing AWSBillingConductor. This can be created using the staticbuilder()method.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
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
associateAccounts
default AssociateAccountsResponse associateAccounts(AssociateAccountsRequest associateAccountsRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
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:
- Result of the AssociateAccounts operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
associateAccounts
default AssociateAccountsResponse associateAccounts(Consumer<AssociateAccountsRequest.Builder> associateAccountsRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
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.Builderavoiding the need to create one manually viaAssociateAccountsRequest.builder()- Parameters:
associateAccountsRequest- AConsumerthat will call methods onAssociateAccountsRequest.Builderto create a request.- Returns:
- Result of the AssociateAccounts operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
associatePricingRules
default AssociatePricingRulesResponse associatePricingRules(AssociatePricingRulesRequest associatePricingRulesRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
Connects an array of
PricingRuleArnsto a definedPricingPlan. The maximum numberPricingRuleArnthat can be associated in one call is 30.- Parameters:
associatePricingRulesRequest-- Returns:
- Result of the AssociatePricingRules operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
associatePricingRules
default AssociatePricingRulesResponse associatePricingRules(Consumer<AssociatePricingRulesRequest.Builder> associatePricingRulesRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
Connects an array of
PricingRuleArnsto a definedPricingPlan. The maximum numberPricingRuleArnthat can be associated in one call is 30.
This is a convenience which creates an instance of the
AssociatePricingRulesRequest.Builderavoiding the need to create one manually viaAssociatePricingRulesRequest.builder()- Parameters:
associatePricingRulesRequest- AConsumerthat will call methods onAssociatePricingRulesRequest.Builderto create a request.- Returns:
- Result of the AssociatePricingRules operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchAssociateResourcesToCustomLineItem
default BatchAssociateResourcesToCustomLineItemResponse batchAssociateResourcesToCustomLineItem(BatchAssociateResourcesToCustomLineItemRequest batchAssociateResourcesToCustomLineItemRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
Associates a batch of resources to a percentage custom line item.
- Parameters:
batchAssociateResourcesToCustomLineItemRequest-- Returns:
- Result of the BatchAssociateResourcesToCustomLineItem operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchAssociateResourcesToCustomLineItem
default BatchAssociateResourcesToCustomLineItemResponse batchAssociateResourcesToCustomLineItem(Consumer<BatchAssociateResourcesToCustomLineItemRequest.Builder> batchAssociateResourcesToCustomLineItemRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
Associates a batch of resources to a percentage custom line item.
This is a convenience which creates an instance of the
BatchAssociateResourcesToCustomLineItemRequest.Builderavoiding the need to create one manually viaBatchAssociateResourcesToCustomLineItemRequest.builder()- Parameters:
batchAssociateResourcesToCustomLineItemRequest- AConsumerthat will call methods onBatchAssociateResourcesToCustomLineItemRequest.Builderto create a request.- Returns:
- Result of the BatchAssociateResourcesToCustomLineItem operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchDisassociateResourcesFromCustomLineItem
default BatchDisassociateResourcesFromCustomLineItemResponse batchDisassociateResourcesFromCustomLineItem(BatchDisassociateResourcesFromCustomLineItemRequest batchDisassociateResourcesFromCustomLineItemRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
Disassociates a batch of resources from a percentage custom line item.
- Parameters:
batchDisassociateResourcesFromCustomLineItemRequest-- Returns:
- Result of the BatchDisassociateResourcesFromCustomLineItem operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
batchDisassociateResourcesFromCustomLineItem
default BatchDisassociateResourcesFromCustomLineItemResponse batchDisassociateResourcesFromCustomLineItem(Consumer<BatchDisassociateResourcesFromCustomLineItemRequest.Builder> batchDisassociateResourcesFromCustomLineItemRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
Disassociates a batch of resources from a percentage custom line item.
This is a convenience which creates an instance of the
BatchDisassociateResourcesFromCustomLineItemRequest.Builderavoiding the need to create one manually viaBatchDisassociateResourcesFromCustomLineItemRequest.builder()- Parameters:
batchDisassociateResourcesFromCustomLineItemRequest- AConsumerthat will call methods onBatchDisassociateResourcesFromCustomLineItemRequest.Builderto create a request.- Returns:
- Result of the BatchDisassociateResourcesFromCustomLineItem operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createBillingGroup
default CreateBillingGroupResponse createBillingGroup(CreateBillingGroupRequest createBillingGroupRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException
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:
- Result of the CreateBillingGroup operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createBillingGroup
default CreateBillingGroupResponse createBillingGroup(Consumer<CreateBillingGroupRequest.Builder> createBillingGroupRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException
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.Builderavoiding the need to create one manually viaCreateBillingGroupRequest.builder()- Parameters:
createBillingGroupRequest- AConsumerthat will call methods onCreateBillingGroupRequest.Builderto create a request.- Returns:
- Result of the CreateBillingGroup operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createCustomLineItem
default CreateCustomLineItemResponse createCustomLineItem(CreateCustomLineItemRequest createCustomLineItemRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException
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:
- Result of the CreateCustomLineItem operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createCustomLineItem
default CreateCustomLineItemResponse createCustomLineItem(Consumer<CreateCustomLineItemRequest.Builder> createCustomLineItemRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException
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.Builderavoiding the need to create one manually viaCreateCustomLineItemRequest.builder()- Parameters:
createCustomLineItemRequest- AConsumerthat will call methods onCreateCustomLineItemRequest.Builderto create a request.- Returns:
- Result of the CreateCustomLineItem operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createPricingPlan
default CreatePricingPlanResponse createPricingPlan(CreatePricingPlanRequest createPricingPlanRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
Creates a pricing plan that is used for computing Amazon Web Services charges for billing groups.
- Parameters:
createPricingPlanRequest-- Returns:
- Result of the CreatePricingPlan operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createPricingPlan
default CreatePricingPlanResponse createPricingPlan(Consumer<CreatePricingPlanRequest.Builder> createPricingPlanRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
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.Builderavoiding the need to create one manually viaCreatePricingPlanRequest.builder()- Parameters:
createPricingPlanRequest- AConsumerthat will call methods onCreatePricingPlanRequest.Builderto create a request.- Returns:
- Result of the CreatePricingPlan operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createPricingRule
default CreatePricingRuleResponse createPricingRule(CreatePricingRuleRequest createPricingRuleRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException
Creates a pricing rule can be associated to a pricing plan, or a set of pricing plans.
- Parameters:
createPricingRuleRequest-- Returns:
- Result of the CreatePricingRule operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createPricingRule
default CreatePricingRuleResponse createPricingRule(Consumer<CreatePricingRuleRequest.Builder> createPricingRuleRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, ServiceLimitExceededException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException
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.Builderavoiding the need to create one manually viaCreatePricingRuleRequest.builder()- Parameters:
createPricingRuleRequest- AConsumerthat will call methods onCreatePricingRuleRequest.Builderto create a request.- Returns:
- Result of the CreatePricingRule operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteBillingGroup
default DeleteBillingGroupResponse deleteBillingGroup(DeleteBillingGroupRequest deleteBillingGroupRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException
Deletes a billing group.
- Parameters:
deleteBillingGroupRequest-- Returns:
- Result of the DeleteBillingGroup operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteBillingGroup
default DeleteBillingGroupResponse deleteBillingGroup(Consumer<DeleteBillingGroupRequest.Builder> deleteBillingGroupRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException
Deletes a billing group.
This is a convenience which creates an instance of the
DeleteBillingGroupRequest.Builderavoiding the need to create one manually viaDeleteBillingGroupRequest.builder()- Parameters:
deleteBillingGroupRequest- AConsumerthat will call methods onDeleteBillingGroupRequest.Builderto create a request.- Returns:
- Result of the DeleteBillingGroup operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteCustomLineItem
default DeleteCustomLineItemResponse deleteCustomLineItem(DeleteCustomLineItemRequest deleteCustomLineItemRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException
Deletes the custom line item identified by the given ARN in the current, or previous billing period.
- Parameters:
deleteCustomLineItemRequest-- Returns:
- Result of the DeleteCustomLineItem operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteCustomLineItem
default DeleteCustomLineItemResponse deleteCustomLineItem(Consumer<DeleteCustomLineItemRequest.Builder> deleteCustomLineItemRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException
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.Builderavoiding the need to create one manually viaDeleteCustomLineItemRequest.builder()- Parameters:
deleteCustomLineItemRequest- AConsumerthat will call methods onDeleteCustomLineItemRequest.Builderto create a request.- Returns:
- Result of the DeleteCustomLineItem operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deletePricingPlan
default DeletePricingPlanResponse deletePricingPlan(DeletePricingPlanRequest deletePricingPlanRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException
Deletes a pricing plan. The pricing plan must not be associated with any billing groups to delete successfully.
- Parameters:
deletePricingPlanRequest-- Returns:
- Result of the DeletePricingPlan operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deletePricingPlan
default DeletePricingPlanResponse deletePricingPlan(Consumer<DeletePricingPlanRequest.Builder> deletePricingPlanRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException
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.Builderavoiding the need to create one manually viaDeletePricingPlanRequest.builder()- Parameters:
deletePricingPlanRequest- AConsumerthat will call methods onDeletePricingPlanRequest.Builderto create a request.- Returns:
- Result of the DeletePricingPlan operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deletePricingRule
default DeletePricingRuleResponse deletePricingRule(DeletePricingRuleRequest deletePricingRuleRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException
Deletes the pricing rule that's identified by the input Amazon Resource Name (ARN).
- Parameters:
deletePricingRuleRequest-- Returns:
- Result of the DeletePricingRule operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deletePricingRule
default DeletePricingRuleResponse deletePricingRule(Consumer<DeletePricingRuleRequest.Builder> deletePricingRuleRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException
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.Builderavoiding the need to create one manually viaDeletePricingRuleRequest.builder()- Parameters:
deletePricingRuleRequest- AConsumerthat will call methods onDeletePricingRuleRequest.Builderto create a request.- Returns:
- Result of the DeletePricingRule operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
disassociateAccounts
default DisassociateAccountsResponse disassociateAccounts(DisassociateAccountsRequest disassociateAccountsRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
Removes the specified list of account IDs from the given billing group.
- Parameters:
disassociateAccountsRequest-- Returns:
- Result of the DisassociateAccounts operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
disassociateAccounts
default DisassociateAccountsResponse disassociateAccounts(Consumer<DisassociateAccountsRequest.Builder> disassociateAccountsRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
Removes the specified list of account IDs from the given billing group.
This is a convenience which creates an instance of the
DisassociateAccountsRequest.Builderavoiding the need to create one manually viaDisassociateAccountsRequest.builder()- Parameters:
disassociateAccountsRequest- AConsumerthat will call methods onDisassociateAccountsRequest.Builderto create a request.- Returns:
- Result of the DisassociateAccounts operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
disassociatePricingRules
default DisassociatePricingRulesResponse disassociatePricingRules(DisassociatePricingRulesRequest disassociatePricingRulesRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
Disassociates a list of pricing rules from a pricing plan.
- Parameters:
disassociatePricingRulesRequest-- Returns:
- Result of the DisassociatePricingRules operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
disassociatePricingRules
default DisassociatePricingRulesResponse disassociatePricingRules(Consumer<DisassociatePricingRulesRequest.Builder> disassociatePricingRulesRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
Disassociates a list of pricing rules from a pricing plan.
This is a convenience which creates an instance of the
DisassociatePricingRulesRequest.Builderavoiding the need to create one manually viaDisassociatePricingRulesRequest.builder()- Parameters:
disassociatePricingRulesRequest- AConsumerthat will call methods onDisassociatePricingRulesRequest.Builderto create a request.- Returns:
- Result of the DisassociatePricingRules operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getBillingGroupCostReport
default GetBillingGroupCostReportResponse getBillingGroupCostReport(GetBillingGroupCostReportRequest getBillingGroupCostReportRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
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:
- Result of the GetBillingGroupCostReport operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getBillingGroupCostReport
default GetBillingGroupCostReportResponse getBillingGroupCostReport(Consumer<GetBillingGroupCostReportRequest.Builder> getBillingGroupCostReportRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
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.Builderavoiding the need to create one manually viaGetBillingGroupCostReportRequest.builder()- Parameters:
getBillingGroupCostReportRequest- AConsumerthat will call methods onGetBillingGroupCostReportRequest.Builderto create a request.- Returns:
- Result of the GetBillingGroupCostReport operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAccountAssociations
default ListAccountAssociationsResponse listAccountAssociations(ListAccountAssociationsRequest listAccountAssociationsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
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:
- Result of the ListAccountAssociations operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAccountAssociations
default ListAccountAssociationsResponse listAccountAssociations(Consumer<ListAccountAssociationsRequest.Builder> listAccountAssociationsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
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.Builderavoiding the need to create one manually viaListAccountAssociationsRequest.builder()- Parameters:
listAccountAssociationsRequest- AConsumerthat will call methods onListAccountAssociationsRequest.Builderto create a request.- Returns:
- Result of the ListAccountAssociations operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAccountAssociationsPaginator
default ListAccountAssociationsIterable listAccountAssociationsPaginator(ListAccountAssociationsRequest listAccountAssociationsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
This is a variant of
listAccountAssociations(software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListAccountAssociationsIterable responses = client.listAccountAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListAccountAssociationsIterable responses = client .listAccountAssociationsPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListAccountAssociationsIterable responses = client.listAccountAssociationsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listAccountAssociationsPaginator
default ListAccountAssociationsIterable listAccountAssociationsPaginator(Consumer<ListAccountAssociationsRequest.Builder> listAccountAssociationsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
This is a variant of
listAccountAssociations(software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListAccountAssociationsIterable responses = client.listAccountAssociationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListAccountAssociationsIterable responses = client .listAccountAssociationsPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListAccountAssociationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListAccountAssociationsIterable responses = client.listAccountAssociationsPaginator(request); responses.iterator().forEachRemaining(....);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.Builderavoiding the need to create one manually viaListAccountAssociationsRequest.builder()- Parameters:
listAccountAssociationsRequest- AConsumerthat will call methods onListAccountAssociationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillingGroupCostReports
default ListBillingGroupCostReportsResponse listBillingGroupCostReports(ListBillingGroupCostReportsRequest listBillingGroupCostReportsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
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:
- Result of the ListBillingGroupCostReports operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillingGroupCostReports
default ListBillingGroupCostReportsResponse listBillingGroupCostReports(Consumer<ListBillingGroupCostReportsRequest.Builder> listBillingGroupCostReportsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
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.Builderavoiding the need to create one manually viaListBillingGroupCostReportsRequest.builder()- Parameters:
listBillingGroupCostReportsRequest- AConsumerthat will call methods onListBillingGroupCostReportsRequest.Builderto create a request.- Returns:
- Result of the ListBillingGroupCostReports operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillingGroupCostReportsPaginator
default ListBillingGroupCostReportsIterable listBillingGroupCostReportsPaginator(ListBillingGroupCostReportsRequest listBillingGroupCostReportsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
This is a variant of
listBillingGroupCostReports(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupCostReportsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupCostReportsIterable responses = client.listBillingGroupCostReportsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupCostReportsIterable responses = client .listBillingGroupCostReportsPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListBillingGroupCostReportsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupCostReportsIterable responses = client.listBillingGroupCostReportsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBillingGroupCostReports(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupCostReportsRequest)operation.- Parameters:
listBillingGroupCostReportsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillingGroupCostReportsPaginator
default ListBillingGroupCostReportsIterable listBillingGroupCostReportsPaginator(Consumer<ListBillingGroupCostReportsRequest.Builder> listBillingGroupCostReportsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
This is a variant of
listBillingGroupCostReports(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupCostReportsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupCostReportsIterable responses = client.listBillingGroupCostReportsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupCostReportsIterable responses = client .listBillingGroupCostReportsPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListBillingGroupCostReportsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupCostReportsIterable responses = client.listBillingGroupCostReportsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBillingGroupCostReports(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupCostReportsRequest)operation.
This is a convenience which creates an instance of the
ListBillingGroupCostReportsRequest.Builderavoiding the need to create one manually viaListBillingGroupCostReportsRequest.builder()- Parameters:
listBillingGroupCostReportsRequest- AConsumerthat will call methods onListBillingGroupCostReportsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillingGroups
default ListBillingGroupsResponse listBillingGroups(ListBillingGroupsRequest listBillingGroupsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
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:
- Result of the ListBillingGroups operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillingGroups
default ListBillingGroupsResponse listBillingGroups(Consumer<ListBillingGroupsRequest.Builder> listBillingGroupsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
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.Builderavoiding the need to create one manually viaListBillingGroupsRequest.builder()- Parameters:
listBillingGroupsRequest- AConsumerthat will call methods onListBillingGroupsRequest.Builderto create a request.- Returns:
- Result of the ListBillingGroups operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillingGroupsPaginator
default ListBillingGroupsIterable listBillingGroupsPaginator(ListBillingGroupsRequest listBillingGroupsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
This is a variant of
listBillingGroups(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupsIterable responses = client.listBillingGroupsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupsIterable responses = client .listBillingGroupsPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListBillingGroupsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupsIterable responses = client.listBillingGroupsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBillingGroups(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupsRequest)operation.- Parameters:
listBillingGroupsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listBillingGroupsPaginator
default ListBillingGroupsIterable listBillingGroupsPaginator(Consumer<ListBillingGroupsRequest.Builder> listBillingGroupsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
This is a variant of
listBillingGroups(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupsIterable responses = client.listBillingGroupsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupsIterable responses = client .listBillingGroupsPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListBillingGroupsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListBillingGroupsIterable responses = client.listBillingGroupsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBillingGroups(software.amazon.awssdk.services.billingconductor.model.ListBillingGroupsRequest)operation.
This is a convenience which creates an instance of the
ListBillingGroupsRequest.Builderavoiding the need to create one manually viaListBillingGroupsRequest.builder()- Parameters:
listBillingGroupsRequest- AConsumerthat will call methods onListBillingGroupsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCustomLineItemVersions
default ListCustomLineItemVersionsResponse listCustomLineItemVersions(ListCustomLineItemVersionsRequest listCustomLineItemVersionsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException
A paginated call to get a list of all custom line item versions.
- Parameters:
listCustomLineItemVersionsRequest-- Returns:
- Result of the ListCustomLineItemVersions operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCustomLineItemVersions
default ListCustomLineItemVersionsResponse listCustomLineItemVersions(Consumer<ListCustomLineItemVersionsRequest.Builder> listCustomLineItemVersionsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException
A paginated call to get a list of all custom line item versions.
This is a convenience which creates an instance of the
ListCustomLineItemVersionsRequest.Builderavoiding the need to create one manually viaListCustomLineItemVersionsRequest.builder()- Parameters:
listCustomLineItemVersionsRequest- AConsumerthat will call methods onListCustomLineItemVersionsRequest.Builderto create a request.- Returns:
- Result of the ListCustomLineItemVersions operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCustomLineItemVersionsPaginator
default ListCustomLineItemVersionsIterable listCustomLineItemVersionsPaginator(ListCustomLineItemVersionsRequest listCustomLineItemVersionsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException
This is a variant of
listCustomLineItemVersions(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemVersionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemVersionsIterable responses = client.listCustomLineItemVersionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemVersionsIterable responses = client .listCustomLineItemVersionsPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemVersionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemVersionsIterable responses = client.listCustomLineItemVersionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomLineItemVersions(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemVersionsRequest)operation.- Parameters:
listCustomLineItemVersionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCustomLineItemVersionsPaginator
default ListCustomLineItemVersionsIterable listCustomLineItemVersionsPaginator(Consumer<ListCustomLineItemVersionsRequest.Builder> listCustomLineItemVersionsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException
This is a variant of
listCustomLineItemVersions(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemVersionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemVersionsIterable responses = client.listCustomLineItemVersionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemVersionsIterable responses = client .listCustomLineItemVersionsPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemVersionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemVersionsIterable responses = client.listCustomLineItemVersionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomLineItemVersions(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemVersionsRequest)operation.
This is a convenience which creates an instance of the
ListCustomLineItemVersionsRequest.Builderavoiding the need to create one manually viaListCustomLineItemVersionsRequest.builder()- Parameters:
listCustomLineItemVersionsRequest- AConsumerthat will call methods onListCustomLineItemVersionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCustomLineItems
default ListCustomLineItemsResponse listCustomLineItems(ListCustomLineItemsRequest listCustomLineItemsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
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:
- Result of the ListCustomLineItems operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCustomLineItems
default ListCustomLineItemsResponse listCustomLineItems(Consumer<ListCustomLineItemsRequest.Builder> listCustomLineItemsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
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.Builderavoiding the need to create one manually viaListCustomLineItemsRequest.builder()- Parameters:
listCustomLineItemsRequest- AConsumerthat will call methods onListCustomLineItemsRequest.Builderto create a request.- Returns:
- Result of the ListCustomLineItems operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCustomLineItemsPaginator
default ListCustomLineItemsIterable listCustomLineItemsPaginator(ListCustomLineItemsRequest listCustomLineItemsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
This is a variant of
listCustomLineItems(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemsIterable responses = client.listCustomLineItemsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemsIterable responses = client .listCustomLineItemsPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemsIterable responses = client.listCustomLineItemsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomLineItems(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemsRequest)operation.- Parameters:
listCustomLineItemsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCustomLineItemsPaginator
default ListCustomLineItemsIterable listCustomLineItemsPaginator(Consumer<ListCustomLineItemsRequest.Builder> listCustomLineItemsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
This is a variant of
listCustomLineItems(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemsIterable responses = client.listCustomLineItemsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemsIterable responses = client .listCustomLineItemsPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListCustomLineItemsIterable responses = client.listCustomLineItemsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomLineItems(software.amazon.awssdk.services.billingconductor.model.ListCustomLineItemsRequest)operation.
This is a convenience which creates an instance of the
ListCustomLineItemsRequest.Builderavoiding the need to create one manually viaListCustomLineItemsRequest.builder()- Parameters:
listCustomLineItemsRequest- AConsumerthat will call methods onListCustomLineItemsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listPricingPlans
default ListPricingPlansResponse listPricingPlans(ListPricingPlansRequest listPricingPlansRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException
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:
- Result of the ListPricingPlans operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listPricingPlans
default ListPricingPlansResponse listPricingPlans(Consumer<ListPricingPlansRequest.Builder> listPricingPlansRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException
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.Builderavoiding the need to create one manually viaListPricingPlansRequest.builder()- Parameters:
listPricingPlansRequest- AConsumerthat will call methods onListPricingPlansRequest.Builderto create a request.- Returns:
- Result of the ListPricingPlans operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listPricingPlansPaginator
default ListPricingPlansIterable listPricingPlansPaginator(ListPricingPlansRequest listPricingPlansRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException
This is a variant of
listPricingPlans(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansIterable responses = client.listPricingPlansPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansIterable responses = client .listPricingPlansPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListPricingPlansResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansIterable responses = client.listPricingPlansPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPricingPlans(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansRequest)operation.- Parameters:
listPricingPlansRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listPricingPlansPaginator
default ListPricingPlansIterable listPricingPlansPaginator(Consumer<ListPricingPlansRequest.Builder> listPricingPlansRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException
This is a variant of
listPricingPlans(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansIterable responses = client.listPricingPlansPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansIterable responses = client .listPricingPlansPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListPricingPlansResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansIterable responses = client.listPricingPlansPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPricingPlans(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansRequest)operation.
This is a convenience which creates an instance of the
ListPricingPlansRequest.Builderavoiding the need to create one manually viaListPricingPlansRequest.builder()- Parameters:
listPricingPlansRequest- AConsumerthat will call methods onListPricingPlansRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listPricingPlansAssociatedWithPricingRule
default ListPricingPlansAssociatedWithPricingRuleResponse listPricingPlansAssociatedWithPricingRule(ListPricingPlansAssociatedWithPricingRuleRequest listPricingPlansAssociatedWithPricingRuleRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
A list of the pricing plans that are associated with a pricing rule.
- Parameters:
listPricingPlansAssociatedWithPricingRuleRequest-- Returns:
- Result of the ListPricingPlansAssociatedWithPricingRule operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listPricingPlansAssociatedWithPricingRule
default ListPricingPlansAssociatedWithPricingRuleResponse listPricingPlansAssociatedWithPricingRule(Consumer<ListPricingPlansAssociatedWithPricingRuleRequest.Builder> listPricingPlansAssociatedWithPricingRuleRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
A list of the pricing plans that are associated with a pricing rule.
This is a convenience which creates an instance of the
ListPricingPlansAssociatedWithPricingRuleRequest.Builderavoiding the need to create one manually viaListPricingPlansAssociatedWithPricingRuleRequest.builder()- Parameters:
listPricingPlansAssociatedWithPricingRuleRequest- AConsumerthat will call methods onListPricingPlansAssociatedWithPricingRuleRequest.Builderto create a request.- Returns:
- Result of the ListPricingPlansAssociatedWithPricingRule operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listPricingPlansAssociatedWithPricingRulePaginator
default ListPricingPlansAssociatedWithPricingRuleIterable listPricingPlansAssociatedWithPricingRulePaginator(ListPricingPlansAssociatedWithPricingRuleRequest listPricingPlansAssociatedWithPricingRuleRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
This is a variant of
listPricingPlansAssociatedWithPricingRule(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansAssociatedWithPricingRuleRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansAssociatedWithPricingRuleIterable responses = client.listPricingPlansAssociatedWithPricingRulePaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansAssociatedWithPricingRuleIterable responses = client .listPricingPlansAssociatedWithPricingRulePaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListPricingPlansAssociatedWithPricingRuleResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansAssociatedWithPricingRuleIterable responses = client.listPricingPlansAssociatedWithPricingRulePaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPricingPlansAssociatedWithPricingRule(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansAssociatedWithPricingRuleRequest)operation.- Parameters:
listPricingPlansAssociatedWithPricingRuleRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listPricingPlansAssociatedWithPricingRulePaginator
default ListPricingPlansAssociatedWithPricingRuleIterable listPricingPlansAssociatedWithPricingRulePaginator(Consumer<ListPricingPlansAssociatedWithPricingRuleRequest.Builder> listPricingPlansAssociatedWithPricingRuleRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
This is a variant of
listPricingPlansAssociatedWithPricingRule(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansAssociatedWithPricingRuleRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansAssociatedWithPricingRuleIterable responses = client.listPricingPlansAssociatedWithPricingRulePaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansAssociatedWithPricingRuleIterable responses = client .listPricingPlansAssociatedWithPricingRulePaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListPricingPlansAssociatedWithPricingRuleResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingPlansAssociatedWithPricingRuleIterable responses = client.listPricingPlansAssociatedWithPricingRulePaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPricingPlansAssociatedWithPricingRule(software.amazon.awssdk.services.billingconductor.model.ListPricingPlansAssociatedWithPricingRuleRequest)operation.
This is a convenience which creates an instance of the
ListPricingPlansAssociatedWithPricingRuleRequest.Builderavoiding the need to create one manually viaListPricingPlansAssociatedWithPricingRuleRequest.builder()- Parameters:
listPricingPlansAssociatedWithPricingRuleRequest- AConsumerthat will call methods onListPricingPlansAssociatedWithPricingRuleRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listPricingRules
default ListPricingRulesResponse listPricingRules(ListPricingRulesRequest listPricingRulesRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException
Describes a pricing rule that can be associated to a pricing plan, or set of pricing plans.
- Parameters:
listPricingRulesRequest-- Returns:
- Result of the ListPricingRules operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listPricingRules
default ListPricingRulesResponse listPricingRules(Consumer<ListPricingRulesRequest.Builder> listPricingRulesRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException
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.Builderavoiding the need to create one manually viaListPricingRulesRequest.builder()- Parameters:
listPricingRulesRequest- AConsumerthat will call methods onListPricingRulesRequest.Builderto create a request.- Returns:
- Result of the ListPricingRules operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listPricingRulesPaginator
default ListPricingRulesIterable listPricingRulesPaginator(ListPricingRulesRequest listPricingRulesRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException
This is a variant of
listPricingRules(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesIterable responses = client.listPricingRulesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesIterable responses = client .listPricingRulesPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListPricingRulesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesIterable responses = client.listPricingRulesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPricingRules(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesRequest)operation.- Parameters:
listPricingRulesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listPricingRulesPaginator
default ListPricingRulesIterable listPricingRulesPaginator(Consumer<ListPricingRulesRequest.Builder> listPricingRulesRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, BillingconductorException
This is a variant of
listPricingRules(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesIterable responses = client.listPricingRulesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesIterable responses = client .listPricingRulesPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListPricingRulesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesIterable responses = client.listPricingRulesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPricingRules(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesRequest)operation.
This is a convenience which creates an instance of the
ListPricingRulesRequest.Builderavoiding the need to create one manually viaListPricingRulesRequest.builder()- Parameters:
listPricingRulesRequest- AConsumerthat will call methods onListPricingRulesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listPricingRulesAssociatedToPricingPlan
default ListPricingRulesAssociatedToPricingPlanResponse listPricingRulesAssociatedToPricingPlan(ListPricingRulesAssociatedToPricingPlanRequest listPricingRulesAssociatedToPricingPlanRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
Lists the pricing rules that are associated with a pricing plan.
- Parameters:
listPricingRulesAssociatedToPricingPlanRequest-- Returns:
- Result of the ListPricingRulesAssociatedToPricingPlan operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listPricingRulesAssociatedToPricingPlan
default ListPricingRulesAssociatedToPricingPlanResponse listPricingRulesAssociatedToPricingPlan(Consumer<ListPricingRulesAssociatedToPricingPlanRequest.Builder> listPricingRulesAssociatedToPricingPlanRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
Lists the pricing rules that are associated with a pricing plan.
This is a convenience which creates an instance of the
ListPricingRulesAssociatedToPricingPlanRequest.Builderavoiding the need to create one manually viaListPricingRulesAssociatedToPricingPlanRequest.builder()- Parameters:
listPricingRulesAssociatedToPricingPlanRequest- AConsumerthat will call methods onListPricingRulesAssociatedToPricingPlanRequest.Builderto create a request.- Returns:
- Result of the ListPricingRulesAssociatedToPricingPlan operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listPricingRulesAssociatedToPricingPlanPaginator
default ListPricingRulesAssociatedToPricingPlanIterable listPricingRulesAssociatedToPricingPlanPaginator(ListPricingRulesAssociatedToPricingPlanRequest listPricingRulesAssociatedToPricingPlanRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
This is a variant of
listPricingRulesAssociatedToPricingPlan(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesAssociatedToPricingPlanRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesAssociatedToPricingPlanIterable responses = client.listPricingRulesAssociatedToPricingPlanPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesAssociatedToPricingPlanIterable responses = client .listPricingRulesAssociatedToPricingPlanPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListPricingRulesAssociatedToPricingPlanResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesAssociatedToPricingPlanIterable responses = client.listPricingRulesAssociatedToPricingPlanPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPricingRulesAssociatedToPricingPlan(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesAssociatedToPricingPlanRequest)operation.- Parameters:
listPricingRulesAssociatedToPricingPlanRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listPricingRulesAssociatedToPricingPlanPaginator
default ListPricingRulesAssociatedToPricingPlanIterable listPricingRulesAssociatedToPricingPlanPaginator(Consumer<ListPricingRulesAssociatedToPricingPlanRequest.Builder> listPricingRulesAssociatedToPricingPlanRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
This is a variant of
listPricingRulesAssociatedToPricingPlan(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesAssociatedToPricingPlanRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesAssociatedToPricingPlanIterable responses = client.listPricingRulesAssociatedToPricingPlanPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesAssociatedToPricingPlanIterable responses = client .listPricingRulesAssociatedToPricingPlanPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListPricingRulesAssociatedToPricingPlanResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListPricingRulesAssociatedToPricingPlanIterable responses = client.listPricingRulesAssociatedToPricingPlanPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPricingRulesAssociatedToPricingPlan(software.amazon.awssdk.services.billingconductor.model.ListPricingRulesAssociatedToPricingPlanRequest)operation.
This is a convenience which creates an instance of the
ListPricingRulesAssociatedToPricingPlanRequest.Builderavoiding the need to create one manually viaListPricingRulesAssociatedToPricingPlanRequest.builder()- Parameters:
listPricingRulesAssociatedToPricingPlanRequest- AConsumerthat will call methods onListPricingRulesAssociatedToPricingPlanRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listResourcesAssociatedToCustomLineItem
default ListResourcesAssociatedToCustomLineItemResponse listResourcesAssociatedToCustomLineItem(ListResourcesAssociatedToCustomLineItemRequest listResourcesAssociatedToCustomLineItemRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
List the resources that are associated to a custom line item.
- Parameters:
listResourcesAssociatedToCustomLineItemRequest-- Returns:
- Result of the ListResourcesAssociatedToCustomLineItem operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listResourcesAssociatedToCustomLineItem
default ListResourcesAssociatedToCustomLineItemResponse listResourcesAssociatedToCustomLineItem(Consumer<ListResourcesAssociatedToCustomLineItemRequest.Builder> listResourcesAssociatedToCustomLineItemRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
List the resources that are associated to a custom line item.
This is a convenience which creates an instance of the
ListResourcesAssociatedToCustomLineItemRequest.Builderavoiding the need to create one manually viaListResourcesAssociatedToCustomLineItemRequest.builder()- Parameters:
listResourcesAssociatedToCustomLineItemRequest- AConsumerthat will call methods onListResourcesAssociatedToCustomLineItemRequest.Builderto create a request.- Returns:
- Result of the ListResourcesAssociatedToCustomLineItem operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listResourcesAssociatedToCustomLineItemPaginator
default ListResourcesAssociatedToCustomLineItemIterable listResourcesAssociatedToCustomLineItemPaginator(ListResourcesAssociatedToCustomLineItemRequest listResourcesAssociatedToCustomLineItemRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
This is a variant of
listResourcesAssociatedToCustomLineItem(software.amazon.awssdk.services.billingconductor.model.ListResourcesAssociatedToCustomLineItemRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListResourcesAssociatedToCustomLineItemIterable responses = client.listResourcesAssociatedToCustomLineItemPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListResourcesAssociatedToCustomLineItemIterable responses = client .listResourcesAssociatedToCustomLineItemPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListResourcesAssociatedToCustomLineItemResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListResourcesAssociatedToCustomLineItemIterable responses = client.listResourcesAssociatedToCustomLineItemPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResourcesAssociatedToCustomLineItem(software.amazon.awssdk.services.billingconductor.model.ListResourcesAssociatedToCustomLineItemRequest)operation.- Parameters:
listResourcesAssociatedToCustomLineItemRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listResourcesAssociatedToCustomLineItemPaginator
default ListResourcesAssociatedToCustomLineItemIterable listResourcesAssociatedToCustomLineItemPaginator(Consumer<ListResourcesAssociatedToCustomLineItemRequest.Builder> listResourcesAssociatedToCustomLineItemRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
This is a variant of
listResourcesAssociatedToCustomLineItem(software.amazon.awssdk.services.billingconductor.model.ListResourcesAssociatedToCustomLineItemRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.billingconductor.paginators.ListResourcesAssociatedToCustomLineItemIterable responses = client.listResourcesAssociatedToCustomLineItemPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.billingconductor.paginators.ListResourcesAssociatedToCustomLineItemIterable responses = client .listResourcesAssociatedToCustomLineItemPaginator(request); for (software.amazon.awssdk.services.billingconductor.model.ListResourcesAssociatedToCustomLineItemResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.billingconductor.paginators.ListResourcesAssociatedToCustomLineItemIterable responses = client.listResourcesAssociatedToCustomLineItemPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResourcesAssociatedToCustomLineItem(software.amazon.awssdk.services.billingconductor.model.ListResourcesAssociatedToCustomLineItemRequest)operation.
This is a convenience which creates an instance of the
ListResourcesAssociatedToCustomLineItemRequest.Builderavoiding the need to create one manually viaListResourcesAssociatedToCustomLineItemRequest.builder()- Parameters:
listResourcesAssociatedToCustomLineItemRequest- AConsumerthat will call methods onListResourcesAssociatedToCustomLineItemRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
A list the tags for a resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
A list the tags for a resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
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:
- Result of the TagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
Deletes specified tags from a resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
Deletes specified tags from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateBillingGroup
default UpdateBillingGroupResponse updateBillingGroup(UpdateBillingGroupRequest updateBillingGroupRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
This updates an existing billing group.
- Parameters:
updateBillingGroupRequest-- Returns:
- Result of the UpdateBillingGroup operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateBillingGroup
default UpdateBillingGroupResponse updateBillingGroup(Consumer<UpdateBillingGroupRequest.Builder> updateBillingGroupRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
This updates an existing billing group.
This is a convenience which creates an instance of the
UpdateBillingGroupRequest.Builderavoiding the need to create one manually viaUpdateBillingGroupRequest.builder()- Parameters:
updateBillingGroupRequest- AConsumerthat will call methods onUpdateBillingGroupRequest.Builderto create a request.- Returns:
- Result of the UpdateBillingGroup operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateCustomLineItem
default UpdateCustomLineItemResponse updateCustomLineItem(UpdateCustomLineItemRequest updateCustomLineItemRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
Update an existing custom line item in the current or previous billing period.
- Parameters:
updateCustomLineItemRequest-- Returns:
- Result of the UpdateCustomLineItem operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateCustomLineItem
default UpdateCustomLineItemResponse updateCustomLineItem(Consumer<UpdateCustomLineItemRequest.Builder> updateCustomLineItemRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
Update an existing custom line item in the current or previous billing period.
This is a convenience which creates an instance of the
UpdateCustomLineItemRequest.Builderavoiding the need to create one manually viaUpdateCustomLineItemRequest.builder()- Parameters:
updateCustomLineItemRequest- AConsumerthat will call methods onUpdateCustomLineItemRequest.Builderto create a request.- Returns:
- Result of the UpdateCustomLineItem operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updatePricingPlan
default UpdatePricingPlanResponse updatePricingPlan(UpdatePricingPlanRequest updatePricingPlanRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
This updates an existing pricing plan.
- Parameters:
updatePricingPlanRequest-- Returns:
- Result of the UpdatePricingPlan operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updatePricingPlan
default UpdatePricingPlanResponse updatePricingPlan(Consumer<UpdatePricingPlanRequest.Builder> updatePricingPlanRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
This updates an existing pricing plan.
This is a convenience which creates an instance of the
UpdatePricingPlanRequest.Builderavoiding the need to create one manually viaUpdatePricingPlanRequest.builder()- Parameters:
updatePricingPlanRequest- AConsumerthat will call methods onUpdatePricingPlanRequest.Builderto create a request.- Returns:
- Result of the UpdatePricingPlan operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updatePricingRule
default UpdatePricingRuleResponse updatePricingRule(UpdatePricingRuleRequest updatePricingRuleRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
Updates an existing pricing rule.
- Parameters:
updatePricingRuleRequest-- Returns:
- Result of the UpdatePricingRule operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updatePricingRule
default UpdatePricingRuleResponse updatePricingRule(Consumer<UpdatePricingRuleRequest.Builder> updatePricingRuleRequest) throws ThrottlingException, ConflictException, AccessDeniedException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, BillingconductorException
Updates an existing pricing rule.
This is a convenience which creates an instance of the
UpdatePricingRuleRequest.Builderavoiding the need to create one manually viaUpdatePricingRuleRequest.builder()- Parameters:
updatePricingRuleRequest- AConsumerthat will call methods onUpdatePricingRuleRequest.Builderto create a request.- Returns:
- Result of the UpdatePricingRule operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
create
static BillingconductorClient create()
Create aBillingconductorClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static BillingconductorClientBuilder builder()
Create a builder that can be used to configure and create aBillingconductorClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default BillingconductorServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-