@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface AccountClient extends SdkClient
builder() method.
Operations for Amazon Web Services Account Management
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static AccountClientBuilder |
builder()
Create a builder that can be used to configure and create a
AccountClient. |
static AccountClient |
create()
Create a
AccountClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default DeleteAlternateContactResponse |
deleteAlternateContact(Consumer<DeleteAlternateContactRequest.Builder> deleteAlternateContactRequest)
Deletes the specified alternate contact from an Amazon Web Services account.
|
default DeleteAlternateContactResponse |
deleteAlternateContact(DeleteAlternateContactRequest deleteAlternateContactRequest)
Deletes the specified alternate contact from an Amazon Web Services account.
|
default GetAlternateContactResponse |
getAlternateContact(Consumer<GetAlternateContactRequest.Builder> getAlternateContactRequest)
Retrieves the specified alternate contact attached to an Amazon Web Services account.
|
default GetAlternateContactResponse |
getAlternateContact(GetAlternateContactRequest getAlternateContactRequest)
Retrieves the specified alternate contact attached to an Amazon Web Services account.
|
default PutAlternateContactResponse |
putAlternateContact(Consumer<PutAlternateContactRequest.Builder> putAlternateContactRequest)
Modifies the specified alternate contact attached to an Amazon Web Services account.
|
default PutAlternateContactResponse |
putAlternateContact(PutAlternateContactRequest putAlternateContactRequest)
Modifies the specified alternate contact attached to an Amazon Web Services account.
|
static ServiceMetadata |
serviceMetadata() |
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static AccountClient create()
AccountClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static AccountClientBuilder builder()
AccountClient.default DeleteAlternateContactResponse deleteAlternateContact(DeleteAlternateContactRequest deleteAlternateContactRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, AccountException
Deletes the specified alternate contact from an Amazon Web Services account.
For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
deleteAlternateContactRequest - ResourceNotFoundException - The operation failed because it specified a resource that can't be found.ValidationException - The operation failed because one of the input parameters was invalid.AccessDeniedException - The operation failed because the calling identity doesn't have the minimum required permissions.TooManyRequestsException - The operation failed because it was called too frequently and exceeded a throttle limit.InternalServerException - The operation failed because of an error internal to Amazon Web Services. Try your operation again later.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.AccountException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteAlternateContactResponse deleteAlternateContact(Consumer<DeleteAlternateContactRequest.Builder> deleteAlternateContactRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, AccountException
Deletes the specified alternate contact from an Amazon Web Services account.
For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
This is a convenience which creates an instance of the DeleteAlternateContactRequest.Builder avoiding the
need to create one manually via DeleteAlternateContactRequest.builder()
deleteAlternateContactRequest - A Consumer that will call methods on DeleteAlternateContactRequest.Builder to create a
request.ResourceNotFoundException - The operation failed because it specified a resource that can't be found.ValidationException - The operation failed because one of the input parameters was invalid.AccessDeniedException - The operation failed because the calling identity doesn't have the minimum required permissions.TooManyRequestsException - The operation failed because it was called too frequently and exceeded a throttle limit.InternalServerException - The operation failed because of an error internal to Amazon Web Services. Try your operation again later.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.AccountException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetAlternateContactResponse getAlternateContact(GetAlternateContactRequest getAlternateContactRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, AccountException
Retrieves the specified alternate contact attached to an Amazon Web Services account.
For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
getAlternateContactRequest - ResourceNotFoundException - The operation failed because it specified a resource that can't be found.ValidationException - The operation failed because one of the input parameters was invalid.AccessDeniedException - The operation failed because the calling identity doesn't have the minimum required permissions.TooManyRequestsException - The operation failed because it was called too frequently and exceeded a throttle limit.InternalServerException - The operation failed because of an error internal to Amazon Web Services. Try your operation again later.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.AccountException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetAlternateContactResponse getAlternateContact(Consumer<GetAlternateContactRequest.Builder> getAlternateContactRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, AccountException
Retrieves the specified alternate contact attached to an Amazon Web Services account.
For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
This is a convenience which creates an instance of the GetAlternateContactRequest.Builder avoiding the
need to create one manually via GetAlternateContactRequest.builder()
getAlternateContactRequest - A Consumer that will call methods on GetAlternateContactRequest.Builder to create a
request.ResourceNotFoundException - The operation failed because it specified a resource that can't be found.ValidationException - The operation failed because one of the input parameters was invalid.AccessDeniedException - The operation failed because the calling identity doesn't have the minimum required permissions.TooManyRequestsException - The operation failed because it was called too frequently and exceeded a throttle limit.InternalServerException - The operation failed because of an error internal to Amazon Web Services. Try your operation again later.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.AccountException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutAlternateContactResponse putAlternateContact(PutAlternateContactRequest putAlternateContactRequest) throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, AccountException
Modifies the specified alternate contact attached to an Amazon Web Services account.
For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
putAlternateContactRequest - ValidationException - The operation failed because one of the input parameters was invalid.AccessDeniedException - The operation failed because the calling identity doesn't have the minimum required permissions.TooManyRequestsException - The operation failed because it was called too frequently and exceeded a throttle limit.InternalServerException - The operation failed because of an error internal to Amazon Web Services. Try your operation again later.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.AccountException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutAlternateContactResponse putAlternateContact(Consumer<PutAlternateContactRequest.Builder> putAlternateContactRequest) throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, AccountException
Modifies the specified alternate contact attached to an Amazon Web Services account.
For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts.
This is a convenience which creates an instance of the PutAlternateContactRequest.Builder avoiding the
need to create one manually via PutAlternateContactRequest.builder()
putAlternateContactRequest - A Consumer that will call methods on PutAlternateContactRequest.Builder to create a
request.ValidationException - The operation failed because one of the input parameters was invalid.AccessDeniedException - The operation failed because the calling identity doesn't have the minimum required permissions.TooManyRequestsException - The operation failed because it was called too frequently and exceeded a throttle limit.InternalServerException - The operation failed because of an error internal to Amazon Web Services. Try your operation again later.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.AccountException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
Copyright © 2022. All rights reserved.