Skip to main content

Module state

Module state 

Source
Expand description

Account-partitioned, serializable state for the AWS IoT Wireless control plane.

Like the sibling fakecloud-iot crate, the registry is deliberately schema-light: every named resource family (destinations, device profiles, service profiles, FUOTA tasks, multicast groups, wireless devices, wireless gateways, network-analyzer configurations, task definitions, position configurations, …) is stored in one uniform two-level map, resources[resource_type][id], where the stored value is the resource’s JSON record (its persisted attributes plus any minted ARN / id / timestamps). Keeping every key a plain String means the snapshot never depends on the tuple-key serde adapter and new resource families need no new struct fields.

Alongside the resource map are:

  • tags — resource tags keyed by ARN.
  • singletons — account-scoped singleton configurations (log levels, event configuration by resource type, metric configuration, …), keyed by a stable string.
  • relations — many-to-many relationship sets keyed by a stable string (e.g. multicast-devices:<group> -> wireless device ids, fuota-devices:<task> -> wireless device ids). Stored as ordered vectors so list operations are deterministic.

Structs§

IotWirelessData
Per-account IoT Wireless control-plane state.
IotWirelessSnapshot

Constants§

IOTWIRELESS_SNAPSHOT_SCHEMA_VERSION

Type Aliases§

SharedIotWirelessState