Omics / Client / create_variant_store

create_variant_store#

Omics.Client.create_variant_store(**kwargs)#

Creates a variant store.

See also: AWS API Documentation

Request Syntax

response = client.create_variant_store(
    description='string',
    name='string',
    reference={
        'referenceArn': 'string'
    },
    sseConfig={
        'keyArn': 'string',
        'type': 'KMS'
    },
    tags={
        'string': 'string'
    }
)
Parameters:
  • description (string) – A description for the store.

  • name (string) – A name for the store.

  • reference (dict) –

    [REQUIRED]

    The genome reference for the store’s variants.

    Note

    This is a Tagged Union structure. Only one of the following top level keys can be set: referenceArn.

    • referenceArn (string) –

      The reference’s ARN.

  • sseConfig (dict) –

    Server-side encryption (SSE) settings for the store.

    • keyArn (string) –

      An encryption key ARN.

    • type (string) – [REQUIRED]

      The encryption type.

  • tags (dict) –

    Tags for the store.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'creationTime': datetime(2015, 1, 1),
    'id': 'string',
    'name': 'string',
    'reference': {
        'referenceArn': 'string'
    },
    'status': 'CREATING'|'UPDATING'|'DELETING'|'ACTIVE'|'FAILED'
}

Response Structure

  • (dict) –

    • creationTime (datetime) –

      When the store was created.

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

    • status (string) –

      The store’s status.

Exceptions

  • Omics.Client.exceptions.InternalServerException

  • Omics.Client.exceptions.ServiceQuotaExceededException

  • Omics.Client.exceptions.ThrottlingException

  • Omics.Client.exceptions.ValidationException

  • Omics.Client.exceptions.ConflictException

  • Omics.Client.exceptions.ResourceNotFoundException

  • Omics.Client.exceptions.AccessDeniedException