更新时间:2025-04-25 GMT+08:00
不同协议消息说明
不同的订阅协议接收到的消息包含的内容可能有所不同。
- 邮件和HTTP(S)终端收到的消息包含:消息主题、消息内容和取消订阅的链接。
- 短信终端接收到的消息只包含消息内容。
- FunctionGraph(函数)终端收到的消息包含消息属性、消息标题、消息内容、主题URN等信息。消息样例类似如下。字段说明如表1所示。
{ "record": [{ "event_version": "1.0", "smn": { "message_attributes": "", "subject": "Welcome", "message_id": "e6fa59c6b3e0424c9c02cbed35b680e7", "topic_urn": "urn:smn:regionId:66e0f4622d6f4e3fb2db2e495298a61a:smn_123", "type": "notification", "message": "Hello", "timestamp": "2017-08-17T10:07:14Z" }, "event_source": "smn", "event_subscription_urn": "urn:cff:regionId:66e0f4622d6f4e3fb2db2e495298a61a:function:DEFAULT:mytest:latest" }] }
父主题: 附录