Resetting alarm of sitewise assets individually

0

I have a list of assets and alarms attached to them. When an alarm fires/triggers for one asset I want to reset it from my code/api/sdk and want to do it for one asset at a time not batchReset. How can I do it?

Vibhor
已提问 8 个月前178 查看次数
1 回答
1

Hello,

You can use the "BatchResetAlarm" API for one alarm reset as well. In the resetActionRequests parameter you can specify up to 10 requests per operation and Minimum number of 1 item. Hence you can use BatchResetAlarm even for one asset at a time.

[+]. https://docs.aws.amazon.com/iotevents-data/latest/apireference/API_BatchResetAlarm.html#:~:text=The%20request%20accepts,Required%3A%20Yes

AWS
已回答 8 个月前
profile pictureAWS
专家
Greg_B
已审核 8 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则