@Generated(value="software.amazon.awssdk:codegen") public interface BudgetsClient extends SdkClient, SdkAutoCloseable
builder()
method.
All public APIs for AWS BudgetsModifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
static BudgetsClientBuilder |
builder()
Create a builder that can be used to configure and create a
BudgetsClient . |
static BudgetsClient |
create()
Create a
BudgetsClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from
the DefaultCredentialsProvider . |
default CreateBudgetResponse |
createBudget(Consumer<CreateBudgetRequest.Builder> createBudgetRequest)
Create a new budget
|
default CreateBudgetResponse |
createBudget(CreateBudgetRequest createBudgetRequest)
Create a new budget
|
default CreateNotificationResponse |
createNotification(Consumer<CreateNotificationRequest.Builder> createNotificationRequest)
Create a new Notification with subscribers for a budget
|
default CreateNotificationResponse |
createNotification(CreateNotificationRequest createNotificationRequest)
Create a new Notification with subscribers for a budget
|
default CreateSubscriberResponse |
createSubscriber(Consumer<CreateSubscriberRequest.Builder> createSubscriberRequest)
Create a new Subscriber for a notification
|
default CreateSubscriberResponse |
createSubscriber(CreateSubscriberRequest createSubscriberRequest)
Create a new Subscriber for a notification
|
default DeleteBudgetResponse |
deleteBudget(Consumer<DeleteBudgetRequest.Builder> deleteBudgetRequest)
Delete a budget and related notifications
|
default DeleteBudgetResponse |
deleteBudget(DeleteBudgetRequest deleteBudgetRequest)
Delete a budget and related notifications
|
default DeleteNotificationResponse |
deleteNotification(Consumer<DeleteNotificationRequest.Builder> deleteNotificationRequest)
Delete a notification and related subscribers
|
default DeleteNotificationResponse |
deleteNotification(DeleteNotificationRequest deleteNotificationRequest)
Delete a notification and related subscribers
|
default DeleteSubscriberResponse |
deleteSubscriber(Consumer<DeleteSubscriberRequest.Builder> deleteSubscriberRequest)
Delete a Subscriber for a notification
|
default DeleteSubscriberResponse |
deleteSubscriber(DeleteSubscriberRequest deleteSubscriberRequest)
Delete a Subscriber for a notification
|
default DescribeBudgetResponse |
describeBudget(Consumer<DescribeBudgetRequest.Builder> describeBudgetRequest)
Get a single budget
|
default DescribeBudgetResponse |
describeBudget(DescribeBudgetRequest describeBudgetRequest)
Get a single budget
|
default DescribeBudgetsResponse |
describeBudgets(Consumer<DescribeBudgetsRequest.Builder> describeBudgetsRequest)
Get all budgets for an account
|
default DescribeBudgetsResponse |
describeBudgets(DescribeBudgetsRequest describeBudgetsRequest)
Get all budgets for an account
|
default DescribeNotificationsForBudgetResponse |
describeNotificationsForBudget(Consumer<DescribeNotificationsForBudgetRequest.Builder> describeNotificationsForBudgetRequest)
Get notifications of a budget
|
default DescribeNotificationsForBudgetResponse |
describeNotificationsForBudget(DescribeNotificationsForBudgetRequest describeNotificationsForBudgetRequest)
Get notifications of a budget
|
default DescribeSubscribersForNotificationResponse |
describeSubscribersForNotification(Consumer<DescribeSubscribersForNotificationRequest.Builder> describeSubscribersForNotificationRequest)
Get subscribers of a notification
|
default DescribeSubscribersForNotificationResponse |
describeSubscribersForNotification(DescribeSubscribersForNotificationRequest describeSubscribersForNotificationRequest)
Get subscribers of a notification
|
static ServiceMetadata |
serviceMetadata() |
default UpdateBudgetResponse |
updateBudget(Consumer<UpdateBudgetRequest.Builder> updateBudgetRequest)
Update the information of a budget already created
|
default UpdateBudgetResponse |
updateBudget(UpdateBudgetRequest updateBudgetRequest)
Update the information of a budget already created
|
default UpdateNotificationResponse |
updateNotification(Consumer<UpdateNotificationRequest.Builder> updateNotificationRequest)
Update the information about a notification already created
|
default UpdateNotificationResponse |
updateNotification(UpdateNotificationRequest updateNotificationRequest)
Update the information about a notification already created
|
default UpdateSubscriberResponse |
updateSubscriber(Consumer<UpdateSubscriberRequest.Builder> updateSubscriberRequest)
Update a subscriber
|
default UpdateSubscriberResponse |
updateSubscriber(UpdateSubscriberRequest updateSubscriberRequest)
Update a subscriber
|
serviceName
close
static final String SERVICE_NAME
static BudgetsClient create()
BudgetsClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from
the DefaultCredentialsProvider
.static BudgetsClientBuilder builder()
BudgetsClient
.default CreateBudgetResponse createBudget(CreateBudgetRequest createBudgetRequest) throws InvalidParameterException, InternalErrorException, CreationLimitExceededException, DuplicateRecordException, SdkServiceException, SdkClientException, BudgetsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceException
default CreateBudgetResponse createBudget(Consumer<CreateBudgetRequest.Builder> createBudgetRequest) throws InvalidParameterException, InternalErrorException, CreationLimitExceededException, DuplicateRecordException, SdkServiceException, SdkClientException, BudgetsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceException
default CreateNotificationResponse createNotification(CreateNotificationRequest createNotificationRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, CreationLimitExceededException, DuplicateRecordException, SdkServiceException, SdkClientException, BudgetsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceException
default CreateNotificationResponse createNotification(Consumer<CreateNotificationRequest.Builder> createNotificationRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, CreationLimitExceededException, DuplicateRecordException, SdkServiceException, SdkClientException, BudgetsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceException
default CreateSubscriberResponse createSubscriber(CreateSubscriberRequest createSubscriberRequest) throws InternalErrorException, InvalidParameterException, CreationLimitExceededException, DuplicateRecordException, NotFoundException, SdkServiceException, SdkClientException, BudgetsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceException
default CreateSubscriberResponse createSubscriber(Consumer<CreateSubscriberRequest.Builder> createSubscriberRequest) throws InternalErrorException, InvalidParameterException, CreationLimitExceededException, DuplicateRecordException, NotFoundException, SdkServiceException, SdkClientException, BudgetsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceException
default DeleteBudgetResponse deleteBudget(DeleteBudgetRequest deleteBudgetRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, SdkServiceException, SdkClientException, BudgetsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceException
default DeleteBudgetResponse deleteBudget(Consumer<DeleteBudgetRequest.Builder> deleteBudgetRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, SdkServiceException, SdkClientException, BudgetsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceException
default DeleteNotificationResponse deleteNotification(DeleteNotificationRequest deleteNotificationRequest) throws InvalidParameterException, InternalErrorException, NotFoundException, SdkServiceException, SdkClientException, BudgetsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceException
default DeleteNotificationResponse deleteNotification(Consumer<DeleteNotificationRequest.Builder> deleteNotificationRequest) throws InvalidParameterException, InternalErrorException, NotFoundException, SdkServiceException, SdkClientException, BudgetsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceException
default DeleteSubscriberResponse deleteSubscriber(DeleteSubscriberRequest deleteSubscriberRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, SdkServiceException, SdkClientException, BudgetsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceException
default DeleteSubscriberResponse deleteSubscriber(Consumer<DeleteSubscriberRequest.Builder> deleteSubscriberRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, SdkServiceException, SdkClientException, BudgetsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceException
default DescribeBudgetResponse describeBudget(DescribeBudgetRequest describeBudgetRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, SdkServiceException, SdkClientException, BudgetsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceException
default DescribeBudgetResponse describeBudget(Consumer<DescribeBudgetRequest.Builder> describeBudgetRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, SdkServiceException, SdkClientException, BudgetsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceException
default DescribeBudgetsResponse describeBudgets(DescribeBudgetsRequest describeBudgetsRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, InvalidNextTokenException, ExpiredNextTokenException, SdkServiceException, SdkClientException, BudgetsException
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 TTLSdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceException
default DescribeBudgetsResponse describeBudgets(Consumer<DescribeBudgetsRequest.Builder> describeBudgetsRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, InvalidNextTokenException, ExpiredNextTokenException, SdkServiceException, SdkClientException, BudgetsException
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 TTLSdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceException
default DescribeNotificationsForBudgetResponse describeNotificationsForBudget(DescribeNotificationsForBudgetRequest describeNotificationsForBudgetRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, InvalidNextTokenException, ExpiredNextTokenException, SdkServiceException, SdkClientException, BudgetsException
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 TTLSdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceException
default DescribeNotificationsForBudgetResponse describeNotificationsForBudget(Consumer<DescribeNotificationsForBudgetRequest.Builder> describeNotificationsForBudgetRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, InvalidNextTokenException, ExpiredNextTokenException, SdkServiceException, SdkClientException, BudgetsException
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 TTLSdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceException
default DescribeSubscribersForNotificationResponse describeSubscribersForNotification(DescribeSubscribersForNotificationRequest describeSubscribersForNotificationRequest) throws InternalErrorException, NotFoundException, InvalidParameterException, InvalidNextTokenException, ExpiredNextTokenException, SdkServiceException, SdkClientException, BudgetsException
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 TTLSdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceException
default DescribeSubscribersForNotificationResponse describeSubscribersForNotification(Consumer<DescribeSubscribersForNotificationRequest.Builder> describeSubscribersForNotificationRequest) throws InternalErrorException, NotFoundException, InvalidParameterException, InvalidNextTokenException, ExpiredNextTokenException, SdkServiceException, SdkClientException, BudgetsException
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 TTLSdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceException
default UpdateBudgetResponse updateBudget(UpdateBudgetRequest updateBudgetRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, SdkServiceException, SdkClientException, BudgetsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceException
default UpdateBudgetResponse updateBudget(Consumer<UpdateBudgetRequest.Builder> updateBudgetRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, SdkServiceException, SdkClientException, BudgetsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceException
default UpdateNotificationResponse updateNotification(UpdateNotificationRequest updateNotificationRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, DuplicateRecordException, SdkServiceException, SdkClientException, BudgetsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceException
default UpdateNotificationResponse updateNotification(Consumer<UpdateNotificationRequest.Builder> updateNotificationRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, DuplicateRecordException, SdkServiceException, SdkClientException, BudgetsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceException
default UpdateSubscriberResponse updateSubscriber(UpdateSubscriberRequest updateSubscriberRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, DuplicateRecordException, SdkServiceException, SdkClientException, BudgetsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceException
default UpdateSubscriberResponse updateSubscriber(Consumer<UpdateSubscriberRequest.Builder> updateSubscriberRequest) throws InternalErrorException, InvalidParameterException, NotFoundException, DuplicateRecordException, SdkServiceException, SdkClientException, BudgetsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.BudgetsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.SdkServiceException
static ServiceMetadata serviceMetadata()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.