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/acceptedtopic. - 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/acceptedtopic channel.
Updated about 2 months ago
What’s Next
