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

import * as mediatailor from "@distilled.cloud/aws/mediatailor";
import * as Layer from "effect/Layer";
import { makeMediaTailorHttpBinding } from "./BindingHttp.ts";
import { GetChannelSchedule } from "./GetChannelSchedule.ts";

export const GetChannelScheduleHttp = Layer.effect(
  GetChannelSchedule,
  makeMediaTailorHttpBinding({
    capability: "GetChannelSchedule",
    iamActions: ["mediatailor:GetChannelSchedule"],
    operation: mediatailor.getChannelSchedule,
  }),
);