Skip to main content

Module state

Module state 

Source
Expand description

Account-partitioned, serializable state for the AWS IoT Data Plane (iotdata).

Two stores per account:

  • shadows — device shadows, keyed by thingName. Each thing owns a map of shadowName -> shadow document, where the empty string "" is the classic (unnamed) shadow and any other key is a named shadow. Every key is a plain String, so the snapshot never depends on the tuple-key serde adapter.
  • retained — retained MQTT messages, keyed by topic. The stored value carries the base64 payload plus qos / lastModifiedTime.

Structs§

IotDataData
Per-account IoT Data Plane state.
IotDataSnapshot

Constants§

CLASSIC_SHADOW_KEY
The classic (unnamed) shadow is stored under this reserved shadow-name key.
IOTDATA_SNAPSHOT_SCHEMA_VERSION

Type Aliases§

SharedIotDataState