Skip to content
TypeScript
481 B
Raw Blame
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,
  }),
);