CloudFront / Paginator / ListConnectionFunctions

ListConnectionFunctions

class CloudFront.Paginator.ListConnectionFunctions
paginator = client.get_paginator('list_connection_functions')
paginate(**kwargs)

Creates an iterator that will paginate through responses from CloudFront.Client.list_connection_functions().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    Stage='DEVELOPMENT'|'LIVE',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • Stage (string) – The connection function’s stage.

  • 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

{
    'ConnectionFunctions': [
        {
            'Name': 'string',
            'Id': 'string',
            'ConnectionFunctionConfig': {
                'Comment': 'string',
                'Runtime': 'cloudfront-js-1.0'|'cloudfront-js-2.0',
                'KeyValueStoreAssociations': {
                    'Quantity': 123,
                    'Items': [
                        {
                            'KeyValueStoreARN': 'string'
                        },
                    ]
                }
            },
            'ConnectionFunctionArn': 'string',
            'Status': 'string',
            'Stage': 'DEVELOPMENT'|'LIVE',
            'CreatedTime': datetime(2015, 1, 1),
            'LastModifiedTime': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • ConnectionFunctions (list) –

      A list of connection functions.

      • (dict) –

        A connection function summary.

        • Name (string) –

          The connection function name.

        • Id (string) –

          The connection function ID.

        • ConnectionFunctionConfig (dict) –

          Contains configuration information about a CloudFront function.

          • Comment (string) –

            A comment to describe the function.

          • Runtime (string) –

            The function’s runtime environment version.

          • KeyValueStoreAssociations (dict) –

            The configuration for the key value store associations.

            • Quantity (integer) –

              The quantity of key value store associations.

            • Items (list) –

              The items of the key value store association.

              • (dict) –

                The key value store association.

                • KeyValueStoreARN (string) –

                  The Amazon Resource Name (ARN) of the key value store association.

        • ConnectionFunctionArn (string) –

          The connection function Amazon Resource Name (ARN).

        • Status (string) –

          The connection function status.

        • Stage (string) –

          The connection function stage.

        • CreatedTime (datetime) –

          The connection function created time.

        • LastModifiedTime (datetime) –

          The connection function last modified time.

    • NextToken (string) –

      A token to resume pagination.