aws iot describe-thing
Gets information about the specified thing. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To display detailed information about a thing
The following describe-thing example display information about a thing (device) that is defined in the AWS IoT registry for your AWS account.
aws iot describe-thing --thing-name "MyLightBulb"Identify--thing-nameThe name of the thing.Its output
{
"defaultClientId": "MyLightBulb",
"thingName": "MyLightBulb",
"thingId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
"thingArn": "arn:aws:iot:us-west-2:123456789012:thing/MyLightBulb",
"thingTypeName": "LightBulb",
"attributes": {
"model": "123",
"wattage": "75"
},
"version": 1
}For more information, see How to Manage Things with the Registry in the AWS IoT Developers Guide.
Options
--thing-nameThe name of the thing.