Class: Aws::Organizations::Types::CreateAccountStatus
- Inherits:
-
Struct
- Object
- Struct
- Aws::Organizations::Types::CreateAccountStatus
- Defined in:
- gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb
Overview
Contains the status about a CreateAccount or CreateGovCloudAccount request to create an Amazon Web Services account or an Amazon Web Services GovCloud (US) account in an organization.
Constant Summary collapse
- SENSITIVE =
[:account_name]
Instance Attribute Summary collapse
-
#account_id ⇒ String
If the account was created successfully, the unique identifier (ID) of the new account.
-
#account_name ⇒ String
The account name given to the account when it was created.
-
#completed_timestamp ⇒ Time
The date and time that the account was created and the request completed.
-
#failure_reason ⇒ String
If the request failed, a description of the reason for the failure.
-
#gov_cloud_account_id ⇒ String
If the account was created successfully, the unique identifier (ID) of the new account in the Amazon Web Services GovCloud (US) Region.
-
#id ⇒ String
The unique identifier (ID) that references this request.
-
#requested_timestamp ⇒ Time
The date and time that the request was made for the account creation.
-
#state ⇒ String
The status of the asynchronous request to create an Amazon Web Services account.
Instance Attribute Details
#account_id ⇒ 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.
892 893 894 895 896 897 898 899 900 901 902 903 |
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 892 class CreateAccountStatus < Struct.new( :id, :account_name, :state, :requested_timestamp, :completed_timestamp, :account_id, :gov_cloud_account_id, :failure_reason) SENSITIVE = [:account_name] include Aws::Structure end |
#account_name ⇒ String
The account name given to the account when it was created.
892 893 894 895 896 897 898 899 900 901 902 903 |
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 892 class CreateAccountStatus < Struct.new( :id, :account_name, :state, :requested_timestamp, :completed_timestamp, :account_id, :gov_cloud_account_id, :failure_reason) SENSITIVE = [:account_name] include Aws::Structure end |
#completed_timestamp ⇒ Time
The date and time that the account was created and the request completed.
892 893 894 895 896 897 898 899 900 901 902 903 |
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 892 class CreateAccountStatus < Struct.new( :id, :account_name, :state, :requested_timestamp, :completed_timestamp, :account_id, :gov_cloud_account_id, :failure_reason) SENSITIVE = [:account_name] include Aws::Structure end |
#failure_reason ⇒ String
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 Amazon Web Services account with that email address already exists.
FAILED_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization failed to receive business license validation.
GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the Amazon Web Services GovCloud (US) Region could not be created because this Region already includes an account with that email address.
IDENTITY_INVALID_BUSINESS_VALIDATION: The Amazon Web Services 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.
INVALID_PAYMENT_INSTRUMENT: The Amazon Web Services account that owns your organization does not have a supported payment method associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see Managing your Amazon Web Services payments.
INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the problem persists, contact Amazon Web Services Customer Support.
MISSING_BUSINESS_VALIDATION: The Amazon Web Services 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 Amazon Web Services account that owns your organization is still in the process of completing business license validation.
UNKNOWN_BUSINESS_VALIDATION: The Amazon Web Services account that owns your organization has an unknown issue with business license validation.
892 893 894 895 896 897 898 899 900 901 902 903 |
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 892 class CreateAccountStatus < Struct.new( :id, :account_name, :state, :requested_timestamp, :completed_timestamp, :account_id, :gov_cloud_account_id, :failure_reason) SENSITIVE = [:account_name] include Aws::Structure end |
#gov_cloud_account_id ⇒ String
If the account was created successfully, the unique identifier (ID) of the new account in the Amazon Web Services GovCloud (US) Region.
892 893 894 895 896 897 898 899 900 901 902 903 |
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 892 class CreateAccountStatus < Struct.new( :id, :account_name, :state, :requested_timestamp, :completed_timestamp, :account_id, :gov_cloud_account_id, :failure_reason) SENSITIVE = [:account_name] include Aws::Structure end |
#id ⇒ 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.
892 893 894 895 896 897 898 899 900 901 902 903 |
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 892 class CreateAccountStatus < Struct.new( :id, :account_name, :state, :requested_timestamp, :completed_timestamp, :account_id, :gov_cloud_account_id, :failure_reason) SENSITIVE = [:account_name] include Aws::Structure end |
#requested_timestamp ⇒ Time
The date and time that the request was made for the account creation.
892 893 894 895 896 897 898 899 900 901 902 903 |
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 892 class CreateAccountStatus < Struct.new( :id, :account_name, :state, :requested_timestamp, :completed_timestamp, :account_id, :gov_cloud_account_id, :failure_reason) SENSITIVE = [:account_name] include Aws::Structure end |
#state ⇒ String
The status of the asynchronous request to create an Amazon Web Services account.
892 893 894 895 896 897 898 899 900 901 902 903 |
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb', line 892 class CreateAccountStatus < Struct.new( :id, :account_name, :state, :requested_timestamp, :completed_timestamp, :account_id, :gov_cloud_account_id, :failure_reason) SENSITIVE = [:account_name] include Aws::Structure end |