:doc:`CleanRoomsML <../../cleanroomsml>` / Client / list_training_datasets

**********************
list_training_datasets
**********************



.. py:method:: CleanRoomsML.Client.list_training_datasets(**kwargs)

  

  Returns a list of training datasets.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/cleanroomsml-2023-09-06/ListTrainingDatasets>`_  


  **Request Syntax**
  ::

    response = client.list_training_datasets(
        nextToken='string',
        maxResults=123
    )
    
  :type nextToken: string
  :param nextToken: 

    The token value retrieved from a previous call to access the next page of results.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum size of the results that is returned per call.

    

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

    
    ::

      {
          'nextToken': 'string',
          'trainingDatasets': [
              {
                  'createTime': datetime(2015, 1, 1),
                  'updateTime': datetime(2015, 1, 1),
                  'trainingDatasetArn': 'string',
                  'name': 'string',
                  'status': 'ACTIVE',
                  'description': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The token value used to access the next page of results.

        
      

      - **trainingDatasets** *(list) --* 

        The training datasets that match the request.

        
        

        - *(dict) --* 

          Provides information about the training dataset.

          
          

          - **createTime** *(datetime) --* 

            The time at which the training dataset was created.

            
          

          - **updateTime** *(datetime) --* 

            The most recent time at which the training dataset was updated.

            
          

          - **trainingDatasetArn** *(string) --* 

            The Amazon Resource Name (ARN) of the training dataset.

            
          

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

            The name of the training dataset.

            
          

          - **status** *(string) --* 

            The status of the training dataset.

            
          

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

            The description of the training dataset.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`CleanRoomsML.Client.exceptions.ValidationException`

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

  