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