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