Skip to main content

annotation_stores

Creates, updates, deletes or gets an annotation_store resource or lists annotation_stores in a region

Overview

Nameannotation_stores
TypeResource
DescriptionDefinition of AWS::Omics::AnnotationStore Resource Type
Idaws.omics.annotation_stores

Fields

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

Methods

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

SELECT examples

Gets all annotation_stores in a region.

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

Gets all properties from an individual annotation_store.

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

INSERT example

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

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

DELETE example

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

Permissions

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

Create

omics:CreateAnnotationStore,
omics:TagResource,
kms:DescribeKey,
kms:GenerateDataKey,
kms:CreateGrant,
ram:AcceptResourceShareInvitation,
ram:GetResourceShareInvitations,
omics:GetAnnotationStore

Read

omics:GetAnnotationStore

Update

omics:UpdateAnnotationStore,
omics:TagResource,
omics:UntagResource,
omics:GetAnnotationStore,
omics:ListTagsForResource

Delete

omics:DeleteAnnotationStore,
omics:ListAnnotationStores

List

omics:ListAnnotationStores