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