pub struct DescribeThingResponse {
pub attributes: Option<HashMap<String, String>>,
pub billing_group_name: Option<String>,
pub default_client_id: Option<String>,
pub thing_arn: Option<String>,
pub thing_id: Option<String>,
pub thing_name: Option<String>,
pub thing_type_name: Option<String>,
pub version: Option<i64>,
}Expand description
The output from the DescribeThing operation.
Fields§
§attributes: Option<HashMap<String, String>>The thing attributes.
billing_group_name: Option<String>The name of the billing group the thing belongs to.
default_client_id: Option<String>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.
thing_arn: Option<String>The ARN of the thing to describe.
thing_id: Option<String>The ID of the thing to describe.
thing_name: Option<String>The name of the thing.
thing_type_name: Option<String>The thing type name.
version: Option<i64>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.
Trait Implementations§
Source§impl Clone for DescribeThingResponse
impl Clone for DescribeThingResponse
Source§fn clone(&self) -> DescribeThingResponse
fn clone(&self) -> DescribeThingResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more