Skip to content

DescribeCreateAccountStatus

Source: src/AWS/Organizations/DescribeCreateAccountStatus.ts

Runtime binding for organizations:DescribeCreateAccountStatus.

Retrieves the current status of an asynchronous account-creation request — the polling half of an account-vending workflow. Account-level operation — Organizations is a management-account-scoped global service, so the binding takes no resource argument. Provide the implementation with Effect.provide(AWS.Organizations.DescribeCreateAccountStatusHttp).

// init — account-level binding, no resource argument
const describeCreateAccountStatus = yield* AWS.Organizations.DescribeCreateAccountStatus();
// runtime
const { CreateAccountStatus } = yield* describeCreateAccountStatus({
CreateAccountRequestId: requestId,
});