:doc:`QConnect <../../qconnect>` / Client / list_import_jobs

****************
list_import_jobs
****************



.. py:method:: QConnect.Client.list_import_jobs(**kwargs)

  

  Lists information about import jobs.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/ListImportJobs>`_  


  **Request Syntax**
  ::

    response = client.list_import_jobs(
        nextToken='string',
        maxResults=123,
        knowledgeBaseId='string'
    )
    
  :type nextToken: string
  :param nextToken: 

    The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of results to return per page.

    

  
  :type knowledgeBaseId: string
  :param knowledgeBaseId: **[REQUIRED]** 

    The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.

    

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

    
    ::

      {
          'importJobSummaries': [
              {
                  'importJobId': 'string',
                  'knowledgeBaseId': 'string',
                  'uploadId': 'string',
                  'knowledgeBaseArn': 'string',
                  'importJobType': 'QUICK_RESPONSES',
                  'status': 'START_IN_PROGRESS'|'FAILED'|'COMPLETE'|'DELETE_IN_PROGRESS'|'DELETE_FAILED'|'DELETED',
                  'createdTime': datetime(2015, 1, 1),
                  'lastModifiedTime': datetime(2015, 1, 1),
                  'metadata': {
                      'string': 'string'
                  },
                  'externalSourceConfiguration': {
                      'source': 'AMAZON_CONNECT',
                      'configuration': {
                          'connectConfiguration': {
                              'instanceId': 'string'
                          }
                      }
                  }
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **importJobSummaries** *(list) --* 

        Summary information about the import jobs.

        
        

        - *(dict) --* 

          Summary information about the import job.

          
          

          - **importJobId** *(string) --* 

            The identifier of the import job.

            
          

          - **knowledgeBaseId** *(string) --* 

            The identifier of the knowledge base.

            
          

          - **uploadId** *(string) --* 

            A pointer to the uploaded asset. This value is returned by `StartContentUpload <https://docs.aws.amazon.com/wisdom/latest/APIReference/API_StartContentUpload.html>`__.

            
          

          - **knowledgeBaseArn** *(string) --* 

            The Amazon Resource Name (ARN) of the knowledge base.

            
          

          - **importJobType** *(string) --* 

            The type of import job.

            
          

          - **status** *(string) --* 

            The status of the import job.

            
          

          - **createdTime** *(datetime) --* 

            The timestamp when the import job was created.

            
          

          - **lastModifiedTime** *(datetime) --* 

            The timestamp when the import job was last modified.

            
          

          - **metadata** *(dict) --* 

            The metadata fields of the imported Amazon Q in Connect resources.

            
            

            - *(string) --* 
              

              - *(string) --* 
        
      
          

          - **externalSourceConfiguration** *(dict) --* 

            The configuration information of the external source that the resource data are imported from.

            
            

            - **source** *(string) --* 

              The type of the external data source.

              
            

            - **configuration** *(dict) --* 

              The configuration information of the external data source.

              .. note::    This is a Tagged Union structure. Only one of the     following top level keys will be set: ``connectConfiguration``.     If a client receives an unknown member it will     set ``SDK_UNKNOWN_MEMBER`` as the top level key,     which maps to the name or tag of the unknown     member. The structure of ``SDK_UNKNOWN_MEMBER`` is     as follows::

                            'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}


            
              

              - **connectConfiguration** *(dict) --* 

                The configuration information of the Amazon Connect data source.

                
                

                - **instanceId** *(string) --* 

                  The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

                  
            
          
        
      
    
      

      - **nextToken** *(string) --* 

        The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

        
  
  **Exceptions**
  
  *   :py:class:`QConnect.Client.exceptions.ValidationException`

  
  *   :py:class:`QConnect.Client.exceptions.AccessDeniedException`

  