Skip to main content

variant_stores

Creates, updates, deletes or gets a variant_store resource or lists variant_stores in a region

Overview

Namevariant_stores
TypeResource
DescriptionDefinition of AWS::Omics::VariantStore Resource Type
Idaws.omics.variant_stores

Fields

NameDatatypeDescription
creation_timestring
descriptionstring
idstring
namestring
referenceobject
sse_configobject
statusstring
status_messagestring
store_arnstring
store_size_bytesnumber
tagsobjectA map of resource tags
update_timestring
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTName, Reference, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all variant_stores in a region.

SELECT
region,
creation_time,
description,
id,
name,
reference,
sse_config,
status,
status_message,
store_arn,
store_size_bytes,
tags,
update_time
FROM aws.omics.variant_stores
WHERE region = 'us-east-1';

Gets all properties from an individual variant_store.

SELECT
region,
creation_time,
description,
id,
name,
reference,
sse_config,
status,
status_message,
store_arn,
store_size_bytes,
tags,
update_time
FROM aws.omics.variant_stores
WHERE region = 'us-east-1' AND data__Identifier = '<Name>';

INSERT example

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

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

DELETE example

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

Permissions

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

Create

omics:CreateVariantStore,
omics:TagResource,
kms:DescribeKey,
kms:GenerateDataKey,
kms:CreateGrant,
ram:AcceptResourceShareInvitation,
ram:GetResourceShareInvitations,
omics:GetVariantStore

Read

omics:GetVariantStore

Update

omics:UpdateVariantStore,
omics:TagResource,
omics:UntagResource,
omics:ListTagsForResource,
omics:GetVariantStore

Delete

omics:DeleteVariantStore,
omics:ListVariantStores

List

omics:ListVariantStores