AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IoT::Types::ThingConnectivity

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

The connectivity status of the thing.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#connectedBoolean

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

Returns:

  • (Boolean)

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

#timestampInteger

The epoch time (in milliseconds) when the thing last connected or disconnected. If the thing has been disconnected for more than a few weeks, the time value might be missing.

Returns:

  • (Integer)

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