CloudFront / Paginator / ListKeyValueStores

ListKeyValueStores#

class CloudFront.Paginator.ListKeyValueStores#
paginator = client.get_paginator('list_key_value_stores')
paginate(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    Status='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • Status (string) – The status of the request for the key value stores list.

  • 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

{
    'KeyValueStoreList': {
        'NextMarker': 'string',
        'MaxItems': 123,
        'Quantity': 123,
        'Items': [
            {
                'Name': 'string',
                'Id': 'string',
                'Comment': 'string',
                'ARN': 'string',
                'Status': 'string',
                'LastModifiedTime': datetime(2015, 1, 1)
            },
        ]
    },
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • KeyValueStoreList (dict) –

      The resulting key value stores list.

      • NextMarker (string) –

        The next marker associated with the key value store list.

      • MaxItems (integer) –

        The maximum number of items in the key value store list.

      • Quantity (integer) –

        The quantity of the key value store list.

      • Items (list) –

        The items of the key value store list.

        • (dict) –

          The key value store. Use this to separate data from function code, allowing you to update data without having to publish a new version of a function. The key value store holds keys and their corresponding values.

          • Name (string) –

            The name of the key value store.

          • Id (string) –

            The unique Id for the key value store.

          • Comment (string) –

            A comment for the key value store.

          • ARN (string) –

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

          • Status (string) –

            The status of the key value store.

          • LastModifiedTime (datetime) –

            The last-modified time of the key value store.

    • NextToken (string) –

      A token to resume pagination.