:doc:`CloudTrail <../../cloudtrail>` / Paginator / ListImports

***********
ListImports
***********



.. py:class:: CloudTrail.Paginator.ListImports

  ::

    
    paginator = client.get_paginator('list_imports')

  
  

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

    Creates an iterator that will paginate through responses from :py:meth:`CloudTrail.Client.list_imports`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListImports>`_    


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          Destination='string',
          ImportStatus='INITIALIZING'|'IN_PROGRESS'|'FAILED'|'STOPPED'|'COMPLETED',
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type Destination: string
    :param Destination: 

      The ARN of the destination event data store.

      

    
    :type ImportStatus: string
    :param ImportStatus: 

      The status of the import.

      

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

      
      ::

        {
            'Imports': [
                {
                    'ImportId': 'string',
                    'ImportStatus': 'INITIALIZING'|'IN_PROGRESS'|'FAILED'|'STOPPED'|'COMPLETED',
                    'Destinations': [
                        'string',
                    ],
                    'CreatedTimestamp': datetime(2015, 1, 1),
                    'UpdatedTimestamp': datetime(2015, 1, 1)
                },
            ],
            
        }
        
      **Response Structure**

      

      - *(dict) --* 
        

        - **Imports** *(list) --* 

          The list of returned imports.

          
          

          - *(dict) --* 

            Contains information about an import that was returned by a lookup request.

            
            

            - **ImportId** *(string) --* 

              The ID of the import.

              
            

            - **ImportStatus** *(string) --* 

              The status of the import.

              
            

            - **Destinations** *(list) --* 

              The ARN of the destination event data store.

              
              

              - *(string) --* 
          
            

            - **CreatedTimestamp** *(datetime) --* 

              The timestamp of the import's creation.

              
            

            - **UpdatedTimestamp** *(datetime) --* 

              The timestamp of the import's last update.

              
        
      
    