Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

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