Skip to content

Describe Create Account Status

organizations_describe_create_account_status R Documentation

Retrieves the current status of an asynchronous request to create an account

Description

Retrieves the current status of an asynchronous request to create an account.

This operation can be called only from the organization's management account or by a member account that is a delegated administrator for an Amazon Web Services service.

Usage

organizations_describe_create_account_status(CreateAccountRequestId)

Arguments

CreateAccountRequestId

[required] Specifies the Id value that uniquely identifies the create_account request. You can get the value from the CreateAccountStatus.Id response in an earlier create_account request, or from the list_create_account_status operation.

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

Value

A list with the following syntax:

list(
  CreateAccountStatus = list(
    Id = "string",
    AccountName = "string",
    State = "IN_PROGRESS"|"SUCCEEDED"|"FAILED",
    RequestedTimestamp = as.POSIXct(
      "2015-01-01"
    ),
    CompletedTimestamp = as.POSIXct(
      "2015-01-01"
    ),
    AccountId = "string",
    GovCloudAccountId = "string",
    FailureReason = "ACCOUNT_LIMIT_EXCEEDED"|"EMAIL_ALREADY_EXISTS"|"INVALID_ADDRESS"|"INVALID_EMAIL"|"CONCURRENT_ACCOUNT_MODIFICATION"|"INTERNAL_FAILURE"|"GOVCLOUD_ACCOUNT_ALREADY_EXISTS"|"MISSING_BUSINESS_VALIDATION"|"FAILED_BUSINESS_VALIDATION"|"PENDING_BUSINESS_VALIDATION"|"INVALID_IDENTITY_FOR_BUSINESS_VALIDATION"|"UNKNOWN_BUSINESS_VALIDATION"|"MISSING_PAYMENT_INSTRUMENT"|"INVALID_PAYMENT_INSTRUMENT"|"UPDATE_EXISTING_RESOURCE_POLICY_WITH_TAGS_NOT_SUPPORTED"
  )
)

Request syntax

svc$describe_create_account_status(
  CreateAccountRequestId = "string"
)

Examples

## Not run: 
# The following example shows how to request the status about a previous
# request to create an account in an organization. This operation can be
# called only by a principal from the organization's master account. In
# the example, the specified "createAccountRequestId" comes from the
# response of the original call to "CreateAccount":
svc$describe_create_account_status(
  CreateAccountRequestId = "car-exampleaccountcreationrequestid"
)

## End(Not run)