2023/08/14 - Amazon Omics - 10 new5 updated api methods
Changes This release provides support for annotation store versioning and cross account sharing for Omics Analytics
Lists the versions of an annotation store.
See also: AWS API Documentation
Request Syntax
client.list_annotation_store_versions( name='string', maxResults=123, nextToken='string', filter={ 'status': 'CREATING'|'UPDATING'|'DELETING'|'ACTIVE'|'FAILED' } )
string
[REQUIRED]
The name of an annotation store.
integer
The maximum number of annotation store versions to return in one page of results.
string
Specifies the pagination token from a previous request to retrieve the next page of results.
dict
A filter to apply to the list of annotation store versions.
status (string) --
The status of an annotation store version.
dict
Response Syntax
{ 'annotationStoreVersions': [ { 'storeId': 'string', 'id': 'string', 'status': 'CREATING'|'UPDATING'|'DELETING'|'ACTIVE'|'FAILED', 'versionArn': 'string', 'name': 'string', 'versionName': 'string', 'description': 'string', 'creationTime': datetime(2015, 1, 1), 'updateTime': datetime(2015, 1, 1), 'statusMessage': 'string', 'versionSizeBytes': 123 }, ], 'nextToken': 'string' }
Response Structure
(dict) --
annotationStoreVersions (list) --
Lists all versions of an annotation store.
(dict) --
Annotation store versions.
storeId (string) --
The store ID for an annotation store version.
id (string) --
The annotation store version ID.
status (string) --
The status of an annotation store version.
versionArn (string) --
The Arn for an annotation store version.
name (string) --
A name given to an annotation store version to distinguish it from others.
versionName (string) --
The name of an annotation store version.
description (string) --
The description of an annotation store version.
creationTime (datetime) --
The time stamp for when an annotation store version was created.
updateTime (datetime) --
The time stamp for when an annotation store version was updated.
statusMessage (string) --
The status of an annotation store version.
versionSizeBytes (integer) --
The size of an annotation store version in Bytes.
nextToken (string) --
Specifies the pagination token from a previous request to retrieve the next page of results.
Retrieves the metadata for an annotation store version.
See also: AWS API Documentation
Request Syntax
client.get_annotation_store_version( name='string', versionName='string' )
string
[REQUIRED]
The name given to an annotation store version to distinguish it from others.
string
[REQUIRED]
The name given to an annotation store version to distinguish it from others.
dict
Response Syntax
{ 'storeId': 'string', 'id': 'string', 'status': 'CREATING'|'UPDATING'|'DELETING'|'ACTIVE'|'FAILED', 'versionArn': 'string', 'name': 'string', 'versionName': 'string', 'description': 'string', 'creationTime': datetime(2015, 1, 1), 'updateTime': datetime(2015, 1, 1), 'tags': { 'string': 'string' }, 'versionOptions': { 'tsvVersionOptions': { 'annotationType': 'GENERIC'|'CHR_POS'|'CHR_POS_REF_ALT'|'CHR_START_END_ONE_BASE'|'CHR_START_END_REF_ALT_ONE_BASE'|'CHR_START_END_ZERO_BASE'|'CHR_START_END_REF_ALT_ZERO_BASE', 'formatToHeader': { 'string': 'string' }, 'schema': [ { 'string': 'LONG'|'INT'|'STRING'|'FLOAT'|'DOUBLE'|'BOOLEAN' }, ] } }, 'statusMessage': 'string', 'versionSizeBytes': 123 }
Response Structure
(dict) --
storeId (string) --
The store ID for annotation store version.
id (string) --
The annotation store version ID.
status (string) --
The status of an annotation store version.
versionArn (string) --
The Arn for the annotation store.
name (string) --
The name of the annotation store.
versionName (string) --
The name given to an annotation store version to distinguish it from others.
description (string) --
The description for an annotation store version.
creationTime (datetime) --
The time stamp for when an annotation store version was created.
updateTime (datetime) --
The time stamp for when an annotation store version was updated.
tags (dict) --
Any tags associated with an annotation store version.
(string) --
(string) --
versionOptions (dict) --
The options for an annotation store version.
tsvVersionOptions (dict) --
File settings for a version of a TSV store.
annotationType (string) --
The store version's annotation type.
formatToHeader (dict) --
The annotation store version's header key to column name mapping.
(string) --
(string) --
schema (list) --
The TSV schema for an annotation store version.
(dict) --
(string) --
(string) --
statusMessage (string) --
The status of an annotation store version.
versionSizeBytes (integer) --
The size of the annotation store version in Bytes.
Updates the description of an annotation store version.
See also: AWS API Documentation
Request Syntax
client.update_annotation_store_version( name='string', versionName='string', description='string' )
string
[REQUIRED]
The name of an annotation store.
string
[REQUIRED]
The name of an annotation store version.
string
The description of an annotation store.
dict
Response Syntax
{ 'storeId': 'string', 'id': 'string', 'status': 'CREATING'|'UPDATING'|'DELETING'|'ACTIVE'|'FAILED', 'name': 'string', 'versionName': 'string', 'description': 'string', 'creationTime': datetime(2015, 1, 1), 'updateTime': datetime(2015, 1, 1) }
Response Structure
(dict) --
storeId (string) --
The annotation store ID.
id (string) --
The annotation store version ID.
status (string) --
The status of an annotation store version.
name (string) --
The name of an annotation store.
versionName (string) --
The name of an annotation store version.
description (string) --
The description of an annotation store version.
creationTime (datetime) --
The time stamp for when an annotation store version was created.
updateTime (datetime) --
The time stamp for when an annotation store version was updated.
Creates a new version of an annotation store.
See also: AWS API Documentation
Request Syntax
client.create_annotation_store_version( name='string', versionName='string', description='string', versionOptions={ 'tsvVersionOptions': { 'annotationType': 'GENERIC'|'CHR_POS'|'CHR_POS_REF_ALT'|'CHR_START_END_ONE_BASE'|'CHR_START_END_REF_ALT_ONE_BASE'|'CHR_START_END_ZERO_BASE'|'CHR_START_END_REF_ALT_ZERO_BASE', 'formatToHeader': { 'string': 'string' }, 'schema': [ { 'string': 'LONG'|'INT'|'STRING'|'FLOAT'|'DOUBLE'|'BOOLEAN' }, ] } }, tags={ 'string': 'string' } )
string
[REQUIRED]
The name of an annotation store version from which versions are being created.
string
[REQUIRED]
The name given to an annotation store version to distinguish it from other versions.
string
The description of an annotation store version.
dict
The options for an annotation store version.
tsvVersionOptions (dict) --
File settings for a version of a TSV store.
annotationType (string) --
The store version's annotation type.
formatToHeader (dict) --
The annotation store version's header key to column name mapping.
(string) --
(string) --
schema (list) --
The TSV schema for an annotation store version.
(dict) --
(string) --
(string) --
dict
Any tags added to annotation store version.
(string) --
(string) --
dict
Response Syntax
{ 'id': 'string', 'versionName': 'string', 'storeId': 'string', 'versionOptions': { 'tsvVersionOptions': { 'annotationType': 'GENERIC'|'CHR_POS'|'CHR_POS_REF_ALT'|'CHR_START_END_ONE_BASE'|'CHR_START_END_REF_ALT_ONE_BASE'|'CHR_START_END_ZERO_BASE'|'CHR_START_END_REF_ALT_ZERO_BASE', 'formatToHeader': { 'string': 'string' }, 'schema': [ { 'string': 'LONG'|'INT'|'STRING'|'FLOAT'|'DOUBLE'|'BOOLEAN' }, ] } }, 'name': 'string', 'status': 'CREATING'|'UPDATING'|'DELETING'|'ACTIVE'|'FAILED', 'creationTime': datetime(2015, 1, 1) }
Response Structure
(dict) --
id (string) --
A generated ID for the annotation store
versionName (string) --
The name given to an annotation store version to distinguish it from other versions.
storeId (string) --
The ID for the annotation store from which new versions are being created.
versionOptions (dict) --
The options for an annotation store version.
tsvVersionOptions (dict) --
File settings for a version of a TSV store.
annotationType (string) --
The store version's annotation type.
formatToHeader (dict) --
The annotation store version's header key to column name mapping.
(string) --
(string) --
schema (list) --
The TSV schema for an annotation store version.
(dict) --
(string) --
(string) --
name (string) --
The name given to an annotation store version to distinguish it from other versions.
status (string) --
The status of a annotation store version.
creationTime (datetime) --
The time stamp for the creation of an annotation store version.
Deletes one or multiple versions of an annotation store.
See also: AWS API Documentation
Request Syntax
client.delete_annotation_store_versions( name='string', versions=[ 'string', ], force=True|False )
string
[REQUIRED]
The name of the annotation store from which versions are being deleted.
list
[REQUIRED]
The versions of an annotation store to be deleted.
(string) --
boolean
Forces the deletion of an annotation store version when imports are in-progress..
dict
Response Syntax
{ 'errors': [ { 'versionName': 'string', 'message': 'string' }, ] }
Response Structure
(dict) --
errors (list) --
Any errors that occur when attempting to delete an annotation store version.
(dict) --
The error preventing deletion of the annotation store version.
versionName (string) --
The name given to an annotation store version.
message (string) --
The message explaining the error in annotation store deletion.
{'versionName': 'string'}
Creates an annotation store.
See also: AWS API Documentation
Request Syntax
client.create_annotation_store( reference={ 'referenceArn': 'string' }, name='string', description='string', tags={ 'string': 'string' }, versionName='string', sseConfig={ 'type': 'KMS', 'keyArn': 'string' }, storeFormat='GFF'|'TSV'|'VCF', storeOptions={ 'tsvStoreOptions': { 'annotationType': 'GENERIC'|'CHR_POS'|'CHR_POS_REF_ALT'|'CHR_START_END_ONE_BASE'|'CHR_START_END_REF_ALT_ONE_BASE'|'CHR_START_END_ZERO_BASE'|'CHR_START_END_REF_ALT_ZERO_BASE', 'formatToHeader': { 'string': 'string' }, 'schema': [ { 'string': 'LONG'|'INT'|'STRING'|'FLOAT'|'DOUBLE'|'BOOLEAN' }, ] } } )
dict
The genome reference for the store's annotations.
referenceArn (string) --
The reference's ARN.
string
A name for the store.
string
A description for the store.
dict
Tags for the store.
(string) --
(string) --
string
The name given to an annotation store version to distinguish it from other versions.
dict
Server-side encryption (SSE) settings for the store.
type (string) -- [REQUIRED]
The encryption type.
keyArn (string) --
An encryption key ARN.
string
[REQUIRED]
The annotation file format of the store.
dict
File parsing options for the annotation store.
tsvStoreOptions (dict) --
File settings for a TSV store.
annotationType (string) --
The store's annotation type.
formatToHeader (dict) --
The store's header key to column name mapping.
(string) --
(string) --
schema (list) --
The store's schema.
(dict) --
(string) --
(string) --
dict
Response Syntax
{ 'id': 'string', 'reference': { 'referenceArn': 'string' }, 'storeFormat': 'GFF'|'TSV'|'VCF', 'storeOptions': { 'tsvStoreOptions': { 'annotationType': 'GENERIC'|'CHR_POS'|'CHR_POS_REF_ALT'|'CHR_START_END_ONE_BASE'|'CHR_START_END_REF_ALT_ONE_BASE'|'CHR_START_END_ZERO_BASE'|'CHR_START_END_REF_ALT_ZERO_BASE', 'formatToHeader': { 'string': 'string' }, 'schema': [ { 'string': 'LONG'|'INT'|'STRING'|'FLOAT'|'DOUBLE'|'BOOLEAN' }, ] } }, 'status': 'CREATING'|'UPDATING'|'DELETING'|'ACTIVE'|'FAILED', 'name': 'string', 'versionName': 'string', 'creationTime': datetime(2015, 1, 1) }
Response Structure
(dict) --
id (string) --
The store's ID.
reference (dict) --
The store's genome reference. Required for all stores except TSV format with generic annotations.
referenceArn (string) --
The reference's ARN.
storeFormat (string) --
The annotation file format of the store.
storeOptions (dict) --
The store's file parsing options.
tsvStoreOptions (dict) --
File settings for a TSV store.
annotationType (string) --
The store's annotation type.
formatToHeader (dict) --
The store's header key to column name mapping.
(string) --
(string) --
schema (list) --
The store's schema.
(dict) --
(string) --
(string) --
status (string) --
The store's status.
name (string) --
The store's name.
versionName (string) --
The name given to an annotation store version to distinguish it from other versions.
creationTime (datetime) --
When the store was created.
{'versionName': 'string'}
Gets information about an annotation import job.
See also: AWS API Documentation
Request Syntax
client.get_annotation_import_job( jobId='string' )
string
[REQUIRED]
The job's ID.
dict
Response Syntax
{ 'id': 'string', 'destinationName': 'string', 'versionName': 'string', 'roleArn': 'string', 'status': 'SUBMITTED'|'IN_PROGRESS'|'CANCELLED'|'COMPLETED'|'FAILED'|'COMPLETED_WITH_FAILURES', 'statusMessage': 'string', 'creationTime': datetime(2015, 1, 1), 'updateTime': datetime(2015, 1, 1), 'completionTime': datetime(2015, 1, 1), 'items': [ { 'source': 'string', 'jobStatus': 'SUBMITTED'|'IN_PROGRESS'|'CANCELLED'|'COMPLETED'|'FAILED'|'COMPLETED_WITH_FAILURES' }, ], 'runLeftNormalization': True|False, 'formatOptions': { 'tsvOptions': { 'readOptions': { 'sep': 'string', 'encoding': 'string', 'quote': 'string', 'quoteAll': True|False, 'escape': 'string', 'escapeQuotes': True|False, 'comment': 'string', 'header': True|False, 'lineSep': 'string' } }, 'vcfOptions': { 'ignoreQualField': True|False, 'ignoreFilterField': True|False } }, 'annotationFields': { 'string': 'string' } }
Response Structure
(dict) --
id (string) --
The job's ID.
destinationName (string) --
The job's destination annotation store.
versionName (string) --
The name of the annotation store version.
roleArn (string) --
The job's service role ARN.
status (string) --
The job's status.
statusMessage (string) --
The job's status message.
creationTime (datetime) --
When the job was created.
updateTime (datetime) --
When the job was updated.
completionTime (datetime) --
When the job completed.
items (list) --
The job's imported items.
(dict) --
Details about an imported annotation item.
source (string) --
The source file's location in Amazon S3.
jobStatus (string) --
The item's job status.
runLeftNormalization (boolean) --
The job's left normalization setting.
formatOptions (dict) --
Formatting options for a file.
tsvOptions (dict) --
Options for a TSV file.
readOptions (dict) --
The file's read options.
sep (string) --
The file's field separator.
encoding (string) --
The file's encoding.
quote (string) --
The file's quote character.
quoteAll (boolean) --
Whether all values need to be quoted, or just those that contain quotes.
escape (string) --
A character for escaping quotes in the file.
escapeQuotes (boolean) --
Whether quotes need to be escaped in the file.
comment (string) --
The file's comment character.
header (boolean) --
Whether the file has a header row.
lineSep (string) --
A line separator for the file.
vcfOptions (dict) --
Options for a VCF file.
ignoreQualField (boolean) --
The file's ignore qual field setting.
ignoreFilterField (boolean) --
The file's ignore filter field setting.
annotationFields (dict) --
The annotation schema generated by the parsed annotation data.
(string) --
(string) --
{'numVersions': 'integer'}
Gets information about an annotation store.
See also: AWS API Documentation
Request Syntax
client.get_annotation_store( name='string' )
string
[REQUIRED]
The store's name.
dict
Response Syntax
{ 'id': 'string', 'reference': { 'referenceArn': 'string' }, 'status': 'CREATING'|'UPDATING'|'DELETING'|'ACTIVE'|'FAILED', 'storeArn': 'string', 'name': 'string', 'description': 'string', 'sseConfig': { 'type': 'KMS', 'keyArn': 'string' }, 'creationTime': datetime(2015, 1, 1), 'updateTime': datetime(2015, 1, 1), 'tags': { 'string': 'string' }, 'storeOptions': { 'tsvStoreOptions': { 'annotationType': 'GENERIC'|'CHR_POS'|'CHR_POS_REF_ALT'|'CHR_START_END_ONE_BASE'|'CHR_START_END_REF_ALT_ONE_BASE'|'CHR_START_END_ZERO_BASE'|'CHR_START_END_REF_ALT_ZERO_BASE', 'formatToHeader': { 'string': 'string' }, 'schema': [ { 'string': 'LONG'|'INT'|'STRING'|'FLOAT'|'DOUBLE'|'BOOLEAN' }, ] } }, 'storeFormat': 'GFF'|'TSV'|'VCF', 'statusMessage': 'string', 'storeSizeBytes': 123, 'numVersions': 123 }
Response Structure
(dict) --
id (string) --
The store's ID.
reference (dict) --
The store's genome reference.
referenceArn (string) --
The reference's ARN.
status (string) --
The store's status.
storeArn (string) --
The store's ARN.
name (string) --
The store's name.
description (string) --
The store's description.
sseConfig (dict) --
The store's server-side encryption (SSE) settings.
type (string) --
The encryption type.
keyArn (string) --
An encryption key ARN.
creationTime (datetime) --
When the store was created.
updateTime (datetime) --
When the store was updated.
tags (dict) --
The store's tags.
(string) --
(string) --
storeOptions (dict) --
The store's parsing options.
tsvStoreOptions (dict) --
File settings for a TSV store.
annotationType (string) --
The store's annotation type.
formatToHeader (dict) --
The store's header key to column name mapping.
(string) --
(string) --
schema (list) --
The store's schema.
(dict) --
(string) --
(string) --
storeFormat (string) --
The store's annotation file format.
statusMessage (string) --
A status message.
storeSizeBytes (integer) --
The store's size in bytes.
numVersions (integer) --
An integer indicating how many versions of an annotation store exist.
{'annotationImportJobs': {'versionName': 'string'}}
Retrieves a list of annotation import jobs.
See also: AWS API Documentation
Request Syntax
client.list_annotation_import_jobs( maxResults=123, ids=[ 'string', ], nextToken='string', filter={ 'status': 'SUBMITTED'|'IN_PROGRESS'|'CANCELLED'|'COMPLETED'|'FAILED'|'COMPLETED_WITH_FAILURES', 'storeName': 'string' } )
integer
The maximum number of jobs to return in one page of results.
list
IDs of annotation import jobs to retrieve.
(string) --
string
Specifies the pagination token from a previous request to retrieve the next page of results.
dict
A filter to apply to the list.
status (string) --
A status to filter on.
storeName (string) --
A store name to filter on.
dict
Response Syntax
{ 'annotationImportJobs': [ { 'id': 'string', 'destinationName': 'string', 'versionName': 'string', 'roleArn': 'string', 'status': 'SUBMITTED'|'IN_PROGRESS'|'CANCELLED'|'COMPLETED'|'FAILED'|'COMPLETED_WITH_FAILURES', 'creationTime': datetime(2015, 1, 1), 'updateTime': datetime(2015, 1, 1), 'completionTime': datetime(2015, 1, 1), 'runLeftNormalization': True|False, 'annotationFields': { 'string': 'string' } }, ], 'nextToken': 'string' }
Response Structure
(dict) --
annotationImportJobs (list) --
A list of jobs.
(dict) --
An annotation import job.
id (string) --
The job's ID.
destinationName (string) --
The job's destination annotation store.
versionName (string) --
The name of the annotation store version.
roleArn (string) --
The job's service role ARN.
status (string) --
The job's status.
creationTime (datetime) --
When the job was created.
updateTime (datetime) --
When the job was updated.
completionTime (datetime) --
When the job completed.
runLeftNormalization (boolean) --
The job's left normalization setting.
annotationFields (dict) --
The annotation schema generated by the parsed annotation data.
(string) --
(string) --
nextToken (string) --
Specifies the pagination token from a previous request to retrieve the next page of results.
{'versionName': 'string'}
Starts an annotation import job.
See also: AWS API Documentation
Request Syntax
client.start_annotation_import_job( destinationName='string', roleArn='string', items=[ { 'source': 'string' }, ], versionName='string', formatOptions={ 'tsvOptions': { 'readOptions': { 'sep': 'string', 'encoding': 'string', 'quote': 'string', 'quoteAll': True|False, 'escape': 'string', 'escapeQuotes': True|False, 'comment': 'string', 'header': True|False, 'lineSep': 'string' } }, 'vcfOptions': { 'ignoreQualField': True|False, 'ignoreFilterField': True|False } }, runLeftNormalization=True|False, annotationFields={ 'string': 'string' } )
string
[REQUIRED]
A destination annotation store for the job.
string
[REQUIRED]
A service role for the job.
list
[REQUIRED]
Items to import.
(dict) --
A source for an annotation import job.
source (string) -- [REQUIRED]
The source file's location in Amazon S3.
string
The name of the annotation store version.
dict
Formatting options for the annotation file.
tsvOptions (dict) --
Options for a TSV file.
readOptions (dict) --
The file's read options.
sep (string) --
The file's field separator.
encoding (string) --
The file's encoding.
quote (string) --
The file's quote character.
quoteAll (boolean) --
Whether all values need to be quoted, or just those that contain quotes.
escape (string) --
A character for escaping quotes in the file.
escapeQuotes (boolean) --
Whether quotes need to be escaped in the file.
comment (string) --
The file's comment character.
header (boolean) --
Whether the file has a header row.
lineSep (string) --
A line separator for the file.
vcfOptions (dict) --
Options for a VCF file.
ignoreQualField (boolean) --
The file's ignore qual field setting.
ignoreFilterField (boolean) --
The file's ignore filter field setting.
boolean
The job's left normalization setting.
dict
The annotation schema generated by the parsed annotation data.
(string) --
(string) --
dict
Response Syntax
{ 'jobId': 'string' }
Response Structure
(dict) --
jobId (string) --
The job's ID.