ListHealthEvents
Source:
src/AWS/InternetMonitor/ListHealthEvents.ts
Runtime binding for internetmonitor:ListHealthEvents — list the health
events Internet Monitor created for the bound Monitor; the monitor
name is injected automatically.
Provide InternetMonitor.ListHealthEventsHttp on the hosting Lambda
Function to satisfy the requirement.
Reading Health Events
Section titled “Reading Health Events”// init — grants internetmonitor:ListHealthEvents on the monitorconst listHealthEvents = yield* AWS.InternetMonitor.ListHealthEvents(monitor);
// runtimeconst { HealthEvents } = yield* listHealthEvents({ EventStatus: "ACTIVE" });