AWS code-library documentation change
Summary
Updated documentation links to point to specific sections in the AWS HealthOmics User Guide and added new parameters (--max-gpus, --max-runs) to the 'create-run-group' example.
Security assessment
The addition of --max-gpus and --max-runs parameters demonstrates resource limitation controls, which can help prevent resource exhaustion. However, there is no explicit evidence in the diff that these changes address a specific security vulnerability or incident.
Diff
diff --git a/code-library/latest/ug/cli_2_omics_code_examples.md b/code-library/latest/ug/cli_2_omics_code_examples.md index cc7f67259..5fab0e3e5 100644 --- a//code-library/latest/ug/cli_2_omics_code_examples.md +++ b//code-library/latest/ug/cli_2_omics_code_examples.md @@ -148 +148 @@ The following `cancel-run` example cancels a run with ID `1234567`. -For more information, see [Omics Workflows](https://docs.aws.amazon.com/omics/latest/dev/workflows.html) in the _Amazon Omics Developer Guide_. +For more information, see [Run lifecycle in a workflow](https://docs.aws.amazon.com/omics/latest/dev/monitoring-runs.html) in the _AWS HealthOmics User Guide_. @@ -445 +445,3 @@ The following `create-run-group` example creates a run group named `cram-convert - --max-duration 600 + --max-gpus 10 \ + --max-duration 600 \ + --max-runs 5 @@ -457 +459 @@ Output: -For more information, see [Omics Workflows](https://docs.aws.amazon.com/omics/latest/dev/workflows.html) in the _Amazon Omics Developer Guide_. +For more information, see [Creating run groups](https://docs.aws.amazon.com/omics/latest/dev/creating-run-groups.html) in the _AWS HealthOmics User Guide_. @@ -615 +617 @@ Output: -For more information, see [Omics Workflows](https://docs.aws.amazon.com/omics/latest/dev/workflows.html) in the _Amazon Omics Developer Guide_. +For more information, see [Creating private workflows](https://docs.aws.amazon.com/omics/latest/dev/workflows-setup.html) in the _AWS HealthOmics User Guide_. @@ -736 +738 @@ The following `delete-run-group` example deletes a run group with ID `1234567`. -For more information, see [Omics Workflows](https://docs.aws.amazon.com/omics/latest/dev/workflows.html) in the _Amazon Omics Developer Guide_. +For more information, see [Deleting runs and run groups](https://docs.aws.amazon.com/omics/latest/dev/deleting-workflows-and-runs.html) in the _AWS HealthOmics User Guide_. @@ -757 +759 @@ The following `delete-run` example deletes a run with ID `1234567`. -For more information, see [Omics Workflows](https://docs.aws.amazon.com/omics/latest/dev/workflows.html) in the _Amazon Omics Developer Guide_. +For more information, see [Deleting runs and run groups](https://docs.aws.amazon.com/omics/latest/dev/deleting-workflows-and-runs.html) in the _AWS HealthOmics User Guide_. @@ -855 +857 @@ The following `delete-workflow` example deletes a workflow with ID `1234567`. -For more information, see [Omics Workflows](https://docs.aws.amazon.com/omics/latest/dev/workflows.html) in the _Amazon Omics Developer Guide_. +For more information, see [Delete a private workflow](https://docs.aws.amazon.com/omics/latest/dev/delete-private-workflow.html) in the _AWS HealthOmics User Guide_. @@ -1390 +1392 @@ Output: -For more information, see [Omics Workflows](https://docs.aws.amazon.com/omics/latest/dev/workflows.html) in the _Amazon Omics Developer Guide_. +For more information, see [Creating run groups](https://docs.aws.amazon.com/omics/latest/dev/creating-run-groups.html) in the _AWS HealthOmics User Guide_. @@ -1427 +1429 @@ Output: -For more information, see [Omics Workflows](https://docs.aws.amazon.com/omics/latest/dev/workflows.html) in the _Amazon Omics Developer Guide_. +For more information, see [Task lifecycle in a HealthOmics run](https://docs.aws.amazon.com/omics/latest/dev/workflow-run-tasks.html) in the _AWS HealthOmics User Guide_. @@ -1479 +1481 @@ Output: -For more information, see [Omics Workflows](https://docs.aws.amazon.com/omics/latest/dev/workflows.html) in the _Amazon Omics Developer Guide_. +For more information, see [Run lifecycle in a workflow](https://docs.aws.amazon.com/omics/latest/dev/monitoring-runs.html) in the _AWS HealthOmics User Guide_. @@ -1678 +1680 @@ Output: -For more information, see [Omics Workflows](https://docs.aws.amazon.com/omics/latest/dev/workflows.html) in the _Amazon Omics Developer Guide_. +For more information, see [Creating private workflows](https://docs.aws.amazon.com/omics/latest/dev/workflows-setup.html) in the _AWS HealthOmics User Guide_. @@ -2253 +2255 @@ Output: -For more information, see [Omics Workflows](https://docs.aws.amazon.com/omics/latest/dev/workflows.html) in the _Amazon Omics Developer Guide_. +For more information, see [Creating run groups](https://docs.aws.amazon.com/omics/latest/dev/creating-run-groups.html) in the _AWS HealthOmics User Guide_. @@ -2302 +2304 @@ Output: -For more information, see [Omics Workflows](https://docs.aws.amazon.com/omics/latest/dev/workflows.html) in the _Amazon Omics Developer Guide_. +For more information, see [Task lifecycle in a HealthOmics run](https://docs.aws.amazon.com/omics/latest/dev/workflow-run-tasks.html) in the _AWS HealthOmics User Guide_. @@ -2362 +2364 @@ Output: -For more information, see [Omics Workflows](https://docs.aws.amazon.com/omics/latest/dev/workflows.html) in the _Amazon Omics Developer Guide_. +For more information, see [Run lifecycle in a workflow](https://docs.aws.amazon.com/omics/latest/dev/monitoring-runs.html) in the _AWS HealthOmics User Guide_. @@ -2620 +2622 @@ Output: -For more information, see [Omics Workflows](https://docs.aws.amazon.com/omics/latest/dev/workflows.html) in the _Amazon Omics Developer Guide_. +For more information, see [Creating private workflows](https://docs.aws.amazon.com/omics/latest/dev/workflows-setup.html) in the _AWS HealthOmics User Guide_. @@ -2853 +2855 @@ Output: -For more information, see [Omics Workflows](https://docs.aws.amazon.com/omics/latest/dev/workflows.html) in the _Amazon Omics Developer Guide_. +For more information, see [Starting a run](https://docs.aws.amazon.com/omics/latest/dev/starting-a-run.html) in the _AWS HealthOmics User Guide_. @@ -2868,2 +2869,0 @@ You can also load source files from Amazon Omics storage, by using service-speci -For more information, see [Omics Workflows](https://docs.aws.amazon.com/omics/latest/dev/workflows.html) in the _Amazon Omics Developer Guide_. - @@ -3075 +3075 @@ The following `update-workflow` example updates the description of a workflow wi -For more information, see [Omics Storage](https://docs.aws.amazon.com/omics/latest/dev/workflows.html) in the _Amazon Omics Developer Guide_. +For more information, see [Creating or updating a workflow](https://docs.aws.amazon.com/omics/latest/dev/creating-private-workflows.html) in the _AWS HealthOmics User Guide_.