Skip to content

UpdateUser

Source: src/AWS/MQ/UpdateUser.ts

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

Updates a broker user’s password, console access, or groups — e.g. rotating credentials at runtime. On ActiveMQ the change is staged and applied at the next broker reboot or maintenance window; on RabbitMQ it takes effect immediately. Provide the implementation with Effect.provide(AWS.MQ.UpdateUserHttp).

const updateUser = yield* MQ.UpdateUser(broker);
yield* updateUser({
Username: "tenant-42",
Password: Redacted.make("NewSecretPassw0rd"),
});