Skip to main content

reference_stores

Creates, updates, deletes or gets a reference_store resource or lists reference_stores in a region

Overview

Namereference_stores
TypeResource
DescriptionDefinition of AWS::Omics::ReferenceStore Resource Type
Idaws.omics.reference_stores

Fields

NameDatatypeDescription
arnstringThe store's ARN.
creation_timestringWhen the store was created.
descriptionstringA description for the store.
namestringA name for the store.
reference_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 reference_stores in a region.

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

Gets all properties from an individual reference_store.

SELECT
region,
arn,
creation_time,
description,
name,
reference_store_id,
sse_config,
tags
FROM aws.omics.reference_stores
WHERE region = 'us-east-1' AND data__Identifier = '<ReferenceStoreId>';

INSERT example

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

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

DELETE example

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

Permissions

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

Create

omics:CreateReferenceStore,
omics:TagResource

Read

omics:GetReferenceStore,
omics:ListTagsForResource

Delete

omics:DeleteReferenceStore

List

omics:ListReferenceStores