Skip to content

DisassociateMembers

Source: src/AWS/GuardDuty/DisassociateMembers.ts

Runtime binding for guardduty:DisassociateMembers.

Disassociates member accounts from this administrator detector without deleting them. The detector id is injected from the bound Detector. Provide the implementation with Effect.provide(AWS.GuardDuty.DisassociateMembersHttp).

// init
const disassociateMembers = yield* AWS.GuardDuty.DisassociateMembers(detector);
// runtime
yield* disassociateMembers({ AccountIds: ["111122223333"] });