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

**********************
create_reference_store
**********************



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

  

  Creates a reference store and returns metadata in JSON format. Reference stores are used to store reference genomes in FASTA format. A reference store is created when the first reference genome is imported. To import additional reference genomes from an Amazon S3 bucket, use the ``StartReferenceImportJob`` API operation.

   

  For more information, see `Creating a HealthOmics reference store <https://docs.aws.amazon.com/omics/latest/dev/create-reference-store.html>`__ in the *Amazon Web Services HealthOmics User Guide*.

  

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


  **Request Syntax**
  ::

    response = client.create_reference_store(
        name='string',
        description='string',
        sseConfig={
            'type': 'KMS',
            'keyArn': 'string'
        },
        tags={
            'string': 'string'
        },
        clientToken='string'
    )
    
  :type name: string
  :param name: **[REQUIRED]** 

    A name for the store.

    

  
  :type description: string
  :param description: 

    A description for the store.

    

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

      

    
  
  :type tags: dict
  :param tags: 

    Tags for the store.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


  :type clientToken: string
  :param clientToken: 

    To ensure that requests don't run multiple times, specify a unique token for each request.

    

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

    
    ::

      {
          'id': 'string',
          'arn': 'string',
          'name': 'string',
          'description': 'string',
          'sseConfig': {
              'type': 'KMS',
              'keyArn': 'string'
          },
          'creationTime': datetime(2015, 1, 1)
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **id** *(string) --* 

        The store's ID.

        
      

      - **arn** *(string) --* 

        The store's ARN.

        
      

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

        The store's name.

        
      

      - **description** *(string) --* 

        The store's description.

        
      

      - **sseConfig** *(dict) --* 

        The store's SSE settings.

        
        

        - **type** *(string) --* 

          The encryption type.

          
        

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

          An encryption key ARN.

          
    
      

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

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

  