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.
example
Use a bare-bones client and the command you need to make an API call.
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.
Use a bare-bones client and the command you need to make an API call.
import { OrganizationsClient, DescribeCreateAccountStatusCommand } from "@aws-sdk/client-organizations"; // ES Modules import // const { OrganizationsClient, DescribeCreateAccountStatusCommand } = require("@aws-sdk/client-organizations"); // CommonJS import const client = new OrganizationsClient(config); const command = new DescribeCreateAccountStatusCommand(input); const response = await client.send(command);
DescribeCreateAccountStatusCommandInput for command's
input
shape.DescribeCreateAccountStatusCommandOutput for command's
response
shape.config for OrganizationsClient's
config
shape.