@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSAccountClient extends AmazonWebServiceClient implements AWSAccount
Operations for Amazon Web Services Account Management
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AWSAccountClientBuilder |
builder() |
DeleteAlternateContactResult |
deleteAlternateContact(DeleteAlternateContactRequest request)
Deletes the specified alternate contact from an Amazon Web Services account.
|
GetAlternateContactResult |
getAlternateContact(GetAlternateContactRequest request)
Retrieves the specified alternate contact attached to an Amazon Web Services account.
|
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.
|
PutAlternateContactResult |
putAlternateContact(PutAlternateContactRequest request)
Modifies the specified alternate contact attached to an Amazon Web Services account.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
public static AWSAccountClientBuilder builder()
public DeleteAlternateContactResult deleteAlternateContact(DeleteAlternateContactRequest request)
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.
deleteAlternateContact
in interface AWSAccount
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.public GetAlternateContactResult getAlternateContact(GetAlternateContactRequest request)
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.
getAlternateContact
in interface AWSAccount
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.public PutAlternateContactResult putAlternateContact(PutAlternateContactRequest request)
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.
putAlternateContact
in interface AWSAccount
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.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 AWSAccount
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AWSAccount
shutdown
in class AmazonWebServiceClient