Skip to main content

annotation_stores

Creates, updates, deletes, gets or lists an annotation_stores resource.

Overview

Nameannotation_stores
TypeResource
Idaws.omics.annotation_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.
num_versionsintegerAn integer indicating how many versions of an annotation store exist.
referenceobjectA genome reference.
sse_configobjectServer-side encryption (SSE) settings for a store.
statusstringThe store's status. (CREATING, UPDATING, DELETING, ACTIVE, FAILED)
status_messagestringA status message.
store_arnstringThe store's ARN. (pattern: <code>arn:([^: ]):([^: ]):([^: ]):([0-9]{12}):([^: ])</code>)
store_formatstringThe store's annotation file format. (GFF, TSV, VCF)
store_optionsobjectSettings for a store.
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_annotation_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 an annotation store.
list_annotation_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 annotation stores.
create_annotation_storeinsertregion, storeFormatAmazon 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 an annotation store.
update_annotation_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 an annotation store.
delete_annotation_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 an annotation 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 an annotation store.

SELECT
id,
name,
creation_time,
description,
num_versions,
reference,
sse_config,
status,
status_message,
store_arn,
store_format,
store_options,
store_size_bytes,
tags,
update_time
FROM aws.omics.annotation_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 an annotation store.

INSERT INTO aws.omics.annotation_stores (
reference,
name,
description,
tags,
versionName,
sseConfig,
storeFormat,
storeOptions,
region
)
SELECT
'{{ reference }}',
'{{ name }}',
'{{ description }}',
'{{ tags }}',
'{{ versionName }}',
'{{ sseConfig }}',
'{{ storeFormat }}' /* required */,
'{{ storeOptions }}',
'{{ region }}'
RETURNING
id,
name,
creation_time,
reference,
status,
store_format,
store_options,
version_name
;

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 an annotation store.

UPDATE aws.omics.annotation_stores
SET
description = '{{ description }}'
WHERE
name = '{{ name }}' --required
AND region = '{{ region }}' --required
RETURNING
id,
name,
creation_time,
description,
reference,
status,
store_format,
store_options,
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 an annotation store.

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