ListUsers
Source:
src/AWS/Transfer/ListUsers.ts
Runtime binding for transfer:ListUsers.
Lists the users attached to the bound Server — the ServerId is
injected from the binding. Pass MaxResults/NextToken to page through
large user sets. The building block for self-service user portals over a
service-managed server. Provide the implementation with
Effect.provide(AWS.Transfer.ListUsersHttp).
Managing Users at Runtime
Section titled “Managing Users at Runtime”// init — bind the operation to the serverconst listUsers = yield* AWS.Transfer.ListUsers(server);
// runtimeconst { Users } = yield* listUsers();yield* Effect.log(`users: ${Users.map((u) => u.UserName).join(", ")}`);