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.
This is the response object from the ListCreateAccountStatus operation.
Namespace: Amazon.Organizations.Model
Assembly: AWSSDK.Organizations.dll
Version: 3.x.y.z
public class ListCreateAccountStatusResponse : AmazonWebServiceResponse
The ListCreateAccountStatusResponse type exposes the following members
Name | Description | |
---|---|---|
![]() |
ListCreateAccountStatusResponse() |
Name | Type | Description | |
---|---|---|---|
![]() |
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
![]() |
CreateAccountStatuses | System.Collections.Generic.List<Amazon.Organizations.Model.CreateAccountStatus> |
Gets and sets the property CreateAccountStatuses. A list of objects with details about the requests. Certain elements, such as the accountId number, are present in the output only after the account has been successfully created. |
![]() |
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
![]() |
NextToken | System.String |
Gets and sets the property NextToken.
If present, indicates that more output is available than is included in the current
response. Use this value in the |
![]() |
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
The following example shows a user requesting a list of only the completed account creation requests made for the current organization:
var client = new AmazonOrganizationsClient(); var response = client.ListCreateAccountStatus(new ListCreateAccountStatusRequest { States = new List<string> { "SUCCEEDED" } }); List<CreateAccountStatus> createAccountStatuses = response.CreateAccountStatuses;
The following example shows a user requesting a list of only the in-progress account creation requests made for the current organization:
var client = new AmazonOrganizationsClient(); var response = client.ListCreateAccountStatus(new ListCreateAccountStatusRequest { States = new List<string> { "IN_PROGRESS" } }); List<CreateAccountStatus> createAccountStatuses = response.CreateAccountStatuses;
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5