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).
Controlling Channels
Section titled “Controlling Channels”// init — bind the operation to the channelconst restartPipelines = yield* AWS.MediaLive.RestartChannelPipelines(channel);
// runtimeyield* restartPipelines({ PipelineIds: ["PIPELINE_0"] });