事件通知规则未设置推送目标。
创建事件通知规则时,未设置推送目标。
PutBucketNotificationV2 接口在设置事件通知规则时候未设置目标,如下所示 Destination
字段值为空。
PUT /?notification_v2 HTTP/1.1 Host: bucketname.tos-cn-beijing.volces.com Date: GMT Date Authorization: authorization string { "Rules":[ { "Events":[ "tos:ObjectCreated:*", "tos:ObjectRemoved:*" ], "Filter":{ "TOSKey":{ "FilterRules":[ { "Name":"prefix", "Value":"test_" }, { "Name":"suffix", "Value":".jpg" } ] } }, "RuleId":"string", "Destination":{} } ] "Version": "1698031811529301000" }
填写相应推送目标信息。