get_read_set_import_job

Omics.Client.get_read_set_import_job(**kwargs)

Gets information about a read set import job.

See also: AWS API Documentation

Request Syntax

response = client.get_read_set_import_job(
    id='string',
    sequenceStoreId='string'
)
Parameters
  • id (string) --

    [REQUIRED]

    The job's ID.

  • sequenceStoreId (string) --

    [REQUIRED]

    The job's sequence store ID.

Return type

dict

Returns

Response Syntax

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

Response Structure

  • (dict) --

    • completionTime (datetime) --

      When the job completed.

    • creationTime (datetime) --

      When the job was created.

    • id (string) --

      The job's ID.

    • roleArn (string) --

      The job's service role ARN.

    • sequenceStoreId (string) --

      The job's sequence store ID.

    • sources (list) --

      The job's source files.

      • (dict) --

        A source for an import read set job.

        • description (string) --

          The source's description.

        • generatedFrom (string) --

          Where the source originated.

        • name (string) --

          The source's name.

        • referenceArn (string) --

          The source's genome reference ARN.

        • sampleId (string) --

          The source's sample ID.

        • sourceFileType (string) --

          The source's file type.

        • 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.

        • status (string) --

          The source's status.

        • statusMessage (string) --

          The source's status message.

        • subjectId (string) --

          The source's subject ID.

        • tags (dict) --

          The source's tags.

          • (string) --
            • (string) --
    • status (string) --

      The job's status.

    • statusMessage (string) --

      The job's status message.

Exceptions

  • Omics.Client.exceptions.InternalServerException
  • Omics.Client.exceptions.ThrottlingException
  • Omics.Client.exceptions.ValidationException
  • Omics.Client.exceptions.ResourceNotFoundException
  • Omics.Client.exceptions.AccessDeniedException
  • Omics.Client.exceptions.RequestTimeoutException