ListGroups
Source:
src/AWS/IdentityCenter/ListGroups.ts
Runtime binding for the ListGroups operation (IAM action
identitystore:ListGroups), scoped to one Instance.
Lists the groups in the bound instance’s identity store, one page per call (NextToken paginates); pass Filters to narrow by attribute. The instance’s
IdentityStoreId is injected from the binding. Provide the implementation with
Effect.provide(AWS.IdentityCenter.ListGroupsHttp).
Looking Up Groups
Section titled “Looking Up Groups”// init — bind the operation to the Identity Center instanceconst listGroups = yield* AWS.IdentityCenter.ListGroups(instance);
// runtimeconst { Groups } = yield* listGroups({ MaxResults: 50 });console.log(Groups?.map((group) => group.DisplayName));