describe_event_aggregates
¶
describe_event_aggregates(
aggregate_field: eventAggregateField,
*,
config_overrides: Optional[HealthClientConfig] = None,
filter: Optional[EventFilter] = None,
max_results: Optional[maxResults] = None,
next_token: Optional[nextToken] = None,
) -> DescribeEventAggregatesResponse
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:
-
filter(Optional[EventFilter], default:None) –Values to narrow the results returned.
-
aggregate_field(eventAggregateField) –The only currently supported value is
eventTypeCategory. -
max_results(Optional[maxResults], default:None) –The maximum number of items to return in one batch, between 10 and 100, inclusive.
-
next_token(Optional[nextToken], default:None) –If the results of a search are large, only a portion of the results are returned, and a
nextTokenpagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.
Raises:
-
InvalidPaginationToken–The specified pagination token (
nextToken) is not valid. -
UnknownServiceError–The service returned an error code this client does not model.