Skip to content

ListOrganizationAdminAccounts

Source: src/AWS/GuardDuty/ListOrganizationAdminAccounts.ts

Runtime binding for guardduty:ListOrganizationAdminAccounts.

Lists the accounts delegated as GuardDuty administrator for the organization. Account-level operation — invoked with the caller’s request as-is. Provide the implementation with Effect.provide(AWS.GuardDuty.ListOrganizationAdminAccountsHttp).

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