Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data ThingConnectivity Source #
The connectivity status of the thing.
See: newThingConnectivity
smart constructor.
ThingConnectivity' | |
|
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: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: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: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_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_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_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.