Smaws_Client_CloudWatchLogs.ListAnomaliesReturns a list of anomalies that log anomaly detectors have found. For details about the structure format of each anomaly object that is returned, see the example in this section.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterException of Types.invalid_parameter_exception
| `OperationAbortedException of Types.operation_aborted_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ServiceUnavailableException of Types.service_unavailable_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.list_anomalies_request ->
(Types.list_anomalies_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterException of Types.invalid_parameter_exception
| `OperationAbortedException of Types.operation_aborted_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ServiceUnavailableException of Types.service_unavailable_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.list_anomalies_request ->
(Types.list_anomalies_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterException of Types.invalid_parameter_exception
| `OperationAbortedException of Types.operation_aborted_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ServiceUnavailableException of Types.service_unavailable_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result