Skip to main content

runs

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

Overview

Nameruns
TypeResource
Idaws.omics.runs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe run's ID. (pattern: <code>[0-9]+</code>)
namestringThe run's name. (pattern: <code>[\p{L}||\p{M}||\p{Z}||\p{S}||\p{N}||\p{P}]+</code>)
acceleratorsstringThe computational accelerator used to run the workflow. (GPU)
arnstringThe run's ARN. (pattern: <code>arn:.+</code>)
batch_idstringThe run's batch ID. (pattern: <code>[0-9]+</code>)
cache_behaviorstringThe run cache behavior for the run. (CACHE_ON_FAILURE, CACHE_ALWAYS)
cache_idstringThe run cache associated with the run. (pattern: <code>[0-9]+</code>)
configurationobjectConfiguration details for the workflow run.
creation_timestring (date-time)When the run was created.
definitionstringThe run's definition. (pattern: <code>[\p{L}||\p{M}||\p{Z}||\p{S}||\p{N}||\p{P}]+</code>)
digeststringThe run's digest.
engine_settingsobjectThe engine-specific settings for the workflow run.
engine_versionstringThe actual Nextflow engine version that Amazon Web Services HealthOmics used for the run. The other workflow definition languages don't provide a value for this field. (pattern: <code>[0-9]{2}.[0-9]{2}.[0-9]</code>)
failure_reasonstringThe reason a run has failed. (pattern: <code>[\p{L}||\p{M}||\p{Z}||\p{S}||\p{N}||\p{P}]+</code>)
log_levelstringThe run's log level. (OFF, FATAL, ERROR, ALL)
log_locationobjectThe location of the run log.
networking_modestringConfiguration for run networking behavior. If absent, this will default to RESTRICTED. (RESTRICTED, VPC)
output_uristringThe run's output URI. (pattern: <code>[\p{L}||\p{M}||\p{Z}||\p{S}||\p{N}||\p{P}]+</code>)
parametersobjectThe run's parameters.
priorityintegerThe run's priority.
resource_digestsobjectThe run's resource digests.
retention_modestringThe run's retention mode. (RETAIN, REMOVE)
role_arnstringThe run's service role ARN. (pattern: <code>arn:.+</code>)
run_group_idstringThe run's group ID. (pattern: <code>[0-9]+</code>)
run_idstringThe run's ID. (pattern: <code>[0-9]+</code>)
run_output_uristringThe destination for workflow outputs. (pattern: <code>[\p{L}||\p{M}||\p{Z}||\p{S}||\p{N}||\p{P}]+</code>)
scratch_storage_modestringOptional configuration for enabling scratch ephemeral storage mounted at /tmp. If absent, this will default to SHARED. This configuration is applicable only for CPU tasks. For tasks using GPUs, scratch storage is always LOCAL. (LOCAL, SHARED)
start_timestring (date-time)When the run started.
started_bystringWho started the run.
statusstringThe run's status. (PENDING, STARTING, RUNNING, STOPPING, COMPLETED, DELETED, CANCELLED, FAILED)
status_messagestringThe run's status message. (pattern: <code>[\p{L}||\p{M}||\p{Z}||\p{S}||\p{N}||\p{P}]+</code>)
stop_timestring (date-time)The run's stop time.
storage_capacityintegerThe run's storage capacity in gibibytes. For dynamic storage, after the run has completed, this value is the maximum amount of storage used during the run.
storage_typestringThe run's storage type. (STATIC, DYNAMIC)
tagsobjectThe run's tags.
uuidstringThe universally unique identifier for a run. (pattern: <code>[\p{L}||\p{M}||\p{Z}||\p{S}||\p{N}||\p{P}]+</code>)
vpc_configobjectVPC configuration for the workflow run.
workflow_idstringThe run's workflow ID. (pattern: <code>[0-9]+</code>)
workflow_owner_idstringThe ID of the workflow owner. (pattern: <code>[0-9]{12}</code>)
workflow_typestringThe run's workflow type. (PRIVATE, READY2RUN)
workflow_uuidstringThe universally unique identifier (UUID) value for the workflow. (pattern: <code>[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}</code>)
workflow_version_namestringThe workflow version name. (pattern: <code>[A-Za-z0-9][A-Za-z0-9-._]*</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_runselectid, regionexportGets detailed information about a specific run using its ID. Amazon Web Services HealthOmics stores a configurable number of runs, as determined by service limits, that are available to the console and API. If GetRun does not return the requested run, you can find all run logs in the CloudWatch logs. For more information about viewing the run logs, see CloudWatch logs in the Amazon Web Services HealthOmics User Guide.
list_runsselectregionname, runGroupId, batchId, startingToken, maxResults, statusRetrieves a list of runs and returns each run's metadata and status. Amazon Web Services HealthOmics stores a configurable number of runs, as determined by service limits, that are available to the console and API. If the ListRuns response doesn't include specific runs that you expected, you can find all run logs in the CloudWatch logs. For more information about viewing the run logs, see CloudWatch logs in the Amazon Web Services HealthOmics User Guide.
delete_rundeleteid, regionDeletes a run and returns a response with no body if the operation is successful. You can only delete a run that has reached a COMPLETED, FAILED, or CANCELLED stage. A completed run has delivered an output, or was cancelled and resulted in no output. When you delete a run, only the metadata associated with the run is deleted. The run outputs remain in Amazon S3 and logs remain in CloudWatch. To verify that the workflow is deleted: Use ListRuns to confirm the workflow no longer appears in the list. Use GetRun to verify the workflow cannot be found.
cancel_run_batchexecregion, batchIdCancels all runs within a specified batch. This operation prevents not-yet-submitted runs from starting and submits CancelRun requests for runs that have already started. Cancel is only allowed on batches in PENDING, SUBMITTING, or INPROGRESS state. Cancel operations are non-atomic and may be partially successful. Use GetBatch to review successfulCancelSubmissionCount and failedCancelSubmissionCount in the submissionSummary. Only one cancel or delete operation per batch is allowed at a time.
start_run_batchexecregion, requestId, defaultRunSetting, batchRunSettingsStarts a batch of workflow runs. You can group up to 100,000 runs into a single batch that share a common configuration defined in defaultRunSetting. Per-run overrides can be provided either inline via inlineSettings (up to 100 runs) or via a JSON file stored in Amazon S3 via s3UriSettings (up to 100,000 runs). StartRunBatch validates common fields synchronously and returns immediately with a batch ID and status CREATING. The batch transitions to PENDING once initial setup completes. Runs are then submitted gradually and asynchronously at a rate governed by your StartRun throughput quota.

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 run's ID.
regionstringAWS region (default: us-east-1)
batchIdstringFilter by batch ID.
exportarrayThe run's export format.
maxResultsintegerThe maximum number of runs to return in one page of results.
namestringFilter the list by run name.
runGroupIdstringFilter the list by run group ID.
startingTokenstringSpecify the pagination token from a previous request to retrieve the next page of results.
statusstringThe status of a run.

SELECT examples

Gets detailed information about a specific run using its ID. Amazon Web Services HealthOmics stores a configurable number of runs, as determined by service limits, that are available to the console and API. If GetRun does not return the requested run, you can find all run logs in the CloudWatch logs. For more information about viewing the run logs, see CloudWatch logs in the Amazon Web Services HealthOmics User Guide.

SELECT
id,
name,
accelerators,
arn,
batch_id,
cache_behavior,
cache_id,
configuration,
creation_time,
definition,
digest,
engine_settings,
engine_version,
failure_reason,
log_level,
log_location,
networking_mode,
output_uri,
parameters,
priority,
resource_digests,
retention_mode,
role_arn,
run_group_id,
run_id,
run_output_uri,
scratch_storage_mode,
start_time,
started_by,
status,
status_message,
stop_time,
storage_capacity,
storage_type,
tags,
uuid,
vpc_config,
workflow_id,
workflow_owner_id,
workflow_type,
workflow_uuid,
workflow_version_name
FROM aws.omics.runs
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
AND export = '{{ export }}'
;

DELETE examples

Deletes a run and returns a response with no body if the operation is successful. You can only delete a run that has reached a COMPLETED, FAILED, or CANCELLED stage. A completed run has delivered an output, or was cancelled and resulted in no output. When you delete a run, only the metadata associated with the run is deleted. The run outputs remain in Amazon S3 and logs remain in CloudWatch. To verify that the workflow is deleted: Use ListRuns to confirm the workflow no longer appears in the list. Use GetRun to verify the workflow cannot be found.

DELETE FROM aws.omics.runs
WHERE id = '{{ id }}' --required
AND region = '{{ region }}' --required
;

Lifecycle Methods

Cancels all runs within a specified batch. This operation prevents not-yet-submitted runs from starting and submits CancelRun requests for runs that have already started. Cancel is only allowed on batches in PENDING, SUBMITTING, or INPROGRESS state. Cancel operations are non-atomic and may be partially successful. Use GetBatch to review successfulCancelSubmissionCount and failedCancelSubmissionCount in the submissionSummary. Only one cancel or delete operation per batch is allowed at a time.

EXEC aws.omics.runs.cancel_run_batch
@region='{{ region }}' --required
@@json=
'{
"batchId": "{{ batchId }}"
}'
;