:doc:`Omics <../../omics>` / Client / create_variant_store

********************
create_variant_store
********************



.. py:method:: Omics.Client.create_variant_store(**kwargs)

  

  

  .. warning::

    

    Amazon Web Services HealthOmics variant stores and annotation stores will no longer be open to new customers starting November 7, 2025. If you would like to use variant stores or annotation stores, sign up prior to that date. Existing customers can continue to use the service as normal. For more information, see `Amazon Web Services HealthOmics variant store and annotation store availability change <https://docs.aws.amazon.com/omics/latest/dev/variant-store-availability-change.html>`__.

    

   

  Creates a variant store.

  

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CreateVariantStore>`_  


  **Request Syntax**
  ::

    response = client.create_variant_store(
        reference={
            'referenceArn': 'string'
        },
        name='string',
        description='string',
        tags={
            'string': 'string'
        },
        sseConfig={
            'type': 'KMS',
            'keyArn': 'string'
        }
    )
    
  :type reference: dict
  :param reference: **[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.

      

    
  
  :type name: string
  :param name: 

    A name for the store.

    

  
  :type description: string
  :param description: 

    A description for the store.

    

  
  :type tags: dict
  :param tags: 

    Tags for the store.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


  :type sseConfig: dict
  :param sseConfig: 

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

    

  
    - **type** *(string) --* **[REQUIRED]** 

      The encryption type.

      

    
    - **keyArn** *(string) --* 

      An encryption key ARN.

      

    
  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

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

    

    - *(dict) --* 
      

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

        
      

      - **name** *(string) --* 

        The store's name.

        
      

      - **creationTime** *(datetime) --* 

        When the store was created.

        
  
  **Exceptions**
  
  *   :py:class:`Omics.Client.exceptions.InternalServerException`

  
  *   :py:class:`Omics.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`Omics.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Omics.Client.exceptions.ValidationException`

  
  *   :py:class:`Omics.Client.exceptions.ConflictException`

  
  *   :py:class:`Omics.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Omics.Client.exceptions.AccessDeniedException`

  