ForecastService / Client / delete_dataset
delete_dataset#
- ForecastService.Client.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
orCREATE_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