@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()
Deprecated.
|
AWSBudgetsClient(AWSCredentials awsCredentials)
Deprecated.
use
AwsClientBuilder.withCredentials(AWSCredentialsProvider) for example:
AWSBudgetsClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(awsCredentials)).build(); |
AWSBudgetsClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
|
AWSBudgetsClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated.
|
AWSBudgetsClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
|
AWSBudgetsClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector)
|
AWSBudgetsClient(ClientConfiguration clientConfiguration)
Deprecated.
|
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setEndpoint, setRegion, shutdown
@Deprecated public AWSBudgetsClient()
AWSBudgetsClientBuilder.defaultClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain
@Deprecated public AWSBudgetsClient(ClientConfiguration clientConfiguration)
AwsClientBuilder.withClientConfiguration(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
@Deprecated public AWSBudgetsClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
for example:
AWSBudgetsClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(awsCredentials)).build();
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.@Deprecated public AWSBudgetsClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(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.).@Deprecated public AWSBudgetsClient(AWSCredentialsProvider awsCredentialsProvider)
AwsClientBuilder.withCredentials(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.@Deprecated public AWSBudgetsClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(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.).@Deprecated public AWSBudgetsClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, RequestMetricCollector requestMetricCollector)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
and
AwsClientBuilder.withMetricsCollector(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 static AWSBudgetsClientBuilder builder()
public CreateBudgetResult createBudget(CreateBudgetRequest request)
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 request)
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 request)
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.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 DeleteBudgetResult deleteBudget(DeleteBudgetRequest request)
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 request)
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 request)
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 request)
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 request)
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 request)
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 request)
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 request)
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 request)
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.DuplicateRecordException
- The exception is thrown when customer tries to create a record (e.g. budget) that already exists.public UpdateSubscriberResult updateSubscriber(UpdateSubscriberRequest request)
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.DuplicateRecordException
- The exception is thrown when customer tries to create a record (e.g. budget) that already exists.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.