Skip to main content

run_groups

Creates, updates, deletes or gets a run_group resource or lists run_groups in a region

Overview

Namerun_groups
TypeResource
DescriptionDefinition of AWS::Omics::RunGroup Resource Type
Idaws.omics.run_groups

Fields

NameDatatypeDescription
arnstring
creation_timestring
idstring
max_cpusnumber
max_gpusnumber
max_durationnumber
max_runsnumber
namestring
tagsobjectA map of resource tags
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTregion
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all run_groups in a region.

SELECT
region,
arn,
creation_time,
id,
max_cpus,
max_gpus,
max_duration,
max_runs,
name,
tags
FROM aws.omics.run_groups
WHERE region = 'us-east-1';

Gets all properties from an individual run_group.

SELECT
region,
arn,
creation_time,
id,
max_cpus,
max_gpus,
max_duration,
max_runs,
name,
tags
FROM aws.omics.run_groups
WHERE region = 'us-east-1' AND data__Identifier = '<Id>';

INSERT example

Use the following StackQL query and manifest file to create a new run_group resource, using stack-deploy.

/*+ create */
INSERT INTO aws.omics.run_groups (
MaxCpus,
MaxGpus,
MaxDuration,
MaxRuns,
Name,
Tags,
region
)
SELECT
'{{ MaxCpus }}',
'{{ MaxGpus }}',
'{{ MaxDuration }}',
'{{ MaxRuns }}',
'{{ Name }}',
'{{ Tags }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.omics.run_groups
WHERE data__Identifier = '<Id>'
AND region = 'us-east-1';

Permissions

To operate on the run_groups resource, the following permissions are required:

Create

omics:CreateRunGroup,
omics:TagResource

Read

omics:GetRunGroup

Update

omics:UpdateRunGroup,
omics:TagResource,
omics:GetRunGroup,
omics:ListTagsForResource,
omics:UntagResource

Delete

omics:DeleteRunGroup,
omics:GetRunGroup

List

omics:ListRunGroups