GetHealthEvent
Source:
src/AWS/InternetMonitor/GetHealthEvent.ts
Runtime binding for internetmonitor:GetHealthEvent — read the full
detail (impacted locations, availability/performance measurements, impact
type) of one health event on the bound Monitor; the monitor name
is injected automatically.
Provide InternetMonitor.GetHealthEventHttp on the hosting Lambda
Function to satisfy the requirement.
Reading Health Events
Section titled “Reading Health Events”// init — grants internetmonitor:GetHealthEvent on the monitorconst getHealthEvent = yield* AWS.InternetMonitor.GetHealthEvent(monitor);
// runtimeconst event = yield* getHealthEvent({ EventId: eventId });const locations = event.ImpactedLocations;