Checks whether the event pattern matches the provided JSON format.
Operation description
You can call this API operation to check whether the event pattern matches the provided JSON format.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Event | string | Yes | The event. | { "datacontenttype": "application/json;charset=utf-8", "aliyunaccountid": "*****", "aliyunpublishtime": "2023-04-****:54:57.939Z", "data": { "resourceEventType": "****", "resourceCreateTime": "****", "resourceId": "sls-code-***-debug", "captureTime": "***" }, "aliyunoriginalaccountid": "****", "specversion": "1.0", "aliyuneventbusname": "****", "id": "295e6bd2-bb72-4f70-****-204a0680ee41", "source": "acs.sls", "time": "2023-04-***:37:56Z", "aliyunregionid": "cn-***", "type": "sls:Config:****" } |
EventPattern | string | Yes | The event pattern. | {"key1": "value1"} |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "96D7C0AB-DCE5-5E82-96B8-4725E1706BB1",
"Message": "",
"Code": "Success",
"Success": true,
"Data": {
"Result": true
}
}
Error codes
For a list of error codes, visit the Service error codes.