Skip to main content

sequence_stores

Creates, updates, deletes or gets a sequence_store resource or lists sequence_stores in a region

Overview

Namesequence_stores
TypeResource
DescriptionDefinition of AWS::Omics::SequenceStore Resource Type
Idaws.omics.sequence_stores

Fields

NameDatatypeDescription
arnstringThe store's ARN.
creation_timestringWhen the store was created.
descriptionstringA description for the store.
namestringA name for the store.
fallback_locationstringAn S3 URI representing the bucket and folder to store failed read set uploads.
sequence_store_idstring
sse_configobject
tagsobjectA map of resource tags
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTName, region
delete_resourceDELETEdata__Identifier, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all sequence_stores in a region.

SELECT
region,
arn,
creation_time,
description,
name,
fallback_location,
sequence_store_id,
sse_config,
tags
FROM aws.omics.sequence_stores
WHERE region = 'us-east-1';

Gets all properties from an individual sequence_store.

SELECT
region,
arn,
creation_time,
description,
name,
fallback_location,
sequence_store_id,
sse_config,
tags
FROM aws.omics.sequence_stores
WHERE region = 'us-east-1' AND data__Identifier = '<SequenceStoreId>';

INSERT example

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

/*+ create */
INSERT INTO aws.omics.sequence_stores (
Name,
region
)
SELECT
'{{ Name }}',
'{{ region }}';

DELETE example

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

Permissions

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

Create

omics:CreateSequenceStore,
omics:TagResource

Read

omics:GetSequenceStore,
omics:ListTagsForResource

Delete

omics:DeleteSequenceStore

List

omics:ListSequenceStores