Promote
Source:
src/AWS/MQ/Promote.ts
Runtime binding for the Promote operation (IAM action mq:Promote),
scoped to one Broker.
Promotes a cross-region data replication (CRDR) replica broker to the
primary role — SWITCHOVER performs a coordinated role exchange with the
current primary, FAILOVER promotes the replica unilaterally when the
primary is unreachable. Only meaningful for brokers created with
dataReplicationMode: "CRDR". Provide the implementation with
Effect.provide(AWS.MQ.PromoteHttp).
Disaster Recovery
Section titled “Disaster Recovery”const promote = yield* MQ.Promote(replica);
yield* promote({ Mode: "FAILOVER" });