Interface BudgetsClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface BudgetsClient extends AwsClient
Service client for accessing AWSBudgets. This can be created using the staticbuilder()method.Use the Amazon Web Services Budgets API to plan your service usage, service costs, and instance reservations. This API reference provides descriptions, syntax, and usage examples for each of the actions and data types for the Amazon Web Services Budgets feature.
Budgets provide you with a way to see the following information:
-
How close your plan is to your budgeted amount or to the free tier limits
-
Your usage-to-date, including how much you've used of your Reserved Instances (RIs)
-
Your current estimated charges from Amazon Web Services, and how much your predicted usage will accrue in charges by the end of the month
-
How much of your budget has been used
Amazon Web Services updates your budget status several times a day. Budgets track your unblended costs, subscriptions, refunds, and RIs. You can create the following types of budgets:
-
Cost budgets - Plan how much you want to spend on a service.
-
Usage budgets - Plan how much you want to use one or more services.
-
RI utilization budgets - Define a utilization threshold, and receive alerts when your RI usage falls below that threshold. This lets you see if your RIs are unused or under-utilized.
-
RI coverage budgets - Define a coverage threshold, and receive alerts when the number of your instance hours that are covered by RIs fall below that threshold. This lets you see how much of your instance usage is covered by a reservation.
Service Endpoint
The Amazon Web Services Budgets API provides the following endpoint:
-
https://budgets.amazonaws.com
For information about costs that are associated with the Amazon Web Services Budgets API, see Amazon Web Services Cost Management Pricing.
-
-
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
-
createBudget
default CreateBudgetResponse createBudget(CreateBudgetRequest createBudgetRequest) throws InvalidParameterException, InternalErrorException, CreationLimitExceededException, DuplicateRecordException, AccessDeniedException, ThrottlingException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, BudgetsException
Creates a budget and, if included, notifications and subscribers.
Only one of
BudgetLimitorPlannedBudgetLimitscan be present in the syntax at one time. Use the syntax that matches your case. The Request Syntax section shows theBudgetLimitsyntax. ForPlannedBudgetLimits, see the Examples section.- Parameters:
createBudgetRequest- Request of CreateBudget- Returns:
- Result of the CreateBudget operation returned by the service.
- Throws:
InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.InternalErrorException- An error on the server occurred during the processing of your request. Try again later.CreationLimitExceededException- You've exceeded the notification or subscriber limit.DuplicateRecordException- The budget name already exists. Budget names must be unique within an account.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.ServiceQuotaExceededException- You've reached the limit on the number of tags you can associate with a resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createBudget
default CreateBudgetResponse createBudget(Consumer<CreateBudgetRequest.Builder> createBudgetRequest) throws InvalidParameterException, InternalErrorException, CreationLimitExceededException, DuplicateRecordException, AccessDeniedException, ThrottlingException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, BudgetsException
Creates a budget and, if included, notifications and subscribers.
Only one of
BudgetLimitorPlannedBudgetLimitscan be present in the syntax at one time. Use the syntax that matches your case. The Request Syntax section shows theBudgetLimitsyntax. ForPlannedBudgetLimits, see the Examples section.
This is a convenience which creates an instance of the
CreateBudgetRequest.Builderavoiding the need to create one manually viaCreateBudgetRequest.builder()- Parameters:
createBudgetRequest- AConsumerthat will call methods onCreateBudgetRequest.Builderto create a request. Request of CreateBudget- Returns:
- Result of the CreateBudget operation returned by the service.
- Throws:
InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.InternalErrorException- An error on the server occurred during the processing of your request. Try again later.CreationLimitExceededException- You've exceeded the notification or subscriber limit.DuplicateRecordException- The budget name already exists. Budget names must be unique within an account.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.ServiceQuotaExceededException- You've reached the limit on the number of tags you can associate with a resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createBudgetAction
default CreateBudgetActionResponse createBudgetAction(CreateBudgetActionRequest createBudgetActionRequest) throws InvalidParameterException, InternalErrorException, CreationLimitExceededException, DuplicateRecordException, NotFoundException, AccessDeniedException, ThrottlingException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, BudgetsException
Creates a budget action.
- Parameters:
createBudgetActionRequest-- Returns:
- Result of the CreateBudgetAction operation returned by the service.
- Throws:
InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.InternalErrorException- An error on the server occurred during the processing of your request. Try again later.CreationLimitExceededException- You've exceeded the notification or subscriber limit.DuplicateRecordException- The budget name already exists. Budget names must be unique within an account.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.ServiceQuotaExceededException- You've reached the limit on the number of tags you can associate with a resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createBudgetAction
default CreateBudgetActionResponse createBudgetAction(Consumer<CreateBudgetActionRequest.Builder> createBudgetActionRequest) throws InvalidParameterException, InternalErrorException, CreationLimitExceededException, DuplicateRecordException, NotFoundException, AccessDeniedException, ThrottlingException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, BudgetsException
Creates a budget action.
This is a convenience which creates an instance of the
CreateBudgetActionRequest.Builderavoiding the need to create one manually viaCreateBudgetActionRequest.builder()- Parameters:
createBudgetActionRequest- AConsumerthat will call methods onCreateBudgetActionRequest.Builderto create a request.- Returns:
- Result of the CreateBudgetAction operation returned by the service.
- Throws:
InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.InternalErrorException- An error on the server occurred during the processing of your request. Try again later.CreationLimitExceededException- You've exceeded the notification or subscriber limit.DuplicateRecordException- The budget name already exists. Budget names must be unique within an account.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.ServiceQuotaExceededException- You've reached the limit on the number of tags you can associate with a resource.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createNotification
default CreateNotificationResponse createNotification(CreateNotificationRequest createNotificationRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, CreationLimitExceededException, DuplicateRecordException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Creates a notification. You must create the budget before you create the associated notification.
- Parameters:
createNotificationRequest- Request of CreateNotification- Returns:
- Result of the CreateNotification operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.CreationLimitExceededException- You've exceeded the notification or subscriber limit.DuplicateRecordException- The budget name already exists. Budget names must be unique within an account.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createNotification
default CreateNotificationResponse createNotification(Consumer<CreateNotificationRequest.Builder> createNotificationRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, CreationLimitExceededException, DuplicateRecordException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Creates a notification. You must create the budget before you create the associated notification.
This is a convenience which creates an instance of the
CreateNotificationRequest.Builderavoiding the need to create one manually viaCreateNotificationRequest.builder()- Parameters:
createNotificationRequest- AConsumerthat will call methods onCreateNotificationRequest.Builderto create a request. Request of CreateNotification- Returns:
- Result of the CreateNotification operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.CreationLimitExceededException- You've exceeded the notification or subscriber limit.DuplicateRecordException- The budget name already exists. Budget names must be unique within an account.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createSubscriber
default CreateSubscriberResponse createSubscriber(CreateSubscriberRequest createSubscriberRequest) throws InternalErrorException, InvalidParameterException, CreationLimitExceededException, DuplicateRecordException, NotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Creates a subscriber. You must create the associated budget and notification before you create the subscriber.
- Parameters:
createSubscriberRequest- Request of CreateSubscriber- Returns:
- Result of the CreateSubscriber operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.CreationLimitExceededException- You've exceeded the notification or subscriber limit.DuplicateRecordException- The budget name already exists. Budget names must be unique within an account.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
createSubscriber
default CreateSubscriberResponse createSubscriber(Consumer<CreateSubscriberRequest.Builder> createSubscriberRequest) throws InternalErrorException, InvalidParameterException, CreationLimitExceededException, DuplicateRecordException, NotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Creates a subscriber. You must create the associated budget and notification before you create the subscriber.
This is a convenience which creates an instance of the
CreateSubscriberRequest.Builderavoiding the need to create one manually viaCreateSubscriberRequest.builder()- Parameters:
createSubscriberRequest- AConsumerthat will call methods onCreateSubscriberRequest.Builderto create a request. Request of CreateSubscriber- Returns:
- Result of the CreateSubscriber operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.CreationLimitExceededException- You've exceeded the notification or subscriber limit.DuplicateRecordException- The budget name already exists. Budget names must be unique within an account.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteBudget
default DeleteBudgetResponse deleteBudget(DeleteBudgetRequest deleteBudgetRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Deletes a budget. You can delete your budget at any time.
Deleting a budget also deletes the notifications and subscribers that are associated with that budget.
- Parameters:
deleteBudgetRequest- Request of DeleteBudget- Returns:
- Result of the DeleteBudget operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteBudget
default DeleteBudgetResponse deleteBudget(Consumer<DeleteBudgetRequest.Builder> deleteBudgetRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Deletes a budget. You can delete your budget at any time.
Deleting a budget also deletes the notifications and subscribers that are associated with that budget.
This is a convenience which creates an instance of the
DeleteBudgetRequest.Builderavoiding the need to create one manually viaDeleteBudgetRequest.builder()- Parameters:
deleteBudgetRequest- AConsumerthat will call methods onDeleteBudgetRequest.Builderto create a request. Request of DeleteBudget- Returns:
- Result of the DeleteBudget operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteBudgetAction
default DeleteBudgetActionResponse deleteBudgetAction(DeleteBudgetActionRequest deleteBudgetActionRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, AccessDeniedException, ResourceLockedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Deletes a budget action.
- Parameters:
deleteBudgetActionRequest-- Returns:
- Result of the DeleteBudgetAction operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.ResourceLockedException- The request was received and recognized by the server, but the server rejected that particular method for the requested resource.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteBudgetAction
default DeleteBudgetActionResponse deleteBudgetAction(Consumer<DeleteBudgetActionRequest.Builder> deleteBudgetActionRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, AccessDeniedException, ResourceLockedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Deletes a budget action.
This is a convenience which creates an instance of the
DeleteBudgetActionRequest.Builderavoiding the need to create one manually viaDeleteBudgetActionRequest.builder()- Parameters:
deleteBudgetActionRequest- AConsumerthat will call methods onDeleteBudgetActionRequest.Builderto create a request.- Returns:
- Result of the DeleteBudgetAction operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.ResourceLockedException- The request was received and recognized by the server, but the server rejected that particular method for the requested resource.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteNotification
default DeleteNotificationResponse deleteNotification(DeleteNotificationRequest deleteNotificationRequest) throws InvalidParameterException, InternalErrorException, NotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Deletes a notification.
Deleting a notification also deletes the subscribers that are associated with the notification.
- Parameters:
deleteNotificationRequest- Request of DeleteNotification- Returns:
- Result of the DeleteNotification operation returned by the service.
- Throws:
InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.InternalErrorException- An error on the server occurred during the processing of your request. Try again later.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteNotification
default DeleteNotificationResponse deleteNotification(Consumer<DeleteNotificationRequest.Builder> deleteNotificationRequest) throws InvalidParameterException, InternalErrorException, NotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Deletes a notification.
Deleting a notification also deletes the subscribers that are associated with the notification.
This is a convenience which creates an instance of the
DeleteNotificationRequest.Builderavoiding the need to create one manually viaDeleteNotificationRequest.builder()- Parameters:
deleteNotificationRequest- AConsumerthat will call methods onDeleteNotificationRequest.Builderto create a request. Request of DeleteNotification- Returns:
- Result of the DeleteNotification operation returned by the service.
- Throws:
InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.InternalErrorException- An error on the server occurred during the processing of your request. Try again later.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteSubscriber
default DeleteSubscriberResponse deleteSubscriber(DeleteSubscriberRequest deleteSubscriberRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Deletes a subscriber.
Deleting the last subscriber to a notification also deletes the notification.
- Parameters:
deleteSubscriberRequest- Request of DeleteSubscriber- Returns:
- Result of the DeleteSubscriber operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
deleteSubscriber
default DeleteSubscriberResponse deleteSubscriber(Consumer<DeleteSubscriberRequest.Builder> deleteSubscriberRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Deletes a subscriber.
Deleting the last subscriber to a notification also deletes the notification.
This is a convenience which creates an instance of the
DeleteSubscriberRequest.Builderavoiding the need to create one manually viaDeleteSubscriberRequest.builder()- Parameters:
deleteSubscriberRequest- AConsumerthat will call methods onDeleteSubscriberRequest.Builderto create a request. Request of DeleteSubscriber- Returns:
- Result of the DeleteSubscriber operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudget
default DescribeBudgetResponse describeBudget(DescribeBudgetRequest describeBudgetRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Describes a budget.
The Request Syntax section shows the
BudgetLimitsyntax. ForPlannedBudgetLimits, see the Examples section.- Parameters:
describeBudgetRequest- Request of DescribeBudget- Returns:
- Result of the DescribeBudget operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudget
default DescribeBudgetResponse describeBudget(Consumer<DescribeBudgetRequest.Builder> describeBudgetRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Describes a budget.
The Request Syntax section shows the
BudgetLimitsyntax. ForPlannedBudgetLimits, see the Examples section.
This is a convenience which creates an instance of the
DescribeBudgetRequest.Builderavoiding the need to create one manually viaDescribeBudgetRequest.builder()- Parameters:
describeBudgetRequest- AConsumerthat will call methods onDescribeBudgetRequest.Builderto create a request. Request of DescribeBudget- Returns:
- Result of the DescribeBudget operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudgetAction
default DescribeBudgetActionResponse describeBudgetAction(DescribeBudgetActionRequest describeBudgetActionRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Describes a budget action detail.
- Parameters:
describeBudgetActionRequest-- Returns:
- Result of the DescribeBudgetAction operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudgetAction
default DescribeBudgetActionResponse describeBudgetAction(Consumer<DescribeBudgetActionRequest.Builder> describeBudgetActionRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Describes a budget action detail.
This is a convenience which creates an instance of the
DescribeBudgetActionRequest.Builderavoiding the need to create one manually viaDescribeBudgetActionRequest.builder()- Parameters:
describeBudgetActionRequest- AConsumerthat will call methods onDescribeBudgetActionRequest.Builderto create a request.- Returns:
- Result of the DescribeBudgetAction operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudgetActionHistories
default DescribeBudgetActionHistoriesResponse describeBudgetActionHistories(DescribeBudgetActionHistoriesRequest describeBudgetActionHistoriesRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, AccessDeniedException, InvalidNextTokenException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Describes a budget action history detail.
- Parameters:
describeBudgetActionHistoriesRequest-- Returns:
- Result of the DescribeBudgetActionHistories operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.InvalidNextTokenException- The pagination token is invalid.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudgetActionHistories
default DescribeBudgetActionHistoriesResponse describeBudgetActionHistories(Consumer<DescribeBudgetActionHistoriesRequest.Builder> describeBudgetActionHistoriesRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, AccessDeniedException, InvalidNextTokenException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Describes a budget action history detail.
This is a convenience which creates an instance of the
DescribeBudgetActionHistoriesRequest.Builderavoiding the need to create one manually viaDescribeBudgetActionHistoriesRequest.builder()- Parameters:
describeBudgetActionHistoriesRequest- AConsumerthat will call methods onDescribeBudgetActionHistoriesRequest.Builderto create a request.- Returns:
- Result of the DescribeBudgetActionHistories operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.InvalidNextTokenException- The pagination token is invalid.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudgetActionHistoriesPaginator
default DescribeBudgetActionHistoriesIterable describeBudgetActionHistoriesPaginator(DescribeBudgetActionHistoriesRequest describeBudgetActionHistoriesRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, AccessDeniedException, InvalidNextTokenException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
This is a variant of
describeBudgetActionHistories(software.amazon.awssdk.services.budgets.model.DescribeBudgetActionHistoriesRequest)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.budgets.paginators.DescribeBudgetActionHistoriesIterable responses = client.describeBudgetActionHistoriesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.budgets.paginators.DescribeBudgetActionHistoriesIterable responses = client .describeBudgetActionHistoriesPaginator(request); for (software.amazon.awssdk.services.budgets.model.DescribeBudgetActionHistoriesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.budgets.paginators.DescribeBudgetActionHistoriesIterable responses = client.describeBudgetActionHistoriesPaginator(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
describeBudgetActionHistories(software.amazon.awssdk.services.budgets.model.DescribeBudgetActionHistoriesRequest)operation.- Parameters:
describeBudgetActionHistoriesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.InvalidNextTokenException- The pagination token is invalid.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudgetActionHistoriesPaginator
default DescribeBudgetActionHistoriesIterable describeBudgetActionHistoriesPaginator(Consumer<DescribeBudgetActionHistoriesRequest.Builder> describeBudgetActionHistoriesRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, AccessDeniedException, InvalidNextTokenException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
This is a variant of
describeBudgetActionHistories(software.amazon.awssdk.services.budgets.model.DescribeBudgetActionHistoriesRequest)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.budgets.paginators.DescribeBudgetActionHistoriesIterable responses = client.describeBudgetActionHistoriesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.budgets.paginators.DescribeBudgetActionHistoriesIterable responses = client .describeBudgetActionHistoriesPaginator(request); for (software.amazon.awssdk.services.budgets.model.DescribeBudgetActionHistoriesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.budgets.paginators.DescribeBudgetActionHistoriesIterable responses = client.describeBudgetActionHistoriesPaginator(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
describeBudgetActionHistories(software.amazon.awssdk.services.budgets.model.DescribeBudgetActionHistoriesRequest)operation.
This is a convenience which creates an instance of the
DescribeBudgetActionHistoriesRequest.Builderavoiding the need to create one manually viaDescribeBudgetActionHistoriesRequest.builder()- Parameters:
describeBudgetActionHistoriesRequest- AConsumerthat will call methods onDescribeBudgetActionHistoriesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.InvalidNextTokenException- The pagination token is invalid.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudgetActionsForAccount
default DescribeBudgetActionsForAccountResponse describeBudgetActionsForAccount(DescribeBudgetActionsForAccountRequest describeBudgetActionsForAccountRequest) throws InternalErrorException, InvalidParameterException, AccessDeniedException, InvalidNextTokenException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Describes all of the budget actions for an account.
- Parameters:
describeBudgetActionsForAccountRequest-- Returns:
- Result of the DescribeBudgetActionsForAccount operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.AccessDeniedException- You are not authorized to use this operation with the given parameters.InvalidNextTokenException- The pagination token is invalid.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudgetActionsForAccount
default DescribeBudgetActionsForAccountResponse describeBudgetActionsForAccount(Consumer<DescribeBudgetActionsForAccountRequest.Builder> describeBudgetActionsForAccountRequest) throws InternalErrorException, InvalidParameterException, AccessDeniedException, InvalidNextTokenException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Describes all of the budget actions for an account.
This is a convenience which creates an instance of the
DescribeBudgetActionsForAccountRequest.Builderavoiding the need to create one manually viaDescribeBudgetActionsForAccountRequest.builder()- Parameters:
describeBudgetActionsForAccountRequest- AConsumerthat will call methods onDescribeBudgetActionsForAccountRequest.Builderto create a request.- Returns:
- Result of the DescribeBudgetActionsForAccount operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.AccessDeniedException- You are not authorized to use this operation with the given parameters.InvalidNextTokenException- The pagination token is invalid.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudgetActionsForAccountPaginator
default DescribeBudgetActionsForAccountIterable describeBudgetActionsForAccountPaginator(DescribeBudgetActionsForAccountRequest describeBudgetActionsForAccountRequest) throws InternalErrorException, InvalidParameterException, AccessDeniedException, InvalidNextTokenException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
This is a variant of
describeBudgetActionsForAccount(software.amazon.awssdk.services.budgets.model.DescribeBudgetActionsForAccountRequest)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.budgets.paginators.DescribeBudgetActionsForAccountIterable responses = client.describeBudgetActionsForAccountPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.budgets.paginators.DescribeBudgetActionsForAccountIterable responses = client .describeBudgetActionsForAccountPaginator(request); for (software.amazon.awssdk.services.budgets.model.DescribeBudgetActionsForAccountResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.budgets.paginators.DescribeBudgetActionsForAccountIterable responses = client.describeBudgetActionsForAccountPaginator(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
describeBudgetActionsForAccount(software.amazon.awssdk.services.budgets.model.DescribeBudgetActionsForAccountRequest)operation.- Parameters:
describeBudgetActionsForAccountRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.AccessDeniedException- You are not authorized to use this operation with the given parameters.InvalidNextTokenException- The pagination token is invalid.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudgetActionsForAccountPaginator
default DescribeBudgetActionsForAccountIterable describeBudgetActionsForAccountPaginator(Consumer<DescribeBudgetActionsForAccountRequest.Builder> describeBudgetActionsForAccountRequest) throws InternalErrorException, InvalidParameterException, AccessDeniedException, InvalidNextTokenException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
This is a variant of
describeBudgetActionsForAccount(software.amazon.awssdk.services.budgets.model.DescribeBudgetActionsForAccountRequest)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.budgets.paginators.DescribeBudgetActionsForAccountIterable responses = client.describeBudgetActionsForAccountPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.budgets.paginators.DescribeBudgetActionsForAccountIterable responses = client .describeBudgetActionsForAccountPaginator(request); for (software.amazon.awssdk.services.budgets.model.DescribeBudgetActionsForAccountResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.budgets.paginators.DescribeBudgetActionsForAccountIterable responses = client.describeBudgetActionsForAccountPaginator(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
describeBudgetActionsForAccount(software.amazon.awssdk.services.budgets.model.DescribeBudgetActionsForAccountRequest)operation.
This is a convenience which creates an instance of the
DescribeBudgetActionsForAccountRequest.Builderavoiding the need to create one manually viaDescribeBudgetActionsForAccountRequest.builder()- Parameters:
describeBudgetActionsForAccountRequest- AConsumerthat will call methods onDescribeBudgetActionsForAccountRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.AccessDeniedException- You are not authorized to use this operation with the given parameters.InvalidNextTokenException- The pagination token is invalid.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudgetActionsForBudget
default DescribeBudgetActionsForBudgetResponse describeBudgetActionsForBudget(DescribeBudgetActionsForBudgetRequest describeBudgetActionsForBudgetRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, AccessDeniedException, InvalidNextTokenException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Describes all of the budget actions for a budget.
- Parameters:
describeBudgetActionsForBudgetRequest-- Returns:
- Result of the DescribeBudgetActionsForBudget operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.InvalidNextTokenException- The pagination token is invalid.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudgetActionsForBudget
default DescribeBudgetActionsForBudgetResponse describeBudgetActionsForBudget(Consumer<DescribeBudgetActionsForBudgetRequest.Builder> describeBudgetActionsForBudgetRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, AccessDeniedException, InvalidNextTokenException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Describes all of the budget actions for a budget.
This is a convenience which creates an instance of the
DescribeBudgetActionsForBudgetRequest.Builderavoiding the need to create one manually viaDescribeBudgetActionsForBudgetRequest.builder()- Parameters:
describeBudgetActionsForBudgetRequest- AConsumerthat will call methods onDescribeBudgetActionsForBudgetRequest.Builderto create a request.- Returns:
- Result of the DescribeBudgetActionsForBudget operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.InvalidNextTokenException- The pagination token is invalid.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudgetActionsForBudgetPaginator
default DescribeBudgetActionsForBudgetIterable describeBudgetActionsForBudgetPaginator(DescribeBudgetActionsForBudgetRequest describeBudgetActionsForBudgetRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, AccessDeniedException, InvalidNextTokenException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
This is a variant of
describeBudgetActionsForBudget(software.amazon.awssdk.services.budgets.model.DescribeBudgetActionsForBudgetRequest)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.budgets.paginators.DescribeBudgetActionsForBudgetIterable responses = client.describeBudgetActionsForBudgetPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.budgets.paginators.DescribeBudgetActionsForBudgetIterable responses = client .describeBudgetActionsForBudgetPaginator(request); for (software.amazon.awssdk.services.budgets.model.DescribeBudgetActionsForBudgetResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.budgets.paginators.DescribeBudgetActionsForBudgetIterable responses = client.describeBudgetActionsForBudgetPaginator(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
describeBudgetActionsForBudget(software.amazon.awssdk.services.budgets.model.DescribeBudgetActionsForBudgetRequest)operation.- Parameters:
describeBudgetActionsForBudgetRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.InvalidNextTokenException- The pagination token is invalid.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudgetActionsForBudgetPaginator
default DescribeBudgetActionsForBudgetIterable describeBudgetActionsForBudgetPaginator(Consumer<DescribeBudgetActionsForBudgetRequest.Builder> describeBudgetActionsForBudgetRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, AccessDeniedException, InvalidNextTokenException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
This is a variant of
describeBudgetActionsForBudget(software.amazon.awssdk.services.budgets.model.DescribeBudgetActionsForBudgetRequest)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.budgets.paginators.DescribeBudgetActionsForBudgetIterable responses = client.describeBudgetActionsForBudgetPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.budgets.paginators.DescribeBudgetActionsForBudgetIterable responses = client .describeBudgetActionsForBudgetPaginator(request); for (software.amazon.awssdk.services.budgets.model.DescribeBudgetActionsForBudgetResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.budgets.paginators.DescribeBudgetActionsForBudgetIterable responses = client.describeBudgetActionsForBudgetPaginator(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
describeBudgetActionsForBudget(software.amazon.awssdk.services.budgets.model.DescribeBudgetActionsForBudgetRequest)operation.
This is a convenience which creates an instance of the
DescribeBudgetActionsForBudgetRequest.Builderavoiding the need to create one manually viaDescribeBudgetActionsForBudgetRequest.builder()- Parameters:
describeBudgetActionsForBudgetRequest- AConsumerthat will call methods onDescribeBudgetActionsForBudgetRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.InvalidNextTokenException- The pagination token is invalid.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudgetNotificationsForAccount
default DescribeBudgetNotificationsForAccountResponse describeBudgetNotificationsForAccount(DescribeBudgetNotificationsForAccountRequest describeBudgetNotificationsForAccountRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, InvalidNextTokenException, ExpiredNextTokenException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Lists the budget names and notifications that are associated with an account.
- Parameters:
describeBudgetNotificationsForAccountRequest-- Returns:
- Result of the DescribeBudgetNotificationsForAccount operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.InvalidNextTokenException- The pagination token is invalid.ExpiredNextTokenException- The pagination token expired.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudgetNotificationsForAccount
default DescribeBudgetNotificationsForAccountResponse describeBudgetNotificationsForAccount(Consumer<DescribeBudgetNotificationsForAccountRequest.Builder> describeBudgetNotificationsForAccountRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, InvalidNextTokenException, ExpiredNextTokenException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Lists the budget names and notifications that are associated with an account.
This is a convenience which creates an instance of the
DescribeBudgetNotificationsForAccountRequest.Builderavoiding the need to create one manually viaDescribeBudgetNotificationsForAccountRequest.builder()- Parameters:
describeBudgetNotificationsForAccountRequest- AConsumerthat will call methods onDescribeBudgetNotificationsForAccountRequest.Builderto create a request.- Returns:
- Result of the DescribeBudgetNotificationsForAccount operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.InvalidNextTokenException- The pagination token is invalid.ExpiredNextTokenException- The pagination token expired.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudgetNotificationsForAccountPaginator
default DescribeBudgetNotificationsForAccountIterable describeBudgetNotificationsForAccountPaginator(DescribeBudgetNotificationsForAccountRequest describeBudgetNotificationsForAccountRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, InvalidNextTokenException, ExpiredNextTokenException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
This is a variant of
describeBudgetNotificationsForAccount(software.amazon.awssdk.services.budgets.model.DescribeBudgetNotificationsForAccountRequest)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.budgets.paginators.DescribeBudgetNotificationsForAccountIterable responses = client.describeBudgetNotificationsForAccountPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.budgets.paginators.DescribeBudgetNotificationsForAccountIterable responses = client .describeBudgetNotificationsForAccountPaginator(request); for (software.amazon.awssdk.services.budgets.model.DescribeBudgetNotificationsForAccountResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.budgets.paginators.DescribeBudgetNotificationsForAccountIterable responses = client.describeBudgetNotificationsForAccountPaginator(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
describeBudgetNotificationsForAccount(software.amazon.awssdk.services.budgets.model.DescribeBudgetNotificationsForAccountRequest)operation.- Parameters:
describeBudgetNotificationsForAccountRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.InvalidNextTokenException- The pagination token is invalid.ExpiredNextTokenException- The pagination token expired.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudgetNotificationsForAccountPaginator
default DescribeBudgetNotificationsForAccountIterable describeBudgetNotificationsForAccountPaginator(Consumer<DescribeBudgetNotificationsForAccountRequest.Builder> describeBudgetNotificationsForAccountRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, InvalidNextTokenException, ExpiredNextTokenException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
This is a variant of
describeBudgetNotificationsForAccount(software.amazon.awssdk.services.budgets.model.DescribeBudgetNotificationsForAccountRequest)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.budgets.paginators.DescribeBudgetNotificationsForAccountIterable responses = client.describeBudgetNotificationsForAccountPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.budgets.paginators.DescribeBudgetNotificationsForAccountIterable responses = client .describeBudgetNotificationsForAccountPaginator(request); for (software.amazon.awssdk.services.budgets.model.DescribeBudgetNotificationsForAccountResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.budgets.paginators.DescribeBudgetNotificationsForAccountIterable responses = client.describeBudgetNotificationsForAccountPaginator(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
describeBudgetNotificationsForAccount(software.amazon.awssdk.services.budgets.model.DescribeBudgetNotificationsForAccountRequest)operation.
This is a convenience which creates an instance of the
DescribeBudgetNotificationsForAccountRequest.Builderavoiding the need to create one manually viaDescribeBudgetNotificationsForAccountRequest.builder()- Parameters:
describeBudgetNotificationsForAccountRequest- AConsumerthat will call methods onDescribeBudgetNotificationsForAccountRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.InvalidNextTokenException- The pagination token is invalid.ExpiredNextTokenException- The pagination token expired.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudgetPerformanceHistory
default DescribeBudgetPerformanceHistoryResponse describeBudgetPerformanceHistory(DescribeBudgetPerformanceHistoryRequest describeBudgetPerformanceHistoryRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, InvalidNextTokenException, ExpiredNextTokenException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Describes the history for
DAILY,MONTHLY, andQUARTERLYbudgets. Budget history isn't available forANNUALbudgets.- Parameters:
describeBudgetPerformanceHistoryRequest-- Returns:
- Result of the DescribeBudgetPerformanceHistory operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.InvalidNextTokenException- The pagination token is invalid.ExpiredNextTokenException- The pagination token expired.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudgetPerformanceHistory
default DescribeBudgetPerformanceHistoryResponse describeBudgetPerformanceHistory(Consumer<DescribeBudgetPerformanceHistoryRequest.Builder> describeBudgetPerformanceHistoryRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, InvalidNextTokenException, ExpiredNextTokenException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Describes the history for
DAILY,MONTHLY, andQUARTERLYbudgets. Budget history isn't available forANNUALbudgets.
This is a convenience which creates an instance of the
DescribeBudgetPerformanceHistoryRequest.Builderavoiding the need to create one manually viaDescribeBudgetPerformanceHistoryRequest.builder()- Parameters:
describeBudgetPerformanceHistoryRequest- AConsumerthat will call methods onDescribeBudgetPerformanceHistoryRequest.Builderto create a request.- Returns:
- Result of the DescribeBudgetPerformanceHistory operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.InvalidNextTokenException- The pagination token is invalid.ExpiredNextTokenException- The pagination token expired.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudgetPerformanceHistoryPaginator
default DescribeBudgetPerformanceHistoryIterable describeBudgetPerformanceHistoryPaginator(DescribeBudgetPerformanceHistoryRequest describeBudgetPerformanceHistoryRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, InvalidNextTokenException, ExpiredNextTokenException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
This is a variant of
describeBudgetPerformanceHistory(software.amazon.awssdk.services.budgets.model.DescribeBudgetPerformanceHistoryRequest)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.budgets.paginators.DescribeBudgetPerformanceHistoryIterable responses = client.describeBudgetPerformanceHistoryPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.budgets.paginators.DescribeBudgetPerformanceHistoryIterable responses = client .describeBudgetPerformanceHistoryPaginator(request); for (software.amazon.awssdk.services.budgets.model.DescribeBudgetPerformanceHistoryResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.budgets.paginators.DescribeBudgetPerformanceHistoryIterable responses = client.describeBudgetPerformanceHistoryPaginator(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
describeBudgetPerformanceHistory(software.amazon.awssdk.services.budgets.model.DescribeBudgetPerformanceHistoryRequest)operation.- Parameters:
describeBudgetPerformanceHistoryRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.InvalidNextTokenException- The pagination token is invalid.ExpiredNextTokenException- The pagination token expired.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudgetPerformanceHistoryPaginator
default DescribeBudgetPerformanceHistoryIterable describeBudgetPerformanceHistoryPaginator(Consumer<DescribeBudgetPerformanceHistoryRequest.Builder> describeBudgetPerformanceHistoryRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, InvalidNextTokenException, ExpiredNextTokenException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
This is a variant of
describeBudgetPerformanceHistory(software.amazon.awssdk.services.budgets.model.DescribeBudgetPerformanceHistoryRequest)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.budgets.paginators.DescribeBudgetPerformanceHistoryIterable responses = client.describeBudgetPerformanceHistoryPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.budgets.paginators.DescribeBudgetPerformanceHistoryIterable responses = client .describeBudgetPerformanceHistoryPaginator(request); for (software.amazon.awssdk.services.budgets.model.DescribeBudgetPerformanceHistoryResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.budgets.paginators.DescribeBudgetPerformanceHistoryIterable responses = client.describeBudgetPerformanceHistoryPaginator(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
describeBudgetPerformanceHistory(software.amazon.awssdk.services.budgets.model.DescribeBudgetPerformanceHistoryRequest)operation.
This is a convenience which creates an instance of the
DescribeBudgetPerformanceHistoryRequest.Builderavoiding the need to create one manually viaDescribeBudgetPerformanceHistoryRequest.builder()- Parameters:
describeBudgetPerformanceHistoryRequest- AConsumerthat will call methods onDescribeBudgetPerformanceHistoryRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.InvalidNextTokenException- The pagination token is invalid.ExpiredNextTokenException- The pagination token expired.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudgets
default DescribeBudgetsResponse describeBudgets(DescribeBudgetsRequest describeBudgetsRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, InvalidNextTokenException, ExpiredNextTokenException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Lists the budgets that are associated with an account.
The Request Syntax section shows the
BudgetLimitsyntax. ForPlannedBudgetLimits, see the Examples section.- Parameters:
describeBudgetsRequest- Request of DescribeBudgets- Returns:
- Result of the DescribeBudgets operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.InvalidNextTokenException- The pagination token is invalid.ExpiredNextTokenException- The pagination token expired.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudgets
default DescribeBudgetsResponse describeBudgets(Consumer<DescribeBudgetsRequest.Builder> describeBudgetsRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, InvalidNextTokenException, ExpiredNextTokenException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Lists the budgets that are associated with an account.
The Request Syntax section shows the
BudgetLimitsyntax. ForPlannedBudgetLimits, see the Examples section.
This is a convenience which creates an instance of the
DescribeBudgetsRequest.Builderavoiding the need to create one manually viaDescribeBudgetsRequest.builder()- Parameters:
describeBudgetsRequest- AConsumerthat will call methods onDescribeBudgetsRequest.Builderto create a request. Request of DescribeBudgets- Returns:
- Result of the DescribeBudgets operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.InvalidNextTokenException- The pagination token is invalid.ExpiredNextTokenException- The pagination token expired.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudgetsPaginator
default DescribeBudgetsIterable describeBudgetsPaginator(DescribeBudgetsRequest describeBudgetsRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, InvalidNextTokenException, ExpiredNextTokenException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
This is a variant of
describeBudgets(software.amazon.awssdk.services.budgets.model.DescribeBudgetsRequest)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.budgets.paginators.DescribeBudgetsIterable responses = client.describeBudgetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.budgets.paginators.DescribeBudgetsIterable responses = client .describeBudgetsPaginator(request); for (software.amazon.awssdk.services.budgets.model.DescribeBudgetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.budgets.paginators.DescribeBudgetsIterable responses = client.describeBudgetsPaginator(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
describeBudgets(software.amazon.awssdk.services.budgets.model.DescribeBudgetsRequest)operation.- Parameters:
describeBudgetsRequest- Request of DescribeBudgets- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.InvalidNextTokenException- The pagination token is invalid.ExpiredNextTokenException- The pagination token expired.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeBudgetsPaginator
default DescribeBudgetsIterable describeBudgetsPaginator(Consumer<DescribeBudgetsRequest.Builder> describeBudgetsRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, InvalidNextTokenException, ExpiredNextTokenException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
This is a variant of
describeBudgets(software.amazon.awssdk.services.budgets.model.DescribeBudgetsRequest)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.budgets.paginators.DescribeBudgetsIterable responses = client.describeBudgetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.budgets.paginators.DescribeBudgetsIterable responses = client .describeBudgetsPaginator(request); for (software.amazon.awssdk.services.budgets.model.DescribeBudgetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.budgets.paginators.DescribeBudgetsIterable responses = client.describeBudgetsPaginator(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
describeBudgets(software.amazon.awssdk.services.budgets.model.DescribeBudgetsRequest)operation.
This is a convenience which creates an instance of the
DescribeBudgetsRequest.Builderavoiding the need to create one manually viaDescribeBudgetsRequest.builder()- Parameters:
describeBudgetsRequest- AConsumerthat will call methods onDescribeBudgetsRequest.Builderto create a request. Request of DescribeBudgets- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.InvalidNextTokenException- The pagination token is invalid.ExpiredNextTokenException- The pagination token expired.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeNotificationsForBudget
default DescribeNotificationsForBudgetResponse describeNotificationsForBudget(DescribeNotificationsForBudgetRequest describeNotificationsForBudgetRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, InvalidNextTokenException, ExpiredNextTokenException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Lists the notifications that are associated with a budget.
- Parameters:
describeNotificationsForBudgetRequest- Request of DescribeNotificationsForBudget- Returns:
- Result of the DescribeNotificationsForBudget operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.InvalidNextTokenException- The pagination token is invalid.ExpiredNextTokenException- The pagination token expired.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeNotificationsForBudget
default DescribeNotificationsForBudgetResponse describeNotificationsForBudget(Consumer<DescribeNotificationsForBudgetRequest.Builder> describeNotificationsForBudgetRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, InvalidNextTokenException, ExpiredNextTokenException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Lists the notifications that are associated with a budget.
This is a convenience which creates an instance of the
DescribeNotificationsForBudgetRequest.Builderavoiding the need to create one manually viaDescribeNotificationsForBudgetRequest.builder()- Parameters:
describeNotificationsForBudgetRequest- AConsumerthat will call methods onDescribeNotificationsForBudgetRequest.Builderto create a request. Request of DescribeNotificationsForBudget- Returns:
- Result of the DescribeNotificationsForBudget operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.InvalidNextTokenException- The pagination token is invalid.ExpiredNextTokenException- The pagination token expired.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeNotificationsForBudgetPaginator
default DescribeNotificationsForBudgetIterable describeNotificationsForBudgetPaginator(DescribeNotificationsForBudgetRequest describeNotificationsForBudgetRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, InvalidNextTokenException, ExpiredNextTokenException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
This is a variant of
describeNotificationsForBudget(software.amazon.awssdk.services.budgets.model.DescribeNotificationsForBudgetRequest)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.budgets.paginators.DescribeNotificationsForBudgetIterable responses = client.describeNotificationsForBudgetPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.budgets.paginators.DescribeNotificationsForBudgetIterable responses = client .describeNotificationsForBudgetPaginator(request); for (software.amazon.awssdk.services.budgets.model.DescribeNotificationsForBudgetResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.budgets.paginators.DescribeNotificationsForBudgetIterable responses = client.describeNotificationsForBudgetPaginator(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
describeNotificationsForBudget(software.amazon.awssdk.services.budgets.model.DescribeNotificationsForBudgetRequest)operation.- Parameters:
describeNotificationsForBudgetRequest- Request of DescribeNotificationsForBudget- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.InvalidNextTokenException- The pagination token is invalid.ExpiredNextTokenException- The pagination token expired.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeNotificationsForBudgetPaginator
default DescribeNotificationsForBudgetIterable describeNotificationsForBudgetPaginator(Consumer<DescribeNotificationsForBudgetRequest.Builder> describeNotificationsForBudgetRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, InvalidNextTokenException, ExpiredNextTokenException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
This is a variant of
describeNotificationsForBudget(software.amazon.awssdk.services.budgets.model.DescribeNotificationsForBudgetRequest)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.budgets.paginators.DescribeNotificationsForBudgetIterable responses = client.describeNotificationsForBudgetPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.budgets.paginators.DescribeNotificationsForBudgetIterable responses = client .describeNotificationsForBudgetPaginator(request); for (software.amazon.awssdk.services.budgets.model.DescribeNotificationsForBudgetResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.budgets.paginators.DescribeNotificationsForBudgetIterable responses = client.describeNotificationsForBudgetPaginator(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
describeNotificationsForBudget(software.amazon.awssdk.services.budgets.model.DescribeNotificationsForBudgetRequest)operation.
This is a convenience which creates an instance of the
DescribeNotificationsForBudgetRequest.Builderavoiding the need to create one manually viaDescribeNotificationsForBudgetRequest.builder()- Parameters:
describeNotificationsForBudgetRequest- AConsumerthat will call methods onDescribeNotificationsForBudgetRequest.Builderto create a request. Request of DescribeNotificationsForBudget- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.InvalidNextTokenException- The pagination token is invalid.ExpiredNextTokenException- The pagination token expired.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeSubscribersForNotification
default DescribeSubscribersForNotificationResponse describeSubscribersForNotification(DescribeSubscribersForNotificationRequest describeSubscribersForNotificationRequest) throws InternalErrorException, NotFoundException, InvalidParameterException, InvalidNextTokenException, ExpiredNextTokenException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Lists the subscribers that are associated with a notification.
- Parameters:
describeSubscribersForNotificationRequest- Request of DescribeSubscribersForNotification- Returns:
- Result of the DescribeSubscribersForNotification operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.NotFoundException- We can’t locate the resource that you specified.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.InvalidNextTokenException- The pagination token is invalid.ExpiredNextTokenException- The pagination token expired.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeSubscribersForNotification
default DescribeSubscribersForNotificationResponse describeSubscribersForNotification(Consumer<DescribeSubscribersForNotificationRequest.Builder> describeSubscribersForNotificationRequest) throws InternalErrorException, NotFoundException, InvalidParameterException, InvalidNextTokenException, ExpiredNextTokenException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Lists the subscribers that are associated with a notification.
This is a convenience which creates an instance of the
DescribeSubscribersForNotificationRequest.Builderavoiding the need to create one manually viaDescribeSubscribersForNotificationRequest.builder()- Parameters:
describeSubscribersForNotificationRequest- AConsumerthat will call methods onDescribeSubscribersForNotificationRequest.Builderto create a request. Request of DescribeSubscribersForNotification- Returns:
- Result of the DescribeSubscribersForNotification operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.NotFoundException- We can’t locate the resource that you specified.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.InvalidNextTokenException- The pagination token is invalid.ExpiredNextTokenException- The pagination token expired.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeSubscribersForNotificationPaginator
default DescribeSubscribersForNotificationIterable describeSubscribersForNotificationPaginator(DescribeSubscribersForNotificationRequest describeSubscribersForNotificationRequest) throws InternalErrorException, NotFoundException, InvalidParameterException, InvalidNextTokenException, ExpiredNextTokenException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
This is a variant of
describeSubscribersForNotification(software.amazon.awssdk.services.budgets.model.DescribeSubscribersForNotificationRequest)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.budgets.paginators.DescribeSubscribersForNotificationIterable responses = client.describeSubscribersForNotificationPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.budgets.paginators.DescribeSubscribersForNotificationIterable responses = client .describeSubscribersForNotificationPaginator(request); for (software.amazon.awssdk.services.budgets.model.DescribeSubscribersForNotificationResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.budgets.paginators.DescribeSubscribersForNotificationIterable responses = client.describeSubscribersForNotificationPaginator(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
describeSubscribersForNotification(software.amazon.awssdk.services.budgets.model.DescribeSubscribersForNotificationRequest)operation.- Parameters:
describeSubscribersForNotificationRequest- Request of DescribeSubscribersForNotification- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.NotFoundException- We can’t locate the resource that you specified.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.InvalidNextTokenException- The pagination token is invalid.ExpiredNextTokenException- The pagination token expired.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
describeSubscribersForNotificationPaginator
default DescribeSubscribersForNotificationIterable describeSubscribersForNotificationPaginator(Consumer<DescribeSubscribersForNotificationRequest.Builder> describeSubscribersForNotificationRequest) throws InternalErrorException, NotFoundException, InvalidParameterException, InvalidNextTokenException, ExpiredNextTokenException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
This is a variant of
describeSubscribersForNotification(software.amazon.awssdk.services.budgets.model.DescribeSubscribersForNotificationRequest)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.budgets.paginators.DescribeSubscribersForNotificationIterable responses = client.describeSubscribersForNotificationPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.budgets.paginators.DescribeSubscribersForNotificationIterable responses = client .describeSubscribersForNotificationPaginator(request); for (software.amazon.awssdk.services.budgets.model.DescribeSubscribersForNotificationResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.budgets.paginators.DescribeSubscribersForNotificationIterable responses = client.describeSubscribersForNotificationPaginator(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
describeSubscribersForNotification(software.amazon.awssdk.services.budgets.model.DescribeSubscribersForNotificationRequest)operation.
This is a convenience which creates an instance of the
DescribeSubscribersForNotificationRequest.Builderavoiding the need to create one manually viaDescribeSubscribersForNotificationRequest.builder()- Parameters:
describeSubscribersForNotificationRequest- AConsumerthat will call methods onDescribeSubscribersForNotificationRequest.Builderto create a request. Request of DescribeSubscribersForNotification- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.NotFoundException- We can’t locate the resource that you specified.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.InvalidNextTokenException- The pagination token is invalid.ExpiredNextTokenException- The pagination token expired.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
executeBudgetAction
default ExecuteBudgetActionResponse executeBudgetAction(ExecuteBudgetActionRequest executeBudgetActionRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, AccessDeniedException, ResourceLockedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Executes a budget action.
- Parameters:
executeBudgetActionRequest-- Returns:
- Result of the ExecuteBudgetAction operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.ResourceLockedException- The request was received and recognized by the server, but the server rejected that particular method for the requested resource.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
executeBudgetAction
default ExecuteBudgetActionResponse executeBudgetAction(Consumer<ExecuteBudgetActionRequest.Builder> executeBudgetActionRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, AccessDeniedException, ResourceLockedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Executes a budget action.
This is a convenience which creates an instance of the
ExecuteBudgetActionRequest.Builderavoiding the need to create one manually viaExecuteBudgetActionRequest.builder()- Parameters:
executeBudgetActionRequest- AConsumerthat will call methods onExecuteBudgetActionRequest.Builderto create a request.- Returns:
- Result of the ExecuteBudgetAction operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.ResourceLockedException- The request was received and recognized by the server, but the server rejected that particular method for the requested resource.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ThrottlingException, NotFoundException, AccessDeniedException, InternalErrorException, InvalidParameterException, AwsServiceException, SdkClientException, BudgetsException
Lists tags associated with a budget or budget action resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ThrottlingException, NotFoundException, AccessDeniedException, InternalErrorException, InvalidParameterException, AwsServiceException, SdkClientException, BudgetsException
Lists tags associated with a budget or budget action 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 number of API requests has exceeded the maximum allowed API request throttling limit for the account.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ThrottlingException, ServiceQuotaExceededException, NotFoundException, AccessDeniedException, InternalErrorException, InvalidParameterException, AwsServiceException, SdkClientException, BudgetsException
Creates tags for a budget or budget action resource.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.ServiceQuotaExceededException- You've reached the limit on the number of tags you can associate with a resource.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ThrottlingException, ServiceQuotaExceededException, NotFoundException, AccessDeniedException, InternalErrorException, InvalidParameterException, AwsServiceException, SdkClientException, BudgetsException
Creates tags for a budget or budget action resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.ServiceQuotaExceededException- You've reached the limit on the number of tags you can associate with a resource.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ThrottlingException, NotFoundException, AccessDeniedException, InternalErrorException, InvalidParameterException, AwsServiceException, SdkClientException, BudgetsException
Deletes tags associated with a budget or budget action resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ThrottlingException, NotFoundException, AccessDeniedException, InternalErrorException, InvalidParameterException, AwsServiceException, SdkClientException, BudgetsException
Deletes tags associated with a budget or budget action 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 number of API requests has exceeded the maximum allowed API request throttling limit for the account.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateBudget
default UpdateBudgetResponse updateBudget(UpdateBudgetRequest updateBudgetRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Updates a budget. You can change every part of a budget except for the
budgetNameand thecalculatedSpend. When you modify a budget, thecalculatedSpenddrops to zero until Amazon Web Services has new usage data to use for forecasting.Only one of
BudgetLimitorPlannedBudgetLimitscan be present in the syntax at one time. Use the syntax that matches your case. The Request Syntax section shows theBudgetLimitsyntax. ForPlannedBudgetLimits, see the Examples section.- Parameters:
updateBudgetRequest- Request of UpdateBudget- Returns:
- Result of the UpdateBudget operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateBudget
default UpdateBudgetResponse updateBudget(Consumer<UpdateBudgetRequest.Builder> updateBudgetRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Updates a budget. You can change every part of a budget except for the
budgetNameand thecalculatedSpend. When you modify a budget, thecalculatedSpenddrops to zero until Amazon Web Services has new usage data to use for forecasting.Only one of
BudgetLimitorPlannedBudgetLimitscan be present in the syntax at one time. Use the syntax that matches your case. The Request Syntax section shows theBudgetLimitsyntax. ForPlannedBudgetLimits, see the Examples section.
This is a convenience which creates an instance of the
UpdateBudgetRequest.Builderavoiding the need to create one manually viaUpdateBudgetRequest.builder()- Parameters:
updateBudgetRequest- AConsumerthat will call methods onUpdateBudgetRequest.Builderto create a request. Request of UpdateBudget- Returns:
- Result of the UpdateBudget operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateBudgetAction
default UpdateBudgetActionResponse updateBudgetAction(UpdateBudgetActionRequest updateBudgetActionRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, AccessDeniedException, ResourceLockedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Updates a budget action.
- Parameters:
updateBudgetActionRequest-- Returns:
- Result of the UpdateBudgetAction operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.ResourceLockedException- The request was received and recognized by the server, but the server rejected that particular method for the requested resource.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateBudgetAction
default UpdateBudgetActionResponse updateBudgetAction(Consumer<UpdateBudgetActionRequest.Builder> updateBudgetActionRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, AccessDeniedException, ResourceLockedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Updates a budget action.
This is a convenience which creates an instance of the
UpdateBudgetActionRequest.Builderavoiding the need to create one manually viaUpdateBudgetActionRequest.builder()- Parameters:
updateBudgetActionRequest- AConsumerthat will call methods onUpdateBudgetActionRequest.Builderto create a request.- Returns:
- Result of the UpdateBudgetAction operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.AccessDeniedException- You are not authorized to use this operation with the given parameters.ResourceLockedException- The request was received and recognized by the server, but the server rejected that particular method for the requested resource.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateNotification
default UpdateNotificationResponse updateNotification(UpdateNotificationRequest updateNotificationRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, DuplicateRecordException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Updates a notification.
- Parameters:
updateNotificationRequest- Request of UpdateNotification- Returns:
- Result of the UpdateNotification operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.DuplicateRecordException- The budget name already exists. Budget names must be unique within an account.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateNotification
default UpdateNotificationResponse updateNotification(Consumer<UpdateNotificationRequest.Builder> updateNotificationRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, DuplicateRecordException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Updates a notification.
This is a convenience which creates an instance of the
UpdateNotificationRequest.Builderavoiding the need to create one manually viaUpdateNotificationRequest.builder()- Parameters:
updateNotificationRequest- AConsumerthat will call methods onUpdateNotificationRequest.Builderto create a request. Request of UpdateNotification- Returns:
- Result of the UpdateNotification operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.DuplicateRecordException- The budget name already exists. Budget names must be unique within an account.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateSubscriber
default UpdateSubscriberResponse updateSubscriber(UpdateSubscriberRequest updateSubscriberRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, DuplicateRecordException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Updates a subscriber.
- Parameters:
updateSubscriberRequest- Request of UpdateSubscriber- Returns:
- Result of the UpdateSubscriber operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.DuplicateRecordException- The budget name already exists. Budget names must be unique within an account.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
updateSubscriber
default UpdateSubscriberResponse updateSubscriber(Consumer<UpdateSubscriberRequest.Builder> updateSubscriberRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, DuplicateRecordException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, BudgetsException
Updates a subscriber.
This is a convenience which creates an instance of the
UpdateSubscriberRequest.Builderavoiding the need to create one manually viaUpdateSubscriberRequest.builder()- Parameters:
updateSubscriberRequest- AConsumerthat will call methods onUpdateSubscriberRequest.Builderto create a request. Request of UpdateSubscriber- Returns:
- Result of the UpdateSubscriber operation returned by the service.
- Throws:
InternalErrorException- An error on the server occurred during the processing of your request. Try again later.InvalidParameterException- An error on the client occurred. Typically, the cause is an invalid input value.NotFoundException- We can’t locate the resource that you specified.DuplicateRecordException- The budget name already exists. Budget names must be unique within an account.AccessDeniedException- You are not authorized to use this operation with the given parameters.ThrottlingException- The number of API requests has exceeded the maximum allowed API request throttling limit for the account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
-
create
static BudgetsClient create()
Create aBudgetsClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static BudgetsClientBuilder builder()
Create a builder that can be used to configure and create aBudgetsClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default BudgetsServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-