Module Smaws_Client_Forecast.DeleteForecast

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.

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_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