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
posta 8 mesi fa178 visualizzazioni
1 Risposta
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
con risposta 8 mesi fa
profile pictureAWS
ESPERTO
Greg_B
verificato 8 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande