AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the DescribeCreateAccountStatus operation. Retrieves the current status of an asynchronous request to create an account.

This operation can be called only from the organization's master account.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Organizations.AmazonOrganizationsRequest
      Amazon.Organizations.Model.DescribeCreateAccountStatusRequest

Namespace: Amazon.Organizations.Model
Assembly: AWSSDK.Organizations.dll
Version: 3.x.y.z

Syntax

C#
public class DescribeCreateAccountStatusRequest : AmazonOrganizationsRequest
         IAmazonWebServiceRequest

The DescribeCreateAccountStatusRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property CreateAccountRequestId System.String

Gets and sets the property CreateAccountRequestId.

Specifies the operationId that uniquely identifies the request. You can get the ID from the response to an earlier CreateAccount request, or from the ListCreateAccountStatus operation.

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

Examples

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":

To get information about a request to create an account


var response = client.DescribeCreateAccountStatus(new DescribeCreateAccountStatusRequest 
{
    CreateAccountRequestId = "car-exampleaccountcreationrequestid"
});

CreateAccountStatus createAccountStatus = response.CreateAccountStatus;

            

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms