Omics / Client / list_variant_stores

list_variant_stores#

Omics.Client.list_variant_stores(**kwargs)#

Retrieves a list of variant stores.

See also: AWS API Documentation

Request Syntax

response = client.list_variant_stores(
    maxResults=123,
    ids=[
        'string',
    ],
    nextToken='string',
    filter={
        'status': 'CREATING'|'UPDATING'|'DELETING'|'ACTIVE'|'FAILED'
    }
)
Parameters:
  • maxResults (integer) – The maximum number of stores to return in one page of results.

  • ids (list) –

    A list of store IDs.

    • (string) –

  • nextToken (string) – Specify the pagination token from a previous request to retrieve the next page of results.

  • filter (dict) –

    A filter to apply to the list.

    • status (string) –

      A status to filter on.

Return type:

dict

Returns:

Response Syntax

{
    'variantStores': [
        {
            '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),
            'statusMessage': 'string',
            'storeSizeBytes': 123
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • variantStores (list) –

      A list of variant stores.

      • (dict) –

        A variant store.

        • id (string) –

          The store’s ID.

        • 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.

        • 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.

        • statusMessage (string) –

          The store’s status message.

        • storeSizeBytes (integer) –

          The store’s size in bytes.

    • nextToken (string) –

      A pagination token that’s included if more results are available.

Exceptions

  • Omics.Client.exceptions.InternalServerException

  • Omics.Client.exceptions.ThrottlingException

  • Omics.Client.exceptions.ValidationException

  • Omics.Client.exceptions.ResourceNotFoundException

  • Omics.Client.exceptions.AccessDeniedException