Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

ListFunctionEventInvokeConfigs

class Lambda.Paginator.ListFunctionEventInvokeConfigs
paginator = client.get_paginator('list_function_event_invoke_configs')
paginate(**kwargs)

Creates an iterator that will paginate through responses from Lambda.Client.list_function_event_invoke_configs().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    FunctionName='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • FunctionName (string) --

    [REQUIRED]

    The name of the Lambda function.

    Name formats
    • Function name - my-function .
    • Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function .
    • Partial ARN - 123456789012:function:my-function .

    The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

  • 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

{
    'FunctionEventInvokeConfigs': [
        {
            'LastModified': datetime(2015, 1, 1),
            'FunctionArn': 'string',
            'MaximumRetryAttempts': 123,
            'MaximumEventAgeInSeconds': 123,
            'DestinationConfig': {
                'OnSuccess': {
                    'Destination': 'string'
                },
                'OnFailure': {
                    'Destination': 'string'
                }
            }
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • FunctionEventInvokeConfigs (list) --

      A list of configurations.

      • (dict) --

        • LastModified (datetime) --

          The date and time that the configuration was last updated.

        • FunctionArn (string) --

          The Amazon Resource Name (ARN) of the function.

        • MaximumRetryAttempts (integer) --

          The maximum number of times to retry when the function returns an error.

        • MaximumEventAgeInSeconds (integer) --

          The maximum age of a request that Lambda sends to a function for processing.

        • DestinationConfig (dict) --

          A destination for events after they have been sent to a function for processing.

          Destinations

          • Function - The Amazon Resource Name (ARN) of a Lambda function.
          • Queue - The ARN of an SQS queue.
          • Topic - The ARN of an SNS topic.
          • Event Bus - The ARN of an Amazon EventBridge event bus.
          • OnSuccess (dict) --

            The destination configuration for successful invocations.

            • Destination (string) --

              The Amazon Resource Name (ARN) of the destination resource.

          • OnFailure (dict) --

            The destination configuration for failed invocations.

            • Destination (string) --

              The Amazon Resource Name (ARN) of the destination resource.

    • NextToken (string) --

      A token to resume pagination.