Skip to content

ListGroupMemberships

Source: src/AWS/IdentityCenter/ListGroupMemberships.ts

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

Lists the members of a group in the bound instance’s identity store, one page per call (NextToken paginates). The instance’s IdentityStoreId is injected from the binding. Provide the implementation with Effect.provide(AWS.IdentityCenter.ListGroupMembershipsHttp).

// init — bind the operation to the Identity Center instance
const listGroupMemberships = yield* AWS.IdentityCenter.ListGroupMemberships(instance);
// runtime
const { GroupMemberships } = yield* listGroupMemberships({
GroupId: groupId,
});