sequence_stores
Creates, updates, deletes or gets a sequence_store
resource or lists sequence_stores
in a region
Overview
Name | sequence_stores |
Type | Resource |
Description | Definition of AWS::Omics::SequenceStore Resource Type |
Id | aws.omics.sequence_stores |
Fields
Name | Datatype | Description |
---|---|---|
arn | string | The store's ARN. |
creation_time | string | When the store was created. |
description | string | A description for the store. |
name | string | A name for the store. |
fallback_location | string | An S3 URI representing the bucket and folder to store failed read set uploads. |
sequence_store_id | string | |
sse_config | object | |
tags | object | A map of resource tags |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | Name, region |
delete_resource | DELETE | data__Identifier, region |
list_resources | SELECT | region |
get_resource | SELECT | data__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
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.omics.sequence_stores (
Name,
region
)
SELECT
'{{ Name }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.omics.sequence_stores (
Description,
Name,
FallbackLocation,
SseConfig,
Tags,
region
)
SELECT
'{{ Description }}',
'{{ Name }}',
'{{ FallbackLocation }}',
'{{ SseConfig }}',
'{{ Tags }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: sequence_store
props:
- name: Description
value: '{{ Description }}'
- name: Name
value: '{{ Name }}'
- name: FallbackLocation
value: '{{ FallbackLocation }}'
- name: SseConfig
value:
Type: '{{ Type }}'
KeyArn: '{{ KeyArn }}'
- name: Tags
value: {}
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