Smaws_Client_CostExplorer.UpdateAnomalySubscriptionUpdates an existing cost anomaly subscription. Specify the fields that you want to update. Omitted fields are unchanged.
The JSON below describes the generic construct for each type. See Request Parameters for possible values as they apply to AnomalySubscription.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `LimitExceededException of Types.limit_exceeded_exception
| `UnknownMonitorException of Types.unknown_monitor_exception
| `UnknownSubscriptionException of Types.unknown_subscription_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.update_anomaly_subscription_request ->
(Types.update_anomaly_subscription_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `LimitExceededException of Types.limit_exceeded_exception
| `UnknownMonitorException of Types.unknown_monitor_exception
| `UnknownSubscriptionException of Types.unknown_subscription_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.update_anomaly_subscription_request ->
(Types.update_anomaly_subscription_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `LimitExceededException of Types.limit_exceeded_exception
| `UnknownMonitorException of Types.unknown_monitor_exception
| `UnknownSubscriptionException of Types.unknown_subscription_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result