Skip to content

InviteMembers

Source: src/AWS/SecurityHub/InviteMembers.ts

Runtime binding for securityhub:InviteMembers.

Invites the specified accounts to associate with this account as Security Hub members. Account-level operation — invoked with the caller’s request as-is. Provide the implementation with Effect.provide(AWS.SecurityHub.InviteMembersHttp).

// init — account-level binding, no resource argument
const inviteMembers = yield* AWS.SecurityHub.InviteMembers();
// runtime
yield* inviteMembers({ AccountIds: ["111122223333"] });