get_annotation_store

Omics.Client.get_annotation_store(**kwargs)

Gets information about an annotation store.

See also: AWS API Documentation

Request Syntax

response = client.get_annotation_store(
    name='string'
)
Parameters
name (string) --

[REQUIRED]

The store's name.

Return type
dict
Returns
Response Syntax
{
    'creationTime': datetime(2015, 1, 1),
    'description': 'string',
    'id': 'string',
    'name': 'string',
    'reference': {
        'referenceArn': 'string'
    },
    'sseConfig': {
        'keyArn': 'string',
        'type': 'KMS'
    },
    'status': 'CREATING'|'UPDATING'|'DELETING'|'ACTIVE'|'FAILED',
    'statusMessage': 'string',
    'storeArn': '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'
                },
            ]
        }
    },
    'storeSizeBytes': 123,
    'tags': {
        'string': 'string'
    },
    'updateTime': datetime(2015, 1, 1)
}

Response Structure

  • (dict) --
    • creationTime (datetime) --

      When the store was created.

    • description (string) --

      The store's description.

    • id (string) --

      The store's ID.

    • name (string) --

      The store's name.

    • reference (dict) --

      The store's genome reference.

      Note

      This is a Tagged Union structure. Only one of the following top level keys will be set: referenceArn. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

      'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
      
      • referenceArn (string) --

        The reference's ARN.

    • sseConfig (dict) --

      The store's server-side encryption (SSE) settings.

      • keyArn (string) --

        An encryption key ARN.

      • type (string) --

        The encryption type.

    • status (string) --

      The store's status.

    • statusMessage (string) --

      A status message.

    • storeArn (string) --

      The store's ARN.

    • storeFormat (string) --

      The store's annotation file format.

    • storeOptions (dict) --

      The store's parsing options.

      Note

      This is a Tagged Union structure. Only one of the following top level keys will be set: tsvStoreOptions. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

      'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
      
      • 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) --
    • storeSizeBytes (integer) --

      The store's size in bytes.

    • tags (dict) --

      The store's tags.

      • (string) --
        • (string) --
    • updateTime (datetime) --

      When the store was updated.

Exceptions

  • Omics.Client.exceptions.InternalServerException
  • Omics.Client.exceptions.ThrottlingException
  • Omics.Client.exceptions.ValidationException
  • Omics.Client.exceptions.ResourceNotFoundException
  • Omics.Client.exceptions.AccessDeniedException