Shadow API Reference
AWS IoT Device Shadow library
Shadow Documentation

AWS IoT Device Shadow library.

A device's shadow is a JSON document that is used to store and retrieve current state information for a device. The Device Shadow service maintains a shadow for each device you connect to AWS IoT. You can use the shadow to get and set the state of a device over MQTT or HTTP, regardless of whether the device is connected to the Internet. Each device's shadow is uniquely identified by the name of the corresponding thing.

Description of Device Shadows from AWS IoT documentation

Thing Shadows are the always-available device state in the AWS cloud. They are stored as JSON documents, and available via AWS even if the associated device goes offline. Common use cases for Thing Shadows include backing up device state, or sending commands to devices.

This library provides an API for interacting with AWS IoT Thing Shadows. Features of this library include:

  • Both fully asynchronous and blocking API functions.
  • API functions for modifying Thing Shadows and for registering notifications of a Thing Shadow change.