Smaws_Client_EventBridge.TestEventPattern
Tests whether the specified event pattern matches the provided event.
Most services in Amazon Web Services treat : or / as the same character in Amazon Resource Names (ARNs). However, EventBridge uses an exact match in event patterns and rules. Be sure to use the correct ARN characters when creating event patterns so that they match the ARN syntax in the event you want to match.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalException of Types.internal_exception
| `InvalidEventPatternException of Types.invalid_event_pattern_exception ] ->
string
val request :
'http_type Smaws_Lib.Context.t ->
Types.test_event_pattern_request ->
(Types.test_event_pattern_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalException of Types.internal_exception
| `InvalidEventPatternException of Types.invalid_event_pattern_exception ])
Stdlib.result