Skip to content

ListUsers

Source: src/AWS/MQ/ListUsers.ts

Runtime binding for the ListUsers operation (IAM action mq:ListUsers), scoped to one Broker.

Lists all users on the broker, including any with staged pending changes. Provide the implementation with Effect.provide(AWS.MQ.ListUsersHttp).

const listUsers = yield* MQ.ListUsers(broker);
const page = yield* listUsers();
// page.Users → [{ Username: "admin" }, { Username: "tenant-42", PendingChange: "CREATE" }]