:doc:`Lambda <../../lambda>` / Paginator / ListDurableExecutionsByFunction

*******************************
ListDurableExecutionsByFunction
*******************************



.. py:class:: Lambda.Paginator.ListDurableExecutionsByFunction

  ::

    
    paginator = client.get_paginator('list_durable_executions_by_function')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`Lambda.Client.list_durable_executions_by_function`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListDurableExecutionsByFunction>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          FunctionName='string',
          Qualifier='string',
          DurableExecutionName='string',
          Statuses=[
              'RUNNING'|'SUCCEEDED'|'FAILED'|'TIMED_OUT'|'STOPPED',
          ],
          StartedAfter=datetime(2015, 1, 1),
          StartedBefore=datetime(2015, 1, 1),
          ReverseOrder=True|False,
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type FunctionName: string
    :param FunctionName: **[REQUIRED]** 

      The name or ARN of the Lambda function. You can specify a function name, a partial ARN, or a full ARN.

      

    
    :type Qualifier: string
    :param Qualifier: 

      The function version or alias. If not specified, lists executions for the $LATEST version.

      

    
    :type DurableExecutionName: string
    :param DurableExecutionName: 

      Filter executions by name. Only executions with names that contain this string are returned.

      

    
    :type Statuses: list
    :param Statuses: 

      Filter executions by status. Valid values: RUNNING, SUCCEEDED, FAILED, TIMED_OUT, STOPPED.

      

    
      - *(string) --* 

      
  
    :type StartedAfter: datetime
    :param StartedAfter: 

      Filter executions that started after this timestamp (ISO 8601 format).

      

    
    :type StartedBefore: datetime
    :param StartedBefore: 

      Filter executions that started before this timestamp (ISO 8601 format).

      

    
    :type ReverseOrder: boolean
    :param ReverseOrder: 

      Set to true to return results in reverse chronological order (newest first). Default is false.

      

    
    :type PaginationConfig: dict
    :param PaginationConfig: 

      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.

        

      
    
    
    :rtype: dict
    :returns: 
      
      **Response Syntax**

      
      ::

        {
            'DurableExecutions': [
                {
                    'DurableExecutionArn': 'string',
                    'DurableExecutionName': 'string',
                    'FunctionArn': 'string',
                    'Status': 'RUNNING'|'SUCCEEDED'|'FAILED'|'TIMED_OUT'|'STOPPED',
                    'StartTimestamp': datetime(2015, 1, 1),
                    'EndTimestamp': datetime(2015, 1, 1)
                },
            ],
            'NextToken': 'string'
        }
        
      **Response Structure**

      

      - *(dict) --* 

        The response from the ListDurableExecutionsByFunction operation, containing a list of durable executions and pagination information.

        
        

        - **DurableExecutions** *(list) --* 

          List of durable execution summaries matching the filter criteria.

          
          

          - *(dict) --* 

            Information about a `durable execution <https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html>`__.

            
            

            - **DurableExecutionArn** *(string) --* 

              The Amazon Resource Name (ARN) of the durable execution, if this execution is a durable execution.

              
            

            - **DurableExecutionName** *(string) --* 

              The unique name of the durable execution, if one was provided when the execution was started.

              
            

            - **FunctionArn** *(string) --* 

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

              
            

            - **Status** *(string) --* 

              The current status of the durable execution.

              
            

            - **StartTimestamp** *(datetime) --* 

              The date and time when the durable execution started, in `ISO-8601 format <https://www.w3.org/TR/NOTE-datetime>`__ (YYYY-MM-DDThh:mm:ss.sTZD).

              
            

            - **EndTimestamp** *(datetime) --* 

              The date and time when the durable execution ended, in `ISO-8601 format <https://www.w3.org/TR/NOTE-datetime>`__ (YYYY-MM-DDThh:mm:ss.sTZD).

              
        
      
        

        - **NextToken** *(string) --* 

          A token to resume pagination.

          
    