Skip to content

CreateMembers

Source: src/AWS/GuardDuty/CreateMembers.ts

Runtime binding for guardduty:CreateMembers.

Associates member accounts with this administrator detector (organization-managed or invitation flow). The detector id is injected from the bound Detector. Provide the implementation with Effect.provide(AWS.GuardDuty.CreateMembersHttp).

// init
const createMembers = yield* AWS.GuardDuty.CreateMembers(detector);
// runtime
yield* createMembers({
AccountDetails: [{ AccountId: "111122223333", Email: "security@example.com" }],
});