:doc:`HealthImaging <../../medical-imaging>` / Client / list_datastores

***************
list_datastores
***************



.. py:method:: HealthImaging.Client.list_datastores(**kwargs)

  

  List data stores.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/medical-imaging-2023-07-19/ListDatastores>`_  


  **Request Syntax**
  ::

    response = client.list_datastores(
        datastoreStatus='CREATING'|'CREATE_FAILED'|'ACTIVE'|'DELETING'|'DELETED',
        nextToken='string',
        maxResults=123
    )
    
  :type datastoreStatus: string
  :param datastoreStatus: 

    The data store status.

    

  
  :type nextToken: string
  :param nextToken: 

    The pagination token used to request the list of data stores on the next page.

    

  
  :type maxResults: integer
  :param maxResults: 

    Valid Range: Minimum value of 1. Maximum value of 50.

    

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

    
    ::

      {
          'datastoreSummaries': [
              {
                  'datastoreId': 'string',
                  'datastoreName': 'string',
                  'datastoreStatus': 'CREATING'|'CREATE_FAILED'|'ACTIVE'|'DELETING'|'DELETED',
                  'datastoreArn': 'string',
                  'createdAt': datetime(2015, 1, 1),
                  'updatedAt': datetime(2015, 1, 1)
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **datastoreSummaries** *(list) --* 

        The list of summaries of data stores.

        
        

        - *(dict) --* 

          List of summaries of data stores.

          
          

          - **datastoreId** *(string) --* 

            The data store identifier.

            
          

          - **datastoreName** *(string) --* 

            The data store name.

            
          

          - **datastoreStatus** *(string) --* 

            The data store status.

            
          

          - **datastoreArn** *(string) --* 

            The Amazon Resource Name (ARN) for the data store.

            
          

          - **createdAt** *(datetime) --* 

            The timestamp when the data store was created.

            
          

          - **updatedAt** *(datetime) --* 

            The timestamp when the data store was last updated.

            
      
    
      

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

        The pagination token used to retrieve the list of data stores on the next page.

        
  
  **Exceptions**
  
  *   :py:class:`HealthImaging.Client.exceptions.ThrottlingException`

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

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

  
  *   :py:class:`HealthImaging.Client.exceptions.InternalServerException`

  