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


2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2379

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

#default_client_idString

The default client ID.

Returns:

  • (String)


2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2379

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

#thing_arnString

The ARN of the thing to describe.

Returns:

  • (String)


2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2379

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

#thing_idString

The ID of the thing to describe.

Returns:

  • (String)


2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2379

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

#thing_nameString

The name of the thing.

Returns:

  • (String)


2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2379

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

#thing_type_nameString

The thing type name.

Returns:

  • (String)


2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2379

class DescribeThingResponse < Struct.new(
  :default_client_id,
  :thing_name,
  :thing_id,
  :thing_arn,
  :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)


2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2379

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