event_aggregates
Creates, updates, deletes, gets or lists an event_aggregates resource.
Overview
| Name | event_aggregates |
| Type | Resource |
| Id | aws.health.event_aggregates |
Fields
The following fields are returned by SELECT queries:
- describe_event_aggregates
| Name | Datatype | Description |
|---|---|---|
aggregate_value | string | The issue type for the associated count. |
count | integer | The number of events of the associated issue type. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_event_aggregates | select | region | Returns the number of events of each event type (issue, scheduled change, and account notification). If no filter is specified, the counts of all events in each category are returned. This API operation uses pagination. Specify the nextToken parameter in the next request to return more results. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- describe_event_aggregates
Returns the number of events of each event type (issue, scheduled change, and account notification). If no filter is specified, the counts of all events in each category are returned. This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.
SELECT
aggregate_value,
count
FROM aws.health.event_aggregates
WHERE region = '{{ region }}' -- required
;