Health / Paginator / DescribeServiceLifecycle

DescribeServiceLifecycle

class Health.Paginator.DescribeServiceLifecycle
paginator = client.get_paginator('describe_service_lifecycle')
paginate(**kwargs)

Creates an iterator that will paginate through responses from Health.Client.describe_service_lifecycle().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    filter={
        'service': 'string'
    },
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • filter (dict) –

    Values to narrow the results returned.

    • service (string) –

      The Amazon Web Services service name to filter by.

  • 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

{
    'serviceLifecycles': [
        {
            'service': 'string',
            'version': 'string',
            'title': 'string',
            'recommendedVersion': 'string',
            'lifecycleEvents': [
                {
                    'lifecycleEventType': 'string',
                    'date': datetime(2015, 1, 1),
                    'regions': [
                        'string',
                    ],
                    'impactRisks': [
                        'string',
                    ],
                    'description': 'string'
                },
            ]
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • serviceLifecycles (list) –

      The list of service lifecycle entries matching the filter criteria.

      • (dict) –

        Contains lifecycle information for an Amazon Web Services service version, including lifecycle events and version recommendations.

        • service (string) –

          The name of the Amazon Web Services service.

        • version (string) –

          The version of the service.

        • title (string) –

          A human-readable title for the lifecycle entry.

        • recommendedVersion (string) –

          The recommended version to upgrade to.

        • lifecycleEvents (list) –

          The list of lifecycle events for this service version.

          • (dict) –

            A lifecycle event for an Amazon Web Services service version, such as end-of-support or end-of-life.

            • lifecycleEventType (string) –

              The type of lifecycle event (for example, end-of-support, end-of-life).

            • date (datetime) –

              The date of the lifecycle event.

            • regions (list) –

              The Amazon Web Services Regions affected by this lifecycle event.

              • (string) –

            • impactRisks (list) –

              The potential impact risks associated with this lifecycle event.

              • (string) –

            • description (string) –

              A description of the lifecycle event.

    • NextToken (string) –

      A token to resume pagination.