Skip to main content

internet_events

Creates, updates, deletes, gets or lists an internet_events resource.

Overview

Nameinternet_events
TypeResource
Idaws.internetmonitor.internet_events

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
client_locationobjectThe impacted location, such as a city, where clients access Amazon Web Services application resources.
ended_atstring (date-time)The time when the internet event ended. If the event hasn't ended yet, this value is empty.
event_arnstringThe Amazon Resource Name (ARN) of the internet event. (pattern: <code>arn:.*</code>)
event_idstringThe internally-generated identifier of an internet event. (pattern: <code>[a-zA-Z0-9-]+</code>)
event_statusstringThe status of the internet event. (ACTIVE, RESOLVED)
event_typestringThe type of network impairment. (AVAILABILITY, PERFORMANCE)
started_atstring (date-time)The time when the internet event started.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_internet_eventselectevent_id, regionGets information that Amazon CloudWatch Internet Monitor has generated about an internet event. Internet Monitor displays information about recent global health events, called internet events, on a global outages map that is available to all Amazon Web Services customers. The information returned here includes the impacted location, when the event started and (if the event is over) ended, the type of event (PERFORMANCE or AVAILABILITY), and the status (ACTIVE or RESOLVED).
list_internet_eventsselectregionNextToken, InternetEventMaxResults, StartTime, EndTime, EventStatus, EventTypeLists internet events that cause performance or availability issues for client locations. Amazon CloudWatch Internet Monitor displays information about recent global health events, called internet events, on a global outages map that is available to all Amazon Web Services customers. You can constrain the list of internet events returned by providing a start time and end time to define a total time frame for events you want to list. Both start time and end time specify the time when an event started. End time is optional. If you don't include it, the default end time is the current time. You can also limit the events returned to a specific status (ACTIVE or RESOLVED) or type (PERFORMANCE or AVAILABILITY).

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
event_idstringThe EventId of the internet event to return information for.
regionstringAWS region (default: us-east-1)
EndTimestring (date-time)The end time of the time window that you want to get a list of internet events for.
EventStatusstringThe status of an internet event.
EventTypestringThe type of network impairment.
InternetEventMaxResultsintegerThe number of query results that you want to return with this call.
NextTokenstringThe token for the next set of results. You receive this token from a previous call.
StartTimestring (date-time)The start time of the time window that you want to get a list of internet events for.

SELECT examples

Gets information that Amazon CloudWatch Internet Monitor has generated about an internet event. Internet Monitor displays information about recent global health events, called internet events, on a global outages map that is available to all Amazon Web Services customers. The information returned here includes the impacted location, when the event started and (if the event is over) ended, the type of event (PERFORMANCE or AVAILABILITY), and the status (ACTIVE or RESOLVED).

SELECT
client_location,
ended_at,
event_arn,
event_id,
event_status,
event_type,
started_at
FROM aws.internetmonitor.internet_events
WHERE event_id = '{{ event_id }}' -- required
AND region = '{{ region }}' -- required
;