delete_dataset

delete_dataset(**kwargs)

Deletes a dataset. You can't delete a dataset if an associated DatasetImportJob or SolutionVersion is in the CREATE PENDING or IN PROGRESS state. For more information on datasets, see CreateDataset.

See also: AWS API Documentation

Request Syntax

response = client.delete_dataset(
    datasetArn='string'
)
Parameters
datasetArn (string) --

[REQUIRED]

The Amazon Resource Name (ARN) of the dataset to delete.

Returns
None

Exceptions

  • Personalize.Client.exceptions.InvalidInputException
  • Personalize.Client.exceptions.ResourceNotFoundException
  • Personalize.Client.exceptions.ResourceInUseException