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_forecast

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'
)
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