:doc:`IoT <../../iot>` / Paginator / ListPackages

************
ListPackages
************



.. py:class:: IoT.Paginator.ListPackages

  ::

    
    paginator = client.get_paginator('list_packages')

  
  

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

    Creates an iterator that will paginate through responses from :py:meth:`IoT.Client.list_packages`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ListPackages>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :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**

      
      ::

        {
            'packageSummaries': [
                {
                    'packageName': 'string',
                    'defaultVersionName': 'string',
                    'creationDate': datetime(2015, 1, 1),
                    'lastModifiedDate': datetime(2015, 1, 1)
                },
            ],
            'NextToken': 'string'
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **packageSummaries** *(list) --* 

          The software package summary.

          
          

          - *(dict) --* 

            A summary of information about a software package.

            
            

            - **packageName** *(string) --* 

              The name for the target software package.

              
            

            - **defaultVersionName** *(string) --* 

              The name of the default package version.

              
            

            - **creationDate** *(datetime) --* 

              The date that the package was created.

              
            

            - **lastModifiedDate** *(datetime) --* 

              The date that the package was last updated.

              
        
      
        

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

          A token to resume pagination.

          
    