ListAlerts
Source:
src/AWS/MediaLive/ListAlerts.ts
Runtime binding for medialive:ListAlerts.
Lists the bound Channel’s alerts — SET and CLEARED error
conditions such as a lost input or a failed output (one page per call;
pass NextToken from the previous response to continue). Filter with
StateFilter: "SET" to see only active problems — e.g. a health-check
Lambda that pages an operator while any alert is SET. The channel id is
injected from the binding. Provide the implementation with
Effect.provide(AWS.MediaLive.ListAlertsHttp).
Observing Channels
Section titled “Observing Channels”// init — bind the operation to the channelconst listAlerts = yield* AWS.MediaLive.ListAlerts(channel);
// runtimeconst { Alerts } = yield* listAlerts({ StateFilter: "SET" });