┌────────┐ ┌─────────────────────────────┐ ┌───────────────┐ │Operator│ │AWS IoT Device Shadow Service│ │Lighting Device│ └────┬───┘ └──────────────┬──────────────┘ └───────┬───────┘ │ {"state": {"desired": {"color": "red"}}, "version": 1} │ │ │─────────────────────────────────────────────────────────>│ │ │ │ │ │ {"state": {"desired": {"color": "blue"}}, "version": 2} │ │ │─────────────────────────────────────────────────────────>│ │ │ │ │ │ │ {"state": {"desired": {"color": "blue"}}, "version": 2} │ │ │─────────────────────────────────────────────────────────>│ │ │ │ │ │ {"state": {"desired": {"color": "red"}}, "version": 1} │ │ │─────────────────────────────────────────────────────────>│ │ │ │ ┌────┴───┐ ┌──────────────┴──────────────┐ ┌───────┴───────┐ │Operator│ │AWS IoT Device Shadow Service│ │Lighting Device│ └────────┘ └─────────────────────────────┘ └───────────────┘