CleanRoomsML / Client / delete_training_dataset

delete_training_dataset#

CleanRoomsML.Client.delete_training_dataset(**kwargs)#

Specifies a training dataset that you want to delete. You can’t delete a training dataset if there are any audience models that depend on the training dataset. In Clean Rooms ML, the TrainingDataset is metadata that points to a Glue table, which is read only during AudienceModel creation. This action deletes the metadata.

See also: AWS API Documentation

Request Syntax

response = client.delete_training_dataset(
    trainingDatasetArn='string'
)
Parameters:

trainingDatasetArn (string) –

[REQUIRED]

The Amazon Resource Name (ARN) of the training dataset that you want to delete.

Returns:

None

Exceptions

  • CleanRoomsML.Client.exceptions.ConflictException

  • CleanRoomsML.Client.exceptions.ValidationException

  • CleanRoomsML.Client.exceptions.AccessDeniedException

  • CleanRoomsML.Client.exceptions.ResourceNotFoundException