| 1 | import * as mq from "@distilled.cloud/aws/mq"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeMqAccountHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { ListBrokers } from "./ListBrokers.ts"; |
| 5 | |
| 6 | export const ListBrokersHttp = Layer.effect( |
| 7 | ListBrokers, |
| 8 | makeMqAccountHttpBinding({ |
| 9 | capability: "ListBrokers", |
| 10 | operation: mq.listBrokers, |
| 11 | iamActions: ["mq:ListBrokers"], |
| 12 | }), |
| 13 | ); |