Smaws_Client_CloudWatchLogs.TestTransformerUse this operation to test a log transformer. You enter the transformer configuration and a set of log events to test with. The operation responds with an array that includes the original log events and the transformed versions.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InvalidOperationException of Types.invalid_operation_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ServiceUnavailableException of Types.service_unavailable_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.test_transformer_request ->
(Types.test_transformer_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidOperationException of Types.invalid_operation_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ServiceUnavailableException of Types.service_unavailable_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.test_transformer_request ->
(Types.test_transformer_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidOperationException of Types.invalid_operation_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ServiceUnavailableException of Types.service_unavailable_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result