Skip to content

ListCreateAccountStatus

Source: src/AWS/Organizations/ListCreateAccountStatus.ts

Runtime binding for organizations:ListCreateAccountStatus.

Lists the account-creation requests that match the specified states — auditing in-flight and completed account vending. 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.ListCreateAccountStatusHttp).

// init — account-level binding, no resource argument
const listCreateAccountStatus = yield* AWS.Organizations.ListCreateAccountStatus();
// runtime
const { CreateAccountStatuses } = yield* listCreateAccountStatus({
States: ["IN_PROGRESS"],
});