LambdaWeb / Paginator / ListWebFunctions

ListWebFunctions

class LambdaWeb.Paginator.ListWebFunctions
paginator = client.get_paginator('list_web_functions')
paginate(**kwargs)

Creates an iterator that will paginate through responses from LambdaWeb.Client.list_web_functions().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    filters=[
        {
            'name': 'string',
            'values': [
                'string',
            ]
        },
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • filters (list) –

    A list of filters to apply to the results. The only supported filter name is state.

    • (dict) –

      A filter to apply when listing resources.

      • name (string) – [REQUIRED]

        The name of the filter field.

      • values (list) – [REQUIRED]

        The values to match for the filter.

        • (string) –

  • 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

{
    'functions': [
        {
            'functionName': 'string',
            'functionArn': 'string',
            'state': 'Pending'|'Active'|'Failed'|'Deleting',
            'stateReason': 'string',
            'createdAt': datetime(2015, 1, 1),
            'updatedAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    Contains the list of web functions.

    • functions (list) –

      A list of web function summaries.

      • (dict) –

        A summary of a web function.

        • functionName (string) –

          The name of the web function.

        • functionArn (string) –

          The Amazon Resource Name (ARN) of the web function.

        • state (string) –

          The current state of the web function.

        • stateReason (string) –

          The reason for the current state of the web function.

        • createdAt (datetime) –

          The date and time the web function was created.

        • updatedAt (datetime) –

          The date and time the web function was last updated.

    • NextToken (string) –

      A token to resume pagination.