GetGroupMembershipId
Source:
src/AWS/IdentityCenter/GetGroupMembershipId.ts
Runtime binding for the GetGroupMembershipId operation (IAM action
identitystore:GetGroupMembershipId), scoped to one Instance.
Resolves the MembershipId linking a user to a group in the bound instance’s identity store. The instance’s
IdentityStoreId is injected from the binding. Provide the implementation with
Effect.provide(AWS.IdentityCenter.GetGroupMembershipIdHttp).
Querying Group Memberships
Section titled “Querying Group Memberships”// init — bind the operation to the Identity Center instanceconst getGroupMembershipId = yield* AWS.IdentityCenter.GetGroupMembershipId(instance);
// runtimeconst { MembershipId } = yield* getGroupMembershipId({ GroupId: groupId, MemberId: { UserId: userId },});