Skip to content

GetMember

Source: src/AWS/Macie2/GetMember.ts

Runtime binding for macie2:GetMember.

Retrieves information about an account that’s associated with an Amazon Macie administrator account. Account-level operation — invoked with the caller’s request as-is. Provide the implementation with Effect.provide(AWS.Macie2.GetMemberHttp).

// init — account-level binding, no resource argument
const getMember = yield* AWS.Macie2.GetMember();
// runtime
const { relationshipStatus } = yield* getMember({ id: accountId });