Skip to content

ListOrganizationAdminAccounts

Source: src/AWS/Detective/ListOrganizationAdminAccounts.ts

Runtime binding for detective:ListOrganizationAdminAccounts.

Lists the organization’s delegated Detective administrator account. Callable only from the organization management account. Provide the implementation with Effect.provide(AWS.Detective.ListOrganizationAdminAccountsHttp).

// init — account-level binding, no resource argument
const listOrganizationAdminAccounts =
yield* AWS.Detective.ListOrganizationAdminAccounts();
// runtime
const { Administrators } = yield* listOrganizationAdminAccounts();