ForecastService.Client.delete_forecast(**kwargs)¶Deletes a forecast created using the CreateForecast operation. You can delete only forecasts that have a status of ACTIVE or CREATE_FAILED . To get the status, use the DescribeForecast operation.
You can't delete a forecast while it is being exported. After a forecast is deleted, you can no longer query the forecast.
See also: AWS API Documentation
Request Syntax
response = client.delete_forecast(
ForecastArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the forecast to delete.
Exceptions
ForecastService.Client.exceptions.InvalidInputExceptionForecastService.Client.exceptions.ResourceNotFoundExceptionForecastService.Client.exceptions.ResourceInUseException