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
Idawscc.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.

For more information, see AWS::Omics::VariantStore.

Methods

NameResourceAccessible byRequired Params
create_resourcevariant_storesINSERTName, Reference, region
delete_resourcevariant_storesDELETEIdentifier, region
update_resourcevariant_storesUPDATEIdentifier, PatchDocument, region
list_resourcesvariant_stores_list_onlySELECTregion
get_resourcevariant_storesSELECTIdentifier, region

SELECT examples

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 awscc.omics.variant_stores
WHERE
region = 'us-east-1' AND
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 awscc.omics.variant_stores (
Name,
Reference,
region
)
SELECT
'{{ name }}',
'{{ reference }}',
'{{ region }}';

UPDATE example

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

/*+ update */
UPDATE awscc.omics.variant_stores
SET PatchDocument = string('{{ {
"Description": description
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ name }}';

DELETE example

/*+ delete */
DELETE FROM awscc.omics.variant_stores
WHERE
Identifier = '{{ name }}' AND
region = 'us-east-1';

Permissions

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

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