Skip to content

ListBrokers

Source: src/AWS/MQ/ListBrokers.ts

Runtime binding for the ListBrokers operation (IAM action mq:ListBrokers on * — the operation is not resource-scoped).

Lists all Amazon MQ brokers in the account/region. Provide the implementation with Effect.provide(AWS.MQ.ListBrokersHttp).

const listBrokers = yield* MQ.ListBrokers();
const page = yield* listBrokers();
// page.BrokerSummaries → [{ BrokerName: "orders", BrokerState: "RUNNING", … }]