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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot1clickdevicesservice/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)


149
150
151
152
153
154
155
156
157
158
159
# File 'gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/types.rb', line 149

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>)


149
150
151
152
153
154
155
156
157
158
159
# File 'gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/types.rb', line 149

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)


149
150
151
152
153
154
155
156
157
158
159
# File 'gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/types.rb', line 149

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)


149
150
151
152
153
154
155
156
157
158
159
# File 'gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/types.rb', line 149

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)


149
150
151
152
153
154
155
156
157
158
159
# File 'gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/types.rb', line 149

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>)


149
150
151
152
153
154
155
156
157
158
159
# File 'gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/types.rb', line 149

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)


149
150
151
152
153
154
155
156
157
158
159
# File 'gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/types.rb', line 149

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