| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.Types.ThingConnectivity
Description
Synopsis
Documentation
data ThingConnectivity Source #
The connectivity status of the thing.
See: newThingConnectivity smart constructor.
Constructors
| ThingConnectivity' | |
Fields
| |
Instances
newThingConnectivity :: ThingConnectivity Source #
Create a value of ThingConnectivity with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:connected:ThingConnectivity', thingConnectivity_connected - True if the thing is connected to the Amazon Web Services IoT Core
service; false if it is not connected.
$sel:disconnectReason:ThingConnectivity', thingConnectivity_disconnectReason - The reason why the client is disconnected. If the thing has been
disconnected for approximately an hour, the disconnectReason value
might be missing.
$sel:timestamp:ThingConnectivity', thingConnectivity_timestamp - The epoch time (in milliseconds) when the thing last connected or
disconnected. If the thing has been disconnected for approximately an
hour, the time value might be missing.
thingConnectivity_connected :: Lens' ThingConnectivity (Maybe Bool) Source #
True if the thing is connected to the Amazon Web Services IoT Core service; false if it is not connected.
thingConnectivity_disconnectReason :: Lens' ThingConnectivity (Maybe Text) Source #
The reason why the client is disconnected. If the thing has been
disconnected for approximately an hour, the disconnectReason value
might be missing.
thingConnectivity_timestamp :: Lens' ThingConnectivity (Maybe Integer) Source #
The epoch time (in milliseconds) when the thing last connected or disconnected. If the thing has been disconnected for approximately an hour, the time value might be missing.