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:

  1. Subscribe to the $aws/things/<clientId>/shadow/name/<usageName>/get/accepted topic.
  2. Send an empty JSON message {}, to the topic $aws/things/<clientId>/shadow/name/<usageName>/get
  3. The device will receive the entire shadow on the $aws/things/<clientId>/shadow/name/<usageName>/get/accepted topic channel.