@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSBudgetsAsyncClient extends AWSBudgetsClient implements AWSBudgetsAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Constructor and Description |
---|
AWSBudgetsAsyncClient()
Deprecated.
|
AWSBudgetsAsyncClient(AWSCredentials awsCredentials)
Deprecated.
|
AWSBudgetsAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AWSBudgetsAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
|
AWSBudgetsAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated.
|
AWSBudgetsAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
|
AWSBudgetsAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AWSBudgetsAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
|
AWSBudgetsAsyncClient(ClientConfiguration clientConfiguration)
Deprecated.
|
builder, createBudget, createBudgetAction, createNotification, createSubscriber, deleteBudget, deleteBudgetAction, deleteNotification, deleteSubscriber, describeBudget, describeBudgetAction, describeBudgetActionHistories, describeBudgetActionsForAccount, describeBudgetActionsForBudget, describeBudgetNotificationsForAccount, describeBudgetPerformanceHistory, describeBudgets, describeNotificationsForBudget, describeSubscribersForNotification, executeBudgetAction, getCachedResponseMetadata, listTagsForResource, tagResource, untagResource, updateBudget, updateBudgetAction, updateNotification, updateSubscriber
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createBudget, createBudgetAction, createNotification, createSubscriber, deleteBudget, deleteBudgetAction, deleteNotification, deleteSubscriber, describeBudget, describeBudgetAction, describeBudgetActionHistories, describeBudgetActionsForAccount, describeBudgetActionsForBudget, describeBudgetNotificationsForAccount, describeBudgetPerformanceHistory, describeBudgets, describeNotificationsForBudget, describeSubscribersForNotification, executeBudgetAction, getCachedResponseMetadata, listTagsForResource, setEndpoint, setRegion, tagResource, untagResource, updateBudget, updateBudgetAction, updateNotification, updateSubscriber
@Deprecated public AWSBudgetsAsyncClient()
AWSBudgetsAsyncClientBuilder.defaultClient()
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
@Deprecated public AWSBudgetsAsyncClient(ClientConfiguration clientConfiguration)
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections()
.
clientConfiguration
- The client configuration options controlling how this client connects to AWSBudgets (ex: proxy settings,
retry counts, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
@Deprecated public AWSBudgetsAsyncClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.Executors.newFixedThreadPool(int)
@Deprecated public AWSBudgetsAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.executorService
- The executor service by which all asynchronous requests will be executed.@Deprecated public AWSBudgetsAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).executorService
- The executor service by which all asynchronous requests will be executed.@Deprecated public AWSBudgetsAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.Executors.newFixedThreadPool(int)
@Deprecated public AWSBudgetsAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections()
.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
@Deprecated public AWSBudgetsAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.executorService
- The executor service by which all asynchronous requests will be executed.@Deprecated public AWSBudgetsAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).executorService
- The executor service by which all asynchronous requests will be executed.public static AWSBudgetsAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateBudgetResult> createBudgetAsync(CreateBudgetRequest request)
AWSBudgetsAsync
Creates a budget and, if included, notifications and subscribers.
Only one of BudgetLimit
or PlannedBudgetLimits
can be present in the syntax at one
time. Use the syntax that matches your case. The Request Syntax section shows the BudgetLimit
syntax. For PlannedBudgetLimits
, see the Examples section.
createBudgetAsync
in interface AWSBudgetsAsync
request
- Request of CreateBudgetpublic Future<CreateBudgetResult> createBudgetAsync(CreateBudgetRequest request, AsyncHandler<CreateBudgetRequest,CreateBudgetResult> asyncHandler)
AWSBudgetsAsync
Creates a budget and, if included, notifications and subscribers.
Only one of BudgetLimit
or PlannedBudgetLimits
can be present in the syntax at one
time. Use the syntax that matches your case. The Request Syntax section shows the BudgetLimit
syntax. For PlannedBudgetLimits
, see the Examples section.
createBudgetAsync
in interface AWSBudgetsAsync
request
- Request of CreateBudgetasyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateBudgetActionResult> createBudgetActionAsync(CreateBudgetActionRequest request)
AWSBudgetsAsync
Creates a budget action.
createBudgetActionAsync
in interface AWSBudgetsAsync
public Future<CreateBudgetActionResult> createBudgetActionAsync(CreateBudgetActionRequest request, AsyncHandler<CreateBudgetActionRequest,CreateBudgetActionResult> asyncHandler)
AWSBudgetsAsync
Creates a budget action.
createBudgetActionAsync
in interface AWSBudgetsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateNotificationResult> createNotificationAsync(CreateNotificationRequest request)
AWSBudgetsAsync
Creates a notification. You must create the budget before you create the associated notification.
createNotificationAsync
in interface AWSBudgetsAsync
request
- Request of CreateNotificationpublic Future<CreateNotificationResult> createNotificationAsync(CreateNotificationRequest request, AsyncHandler<CreateNotificationRequest,CreateNotificationResult> asyncHandler)
AWSBudgetsAsync
Creates a notification. You must create the budget before you create the associated notification.
createNotificationAsync
in interface AWSBudgetsAsync
request
- Request of CreateNotificationasyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateSubscriberResult> createSubscriberAsync(CreateSubscriberRequest request)
AWSBudgetsAsync
Creates a subscriber. You must create the associated budget and notification before you create the subscriber.
createSubscriberAsync
in interface AWSBudgetsAsync
request
- Request of CreateSubscriberpublic Future<CreateSubscriberResult> createSubscriberAsync(CreateSubscriberRequest request, AsyncHandler<CreateSubscriberRequest,CreateSubscriberResult> asyncHandler)
AWSBudgetsAsync
Creates a subscriber. You must create the associated budget and notification before you create the subscriber.
createSubscriberAsync
in interface AWSBudgetsAsync
request
- Request of CreateSubscriberasyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteBudgetResult> deleteBudgetAsync(DeleteBudgetRequest request)
AWSBudgetsAsync
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.
deleteBudgetAsync
in interface AWSBudgetsAsync
request
- Request of DeleteBudgetpublic Future<DeleteBudgetResult> deleteBudgetAsync(DeleteBudgetRequest request, AsyncHandler<DeleteBudgetRequest,DeleteBudgetResult> asyncHandler)
AWSBudgetsAsync
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.
deleteBudgetAsync
in interface AWSBudgetsAsync
request
- Request of DeleteBudgetasyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteBudgetActionResult> deleteBudgetActionAsync(DeleteBudgetActionRequest request)
AWSBudgetsAsync
Deletes a budget action.
deleteBudgetActionAsync
in interface AWSBudgetsAsync
public Future<DeleteBudgetActionResult> deleteBudgetActionAsync(DeleteBudgetActionRequest request, AsyncHandler<DeleteBudgetActionRequest,DeleteBudgetActionResult> asyncHandler)
AWSBudgetsAsync
Deletes a budget action.
deleteBudgetActionAsync
in interface AWSBudgetsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteNotificationResult> deleteNotificationAsync(DeleteNotificationRequest request)
AWSBudgetsAsync
Deletes a notification.
Deleting a notification also deletes the subscribers that are associated with the notification.
deleteNotificationAsync
in interface AWSBudgetsAsync
request
- Request of DeleteNotificationpublic Future<DeleteNotificationResult> deleteNotificationAsync(DeleteNotificationRequest request, AsyncHandler<DeleteNotificationRequest,DeleteNotificationResult> asyncHandler)
AWSBudgetsAsync
Deletes a notification.
Deleting a notification also deletes the subscribers that are associated with the notification.
deleteNotificationAsync
in interface AWSBudgetsAsync
request
- Request of DeleteNotificationasyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteSubscriberResult> deleteSubscriberAsync(DeleteSubscriberRequest request)
AWSBudgetsAsync
Deletes a subscriber.
Deleting the last subscriber to a notification also deletes the notification.
deleteSubscriberAsync
in interface AWSBudgetsAsync
request
- Request of DeleteSubscriberpublic Future<DeleteSubscriberResult> deleteSubscriberAsync(DeleteSubscriberRequest request, AsyncHandler<DeleteSubscriberRequest,DeleteSubscriberResult> asyncHandler)
AWSBudgetsAsync
Deletes a subscriber.
Deleting the last subscriber to a notification also deletes the notification.
deleteSubscriberAsync
in interface AWSBudgetsAsync
request
- Request of DeleteSubscriberasyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeBudgetResult> describeBudgetAsync(DescribeBudgetRequest request)
AWSBudgetsAsync
Describes a budget.
The Request Syntax section shows the BudgetLimit
syntax. For PlannedBudgetLimits
, see
the Examples section.
describeBudgetAsync
in interface AWSBudgetsAsync
request
- Request of DescribeBudgetpublic Future<DescribeBudgetResult> describeBudgetAsync(DescribeBudgetRequest request, AsyncHandler<DescribeBudgetRequest,DescribeBudgetResult> asyncHandler)
AWSBudgetsAsync
Describes a budget.
The Request Syntax section shows the BudgetLimit
syntax. For PlannedBudgetLimits
, see
the Examples section.
describeBudgetAsync
in interface AWSBudgetsAsync
request
- Request of DescribeBudgetasyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeBudgetActionResult> describeBudgetActionAsync(DescribeBudgetActionRequest request)
AWSBudgetsAsync
Describes a budget action detail.
describeBudgetActionAsync
in interface AWSBudgetsAsync
public Future<DescribeBudgetActionResult> describeBudgetActionAsync(DescribeBudgetActionRequest request, AsyncHandler<DescribeBudgetActionRequest,DescribeBudgetActionResult> asyncHandler)
AWSBudgetsAsync
Describes a budget action detail.
describeBudgetActionAsync
in interface AWSBudgetsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeBudgetActionHistoriesResult> describeBudgetActionHistoriesAsync(DescribeBudgetActionHistoriesRequest request)
AWSBudgetsAsync
Describes a budget action history detail.
describeBudgetActionHistoriesAsync
in interface AWSBudgetsAsync
public Future<DescribeBudgetActionHistoriesResult> describeBudgetActionHistoriesAsync(DescribeBudgetActionHistoriesRequest request, AsyncHandler<DescribeBudgetActionHistoriesRequest,DescribeBudgetActionHistoriesResult> asyncHandler)
AWSBudgetsAsync
Describes a budget action history detail.
describeBudgetActionHistoriesAsync
in interface AWSBudgetsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeBudgetActionsForAccountResult> describeBudgetActionsForAccountAsync(DescribeBudgetActionsForAccountRequest request)
AWSBudgetsAsync
Describes all of the budget actions for an account.
describeBudgetActionsForAccountAsync
in interface AWSBudgetsAsync
public Future<DescribeBudgetActionsForAccountResult> describeBudgetActionsForAccountAsync(DescribeBudgetActionsForAccountRequest request, AsyncHandler<DescribeBudgetActionsForAccountRequest,DescribeBudgetActionsForAccountResult> asyncHandler)
AWSBudgetsAsync
Describes all of the budget actions for an account.
describeBudgetActionsForAccountAsync
in interface AWSBudgetsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeBudgetActionsForBudgetResult> describeBudgetActionsForBudgetAsync(DescribeBudgetActionsForBudgetRequest request)
AWSBudgetsAsync
Describes all of the budget actions for a budget.
describeBudgetActionsForBudgetAsync
in interface AWSBudgetsAsync
public Future<DescribeBudgetActionsForBudgetResult> describeBudgetActionsForBudgetAsync(DescribeBudgetActionsForBudgetRequest request, AsyncHandler<DescribeBudgetActionsForBudgetRequest,DescribeBudgetActionsForBudgetResult> asyncHandler)
AWSBudgetsAsync
Describes all of the budget actions for a budget.
describeBudgetActionsForBudgetAsync
in interface AWSBudgetsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeBudgetNotificationsForAccountResult> describeBudgetNotificationsForAccountAsync(DescribeBudgetNotificationsForAccountRequest request)
AWSBudgetsAsync
Lists the budget names and notifications that are associated with an account.
describeBudgetNotificationsForAccountAsync
in interface AWSBudgetsAsync
public Future<DescribeBudgetNotificationsForAccountResult> describeBudgetNotificationsForAccountAsync(DescribeBudgetNotificationsForAccountRequest request, AsyncHandler<DescribeBudgetNotificationsForAccountRequest,DescribeBudgetNotificationsForAccountResult> asyncHandler)
AWSBudgetsAsync
Lists the budget names and notifications that are associated with an account.
describeBudgetNotificationsForAccountAsync
in interface AWSBudgetsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeBudgetPerformanceHistoryResult> describeBudgetPerformanceHistoryAsync(DescribeBudgetPerformanceHistoryRequest request)
AWSBudgetsAsync
Describes the history for DAILY
, MONTHLY
, and QUARTERLY
budgets. Budget
history isn't available for ANNUAL
budgets.
describeBudgetPerformanceHistoryAsync
in interface AWSBudgetsAsync
public Future<DescribeBudgetPerformanceHistoryResult> describeBudgetPerformanceHistoryAsync(DescribeBudgetPerformanceHistoryRequest request, AsyncHandler<DescribeBudgetPerformanceHistoryRequest,DescribeBudgetPerformanceHistoryResult> asyncHandler)
AWSBudgetsAsync
Describes the history for DAILY
, MONTHLY
, and QUARTERLY
budgets. Budget
history isn't available for ANNUAL
budgets.
describeBudgetPerformanceHistoryAsync
in interface AWSBudgetsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeBudgetsResult> describeBudgetsAsync(DescribeBudgetsRequest request)
AWSBudgetsAsync
Lists the budgets that are associated with an account.
The Request Syntax section shows the BudgetLimit
syntax. For PlannedBudgetLimits
, see
the Examples section.
describeBudgetsAsync
in interface AWSBudgetsAsync
request
- Request of DescribeBudgetspublic Future<DescribeBudgetsResult> describeBudgetsAsync(DescribeBudgetsRequest request, AsyncHandler<DescribeBudgetsRequest,DescribeBudgetsResult> asyncHandler)
AWSBudgetsAsync
Lists the budgets that are associated with an account.
The Request Syntax section shows the BudgetLimit
syntax. For PlannedBudgetLimits
, see
the Examples section.
describeBudgetsAsync
in interface AWSBudgetsAsync
request
- Request of DescribeBudgetsasyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeNotificationsForBudgetResult> describeNotificationsForBudgetAsync(DescribeNotificationsForBudgetRequest request)
AWSBudgetsAsync
Lists the notifications that are associated with a budget.
describeNotificationsForBudgetAsync
in interface AWSBudgetsAsync
request
- Request of DescribeNotificationsForBudgetpublic Future<DescribeNotificationsForBudgetResult> describeNotificationsForBudgetAsync(DescribeNotificationsForBudgetRequest request, AsyncHandler<DescribeNotificationsForBudgetRequest,DescribeNotificationsForBudgetResult> asyncHandler)
AWSBudgetsAsync
Lists the notifications that are associated with a budget.
describeNotificationsForBudgetAsync
in interface AWSBudgetsAsync
request
- Request of DescribeNotificationsForBudgetasyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeSubscribersForNotificationResult> describeSubscribersForNotificationAsync(DescribeSubscribersForNotificationRequest request)
AWSBudgetsAsync
Lists the subscribers that are associated with a notification.
describeSubscribersForNotificationAsync
in interface AWSBudgetsAsync
request
- Request of DescribeSubscribersForNotificationpublic Future<DescribeSubscribersForNotificationResult> describeSubscribersForNotificationAsync(DescribeSubscribersForNotificationRequest request, AsyncHandler<DescribeSubscribersForNotificationRequest,DescribeSubscribersForNotificationResult> asyncHandler)
AWSBudgetsAsync
Lists the subscribers that are associated with a notification.
describeSubscribersForNotificationAsync
in interface AWSBudgetsAsync
request
- Request of DescribeSubscribersForNotificationasyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ExecuteBudgetActionResult> executeBudgetActionAsync(ExecuteBudgetActionRequest request)
AWSBudgetsAsync
Executes a budget action.
executeBudgetActionAsync
in interface AWSBudgetsAsync
public Future<ExecuteBudgetActionResult> executeBudgetActionAsync(ExecuteBudgetActionRequest request, AsyncHandler<ExecuteBudgetActionRequest,ExecuteBudgetActionResult> asyncHandler)
AWSBudgetsAsync
Executes a budget action.
executeBudgetActionAsync
in interface AWSBudgetsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSBudgetsAsync
Lists tags associated with a budget or budget action resource.
listTagsForResourceAsync
in interface AWSBudgetsAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSBudgetsAsync
Lists tags associated with a budget or budget action resource.
listTagsForResourceAsync
in interface AWSBudgetsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSBudgetsAsync
Creates tags for a budget or budget action resource.
tagResourceAsync
in interface AWSBudgetsAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSBudgetsAsync
Creates tags for a budget or budget action resource.
tagResourceAsync
in interface AWSBudgetsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSBudgetsAsync
Deletes tags associated with a budget or budget action resource.
untagResourceAsync
in interface AWSBudgetsAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSBudgetsAsync
Deletes tags associated with a budget or budget action resource.
untagResourceAsync
in interface AWSBudgetsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateBudgetResult> updateBudgetAsync(UpdateBudgetRequest request)
AWSBudgetsAsync
Updates a budget. You can change every part of a budget except for the budgetName
and the
calculatedSpend
. When you modify a budget, the calculatedSpend
drops to zero until
Amazon Web Services has new usage data to use for forecasting.
Only one of BudgetLimit
or PlannedBudgetLimits
can be present in the syntax at one
time. Use the syntax that matches your case. The Request Syntax section shows the BudgetLimit
syntax. For PlannedBudgetLimits
, see the Examples section.
updateBudgetAsync
in interface AWSBudgetsAsync
request
- Request of UpdateBudgetpublic Future<UpdateBudgetResult> updateBudgetAsync(UpdateBudgetRequest request, AsyncHandler<UpdateBudgetRequest,UpdateBudgetResult> asyncHandler)
AWSBudgetsAsync
Updates a budget. You can change every part of a budget except for the budgetName
and the
calculatedSpend
. When you modify a budget, the calculatedSpend
drops to zero until
Amazon Web Services has new usage data to use for forecasting.
Only one of BudgetLimit
or PlannedBudgetLimits
can be present in the syntax at one
time. Use the syntax that matches your case. The Request Syntax section shows the BudgetLimit
syntax. For PlannedBudgetLimits
, see the Examples section.
updateBudgetAsync
in interface AWSBudgetsAsync
request
- Request of UpdateBudgetasyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateBudgetActionResult> updateBudgetActionAsync(UpdateBudgetActionRequest request)
AWSBudgetsAsync
Updates a budget action.
updateBudgetActionAsync
in interface AWSBudgetsAsync
public Future<UpdateBudgetActionResult> updateBudgetActionAsync(UpdateBudgetActionRequest request, AsyncHandler<UpdateBudgetActionRequest,UpdateBudgetActionResult> asyncHandler)
AWSBudgetsAsync
Updates a budget action.
updateBudgetActionAsync
in interface AWSBudgetsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateNotificationResult> updateNotificationAsync(UpdateNotificationRequest request)
AWSBudgetsAsync
Updates a notification.
updateNotificationAsync
in interface AWSBudgetsAsync
request
- Request of UpdateNotificationpublic Future<UpdateNotificationResult> updateNotificationAsync(UpdateNotificationRequest request, AsyncHandler<UpdateNotificationRequest,UpdateNotificationResult> asyncHandler)
AWSBudgetsAsync
Updates a notification.
updateNotificationAsync
in interface AWSBudgetsAsync
request
- Request of UpdateNotificationasyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateSubscriberResult> updateSubscriberAsync(UpdateSubscriberRequest request)
AWSBudgetsAsync
Updates a subscriber.
updateSubscriberAsync
in interface AWSBudgetsAsync
request
- Request of UpdateSubscriberpublic Future<UpdateSubscriberResult> updateSubscriberAsync(UpdateSubscriberRequest request, AsyncHandler<UpdateSubscriberRequest,UpdateSubscriberResult> asyncHandler)
AWSBudgetsAsync
Updates a subscriber.
updateSubscriberAsync
in interface AWSBudgetsAsync
request
- Request of UpdateSubscriberasyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSBudgets
shutdown
in class AWSBudgetsClient