Skip to content

RestartChannelPipelines

Source: src/AWS/MediaLive/RestartChannelPipelines.ts

Runtime binding for medialive:RestartChannelPipelines.

Restarts one or both encoder pipelines of the bound RUNNING Channel without a full stop/start cycle — the standard remedy for a wedged pipeline (frozen output, persistent alert) that an automated-recovery Lambda applies when a channel alert fires. The channel id is injected from the binding. Provide the implementation with Effect.provide(AWS.MediaLive.RestartChannelPipelinesHttp).

// init — bind the operation to the channel
const restartPipelines = yield* AWS.MediaLive.RestartChannelPipelines(channel);
// runtime
yield* restartPipelines({ PipelineIds: ["PIPELINE_0"] });