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

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

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

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The ARN of the device.

Returns:

  • (String)


141
142
143
144
145
146
147
148
149
150
# File 'gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/types.rb', line 141

class DeviceDescription < Struct.new(
  :arn,
  :attributes,
  :device_id,
  :enabled,
  :remaining_life,
  :type,
  :tags)
  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>)


141
142
143
144
145
146
147
148
149
150
# File 'gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/types.rb', line 141

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

#device_idString

The unique identifier of the device.

Returns:

  • (String)


141
142
143
144
145
146
147
148
149
150
# File 'gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/types.rb', line 141

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

#enabledBoolean

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

Returns:

  • (Boolean)


141
142
143
144
145
146
147
148
149
150
# File 'gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/types.rb', line 141

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

#remaining_lifeFloat

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

Returns:

  • (Float)


141
142
143
144
145
146
147
148
149
150
# File 'gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/types.rb', line 141

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

#tagsHash<String,String>

Returns:

  • (Hash<String,String>)


141
142
143
144
145
146
147
148
149
150
# File 'gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/types.rb', line 141

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

#typeString

The type of the device, such as "button".

Returns:

  • (String)


141
142
143
144
145
146
147
148
149
150
# File 'gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/types.rb', line 141

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