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

*********************
list_reference_stores
*********************



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

  

  Retrieves a list of reference stores linked to your account and returns their metadata in JSON format.

   

  For more information, see `Creating a 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/ListReferenceStores>`_  


  **Request Syntax**
  ::

    response = client.list_reference_stores(
        maxResults=123,
        nextToken='string',
        filter={
            'name': 'string',
            'createdAfter': datetime(2015, 1, 1),
            'createdBefore': datetime(2015, 1, 1)
        }
    )
    
  :type maxResults: integer
  :param maxResults: 

    The maximum number of stores to return in one page of results.

    

  
  :type nextToken: string
  :param nextToken: 

    Specify the pagination token from a previous request to retrieve the next page of results.

    

  
  :type filter: dict
  :param filter: 

    A filter to apply to the list.

    

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

      The name to filter on.

      

    
    - **createdAfter** *(datetime) --* 

      The filter's start date.

      

    
    - **createdBefore** *(datetime) --* 

      The filter's end date.

      

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

    
    ::

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

    

    - *(dict) --* 
      

      - **nextToken** *(string) --* 

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

        
      

      - **referenceStores** *(list) --* 

        A list of reference stores.

        
        

        - *(dict) --* 

          Details about a reference store.

          
          

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

            The store's ARN.

            
          

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

            The store's ID.

            
          

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

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

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

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

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

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

  