Class: Aws::IoT1ClickDevicesService::Types::DeviceDescription

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iot1clickdevicesservice/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The ARN of the device.

Returns:

  • (String)


135
136
137
138
139
140
141
142
143
144
145
# File 'lib/aws-sdk-iot1clickdevicesservice/types.rb', line 135

class DeviceDescription < Struct.new(
  :arn,
  :attributes,
  :device_id,
  :enabled,
  :remaining_life,
  :type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#attributesHash<String,String>

An array of zero or more elements of DeviceAttribute objects providing user specified device attributes.

Returns:

  • (Hash<String,String>)


135
136
137
138
139
140
141
142
143
144
145
# File 'lib/aws-sdk-iot1clickdevicesservice/types.rb', line 135

class DeviceDescription < Struct.new(
  :arn,
  :attributes,
  :device_id,
  :enabled,
  :remaining_life,
  :type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#device_idString

The unique identifier of the device.

Returns:

  • (String)


135
136
137
138
139
140
141
142
143
144
145
# File 'lib/aws-sdk-iot1clickdevicesservice/types.rb', line 135

class DeviceDescription < Struct.new(
  :arn,
  :attributes,
  :device_id,
  :enabled,
  :remaining_life,
  :type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#enabledBoolean

A Boolean value indicating whether or not the device is enabled.

Returns:

  • (Boolean)


135
136
137
138
139
140
141
142
143
144
145
# File 'lib/aws-sdk-iot1clickdevicesservice/types.rb', line 135

class DeviceDescription < Struct.new(
  :arn,
  :attributes,
  :device_id,
  :enabled,
  :remaining_life,
  :type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#remaining_lifeFloat

A value between 0 and 1 inclusive, representing the fraction of life remaining for the device.

Returns:

  • (Float)


135
136
137
138
139
140
141
142
143
144
145
# File 'lib/aws-sdk-iot1clickdevicesservice/types.rb', line 135

class DeviceDescription < Struct.new(
  :arn,
  :attributes,
  :device_id,
  :enabled,
  :remaining_life,
  :type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

Returns:

  • (Hash<String,String>)


135
136
137
138
139
140
141
142
143
144
145
# File 'lib/aws-sdk-iot1clickdevicesservice/types.rb', line 135

class DeviceDescription < Struct.new(
  :arn,
  :attributes,
  :device_id,
  :enabled,
  :remaining_life,
  :type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of the device, such as “button”.

Returns:

  • (String)


135
136
137
138
139
140
141
142
143
144
145
# File 'lib/aws-sdk-iot1clickdevicesservice/types.rb', line 135

class DeviceDescription < Struct.new(
  :arn,
  :attributes,
  :device_id,
  :enabled,
  :remaining_life,
  :type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end