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

Class: Aws::IoT::Types::DescribeThingResponse

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

Overview

The output from the DescribeThing operation.

Instance Attribute Summary collapse

Instance Attribute Details

#attributesHash<String,String>

The thing attributes.

Returns:

  • (Hash<String,String>)


1276
1277
1278
1279
1280
1281
1282
1283
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1276

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

#default_client_idString

The default client ID.

Returns:

  • (String)


1276
1277
1278
1279
1280
1281
1282
1283
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1276

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

#thing_nameString

The name of the thing.

Returns:

  • (String)


1276
1277
1278
1279
1280
1281
1282
1283
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1276

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

#thing_type_nameString

The thing type name.

Returns:

  • (String)


1276
1277
1278
1279
1280
1281
1282
1283
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1276

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

#versionInteger

The current version of the thing record in the registry.

To avoid unintentional changes to the information in the registry, you can pass the version information in the expectedVersion parameter of the UpdateThing and DeleteThing calls.

Returns:

  • (Integer)


1276
1277
1278
1279
1280
1281
1282
1283
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1276

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