View a markdown version of this page

ThingConnectivity - AWS IoT

ThingConnectivity

The connectivity status of the thing.

Contents

cleanSession

Indicates whether the client is using a clean session. Returns true for clean sessions.

Type: Boolean

Required: No

clientId

The unique identifier of the MQTT client.

Type: String

Required: No

connected

True if the thing is connected to the AWS IoT Core service; false if it is not connected.

Type: Boolean

Required: No

disconnectReason

The reason that the client is disconnected.

Type: String

Required: No

keepAliveDuration

The keep-alive interval in seconds that the client specified when establishing the connection.

Type: Integer

Required: No

sessionExpiry

The session expiry interval in seconds for the MQTT client connection. This value indicates how long the session will remain active after the client disconnects.

Type: Long

Required: No

timestamp

The epoch time (in milliseconds) when the thing last connected or disconnected.

Type: Long

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: