CleanRoomsML / Client / list_training_datasets

list_training_datasets#

CleanRoomsML.Client.list_training_datasets(**kwargs)#

Returns a list of training datasets.

See also: AWS API Documentation

Request Syntax

response = client.list_training_datasets(
    maxResults=123,
    nextToken='string'
)
Parameters:
  • maxResults (integer) – The maximum size of the results that is returned per call.

  • nextToken (string) – The token value retrieved from a previous call to access the next page of results.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • nextToken (string) –

      The token value retrieved from a previous call 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.

        • description (string) –

          The description of the training dataset.

        • name (string) –

          The name of the training dataset.

        • status (string) –

          The status of the training dataset.

        • trainingDatasetArn (string) –

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

        • updateTime (datetime) –

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

Exceptions

  • CleanRoomsML.Client.exceptions.ValidationException

  • CleanRoomsML.Client.exceptions.AccessDeniedException