Skip to content

AssociateMember

Source: src/AWS/Inspector2/AssociateMember.ts

Runtime binding for inspector2:AssociateMember.

Associates an Amazon Web Services account with an Amazon Inspector delegated administrator. An HTTP 200 response indicates the association was successfully started, but doesn’t indicate whether it was completed. You can check if the association completed by using ListMembers for multiple accounts or GetMembers for a single account.

Provide the implementation with Effect.provide(AWS.Inspector2.AssociateMemberHttp).

// init
const associateMember = yield* AWS.Inspector2.AssociateMember();
// runtime
yield* associateMember({ accountId });