logo
pub struct CreateAccountStatus {
    pub account_id: Option<String>,
    pub account_name: Option<String>,
    pub completed_timestamp: Option<f64>,
    pub failure_reason: Option<String>,
    pub gov_cloud_account_id: Option<String>,
    pub id: Option<String>,
    pub requested_timestamp: Option<f64>,
    pub state: Option<String>,
}
Expand description

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

Fields

account_id: Option<String>

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.

account_name: Option<String>

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

completed_timestamp: Option<f64>

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

failure_reason: Option<String>

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

  • ACCOUNTLIMITEXCEEDED: The account couldn't be created because you reached the limit on the number of accounts in your organization.

  • CONCURRENTACCOUNTMODIFICATION: You already submitted a request with the same information.

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

  • FAILEDBUSINESSVALIDATION: The AWS account that owns your organization failed to receive business license validation.

  • GOVCLOUDACCOUNTALREADYEXISTS: The account in the AWS GovCloud (US) Region could not be created because this Region already includes an account with that email address.

  • IDENTITYINVALIDBUSINESSVALIDATION: The AWS account that owns your organization can't complete business license validation because it doesn't have valid identity data.

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

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

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

  • MISSINGBUSINESSVALIDATION: The AWS account that owns your organization has not received Business Validation.

  • MISSINGPAYMENTINSTRUMENT: You must configure the management account with a valid payment method, such as a credit card.

  • PENDINGBUSINESSVALIDATION: The AWS account that owns your organization is still in the process of completing business license validation.

  • UNKNOWNBUSINESS_VALIDATION: The AWS account that owns your organization has an unknown issue with business license validation.

gov_cloud_account_id: Option<String>

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

id: Option<String>

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 a create account request ID string requires "car-" followed by from 8 to 32 lowercase letters or digits.

requested_timestamp: Option<f64>

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

state: Option<String>

The status of the asynchronous request to create an AWS account.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more