LambdaWeb / Client / list_web_functions

list_web_functions

LambdaWeb.Client.list_web_functions(**kwargs)

Lists web functions in your account. We recommend using pagination to ensure that the operation returns quickly and successfully.

See also: AWS API Documentation

Request Syntax

response = client.list_web_functions(
    filters=[
        {
            'name': 'string',
            'values': [
                'string',
            ]
        },
    ],
    maxResults=123,
    nextToken='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) –

  • maxResults (integer) – The maximum number of results to return in a single call. Minimum value of 1, maximum value of 50. Default is 50.

  • nextToken (string) – The pagination token that’s returned by a previous request to retrieve the next page of results.

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) –

      The pagination token that’s included if more results are available.

Exceptions

  • LambdaWeb.Client.exceptions.AccessDeniedException

  • LambdaWeb.Client.exceptions.InternalServerException

  • LambdaWeb.Client.exceptions.ValidationException

  • LambdaWeb.Client.exceptions.ThrottlingException