1 Answer
- Newest
- Most votes
- Most comments
0
When the shadow sync direction is set to deviceToCloud
, if a named shadow is deleted on the cloud side, its local shadow on the device won't be cleared or removed. This is because the device is not aware of those shadow changes from the cloud, and so, it doesn't act on it. The only way to delete the local shadow in this case is by using the delete_thing_shadow
API.
So, when the next update happens on the local shadow (using update_thing_shadow
), shadow manager updates the current local state accordingly and then syncs it to the cloud. That means, the older state of shadow may still be present if the local update is partial.
answered 7 months ago
Relevant content
- asked 3 years ago
- asked 3 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated a year ago