| 1 | import * as kvm from "@distilled.cloud/aws/kinesis-video-media"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeStreamMediaHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetMedia } from "./GetMedia.ts"; |
| 5 | |
| 6 | export const GetMediaHttp = Layer.effect( |
| 7 | GetMedia, |
| 8 | makeStreamMediaHttpBinding({ |
| 9 | tag: "AWS.KinesisVideo.GetMedia", |
| 10 | apiName: "GET_MEDIA", |
| 11 | actions: ["kinesisvideo:GetMedia"], |
| 12 | operation: kvm.getMedia, |
| 13 | }), |
| 14 | ); |