CreateAccountStatus
public struct CreateAccountStatus : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
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.
Declaration
Swift
public let accountId: String?
-
The account name given to the account when it was created.
Declaration
Swift
public let accountName: String?
-
The date and time that the account was created and the request completed.
Declaration
Swift
public let completedTimestamp: TimeStamp?
-
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. 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. 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. 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. MISSING_BUSINESS_VALIDATION: The AWS account that owns your organization has not received Business Validation. MISSING_PAYMENT_INSTRUMENT: You must configure the master account with a valid payment method, such as a credit card.
Declaration
Swift
public let failureReason: CreateAccountFailureReason?
-
If the account was created successfully, the unique identifier (ID) of the new account in the AWS GovCloud (US) Region.
Declaration
Swift
public let govCloudAccountId: 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 lower-case letters or digits.
Declaration
Swift
public let id: String?
-
The date and time that the request was made for the account creation.
Declaration
Swift
public let requestedTimestamp: TimeStamp?
-
The status of the request.
Declaration
Swift
public let state: CreateAccountState?
-
init(accountId:accountName:completedTimestamp:failureReason:govCloudAccountId:id:requestedTimestamp:state:)
Undocumented
Declaration
Swift
public init(accountId: String? = nil, accountName: String? = nil, completedTimestamp: TimeStamp? = nil, failureReason: CreateAccountFailureReason? = nil, govCloudAccountId: String? = nil, id: String? = nil, requestedTimestamp: TimeStamp? = nil, state: CreateAccountState? = nil)