:doc:`finspace <../../finspace>` / Client / list_kx_databases

*****************
list_kx_databases
*****************



.. py:method:: finspace.Client.list_kx_databases(**kwargs)

  

  Returns a list of all the databases in the kdb environment.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListKxDatabases>`_  


  **Request Syntax**
  ::

    response = client.list_kx_databases(
        environmentId='string',
        nextToken='string',
        maxResults=123
    )
    
  :type environmentId: string
  :param environmentId: **[REQUIRED]** 

    A unique identifier for the kdb environment.

    

  
  :type nextToken: string
  :param nextToken: 

    A token that indicates where a results page should begin.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of results to return in this request.

    

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

    
    ::

      {
          'kxDatabases': [
              {
                  'databaseName': 'string',
                  'createdTimestamp': datetime(2015, 1, 1),
                  'lastModifiedTimestamp': datetime(2015, 1, 1)
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **kxDatabases** *(list) --* 

        A list of databases in the kdb environment.

        
        

        - *(dict) --* 

          Details about a FinSpace managed kdb database

          
          

          - **databaseName** *(string) --* 

            The name of the kdb database.

            
          

          - **createdTimestamp** *(datetime) --* 

            The timestamp at which the database was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

            
          

          - **lastModifiedTimestamp** *(datetime) --* 

            The last time that the database was modified. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

            
      
    
      

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

        A token that indicates where a results page should begin.

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

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

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

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

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

  