@ThreadSafe public class AWSBudgetsClient extends AmazonWebServiceClient implements AWSBudgets
All public APIs for AWS Budgets
| Modifier and Type | Field and Description |
|---|---|
protected static ClientConfigurationFactory |
configFactory
Client configuration factory providing ClientConfigurations tailored to this client
|
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_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, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getEndpointPrefix, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetEndpoint, setRegion, shutdownprotected static final ClientConfigurationFactory configFactory
public AWSBudgetsClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChainpublic 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.).DefaultAWSCredentialsProviderChainpublic 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 AWSBudgetscreateBudgetRequest - 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 AWSBudgetscreateNotificationRequest - 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 AWSBudgetscreateSubscriberRequest - 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 AWSBudgetsdeleteBudgetRequest - 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 AWSBudgetsdeleteNotificationRequest - 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 AWSBudgetsdeleteSubscriberRequest - 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 AWSBudgetsdescribeBudgetRequest - 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 AWSBudgetsdescribeBudgetsRequest - 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 AWSBudgetsdescribeNotificationsForBudgetRequest - 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 AWSBudgetsdescribeSubscribersForNotificationRequest - 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 AWSBudgetsupdateBudgetRequest - 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 AWSBudgetsupdateNotificationRequest - 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 AWSBudgetsupdateSubscriberRequest - 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 AWSBudgetsrequest - The originally executed requestCopyright © 2016. All rights reserved.