Skip to content

CreateMembers

Source: src/AWS/SecurityHub/CreateMembers.ts

Runtime binding for securityhub:CreateMembers.

Creates member associations between this administrator account and the specified accounts. Account-level operation — invoked with the caller’s request as-is. Provide the implementation with Effect.provide(AWS.SecurityHub.CreateMembersHttp).

// init — account-level binding, no resource argument
const createMembers = yield* AWS.SecurityHub.CreateMembers();
// runtime
const { UnprocessedAccounts } = yield* createMembers({
AccountDetails: [{ AccountId: "111122223333" }],
});