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 an Amazon Forecast dataset that was created using the CreateDataset operation. You can only delete datasets that have a status of ACTIVE or CREATE_FAILED . To get the status use the DescribeDataset operation.

Note

Forecast does not automatically update any dataset groups that contain the deleted dataset. In order to update the dataset group, use the UpdateDatasetGroup operation, omitting the deleted dataset's ARN.

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

  • ForecastService.Client.exceptions.InvalidInputException
  • ForecastService.Client.exceptions.ResourceNotFoundException
  • ForecastService.Client.exceptions.ResourceInUseException