Health / Paginator / DescribeEventTypes
DescribeEventTypes¶
- class Health.Paginator.DescribeEventTypes¶
paginator = client.get_paginator('describe_event_types')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
Health.Client.describe_event_types().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( filter={ 'eventTypeCodes': [ 'string', ], 'services': [ 'string', ], 'eventTypeCategories': [ 'issue'|'accountNotification'|'scheduledChange'|'investigation', ] }, locale='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
filter (dict) –
Values to narrow the results returned.
eventTypeCodes (list) –
A list of event type codes.
(string) –
services (list) –
The Amazon Web Services services associated with the event. For example,
EC2,RDS.(string) –
eventTypeCategories (list) –
A list of event type category codes. Possible values are
issue,accountNotification, orscheduledChange. Currently, theinvestigationvalue isn’t supported at this time.(string) –
locale (string) – The locale (language) to return information in. English (en) is the default and the only supported value at this time.
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextTokenwill be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextTokenfrom a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'eventTypes': [ { 'service': 'string', 'code': 'string', 'category': 'issue'|'accountNotification'|'scheduledChange'|'investigation' }, ], 'NextToken': 'string' }
Response Structure
(dict) –
eventTypes (list) –
A list of event types that match the filter criteria. Event types have a category (
issue,accountNotification, orscheduledChange), a service (for example,EC2,RDS,DATAPIPELINE,BILLING), and a code (in the formatAWS_SERVICE_DESCRIPTION ``; for example, ``AWS_EC2_SYSTEM_MAINTENANCE_EVENT).(dict) –
Contains the metadata about a type of event that is reported by Health. The
EventTypeshows the category, service, and the event type code of the event. For example, anissuemight be the category,EC2the service, andAWS_EC2_SYSTEM_MAINTENANCE_EVENTthe event type code.You can use the DescribeEventTypes API operation to return this information about an event.
You can also use the Amazon CloudWatch Events console to create a rule so that you can get notified or take action when Health delivers a specific event to your Amazon Web Services account. For more information, see Monitor for Health events with Amazon CloudWatch Events in the Health User Guide.
service (string) –
The Amazon Web Services service that is affected by the event. For example,
EC2,RDS.code (string) –
The unique identifier for the event type. The format is
AWS_SERVICE_DESCRIPTION ``; for example, ``AWS_EC2_SYSTEM_MAINTENANCE_EVENT.category (string) –
A list of event type category codes. Possible values are
issue,accountNotification, orscheduledChange. Currently, theinvestigationvalue isn’t supported at this time.
NextToken (string) –
A token to resume pagination.