Skip to content

DescribeUser

Source: src/AWS/MQ/DescribeUser.ts

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

Reads a broker user’s attributes — console access, groups, and any pending change staged for the next reboot. Provide the implementation with Effect.provide(AWS.MQ.DescribeUserHttp).

const describeUser = yield* MQ.DescribeUser(broker);
const user = yield* describeUser({ Username: "tenant-42" });
// user.Groups, user.Pending?.PendingChange → "CREATE" | "UPDATE" | "DELETE"