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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

The output from the DescribeThing operation.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#attributesHash<String,String>

The thing attributes.

Returns:

  • (Hash<String,String>)

    The thing attributes.

#billing_group_nameString

The name of the billing group the thing belongs to.

Returns:

  • (String)

    The name of the billing group the thing belongs to.

#default_client_idString

The default MQTT client ID. For a typical device, the thing name is also used as the default MQTT client ID. Although we don’t require a mapping between a thing\'s registry name and its use of MQTT client IDs, certificates, or shadow state, we recommend that you choose a thing name and use it as the MQTT client ID for the registry and the Device Shadow service.

This lets you better organize your AWS IoT fleet without removing the flexibility of the underlying device certificate model or shadows.

Returns:

  • (String)

    The default MQTT client ID.

#thing_arnString

The ARN of the thing to describe.

Returns:

  • (String)

    The ARN of the thing to describe.

#thing_idString

The ID of the thing to describe.

Returns:

  • (String)

    The ID of the thing to describe.

#thing_nameString

The name of the thing.

Returns:

  • (String)

    The name of the thing.

#thing_type_nameString

The thing type name.

Returns:

  • (String)

    The thing type name.

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

    The current version of the thing record in the registry.