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

**************************************
ListFunctionVersionsByCapacityProvider
**************************************



.. py:class:: Lambda.Paginator.ListFunctionVersionsByCapacityProvider

  ::

    
    paginator = client.get_paginator('list_function_versions_by_capacity_provider')

  
  

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

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

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


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          CapacityProviderName='string',
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type CapacityProviderName: string
    :param CapacityProviderName: **[REQUIRED]** 

      The name of the capacity provider to list function versions for.

      

    
    :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**

      
      ::

        {
            'CapacityProviderArn': 'string',
            'FunctionVersions': [
                {
                    'FunctionArn': 'string',
                    'State': 'Pending'|'Active'|'Inactive'|'Failed'|'Deactivating'|'Deactivated'|'ActiveNonInvocable'|'Deleting'
                },
            ],
            'NextToken': 'string'
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **CapacityProviderArn** *(string) --* 

          The Amazon Resource Name (ARN) of the capacity provider.

          
        

        - **FunctionVersions** *(list) --* 

          A list of function versions that use the specified capacity provider.

          
          

          - *(dict) --* 

            Information about a function version that uses a specific capacity provider, including its ARN and current state.

            
            

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

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

              
            

            - **State** *(string) --* 

              The current state of the function version.

              
        
      
        

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

          A token to resume pagination.

          
    