Values.TestEventPatternResponseSourceTests 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.
type nonrec error = [ | `InternalException of InternalException.t| `InvalidEventPatternException of InvalidEventPatternException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalException of unit
| `InvalidEventPatternException of unit
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InternalException of unit
| `InvalidEventPatternException of unit
| `Unknown_operation_error of string * string option ]