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
asked 7 months ago170 views
1 Answer
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
answered 7 months ago
profile pictureAWS
EXPERT
Greg_B
reviewed 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions