:doc:`Omics <../../omics>` / Client / list_reference_import_jobs

**************************
list_reference_import_jobs
**************************



.. py:method:: Omics.Client.list_reference_import_jobs(**kwargs)

  

  Retrieves the metadata of one or more reference import jobs for a reference store.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListReferenceImportJobs>`_  


  **Request Syntax**
  ::

    response = client.list_reference_import_jobs(
        maxResults=123,
        nextToken='string',
        referenceStoreId='string',
        filter={
            'status': 'SUBMITTED'|'IN_PROGRESS'|'CANCELLING'|'CANCELLED'|'FAILED'|'COMPLETED'|'COMPLETED_WITH_FAILURES',
            'createdAfter': datetime(2015, 1, 1),
            'createdBefore': datetime(2015, 1, 1)
        }
    )
    
  :type maxResults: integer
  :param maxResults: 

    The maximum number of jobs to return in one page of results.

    

  
  :type nextToken: string
  :param nextToken: 

    Specify the pagination token from a previous request to retrieve the next page of results.

    

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

    The job's reference store ID.

    

  
  :type filter: dict
  :param filter: 

    A filter to apply to the list.

    

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

      A status to filter on.

      

    
    - **createdAfter** *(datetime) --* 

      The filter's start date.

      

    
    - **createdBefore** *(datetime) --* 

      The filter's end date.

      

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

    
    ::

      {
          'nextToken': 'string',
          'importJobs': [
              {
                  'id': 'string',
                  'referenceStoreId': 'string',
                  'roleArn': 'string',
                  'status': 'SUBMITTED'|'IN_PROGRESS'|'CANCELLING'|'CANCELLED'|'FAILED'|'COMPLETED'|'COMPLETED_WITH_FAILURES',
                  'creationTime': datetime(2015, 1, 1),
                  'completionTime': datetime(2015, 1, 1)
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        A pagination token that's included if more results are available.

        
      

      - **importJobs** *(list) --* 

        A lis of jobs.

        
        

        - *(dict) --* 

          An import reference job.

          
          

          - **id** *(string) --* 

            The job's ID.

            
          

          - **referenceStoreId** *(string) --* 

            The job's reference store ID.

            
          

          - **roleArn** *(string) --* 

            The job's service role ARN.

            
          

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

            The job's status.

            
          

          - **creationTime** *(datetime) --* 

            When the job was created.

            
          

          - **completionTime** *(datetime) --* 

            When the job completed.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`Omics.Client.exceptions.InternalServerException`

  
  *   :py:class:`Omics.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Omics.Client.exceptions.ValidationException`

  
  *   :py:class:`Omics.Client.exceptions.ResourceNotFoundException`

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

  
  *   :py:class:`Omics.Client.exceptions.RequestTimeoutException`

  