CloudFront / Client / list_connection_functions

list_connection_functions

CloudFront.Client.list_connection_functions(**kwargs)

Lists connection functions.

See also: AWS API Documentation

Request Syntax

response = client.list_connection_functions(
    Marker='string',
    MaxItems=123,
    Stage='DEVELOPMENT'|'LIVE'
)
Parameters:
  • Marker (string) – Use this field when paginating results to indicate where to begin in your list. The response includes items in the list that occur after the marker. To get the next page of the list, set this field’s value to the value of NextMarker from the current page’s response.

  • MaxItems (integer) – The maximum number of connection functions that you want returned in the response.

  • Stage (string) – The connection function’s stage.

Return type:

dict

Returns:

Response Syntax

{
    'NextMarker': 'string',
    '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)
        },
    ]
}

Response Structure

  • (dict) –

    • NextMarker (string) –

      Indicates the next page of connection functions. To get the next page of the list, use this value in the Marker field of your request.

    • 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.

Exceptions

  • CloudFront.Client.exceptions.AccessDenied

  • CloudFront.Client.exceptions.UnsupportedOperation

  • CloudFront.Client.exceptions.InvalidArgument