Skip to main content

reference_import_jobs

Creates, updates, deletes, gets or lists a reference_import_jobs resource.

Overview

Namereference_import_jobs
TypeResource
Idaws.omics.reference_import_jobs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe job's ID. (pattern: <code>[0-9]+</code>)
completion_timestring (date-time)When the job completed.
creation_timestring (date-time)When the job was created.
reference_store_idstringThe job's reference store ID. (pattern: <code>[0-9]+</code>)
role_arnstringThe job's service role ARN. (pattern: <code>arn:.*</code>)
sourcesarrayThe job's source files.
statusstringThe job's status. (SUBMITTED, IN_PROGRESS, CANCELLING, CANCELLED, FAILED, COMPLETED, COMPLETED_WITH_FAILURES)
status_messagestringThe job's status message. (pattern: <code>[\p{L}||\p{M}||\p{Z}||\p{S}||\p{N}||\p{P}]+</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_reference_import_jobselectid, reference_store_id, regionMonitors the status of a reference import job. This operation can be called after calling the StartReferenceImportJob operation.
list_reference_import_jobsselectreference_store_id, regionmaxResults, nextTokenRetrieves the metadata of one or more reference import jobs for a reference store.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
idstringThe job's ID.
reference_store_idstringThe job's reference store ID.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of jobs to return in one page of results.
nextTokenstringSpecify the pagination token from a previous request to retrieve the next page of results.

SELECT examples

Monitors the status of a reference import job. This operation can be called after calling the StartReferenceImportJob operation.

SELECT
id,
completion_time,
creation_time,
reference_store_id,
role_arn,
sources,
status,
status_message
FROM aws.omics.reference_import_jobs
WHERE id = '{{ id }}' -- required
AND reference_store_id = '{{ reference_store_id }}' -- required
AND region = '{{ region }}' -- required
;