ForecastService / Client / delete_forecast
delete_forecast#
- ForecastService.Client.delete_forecast(**kwargs)#
Deletes a forecast created using the CreateForecast operation. You can delete only forecasts that have a status of
ACTIVE
orCREATE_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' )
- Parameters:
ForecastArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the forecast to delete.
- Returns:
None
Exceptions
ForecastService.Client.exceptions.InvalidInputException
ForecastService.Client.exceptions.ResourceNotFoundException
ForecastService.Client.exceptions.ResourceInUseException