单条事件通知规则的推送目标数超过限制。
默认单条规则最多只能推送一个目标端,如果超过限制则会报错(支持多目标推送后,单规则最多只能推送 5 个目标)。
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":{ "VeFaaS":[ { "FunctionId":"function_id" }, { "FunctionId":"function_id2" }, { "FunctionId":"function_id3" }, { "FunctionId":"function_id4" }, { "FunctionId":"function_id5" }, { "FunctionId":"function_id6" }, ] } } ] "Version": "1698031811529301000" }
检查目标端的数量是否超过阈值,如果超过阈值,则减少目标端的数量。