Skip to content

EnableOrganizationAdminAccount

Source: src/AWS/GuardDuty/EnableOrganizationAdminAccount.ts

Runtime binding for guardduty:EnableOrganizationAdminAccount.

Delegates an account as the organization’s GuardDuty administrator (management account only). Account-level operation — invoked with the caller’s request as-is. Provide the implementation with Effect.provide(AWS.GuardDuty.EnableOrganizationAdminAccountHttp).

// init
// init — account-level binding, no resource argument
const enableOrganizationAdminAccount = yield* AWS.GuardDuty.EnableOrganizationAdminAccount();
// runtime
yield* enableOrganizationAdminAccount({ AdminAccountId: "111122223333" });