Skip to content
TypeScript
504 B
Raw Blame
import * as mediatailor from "@distilled.cloud/aws/mediatailor";
import * as Layer from "effect/Layer";
import { makeMediaTailorPlaybackHttpBinding } from "./BindingHttp.ts";
import { GetPrefetchSchedule } from "./GetPrefetchSchedule.ts";

export const GetPrefetchScheduleHttp = Layer.effect(
  GetPrefetchSchedule,
  makeMediaTailorPlaybackHttpBinding({
    capability: "GetPrefetchSchedule",
    iamActions: ["mediatailor:GetPrefetchSchedule"],
    operation: mediatailor.getPrefetchSchedule,
  }),
);