StopChannel
Source:
src/AWS/MediaLive/StopChannel.ts
Runtime binding for medialive:StopChannel.
Stops the bound Channel, transitioning it from RUNNING
through STOPPING back to IDLE — the other half of a broadcast-window
scheduler built on StartChannel. Stopping a channel that is not
running fails with the typed ConflictException tag. The channel id is
injected from the binding. Provide the implementation with
Effect.provide(AWS.MediaLive.StopChannelHttp).
Controlling Channels
Section titled “Controlling Channels”// init — bind the operation to the channelconst stopChannel = yield* AWS.MediaLive.StopChannel(channel);
// runtimeconst { State } = yield* stopChannel();