@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSBudgets
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSBudgets
instead.
All public APIs for AWS Budgets
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
CreateBudgetResult |
createBudget(CreateBudgetRequest createBudgetRequest)
Create a new budget
|
CreateNotificationResult |
createNotification(CreateNotificationRequest createNotificationRequest)
Create a new Notification with subscribers for a budget
|
CreateSubscriberResult |
createSubscriber(CreateSubscriberRequest createSubscriberRequest)
Create a new Subscriber for a notification
|
DeleteBudgetResult |
deleteBudget(DeleteBudgetRequest deleteBudgetRequest)
Delete a budget and related notifications
|
DeleteNotificationResult |
deleteNotification(DeleteNotificationRequest deleteNotificationRequest)
Delete a notification and related subscribers
|
DeleteSubscriberResult |
deleteSubscriber(DeleteSubscriberRequest deleteSubscriberRequest)
Delete a Subscriber for a notification
|
DescribeBudgetResult |
describeBudget(DescribeBudgetRequest describeBudgetRequest)
Get a single budget
|
DescribeBudgetsResult |
describeBudgets(DescribeBudgetsRequest describeBudgetsRequest)
Get all budgets for an account
|
DescribeNotificationsForBudgetResult |
describeNotificationsForBudget(DescribeNotificationsForBudgetRequest describeNotificationsForBudgetRequest)
Get notifications of a budget
|
DescribeSubscribersForNotificationResult |
describeSubscribersForNotification(DescribeSubscribersForNotificationRequest describeSubscribersForNotificationRequest)
Get subscribers of a notification
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
void |
setEndpoint(String endpoint)
Deprecated.
use
AwsClientBuilder#setEndpointConfiguration(AwsClientBuilder.EndpointConfiguration) for
example:
builder.setEndpointConfiguration(new EndpointConfiguration(endpoint, signingRegion)); |
void |
setRegion(Region region)
Deprecated.
use
AwsClientBuilder#setRegion(String) |
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
UpdateBudgetResult |
updateBudget(UpdateBudgetRequest updateBudgetRequest)
Update the information of a budget already created
|
UpdateNotificationResult |
updateNotification(UpdateNotificationRequest updateNotificationRequest)
Update the information about a notification already created
|
UpdateSubscriberResult |
updateSubscriber(UpdateSubscriberRequest updateSubscriberRequest)
Update a subscriber
|
static final String ENDPOINT_PREFIX
@Deprecated void setEndpoint(String endpoint)
AwsClientBuilder#setEndpointConfiguration(AwsClientBuilder.EndpointConfiguration)
for
example:
builder.setEndpointConfiguration(new EndpointConfiguration(endpoint, signingRegion));
Callers can pass in just the endpoint (ex: "budgets.amazonaws.com") or a full URL, including the protocol (ex:
"budgets.amazonaws.com"). If the protocol is not specified here, the default protocol from this client's
ClientConfiguration
will be used, which by default is HTTPS.
For more information on using AWS regions with the AWS SDK for Java, and a complete list of all available endpoints for all AWS services, see: http://developer.amazonwebservices.com/connect/entry.jspa?externalID=3912
This method is not threadsafe. An endpoint should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
endpoint
- The endpoint (ex: "budgets.amazonaws.com") or a full URL, including the protocol (ex:
"budgets.amazonaws.com") of the region specific AWS endpoint this client will communicate with.@Deprecated void setRegion(Region region)
AwsClientBuilder#setRegion(String)
setEndpoint(String)
, sets the regional endpoint for this client's service
calls. Callers can use this method to control which AWS region they want to work with.
By default, all service endpoints in all regions use the https protocol. To use http instead, specify it in the
ClientConfiguration
supplied at construction.
This method is not threadsafe. A region should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
region
- The region this client will communicate with. See Region.getRegion(com.amazonaws.regions.Regions)
for accessing a given region. Must not be null and must be a region where the service is available.Region.getRegion(com.amazonaws.regions.Regions)
,
Region.createClient(Class, com.amazonaws.auth.AWSCredentialsProvider, ClientConfiguration)
,
Region.isServiceSupported(String)
CreateBudgetResult createBudget(CreateBudgetRequest createBudgetRequest)
createBudgetRequest
- Request of CreateBudgetInvalidParameterException
- This exception is thrown if any request is given an invalid parameter. E.g., if a required Date field is
null.InternalErrorException
- This exception is thrown on an unknown internal failure.CreationLimitExceededException
- The exception is thrown when customer tries to create a record (e.g. budget), but the number this record
already exceeds the limitation.DuplicateRecordException
- The exception is thrown when customer tries to create a record (e.g. budget) that already exists.CreateNotificationResult createNotification(CreateNotificationRequest createNotificationRequest)
createNotificationRequest
- Request of CreateNotificationInternalErrorException
- This exception is thrown on an unknown internal failure.InvalidParameterException
- This exception is thrown if any request is given an invalid parameter. E.g., if a required Date field is
null.NotFoundException
- This exception is thrown if a requested entity is not found. E.g., if a budget id doesn't exist for an
account ID.CreationLimitExceededException
- The exception is thrown when customer tries to create a record (e.g. budget), but the number this record
already exceeds the limitation.DuplicateRecordException
- The exception is thrown when customer tries to create a record (e.g. budget) that already exists.CreateSubscriberResult createSubscriber(CreateSubscriberRequest createSubscriberRequest)
createSubscriberRequest
- Request of CreateSubscriberInternalErrorException
- This exception is thrown on an unknown internal failure.InvalidParameterException
- This exception is thrown if any request is given an invalid parameter. E.g., if a required Date field is
null.CreationLimitExceededException
- The exception is thrown when customer tries to create a record (e.g. budget), but the number this record
already exceeds the limitation.DuplicateRecordException
- The exception is thrown when customer tries to create a record (e.g. budget) that already exists.NotFoundException
- This exception is thrown if a requested entity is not found. E.g., if a budget id doesn't exist for an
account ID.DeleteBudgetResult deleteBudget(DeleteBudgetRequest deleteBudgetRequest)
deleteBudgetRequest
- Request of DeleteBudgetInternalErrorException
- This exception is thrown on an unknown internal failure.InvalidParameterException
- This exception is thrown if any request is given an invalid parameter. E.g., if a required Date field is
null.NotFoundException
- This exception is thrown if a requested entity is not found. E.g., if a budget id doesn't exist for an
account ID.DeleteNotificationResult deleteNotification(DeleteNotificationRequest deleteNotificationRequest)
deleteNotificationRequest
- Request of DeleteNotificationInvalidParameterException
- This exception is thrown if any request is given an invalid parameter. E.g., if a required Date field is
null.InternalErrorException
- This exception is thrown on an unknown internal failure.NotFoundException
- This exception is thrown if a requested entity is not found. E.g., if a budget id doesn't exist for an
account ID.DeleteSubscriberResult deleteSubscriber(DeleteSubscriberRequest deleteSubscriberRequest)
deleteSubscriberRequest
- Request of DeleteSubscriberInternalErrorException
- This exception is thrown on an unknown internal failure.InvalidParameterException
- This exception is thrown if any request is given an invalid parameter. E.g., if a required Date field is
null.NotFoundException
- This exception is thrown if a requested entity is not found. E.g., if a budget id doesn't exist for an
account ID.DescribeBudgetResult describeBudget(DescribeBudgetRequest describeBudgetRequest)
describeBudgetRequest
- Request of DescribeBudgetInternalErrorException
- This exception is thrown on an unknown internal failure.InvalidParameterException
- This exception is thrown if any request is given an invalid parameter. E.g., if a required Date field is
null.NotFoundException
- This exception is thrown if a requested entity is not found. E.g., if a budget id doesn't exist for an
account ID.DescribeBudgetsResult describeBudgets(DescribeBudgetsRequest describeBudgetsRequest)
describeBudgetsRequest
- Request of DescribeBudgetsInternalErrorException
- This exception is thrown on an unknown internal failure.InvalidParameterException
- This exception is thrown if any request is given an invalid parameter. E.g., if a required Date field is
null.NotFoundException
- This exception is thrown if a requested entity is not found. E.g., if a budget id doesn't exist for an
account ID.InvalidNextTokenException
- This exception is thrown if paging token signature didn't match the token, or the paging token isn't for
this requestExpiredNextTokenException
- This exception is thrown if the paging token is expired - past its TTLDescribeNotificationsForBudgetResult describeNotificationsForBudget(DescribeNotificationsForBudgetRequest describeNotificationsForBudgetRequest)
describeNotificationsForBudgetRequest
- Request of DescribeNotificationsForBudgetInternalErrorException
- This exception is thrown on an unknown internal failure.InvalidParameterException
- This exception is thrown if any request is given an invalid parameter. E.g., if a required Date field is
null.NotFoundException
- This exception is thrown if a requested entity is not found. E.g., if a budget id doesn't exist for an
account ID.InvalidNextTokenException
- This exception is thrown if paging token signature didn't match the token, or the paging token isn't for
this requestExpiredNextTokenException
- This exception is thrown if the paging token is expired - past its TTLDescribeSubscribersForNotificationResult describeSubscribersForNotification(DescribeSubscribersForNotificationRequest describeSubscribersForNotificationRequest)
describeSubscribersForNotificationRequest
- Request of DescribeSubscribersForNotificationInternalErrorException
- This exception is thrown on an unknown internal failure.NotFoundException
- This exception is thrown if a requested entity is not found. E.g., if a budget id doesn't exist for an
account ID.InvalidParameterException
- This exception is thrown if any request is given an invalid parameter. E.g., if a required Date field is
null.InvalidNextTokenException
- This exception is thrown if paging token signature didn't match the token, or the paging token isn't for
this requestExpiredNextTokenException
- This exception is thrown if the paging token is expired - past its TTLUpdateBudgetResult updateBudget(UpdateBudgetRequest updateBudgetRequest)
updateBudgetRequest
- Request of UpdateBudgetInternalErrorException
- This exception is thrown on an unknown internal failure.InvalidParameterException
- This exception is thrown if any request is given an invalid parameter. E.g., if a required Date field is
null.NotFoundException
- This exception is thrown if a requested entity is not found. E.g., if a budget id doesn't exist for an
account ID.UpdateNotificationResult updateNotification(UpdateNotificationRequest updateNotificationRequest)
updateNotificationRequest
- Request of UpdateNotificationInternalErrorException
- This exception is thrown on an unknown internal failure.InvalidParameterException
- This exception is thrown if any request is given an invalid parameter. E.g., if a required Date field is
null.NotFoundException
- This exception is thrown if a requested entity is not found. E.g., if a budget id doesn't exist for an
account ID.DuplicateRecordException
- The exception is thrown when customer tries to create a record (e.g. budget) that already exists.UpdateSubscriberResult updateSubscriber(UpdateSubscriberRequest updateSubscriberRequest)
updateSubscriberRequest
- Request of UpdateSubscriberInternalErrorException
- This exception is thrown on an unknown internal failure.InvalidParameterException
- This exception is thrown if any request is given an invalid parameter. E.g., if a required Date field is
null.NotFoundException
- This exception is thrown if a requested entity is not found. E.g., if a budget id doesn't exist for an
account ID.DuplicateRecordException
- The exception is thrown when customer tries to create a record (e.g. budget) that already exists.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.