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

***********************
get_read_set_import_job
***********************



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

  

  Gets detailed and status information about a read set import job and returns the data in JSON format.

  

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


  **Request Syntax**
  ::

    response = client.get_read_set_import_job(
        id='string',
        sequenceStoreId='string'
    )
    
  :type id: string
  :param id: **[REQUIRED]** 

    The job's ID.

    

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

    The job's sequence store ID.

    

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

    
    ::

      {
          'id': 'string',
          'sequenceStoreId': 'string',
          'roleArn': 'string',
          'status': 'SUBMITTED'|'IN_PROGRESS'|'CANCELLING'|'CANCELLED'|'FAILED'|'COMPLETED'|'COMPLETED_WITH_FAILURES',
          'statusMessage': 'string',
          'creationTime': datetime(2015, 1, 1),
          'completionTime': datetime(2015, 1, 1),
          'sources': [
              {
                  'sourceFiles': {
                      'source1': 'string',
                      'source2': 'string'
                  },
                  'sourceFileType': 'FASTQ'|'BAM'|'CRAM'|'UBAM',
                  'status': 'NOT_STARTED'|'IN_PROGRESS'|'FINISHED'|'FAILED',
                  'statusMessage': 'string',
                  'subjectId': 'string',
                  'sampleId': 'string',
                  'generatedFrom': 'string',
                  'referenceArn': 'string',
                  'name': 'string',
                  'description': 'string',
                  'tags': {
                      'string': 'string'
                  },
                  'readSetId': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The job's ID.

        
      

      - **sequenceStoreId** *(string) --* 

        The job's sequence store ID.

        
      

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

        The job's service role ARN.

        
      

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

        The job's status.

        
      

      - **statusMessage** *(string) --* 

        The job's status message.

        
      

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

        When the job was created.

        
      

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

        When the job completed.

        
      

      - **sources** *(list) --* 

        The job's source files.

        
        

        - *(dict) --* 

          A source for an import read set job.

          
          

          - **sourceFiles** *(dict) --* 

            The source files' location in Amazon S3.

            
            

            - **source1** *(string) --* 

              The location of the first file in Amazon S3.

              
            

            - **source2** *(string) --* 

              The location of the second file in Amazon S3.

              
        
          

          - **sourceFileType** *(string) --* 

            The source's file type.

            
          

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

            The source's status.

            
          

          - **statusMessage** *(string) --* 

            The source's status message.

            
          

          - **subjectId** *(string) --* 

            The source's subject ID.

            
          

          - **sampleId** *(string) --* 

            The source's sample ID.

            
          

          - **generatedFrom** *(string) --* 

            Where the source originated.

            
          

          - **referenceArn** *(string) --* 

            The source's genome reference ARN.

            
          

          - **name** *(string) --* 

            The source's name.

            
          

          - **description** *(string) --* 

            The source's description.

            
          

          - **tags** *(dict) --* 

            The source's tags.

            
            

            - *(string) --* 
              

              - *(string) --* 
        
      
          

          - **readSetId** *(string) --* 

            The source's read set ID.

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

  