Skip to content

DescribeGroupMembership

Source: src/AWS/IdentityCenter/DescribeGroupMembership.ts

Runtime binding for the DescribeGroupMembership operation (IAM action identitystore:DescribeGroupMembership), scoped to one Instance.

Reads a group membership (group id + member id) from the bound instance’s identity store by MembershipId. The instance’s IdentityStoreId is injected from the binding. Provide the implementation with Effect.provide(AWS.IdentityCenter.DescribeGroupMembershipHttp).

// init — bind the operation to the Identity Center instance
const describeGroupMembership = yield* AWS.IdentityCenter.DescribeGroupMembership(instance);
// runtime
const membership = yield* describeGroupMembership({
MembershipId: membershipId,
});
console.log(membership.GroupId, membership.MemberId);