{ "version":"2.0", "metadata":{ "apiVersion":"2021-02-01", "endpointPrefix":"account", "jsonVersion":"1.1", "protocol":"rest-json", "serviceFullName":"AWS Account", "serviceId":"Account", "signatureVersion":"v4", "signingName":"account", "uid":"account-2021-02-01" }, "operations":{ "DeleteAlternateContact":{ "name":"DeleteAlternateContact", "http":{ "method":"POST", "requestUri":"/deleteAlternateContact", "responseCode":200 }, "input":{"shape":"DeleteAlternateContactRequest"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"TooManyRequestsException"}, {"shape":"InternalServerException"} ], "documentation":"

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.

", "idempotent":true }, "GetAlternateContact":{ "name":"GetAlternateContact", "http":{ "method":"POST", "requestUri":"/getAlternateContact", "responseCode":200 }, "input":{"shape":"GetAlternateContactRequest"}, "output":{"shape":"GetAlternateContactResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"TooManyRequestsException"}, {"shape":"InternalServerException"} ], "documentation":"

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.

" }, "PutAlternateContact":{ "name":"PutAlternateContact", "http":{ "method":"POST", "requestUri":"/putAlternateContact", "responseCode":200 }, "input":{"shape":"PutAlternateContactRequest"}, "errors":[ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"TooManyRequestsException"}, {"shape":"InternalServerException"} ], "documentation":"

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.

", "idempotent":true } }, "shapes":{ "AccessDeniedException":{ "type":"structure", "required":["message"], "members":{ "message":{"shape":"String"} }, "documentation":"

The operation failed because the calling identity doesn't have the minimum required permissions.

", "error":{ "httpStatusCode":403, "senderFault":true }, "exception":true }, "AccountId":{ "type":"string", "pattern":"^\\d{12}$" }, "AlternateContact":{ "type":"structure", "members":{ "AlternateContactType":{ "shape":"AlternateContactType", "documentation":"

The type of alternate contact.

" }, "EmailAddress":{ "shape":"EmailAddress", "documentation":"

The email address associated with this alternate contact.

" }, "Name":{ "shape":"Name", "documentation":"

The name associated with this alternate contact.

" }, "PhoneNumber":{ "shape":"PhoneNumber", "documentation":"

The phone number associated with this alternate contact.

" }, "Title":{ "shape":"Title", "documentation":"

The title associated with this alternate contact.

" } }, "documentation":"

A structure that contains the details of an alternate contact associated with an Amazon Web Services account

" }, "AlternateContactType":{ "type":"string", "enum":[ "BILLING", "OPERATIONS", "SECURITY" ] }, "DeleteAlternateContactRequest":{ "type":"structure", "required":["AlternateContactType"], "members":{ "AccountId":{ "shape":"AccountId", "documentation":"

Specifies the 12 digit account ID number of the Amazon Web Services account that you want to access or modify with this operation.

If you do not specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation.

To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account, and the specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.

The management account can't specify its own AccountId; it must call the operation in standalone context by not including the AccountId parameter.

To call this operation on an account that is not a member of an organization, then don't specify this parameter, and call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.

" }, "AlternateContactType":{ "shape":"AlternateContactType", "documentation":"

Specifies which of the alternate contacts to delete.

" } } }, "EmailAddress":{ "type":"string", "max":64, "min":1, "pattern":"[\\w+=,.-]+@[\\w.-]+\\.[\\w]+", "sensitive":true }, "GetAlternateContactRequest":{ "type":"structure", "required":["AlternateContactType"], "members":{ "AccountId":{ "shape":"AccountId", "documentation":"

Specifies the 12 digit account ID number of the Amazon Web Services account that you want to access or modify with this operation.

If you do not specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation.

To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account, and the specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.

The management account can't specify its own AccountId; it must call the operation in standalone context by not including the AccountId parameter.

To call this operation on an account that is not a member of an organization, then don't specify this parameter, and call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.

" }, "AlternateContactType":{ "shape":"AlternateContactType", "documentation":"

Specifies which alternate contact you want to retrieve.

" } } }, "GetAlternateContactResponse":{ "type":"structure", "members":{ "AlternateContact":{ "shape":"AlternateContact", "documentation":"

A structure that contains the details for the specified alternate contact.

" } } }, "InternalServerException":{ "type":"structure", "required":["message"], "members":{ "message":{"shape":"String"} }, "documentation":"

The operation failed because of an error internal to Amazon Web Services. Try your operation again later.

", "error":{"httpStatusCode":500}, "exception":true, "fault":true, "retryable":{"throttling":false} }, "Name":{ "type":"string", "max":64, "min":1, "sensitive":true }, "PhoneNumber":{ "type":"string", "max":25, "min":1, "pattern":"^[\\s0-9()+-]+$", "sensitive":true }, "PutAlternateContactRequest":{ "type":"structure", "required":[ "AlternateContactType", "EmailAddress", "Name", "PhoneNumber", "Title" ], "members":{ "AccountId":{ "shape":"AccountId", "documentation":"

Specifies the 12 digit account ID number of the Amazon Web Services account that you want to access or modify with this operation.

If you do not specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation.

To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account, and the specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.

The management account can't specify its own AccountId; it must call the operation in standalone context by not including the AccountId parameter.

To call this operation on an account that is not a member of an organization, then don't specify this parameter, and call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.

" }, "AlternateContactType":{ "shape":"AlternateContactType", "documentation":"

Specifies which alternate contact you want to create or update.

" }, "EmailAddress":{ "shape":"EmailAddress", "documentation":"

Specifies an email address for the alternate contact.

" }, "Name":{ "shape":"Name", "documentation":"

Specifies a name for the alternate contact.

" }, "PhoneNumber":{ "shape":"PhoneNumber", "documentation":"

Specifies a phone number for the alternate contact.

" }, "Title":{ "shape":"Title", "documentation":"

Specifies a title for the alternate contact.

" } } }, "ResourceNotFoundException":{ "type":"structure", "required":["message"], "members":{ "message":{"shape":"String"} }, "documentation":"

The operation failed because it specified a resource that can't be found.

", "error":{ "httpStatusCode":404, "senderFault":true }, "exception":true }, "String":{"type":"string"}, "Title":{ "type":"string", "max":50, "min":1, "sensitive":true }, "TooManyRequestsException":{ "type":"structure", "required":["message"], "members":{ "message":{"shape":"String"} }, "documentation":"

The operation failed because it was called too frequently and exceeded a throttle limit.

", "error":{ "httpStatusCode":429, "senderFault":true }, "exception":true, "retryable":{"throttling":true} }, "ValidationException":{ "type":"structure", "required":["message"], "members":{ "message":{"shape":"String"} }, "documentation":"

The operation failed because one of the input parameters was invalid.

", "error":{ "httpStatusCode":400, "senderFault":true }, "exception":true } }, "documentation":"

Operations for Amazon Web Services Account Management

" }