CloudWatchInternetMonitor / Paginator / ListHealthEvents

ListHealthEvents#

class CloudWatchInternetMonitor.Paginator.ListHealthEvents#
paginator = client.get_paginator('list_health_events')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from CloudWatchInternetMonitor.Client.list_health_events().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    MonitorName='string',
    StartTime=datetime(2015, 1, 1),
    EndTime=datetime(2015, 1, 1),
    EventStatus='ACTIVE'|'RESOLVED',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • MonitorName (string) –

    [REQUIRED]

    The name of the monitor.

  • StartTime (datetime) – The time when a health event started.

  • EndTime (datetime) – The time when a health event ended. If the health event is still ongoing, then the end time is not set.

  • EventStatus (string) – The status of a health event.

  • 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 NextToken will 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 NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'HealthEvents': [
        {
            'EventArn': 'string',
            'EventId': 'string',
            'StartedAt': datetime(2015, 1, 1),
            'EndedAt': datetime(2015, 1, 1),
            'CreatedAt': datetime(2015, 1, 1),
            'LastUpdatedAt': datetime(2015, 1, 1),
            'ImpactedLocations': [
                {
                    'ASName': 'string',
                    'ASNumber': 123,
                    'Country': 'string',
                    'Subdivision': 'string',
                    'Metro': 'string',
                    'City': 'string',
                    'Latitude': 123.0,
                    'Longitude': 123.0,
                    'CountryCode': 'string',
                    'SubdivisionCode': 'string',
                    'ServiceLocation': 'string',
                    'Status': 'ACTIVE'|'RESOLVED',
                    'CausedBy': {
                        'Networks': [
                            {
                                'ASName': 'string',
                                'ASNumber': 123
                            },
                        ],
                        'AsPath': [
                            {
                                'ASName': 'string',
                                'ASNumber': 123
                            },
                        ],
                        'NetworkEventType': 'AWS'|'Internet'
                    },
                    'InternetHealth': {
                        'Availability': {
                            'ExperienceScore': 123.0,
                            'PercentOfTotalTrafficImpacted': 123.0,
                            'PercentOfClientLocationImpacted': 123.0
                        },
                        'Performance': {
                            'ExperienceScore': 123.0,
                            'PercentOfTotalTrafficImpacted': 123.0,
                            'PercentOfClientLocationImpacted': 123.0,
                            'RoundTripTime': {
                                'P50': 123.0,
                                'P90': 123.0,
                                'P95': 123.0
                            }
                        }
                    }
                },
            ],
            'Status': 'ACTIVE'|'RESOLVED',
            'PercentOfTotalTrafficImpacted': 123.0,
            'ImpactType': 'AVAILABILITY'|'PERFORMANCE'
        },
    ],

}

