Skip to main content

sequence_stores

Creates, updates, deletes or gets a sequence_store resource or lists sequence_stores in a region

Overview

Namesequence_stores
TypeResource
DescriptionResource Type definition for AWS::Omics::SequenceStore
Idawscc.omics.sequence_stores

Fields

NameDatatypeDescription
access_log_locationstringLocation of the access logs.
arnstringThe store's ARN.
creation_timestringWhen the store was created.
descriptionstringA description for the store.
e_tag_algorithm_familystring
fallback_locationstringAn S3 location that is used to store files that have failed a direct upload.
namestringA name for the store.
propagated_set_level_tagsarrayThe tags keys to propagate to the S3 objects associated with read sets in the sequence store.
s3_access_point_arnstringThis is ARN of the access point associated with the S3 bucket storing read sets.
s3_access_policyobjectThe resource policy that controls S3 access on the store
s3_uristringThe S3 URI of the sequence store.
sequence_store_idstring
sse_configobject
statusstring
status_messagestringThe status message of the sequence store.
tagsobjectA map of resource tags
update_timestringThe last-updated time of the sequence store.
regionstringAWS region.

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

Methods

NameResourceAccessible byRequired Params
create_resourcesequence_storesINSERTName, region
delete_resourcesequence_storesDELETEIdentifier, region
update_resourcesequence_storesUPDATEIdentifier, PatchDocument, region
list_resourcessequence_stores_list_onlySELECTregion
get_resourcesequence_storesSELECTIdentifier, region

SELECT examples

Gets all properties from an individual sequence_store.

SELECT
region,
access_log_location,
arn,
creation_time,
description,
e_tag_algorithm_family,
fallback_location,
name,
propagated_set_level_tags,
s3_access_point_arn,
s3_access_policy,
s3_uri,
sequence_store_id,
sse_config,
status,
status_message,
tags,
update_time
FROM awscc.omics.sequence_stores
WHERE
region = '{{ region }}' AND
Identifier = '{{ sequence_store_id }}';

INSERT example

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

/*+ create */
INSERT INTO awscc.omics.sequence_stores (
Name,
region
)
SELECT
'{{ name }}',
'{{ region }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

UPDATE example

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

/*+ update */
UPDATE awscc.omics.sequence_stores
SET PatchDocument = string('{{ {
"AccessLogLocation": access_log_location,
"Description": description,
"FallbackLocation": fallback_location,
"Name": name,
"PropagatedSetLevelTags": propagated_set_level_tags,
"S3AccessPolicy": s3_access_policy,
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ sequence_store_id }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

DELETE example

/*+ delete */
DELETE FROM awscc.omics.sequence_stores
WHERE
Identifier = '{{ sequence_store_id }}' AND
region = '{{ region }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

Additional Parameters

Mutable resources in the Cloud Control provider support additional optional parameters which can be supplied with INSERT, UPDATE, or DELETE operations. These include:

ParameterDescription
ClientToken
A unique identifier to ensure the idempotency of the resource request.This allows the provider to accurately distinguish between retries and new requests.
A client token is valid for 36 hours once used.
After that, a resource request with the same client token is treated as a new request.
If you do not specify a client token, one is generated for inclusion in the request.
RoleArn
The ARN of the IAM role used to perform this resource operation.The role specified must have the permissions required for this operation.
If you do not specify a role, a temporary session is created using your AWS user credentials.
TypeVersionId
For private resource types, the type version to use in this resource operation.If you do not specify a resource version, the default version is used.

Permissions

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

omics:CreateSequenceStore,
omics:GetSequenceStore,
omics:GetS3AccessPolicy,
omics:PutS3AccessPolicy,
omics:ListTagsForResource,
omics:TagResource,
kms:DescribeKey