Get a device shadow
get_device_shadowRead a device shadow to check staleness of reported fields and find desired fields the device has not converged on; returns the raw document in an untrusted-data fence.
Instructions
Reads the classic or a named device shadow and returns three things: how stale each reported field is, which desired fields the device has not converged on, and the raw document inside an untrusted-data fence. Prefer this over reading the raw shadow yourself — the staleness and drift analysis is where the operational answer usually is.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thing_name | Yes | Exact AWS IoT thing name. | |
| include_raw | No | Include the full raw shadow document. Default true. | |
| shadow_name | No | Named shadow. Omit for the classic (unnamed) shadow. |