CreateMembers
Source:
src/AWS/Detective/CreateMembers.ts
Runtime binding for detective:CreateMembers.
Invites accounts into the behavior graph (or auto-enables organization
accounts) — the automation hook for onboarding new accounts to Detective
as they join the fleet. The graph ARN is injected from the bound
Graph.
Provide the implementation with
Effect.provide(AWS.Detective.CreateMembersHttp).
Administering Member Accounts
Section titled “Administering Member Accounts”// initconst createMembers = yield* AWS.Detective.CreateMembers(graph);
// runtimeyield* createMembers({ Accounts: [{ AccountId: "111122223333", EmailAddress: email }], DisableEmailNotification: true,});