aws.health.describe_events
Example SQL Queries
SELECT * FROMaws.health.describe_events;Description
Returns information about events that meet the specified filter criteria. Events are returned in a summary form and do not include the detailed description, any additional metadata that depends on the event type, or any affected resources. To retrieve that information, use the DescribeEventDetails and DescribeAffectedEntities operations.
If no filter criteria are specified, all events are returned. Results are sorted by lastModifiedTime, starting with the most recent event.
When you call the DescribeEvents operation and specify an entity for the entityValues parameter, Health might return public events that aren't specific to that resource. For example, if you call DescribeEvents and specify an ID for an Amazon Elastic Compute Cloud (Amazon EC2) instance, Health might return events that aren't specific to that resource or service. To get events that are specific to a service, use the services parameter in the filter object. For more information, see Event.
This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.
Table Definition
| Column Name | Column Data Type |
|---|---|
| filter Input Column Values to narrow the results returned. | STRUCT( |
Show child fields
| |
| locale Input Column The locale (language) to return information in. English (en) is the default and the only supported value at this time. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| arn The unique identifier for the event. The event ARN has the arn:aws:health:event-region::event/SERVICE/EVENT_TYPE_CODE/EVENT_TYPE_PLUS_ID format. For example, an event ARN might look like the following: arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-DEF456 | VARCHAR |
| availability_zone The Amazon Web Services Availability Zone of the event. For example, us-east-1a. | VARCHAR |
| end_time The date and time that the event ended. | TIMESTAMP_S |
| event_scope_code This parameter specifies if the Health event is a public Amazon Web Service event or an account-specific event.
| VARCHAR |
| event_type_category A list of event type category codes. Possible values are issue, accountNotification, or scheduledChange. Currently, the investigation value isn't supported at this time. | VARCHAR |
| event_type_code The unique identifier for the event type. The format is AWS_SERVICE_DESCRIPTION ; for example, AWS_EC2_SYSTEM_MAINTENANCE_EVENT. | VARCHAR |
| last_updated_time The most recent date and time that the event was updated. | TIMESTAMP_S |
| region The Amazon Web Services Region name of the event. | VARCHAR |
| service The Amazon Web Service that is affected by the event. For example, EC2, RDS. | VARCHAR |
| start_time The date and time that the event began. | TIMESTAMP_S |
| status_code The most recent status of the event. Possible values are open, closed, and upcoming. | VARCHAR |