Smaws_Client_Forecast.DeleteWhatIfForecastExportDeletes a what-if forecast export created using the CreateWhatIfForecastExport operation. You can delete only what-if forecast exports that have a status of ACTIVE or CREATE_FAILED. To get the status, use the DescribeWhatIfForecastExport operation.
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 ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_what_if_forecast_export_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.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_what_if_forecast_export_request ->
(Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t,
[> 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 ]
* Smaws_Lib.Response.metadata)
Stdlib.result