Menu
AWS Organizations API Reference
API Reference (API Version 2016-11-28)

CreateAccountStatus

Contains the status about a CreateAccount request to create an AWS account in an organization.

Contents

AccountId

If the account was created successfully, the unique identifier (ID) of the new account.

The regex pattern for an account ID string requires exactly 12 digits.

Type: String

Pattern: ^\d{12}$

Required: No

AccountName

The account name given to the account when it was created.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 50.

Required: No

CompletedTimestamp

The date and time that the account was created and the request completed.

Type: Timestamp

Required: No

FailureReason

If the request failed, a description of the reason for the failure.

  • ACCOUNT_LIMIT_EXCEEDED: The account could not be created because you have reached the limit on the number of accounts in your organization.

  • EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists.

  • INVALID_ADDRESS: The account could not be created because the address you provided is not valid.

  • INVALID_EMAIL: The account could not be created because the email address you provided is not valid.

  • INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the problem persists, contact Customer Support.

Type: String

Valid Values: ACCOUNT_LIMIT_EXCEEDED | EMAIL_ALREADY_EXISTS | INVALID_ADDRESS | INVALID_EMAIL | CONCURRENT_ACCOUNT_MODIFICATION | INTERNAL_FAILURE

Required: No

Id

The unique identifier (ID) that references this request. You get this value from the response of the initial CreateAccount request to create the account.

The regex pattern for an create account request ID string requires "car-" followed by from 8 to 32 lower-case letters or digits.

Type: String

Pattern: ^car-[a-z0-9]{8,32}$

Required: No

RequestedTimestamp

The date and time that the request was made for the account creation.

Type: Timestamp

Required: No

State

The status of the request.

Type: String

Valid Values: IN_PROGRESS | SUCCEEDED | FAILED

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: