Skip to content

DescribeProgram

Source: src/AWS/MediaTailor/DescribeProgram.ts

Runtime binding for mediatailor:DescribeProgram — read a scheduled program on a channel-assembly channel.

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

const describeProgram = yield* AWS.MediaTailor.DescribeProgram();
const program = yield* describeProgram({
ChannelName: "my-channel",
ProgramName: `episode-${id}`,
});