-
Notifications
You must be signed in to change notification settings - Fork 634
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to be notified when shadow is deleted? #12
Comments
Hello Iheb, Anytime a shadow is deleted, a message is sent on the Unfortunately that is not part of our shadow API currently. We will add it to our future release. Having said that, we can do it currently by directly subscribing to the topic. The code will be something like this:
The Hope this helps. Please let me know if you have more questions. Thanks |
Hi Iheb, Rahul |
…updates Rename remaining occurrences of previous API names, and update API documentation of public-facing Foundry SDK functions
Hello,
I register to shadow attributes using this function aws_iot_shadow_register_delta.
Then I am doing a loop on aws_iot_shadow_yield and checking the return value of yield.
When the shadow is removed, I won't be notified and the yield does not return an error.
This is a serious problem for us, because in this case we should stop our service.
Is there a way to receive notification when shadow is removed?
Regards,
Iheb Eddine
The text was updated successfully, but these errors were encountered: