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_what_if_forecast

delete_what_if_forecast(**kwargs)

Deletes a what-if forecast created using the CreateWhatIfForecast operation. You can delete only what-if forecasts that have a status of ACTIVE or CREATE_FAILED . To get the status, use the DescribeWhatIfForecast operation.

You can't delete a what-if forecast while it is being exported. After a what-if forecast is deleted, you can no longer query the what-if analysis.

See also: AWS API Documentation

Request Syntax

response = client.delete_what_if_forecast(
    WhatIfForecastArn='string'
)
Parameters
WhatIfForecastArn (string) --

[REQUIRED]

The Amazon Resource Name (ARN) of the what-if forecast that you want to delete.

Returns
None

Exceptions

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