Skip to main content

variant_stores

Creates, updates, deletes, gets or lists a variant_stores resource.

Overview

Namevariant_stores
TypeResource
Idaws.omics.variant_stores

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe store's ID. (pattern: <code>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}</code>)
namestringThe store's name.
creation_timestring (date-time)When the store was created.
descriptionstringThe store's description.
referenceobjectA genome reference.
sse_configobjectServer-side encryption (SSE) settings for a store.
statusstringThe store's status. (CREATING, UPDATING, DELETING, ACTIVE, FAILED)
status_messagestringThe store's status message.
store_arnstringThe store's ARN. (pattern: <code>arn:([^: ]):([^: ]):([^: ]):([0-9]{12}):([^: ])</code>)
store_size_bytesinteger (int64)The store's size in bytes.
tagsobjectThe store's tags.
update_timestring (date-time)When the store was updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_variant_storeselectname, regionAmazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change. Gets information about a variant store.
list_variant_storesselectregionmaxResults, nextTokenAmazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change. Retrieves a list of variant stores.
create_variant_storeinsertregion, referenceAmazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change. Creates a variant store.
update_variant_storeupdatename, regionAmazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change. Updates a variant store.
delete_variant_storedeletename, regionforceAmazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change. Deletes a variant store.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
namestringThe store's name.
regionstringAWS region (default: us-east-1)
forcebooleanWhether to force deletion.
maxResultsintegerThe maximum number of stores to return in one page of results.
nextTokenstringSpecify the pagination token from a previous request to retrieve the next page of results.

SELECT examples

Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change. Gets information about a variant store.

SELECT
id,
name,
creation_time,
description,
reference,
sse_config,
status,
status_message,
store_arn,
store_size_bytes,
tags,
update_time
FROM aws.omics.variant_stores
WHERE name = '{{ name }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change. Creates a variant store.

INSERT INTO aws.omics.variant_stores (
reference,
name,
description,
tags,
sseConfig,
region
)
SELECT
'{{ reference }}' /* required */,
'{{ name }}',
'{{ description }}',
'{{ tags }}',
'{{ sseConfig }}',
'{{ region }}'
RETURNING
id,
name,
creation_time,
reference,
status
;

UPDATE examples

Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change. Updates a variant store.

UPDATE aws.omics.variant_stores
SET
description = '{{ description }}'
WHERE
name = '{{ name }}' --required
AND region = '{{ region }}' --required
RETURNING
id,
name,
creation_time,
description,
reference,
status,
update_time;

DELETE examples

Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change. Deletes a variant store.

DELETE FROM aws.omics.variant_stores
WHERE name = '{{ name }}' --required
AND region = '{{ region }}' --required
AND force = '{{ force }}'
;