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


6009
6010
6011
6012
6013
6014
6015
6016
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 6009

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

#thing_arnString

The thing ARN.

Returns:

  • (String)


6009
6010
6011
6012
6013
6014
6015
6016
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 6009

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

#thing_nameString

The name of the thing.

Returns:

  • (String)


6009
6010
6011
6012
6013
6014
6015
6016
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 6009

class ThingAttribute < Struct.new(
  :thing_name,
  :thing_type_name,
  :thing_arn,
  :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)


6009
6010
6011
6012
6013
6014
6015
6016
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 6009

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

#versionInteger

The version of the thing record in the registry.

Returns:

  • (Integer)


6009
6010
6011
6012
6013
6014
6015
6016
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 6009

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