ResetChannelState
Source:
src/AWS/MediaPackageV2/ResetChannelState.ts
Runtime binding for mediapackagev2:ResetChannelState.
Resets the ingest state of the bound Channel — clearing buffered
content so the encoder can re-push a clean stream after a corrupted
contribution (e.g. an ops Lambda recovering a broken live event). The
channel’s group and name are injected from the binding. Provide the
implementation with
Effect.provide(AWS.MediaPackageV2.ResetChannelStateHttp).
Resetting Ingest State
Section titled “Resetting Ingest State”// init — bind the operation to the channelconst resetChannel = yield* AWS.MediaPackageV2.ResetChannelState(channel);
// runtimeconst { ResetAt } = yield* resetChannel();