Response Structure

  • (dict) –

    • HealthEvents (list) –

      A list of health events.

      • (dict) –

        Information about a health event created in a monitor in Amazon CloudWatch Internet Monitor.

        • EventArn (string) –

          The Amazon Resource Name (ARN) of the event.

        • EventId (string) –

          The internally generated identifier of a specific network traffic impairment health event.

        • StartedAt (datetime) –

          When a health event started.

        • EndedAt (datetime) –

          The time when a health event ended. If the health event is still active, then the end time is not set.

        • CreatedAt (datetime) –

          When the health event was created.

        • LastUpdatedAt (datetime) –

          When the health event was last updated.

        • ImpactedLocations (list) –

          The locations impacted by the health event.

          • (dict) –

            Information about a location impacted by a health event in Amazon CloudWatch Internet Monitor.

            Geographic regions are hierarchically categorized into country, subdivision, metro and city geographic granularities. The geographic region is identified based on the IP address used at the client locations.

            • ASName (string) –

              The name of the network at an impacted location.

            • ASNumber (integer) –

              The Autonomous System Number (ASN) of the network at an impacted location.

            • Country (string) –

              The name of the country where the health event is located.

            • Subdivision (string) –

              The subdivision location where the health event is located. The subdivision usually maps to states in most countries (including the United States). For United Kingdom, it maps to a country (England, Scotland, Wales) or province (Northern Ireland).

            • Metro (string) –

              The metro area where the health event is located.

              Metro indicates a metropolitan region in the United States, such as the region around New York City. In non-US countries, this is a second-level subdivision. For example, in the United Kingdom, it could be a county, a London borough, a unitary authority, council area, and so on.

            • City (string) –

              The name of the city where the health event is located.

            • Latitude (float) –

              The latitude where the health event is located.

            • Longitude (float) –

              The longitude where the health event is located.

            • CountryCode (string) –

              The country code where the health event is located. The ISO 3166-2 codes for the country is provided, when available.

            • SubdivisionCode (string) –

              The subdivision code where the health event is located. The ISO 3166-2 codes for country subdivisions is provided, when available.

            • ServiceLocation (string) –

              The service location where the health event is located.

            • Status (string) –

              The status of the health event at an impacted location.

            • CausedBy (dict) –

              The cause of the impairment. There are two types of network impairments: Amazon Web Services network issues or internet issues. Internet issues are typically a problem with a network provider, like an internet service provider (ISP).

              • Networks (list) –

                The networks that could be impacted by a network impairment event.

                • (dict) –

                  An internet service provider (ISP) or network in Amazon CloudWatch Internet Monitor.

                  • ASName (string) –

                    The internet provider name or network name.

                  • ASNumber (integer) –

                    The Autonomous System Number (ASN) of the internet provider or network.

              • AsPath (list) –

                The combination of the Autonomous System Number (ASN) of the network and the name of the network.

                • (dict) –

                  An internet service provider (ISP) or network in Amazon CloudWatch Internet Monitor.

                  • ASName (string) –

                    The internet provider name or network name.

                  • ASNumber (integer) –

                    The Autonomous System Number (ASN) of the internet provider or network.

              • NetworkEventType (string) –

                Type of network impairment.

            • InternetHealth (dict) –

              The calculated health at a specific location.

              • Availability (dict) –

                Availability in Internet Monitor represents the estimated percentage of traffic that is not seeing an availability drop. For example, an availability score of 99% for an end user and service location pair is equivalent to 1% of the traffic experiencing an availability drop for that pair.

                For more information, see How Internet Monitor calculates performance and availability scores in the Amazon CloudWatch Internet Monitor section of the Amazon CloudWatch User Guide.

                • ExperienceScore (float) –

                  Experience scores, or health scores are calculated for different geographic and network provider combinations (that is, different granularities) and also summed into global scores. If you view performance or availability scores without filtering for any specific geography or service provider, Amazon CloudWatch Internet Monitor provides global health scores.

                  The Amazon CloudWatch Internet Monitor chapter in the CloudWatch User Guide includes detailed information about how Internet Monitor calculates health scores, including performance and availability scores, and when it creates and resolves health events. For more information, see How Amazon Web Services calculates performance and availability scores in the Amazon CloudWatch Internet Monitor section of the CloudWatch User Guide.

                • PercentOfTotalTrafficImpacted (float) –

                  The percentage of impact caused by a health event for total traffic globally.

                  For information about how Internet Monitor calculates impact, see Inside Internet Monitor in the Amazon CloudWatch Internet Monitor section of the Amazon CloudWatch User Guide.

                • PercentOfClientLocationImpacted (float) –

                  The percentage of impact caused by a health event for client location traffic globally.

                  For information about how Internet Monitor calculates impact, see Inside Internet Monitor in the Amazon CloudWatch Internet Monitor section of the Amazon CloudWatch User Guide.

              • Performance (dict) –

                Performance in Internet Monitor represents the estimated percentage of traffic that is not seeing a performance drop. For example, a performance score of 99% for an end user and service location pair is equivalent to 1% of the traffic experiencing a performance drop for that pair.

                For more information, see How Internet Monitor calculates performance and availability scores in the Amazon CloudWatch Internet Monitor section of the Amazon CloudWatch User Guide.

                • ExperienceScore (float) –

                  Experience scores, or health scores, are calculated for different geographic and network provider combinations (that is, different granularities) and also totaled into global scores. If you view performance or availability scores without filtering for any specific geography or service provider, Amazon CloudWatch Internet Monitor provides global health scores.

                  The Amazon CloudWatch Internet Monitor chapter in the CloudWatch User Guide includes detailed information about how Internet Monitor calculates health scores, including performance and availability scores, and when it creates and resolves health events. For more information, see How Amazon Web Services calculates performance and availability scores in the Amazon CloudWatch Internet Monitor section of the CloudWatch User Guide.

                • PercentOfTotalTrafficImpacted (float) –

                  How much performance impact was caused by a health event for total traffic globally. For performance, this is the percentage of how much latency increased during the event compared to typical performance for your application traffic globally.

                  For more information, see When Amazon Web Services creates and resolves health events in the Amazon CloudWatch Internet Monitor section of the CloudWatch User Guide.

                • PercentOfClientLocationImpacted (float) –

                  How much performance impact was caused by a health event at a client location. For performance, this is the percentage of how much latency increased during the event compared to typical performance for traffic, from this client location to an Amazon Web Services location, using a specific client network.

                  For more information, see When Amazon Web Services creates and resolves health events in the Amazon CloudWatch Internet Monitor section of the CloudWatch User Guide.

                • RoundTripTime (dict) –

                  This is the percentage of how much round-trip time increased during the event compared to typical round-trip time for your application for traffic.

                  For more information, see When Amazon Web Services creates and resolves health events in the Amazon CloudWatch Internet Monitor section of the CloudWatch User Guide.

                  • P50 (float) –

                    RTT at the 50th percentile (p50).

                  • P90 (float) –

                    RTT at the 90th percentile (p90).

                  • P95 (float) –

                    RTT at the 95th percentile (p95).

        • Status (string) –

          Health event list member.

        • PercentOfTotalTrafficImpacted (float) –

          The impact on global traffic monitored by this monitor for this health event.

        • ImpactType (string) –

          The type of impairment for a health event.