Skip to content

DeleteSchedule

Source: src/AWS/MediaLive/DeleteSchedule.ts

Runtime binding for medialive:DeleteSchedule.

Clears every scheduled action from the bound Channel’s schedule in one call — the reset lever a playout-automation Lambda pulls before programming a fresh broadcast rundown with BatchUpdateSchedule. The channel id is injected from the binding. Provide the implementation with Effect.provide(AWS.MediaLive.DeleteScheduleHttp).

// init — bind the operation to the channel
const deleteSchedule = yield* AWS.MediaLive.DeleteSchedule(channel);
// runtime
yield* deleteSchedule();