Omics / Client / get_reference_import_job

get_reference_import_job#

Omics.Client.get_reference_import_job(**kwargs)#

Gets information about a reference import job.

See also: AWS API Documentation

Request Syntax

response = client.get_reference_import_job(
    id='string',
    referenceStoreId='string'
)
Parameters:
  • id (string) –

    [REQUIRED]

    The job’s ID.

  • referenceStoreId (string) –

    [REQUIRED]

    The job’s reference store ID.

Return type:

dict

Returns:

Response Syntax

{
    'completionTime': datetime(2015, 1, 1),
    'creationTime': datetime(2015, 1, 1),
    'id': 'string',
    'referenceStoreId': 'string',
    'roleArn': 'string',
    'sources': [
        {
            'description': 'string',
            'name': 'string',
            'sourceFile': 'string',
            'status': 'NOT_STARTED'|'IN_PROGRESS'|'FINISHED'|'FAILED',
            'statusMessage': '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.

    • referenceStoreId (string) –

      The job’s reference store ID.

    • roleArn (string) –

      The job’s service role ARN.

    • sources (list) –

      The job’s source files.

      • (dict) –

        An genome reference source.

        • description (string) –

          The source’s description.

        • name (string) –

          The source’s name.

        • sourceFile (string) –

          The source file’s location in Amazon S3.

        • status (string) –

          The source’s status.

        • statusMessage (string) –

          The source’s status message.

        • 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