class Aws::Organizations::Types::CreateAccountStatus

Contains the status about a CreateAccount or CreateGovCloudAccount request to create an AWS account or an AWS GovCloud (US) account in an organization.

@!attribute [rw] 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][1] for a create account request ID string
requires "car-" followed by from 8 to 32 lowercase letters or
digits.

[1]: http://wikipedia.org/wiki/regex
@return [String]

@!attribute [rw] account_name

The account name given to the account when it was created.
@return [String]

@!attribute [rw] state

The status of the asynchronous request to create an AWS account.
@return [String]

@!attribute [rw] requested_timestamp

The date and time that the request was made for the account
creation.
@return [Time]

@!attribute [rw] completed_timestamp

The date and time that the account was created and the request
completed.
@return [Time]

@!attribute [rw] account_id

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

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

[1]: http://wikipedia.org/wiki/regex
@return [String]

@!attribute [rw] gov_cloud_account_id

If the account was created successfully, the unique identifier (ID)
of the new account in the AWS GovCloud (US) Region.
@return [String]

@!attribute [rw] failure_reason

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

* ACCOUNT\_LIMIT\_EXCEEDED: The account couldn't be created because
  you reached the limit on the number of accounts in your
  organization.

* CONCURRENT\_ACCOUNT\_MODIFICATION: You already submitted a request
  with the same information.

* EMAIL\_ALREADY\_EXISTS: The account could not be created because
  another AWS account with that email address already exists.

* FAILED\_BUSINESS\_VALIDATION: The AWS account that owns your
  organization failed to receive business license validation.

* GOVCLOUD\_ACCOUNT\_ALREADY\_EXISTS: The account in the AWS
  GovCloud (US) Region could not be created because this Region
  already includes an account with that email address.

* IDENTITY\_INVALID\_BUSINESS\_VALIDATION: The AWS account that owns
  your organization can't complete business license validation
  because it doesn't have valid identity data.

* 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 AWS Customer Support.

* MISSING\_BUSINESS\_VALIDATION: The AWS account that owns your
  organization has not received Business Validation.

* MISSING\_PAYMENT\_INSTRUMENT: You must configure the management
  account with a valid payment method, such as a credit card.

* PENDING\_BUSINESS\_VALIDATION: The AWS account that owns your
  organization is still in the process of completing business
  license validation.

* UNKNOWN\_BUSINESS\_VALIDATION: The AWS account that owns your
  organization has an unknown issue with business license
  validation.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateAccountStatus AWS API Documentation

Constants

SENSITIVE