Smaws_Client_Forecast.CreateWhatIfForecastA what-if forecast is a forecast that is created from a modified version of the baseline forecast. Each what-if forecast incorporates either a replacement dataset or a set of transformations to the original dataset.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InvalidInputException of Types.invalid_input_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceAlreadyExistsException of Types.resource_already_exists_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_what_if_forecast_request ->
(Types.create_what_if_forecast_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidInputException of Types.invalid_input_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceAlreadyExistsException of
Types.resource_already_exists_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.create_what_if_forecast_request ->
(Types.create_what_if_forecast_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidInputException of Types.invalid_input_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceAlreadyExistsException of
Types.resource_already_exists_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result