Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
import type * as mq from "@distilled.cloud/aws/mq";
import type * as Effect from "effect/Effect";
import * as Binding from "../../Binding.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)`.
* @binding
* @section Observing a Broker
* @example List All Brokers
* ```typescript
* const listBrokers = yield* MQ.ListBrokers();
*
* const page = yield* listBrokers();
* // page.BrokerSummaries → [{ BrokerName: "orders", BrokerState: "RUNNING", … }]
* ```
*/
export interface ListBrokers extends Binding.Service<
ListBrokers,
"AWS.MQ.ListBrokers",
() => Effect.Effect<
(
request?: mq.ListBrokersRequest,
) => Effect.Effect<mq.ListBrokersResponse, mq.ListBrokersError>
>
> {}
export const ListBrokers = Binding.Service<ListBrokers>("AWS.MQ.ListBrokers");