ListUsers
Source:
src/AWS/IdentityCenter/ListUsers.ts
Runtime binding for the ListUsers operation (IAM action
identitystore:ListUsers), scoped to one Instance.
Lists the users 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.ListUsersHttp).
Looking Up Users
Section titled “Looking Up Users”// init — bind the operation to the Identity Center instanceconst listUsers = yield* AWS.IdentityCenter.ListUsers(instance);
// runtimeconst { Users, NextToken } = yield* listUsers({ MaxResults: 50 });console.log(Users?.map((user) => user.UserName));