Module Smaws_Client_Forecast.DeleteWhatIfForecast

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.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InvalidInputException of Types.invalid_input_exception | `ResourceInUseException of Types.resource_in_use_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.delete_what_if_forecast_request -> (Smaws_Lib.Smithy_api.Types.unit_, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidInputException of Types.invalid_input_exception | `ResourceInUseException of Types.resource_in_use_exception | `ResourceNotFoundException of Types.resource_not_found_exception ]) Stdlib.result