Sync Device State After Device Connection
Get the Entire Shadow Document
A device can retrieve the entire shadow document at any time by following these steps:
- Subscribe to the
$aws/things/<clientId>/shadow/name/<usageName>/get/accepted
topic. - Send an empty JSON message
{}
, to the topic$aws/things/<clientId>/shadow/name/<usageName>/get
- The device will receive the entire shadow on the
$aws/things/<clientId>/shadow/name/<usageName>/get/accepted
topic channel.
Updated 8 months ago
What’s Next