Starts a new run and returns details about the run, or duplicates an existing run
Source:R/omics_operations.R
omics_start_run.RdStarts a new run and returns details about the run, or duplicates an existing run. A run is a single invocation of a workflow. If you provide request IDs, Amazon Web Services HealthOmics identifies duplicate requests and starts the run only once. Monitor the progress of the run by calling the get_run API operation.
See https://www.paws-r-sdk.com/docs/omics_start_run/ for full documentation.
Usage
omics_start_run(
workflowId = NULL,
workflowType = NULL,
runId = NULL,
roleArn,
name = NULL,
cacheId = NULL,
cacheBehavior = NULL,
runGroupId = NULL,
priority = NULL,
parameters = NULL,
storageCapacity = NULL,
outputUri,
logLevel = NULL,
tags = NULL,
requestId,
retentionMode = NULL,
storageType = NULL,
workflowOwnerId = NULL,
workflowVersionName = NULL,
networkingMode = NULL,
configurationName = NULL
)Arguments
- workflowId
The run's workflow ID. The
workflowIdis not the UUID.- workflowType
The run's workflow type. The
workflowTypemust be specified if you are running aREADY2RUNworkflow. If you are running aPRIVATEworkflow (default), you do not need to include the workflow type.- runId
The ID of a run to duplicate.
- roleArn
[required] A service role for the run. The
roleArnrequires access to Amazon Web Services HealthOmics, S3, Cloudwatch logs, and EC2. An exampleroleArnisarn:aws:iam::123456789012:role/omics-service-role-serviceRole-W8O1XMPL7QZ. In this example, the AWS account ID is123456789012and the role name isomics-service-role-serviceRole-W8O1XMPL7QZ.- name
A name for the run. This is recommended to view and organize runs in the Amazon Web Services HealthOmics console and CloudWatch logs.
- cacheId
Identifier of the cache associated with this run. If you don't specify a cache ID, no task outputs are cached for this run.
- cacheBehavior
The cache behavior for the run. You specify this value if you want to override the default behavior for the cache. You had set the default value when you created the cache. For more information, see Run cache behavior in the Amazon Web Services HealthOmics User Guide.
- runGroupId
The run's group ID. Use a run group to cap the compute resources (and number of concurrent runs) for the runs that you add to the run group.
- priority
Use the run priority (highest: 1) to establish the order of runs in a run group when you start a run. If multiple runs share the same priority, the run that was initiated first will have the higher priority. Runs that do not belong to a run group can be assigned a priority. The priorities of these runs are ranked among other runs that are not in a run group. For more information, see Run priority in the Amazon Web Services HealthOmics User Guide.
- parameters
Parameters for the run. The run needs all required parameters and can include optional parameters. The run cannot include any parameters that are not defined in the parameter template. To retrieve parameters from the run, use the GetRun API operation.
- storageCapacity
The
STATICstorage capacity (in gibibytes, GiB) for this run. The default run storage capacity is 1200 GiB. If your requested storage capacity is unavailable, the system rounds up the value to the nearest 1200 GiB multiple. If the requested storage capacity is still unavailable, the system rounds up the value to the nearest 2400 GiB multiple. This field is not required if the storage type isDYNAMIC(the system ignores any value that you enter).- outputUri
[required] An output S3 URI for the run. The S3 bucket must be in the same region as the workflow. The role ARN must have permission to write to this S3 bucket.
- logLevel
A log level for the run.
Tags for the run. You can add up to 50 tags per run. For more information, see Adding a tag in the Amazon Web Services HealthOmics User Guide.
- requestId
[required] An idempotency token used to dedupe retry requests so that duplicate runs are not created.
- retentionMode
The retention mode for the run. The default value is
RETAIN.Amazon Web Services HealthOmics stores a fixed number of runs that are available to the console and API. In the default mode (
RETAIN), you need to remove runs manually when the number of run exceeds the maximum. If you set the retention mode toREMOVE, Amazon Web Services HealthOmics automatically removes runs (that have mode set toREMOVE) when the number of run exceeds the maximum. All run logs are available in CloudWatch logs, if you need information about a run that is no longer available to the API.For more information about retention mode, see Specifying run retention mode in the Amazon Web Services HealthOmics User Guide.
- storageType
The storage type for the run. If you set the storage type to
DYNAMIC, Amazon Web Services HealthOmics dynamically scales the storage up or down, based on file system utilization. By default, the run usesSTATICstorage type, which allocates a fixed amount of storage. For more information aboutDYNAMICandSTATICstorage, see Run storage types in the Amazon Web Services HealthOmics User Guide.- workflowOwnerId
The 12-digit account ID of the workflow owner that is used for running a shared workflow. The workflow owner ID can be retrieved using the
get_shareAPI operation. If you are the workflow owner, you do not need to include this ID.- workflowVersionName
The name of the workflow version. Use workflow versions to track and organize changes to the workflow. If your workflow has multiple versions, the run uses the default version unless you specify a version name. To learn more, see Workflow versioning in the Amazon Web Services HealthOmics User Guide.
- networkingMode
Optional configuration for run networking behavior. If not specified, this will default to RESTRICTED.
- configurationName
Optional configuration name to use for the workflow run.