Skip to content

ListAlerts

Source: src/AWS/MediaTailor/ListAlerts.ts

Runtime binding for mediatailor:ListAlerts — read the operational alerts MediaTailor raises for a channel-assembly resource (channel, source location, VOD/live source) identified by ARN.

Resource ARNs are runtime parameters, so the binding is account-level and grants mediatailor:ListAlerts on *. Provide the implementation with Effect.provide(AWS.MediaTailor.ListAlertsHttp).

const listAlerts = yield* AWS.MediaTailor.ListAlerts();
const { Items } = yield* listAlerts({ ResourceArn: channelArn });