@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSBudgetsClient extends AmazonWebServiceClient implements AWSBudgets
All public APIs for AWS Budgets
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Constructor and Description |
---|
AWSBudgetsClient()
Constructs a new client to invoke service methods on AWSBudgets.
|
AWSBudgetsClient(AWSCredentials awsCredentials)
Constructs a new client to invoke service methods on AWSBudgets using the specified AWS account credentials.
|
AWSBudgetsClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on AWSBudgets using the specified AWS account credentials and
client configuration options.
|
AWSBudgetsClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new client to invoke service methods on AWSBudgets using the specified AWS account credentials
provider.
|
AWSBudgetsClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on AWSBudgets using the specified AWS account credentials
provider and client configuration options.
|
AWSBudgetsClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector)
Constructs a new client to invoke service methods on AWSBudgets using the specified AWS account credentials
provider, client configuration options, and request metric collector.
|
AWSBudgetsClient(ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on AWSBudgets.
|
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.
|
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
|
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setEndpoint, setRegion, shutdown
public AWSBudgetsClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain
public AWSBudgetsClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration
- The client configuration options controlling how this client connects to AWSBudgets (ex: proxy settings,
retry counts, etc.).DefaultAWSCredentialsProviderChain
public AWSBudgetsClient(AWSCredentials awsCredentials)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.public AWSBudgetsClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration
- The client configuration options controlling how this client connects to AWSBudgets (ex: proxy settings,
retry counts, etc.).public AWSBudgetsClient(AWSCredentialsProvider awsCredentialsProvider)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.public AWSBudgetsClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- The client configuration options controlling how this client connects to AWSBudgets (ex: proxy settings,
retry counts, etc.).public AWSBudgetsClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, RequestMetricCollector requestMetricCollector)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- The client configuration options controlling how this client connects to AWSBudgets (ex: proxy settings,
retry counts, etc.).requestMetricCollector
- optional request metric collectorpublic CreateBudgetResult createBudget(CreateBudgetRequest createBudgetRequest)
createBudget
in interface AWSBudgets
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.public CreateNotificationResult createNotification(CreateNotificationRequest createNotificationRequest)
createNotification
in interface AWSBudgets
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.public CreateSubscriberResult createSubscriber(CreateSubscriberRequest createSubscriberRequest)
createSubscriber
in interface AWSBudgets
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.public DeleteBudgetResult deleteBudget(DeleteBudgetRequest deleteBudgetRequest)
deleteBudget
in interface AWSBudgets
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.public DeleteNotificationResult deleteNotification(DeleteNotificationRequest deleteNotificationRequest)
deleteNotification
in interface AWSBudgets
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.public DeleteSubscriberResult deleteSubscriber(DeleteSubscriberRequest deleteSubscriberRequest)
deleteSubscriber
in interface AWSBudgets
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.public DescribeBudgetResult describeBudget(DescribeBudgetRequest describeBudgetRequest)
describeBudget
in interface AWSBudgets
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.public DescribeBudgetsResult describeBudgets(DescribeBudgetsRequest describeBudgetsRequest)
describeBudgets
in interface AWSBudgets
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 TTLpublic DescribeNotificationsForBudgetResult describeNotificationsForBudget(DescribeNotificationsForBudgetRequest describeNotificationsForBudgetRequest)
describeNotificationsForBudget
in interface AWSBudgets
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 TTLpublic DescribeSubscribersForNotificationResult describeSubscribersForNotification(DescribeSubscribersForNotificationRequest describeSubscribersForNotificationRequest)
describeSubscribersForNotification
in interface AWSBudgets
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 TTLpublic UpdateBudgetResult updateBudget(UpdateBudgetRequest updateBudgetRequest)
updateBudget
in interface AWSBudgets
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.public UpdateNotificationResult updateNotification(UpdateNotificationRequest updateNotificationRequest)
updateNotification
in interface AWSBudgets
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.public UpdateSubscriberResult updateSubscriber(UpdateSubscriberRequest updateSubscriberRequest)
updateSubscriber
in interface AWSBudgets
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.public 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 the request.
getCachedResponseMetadata
in interface AWSBudgets
request
- The originally executed requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.