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

Class: Aws::IoT::Types::ThingAttribute

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

Overview

The properties of the thing, including thing name, thing type name, and a list of thing attributes.

Instance Attribute Summary collapse

Instance Attribute Details

#attributesHash<String,String>

A list of thing attributes which are name-value pairs.

Returns:

  • (Hash<String,String>)


3070
3071
3072
3073
3074
3075
3076
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3070

class ThingAttribute < Struct.new(
  :thing_name,
  :thing_type_name,
  :attributes,
  :version)
  include Aws::Structure
end

#thing_nameString

The name of the thing.

Returns:

  • (String)


3070
3071
3072
3073
3074
3075
3076
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3070

class ThingAttribute < Struct.new(
  :thing_name,
  :thing_type_name,
  :attributes,
  :version)
  include Aws::Structure
end

#thing_type_nameString

The name of the thing type, if the thing has been associated with a type.

Returns:

  • (String)


3070
3071
3072
3073
3074
3075
3076
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3070

class ThingAttribute < Struct.new(
  :thing_name,
  :thing_type_name,
  :attributes,
  :version)
  include Aws::Structure
end

#versionInteger

The version of the thing record in the registry.

Returns:

  • (Integer)


3070
3071
3072
3073
3074
3075
3076
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3070

class ThingAttribute < Struct.new(
  :thing_name,
  :thing_type_name,
  :attributes,
  :version)
  include Aws::Structure
end