sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ MediaTailor/ GetPrefetchScheduleHttp.ts

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,
  }),
);