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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南