Skip to content

RebootBroker

Source: src/AWS/MQ/RebootBroker.ts

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

Reboots the broker to apply pending modifications (engine version, host instance type, configuration revision, user changes). The reboot is asynchronous — the broker transitions through REBOOT_IN_PROGRESS back to RUNNING. Provide the implementation with Effect.provide(AWS.MQ.RebootBrokerHttp).

const rebootBroker = yield* MQ.RebootBroker(broker);
yield* rebootBroker();