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