GetInternetEvent
Source:
src/AWS/InternetMonitor/GetInternetEvent.ts
Runtime binding for internetmonitor:GetInternetEvent — read the detail
(impacted client location, start/end time, type, status) of one global
internet event from the outages map Internet Monitor publishes for all
AWS customers. Internet events are account-level; no monitor is required.
Provide InternetMonitor.GetInternetEventHttp on the hosting Lambda
Function to satisfy the requirement.
Reading Internet Events
Section titled “Reading Internet Events”// init — grants internetmonitor:GetInternetEventconst getInternetEvent = yield* AWS.InternetMonitor.GetInternetEvent();
// runtimeconst event = yield* getInternetEvent({ EventId: eventId });const location = event.ClientLocation;