Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb

Overview

The connectivity status of the thing.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#connectedBoolean

True if the thing is connected to the Amazon Web Services IoT Core service; false if it is not connected.

Returns:

  • (Boolean)

16083
16084
16085
16086
16087
16088
16089
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 16083

class ThingConnectivity < Struct.new(
  :connected,
  :timestamp,
  :disconnect_reason)
  SENSITIVE = []
  include Aws::Structure
end

#disconnect_reasonString

The reason why the client is disconnected. If the thing has been disconnected for approximately an hour, the disconnectReason value might be missing.

Returns:

  • (String)

16083
16084
16085
16086
16087
16088
16089
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 16083

class ThingConnectivity < Struct.new(
  :connected,
  :timestamp,
  :disconnect_reason)
  SENSITIVE = []
  include Aws::Structure
end

#timestampInteger

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.

Returns:

  • (Integer)

16083
16084
16085
16086
16087
16088
16089
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 16083

class ThingConnectivity < Struct.new(
  :connected,
  :timestamp,
  :disconnect_reason)
  SENSITIVE = []
  include Aws::Structure
end