Learn R Programming

paws.management (version 0.1.12)

organizations_describe_create_account_status: 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 AWS service.

Usage

organizations_describe_create_account_status(CreateAccountRequestId)

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"|"MISSING_PAYMENT_INSTRUMENT"
  )
)

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.

Request syntax

svc$describe_create_account_status(
  CreateAccountRequestId = "string"
)

Examples

Run this code
if (FALSE) {
# 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"
)
}

Run the code above in your browser using DataLab