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
feita há 8 meses178 visualizações
1 Resposta
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
respondido há 8 meses
profile pictureAWS
ESPECIALISTA
Greg_B
avaliado há 8 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas