Skip to content

GetChannelSchedule

Source: src/AWS/MediaTailor/GetChannelSchedule.ts

Runtime binding for mediatailor:GetChannelSchedule — read the current schedule (programs + ad breaks) of a channel-assembly channel.

Channel names are runtime parameters, so the binding is account-level and grants mediatailor:GetChannelSchedule on *. Provide the implementation with Effect.provide(AWS.MediaTailor.GetChannelScheduleHttp).

const getChannelSchedule = yield* AWS.MediaTailor.GetChannelSchedule();
const { Items } = yield* getChannelSchedule({ ChannelName: "my-channel" });