| 1 | import * as ivschat from "@distilled.cloud/aws/ivschat"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeIvsChatRoomHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { SendEvent } from "./SendEvent.ts"; |
| 5 | |
| 6 | export const SendEventHttp = Layer.effect( |
| 7 | SendEvent, |
| 8 | makeIvsChatRoomHttpBinding({ |
| 9 | tag: "AWS.IVSChat.SendEvent", |
| 10 | operation: ivschat.sendEvent, |
| 11 | actions: ["ivschat:SendEvent"], |
| 12 | }), |
| 13 | ); |