Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 829 Bytes

File metadata and controls

23 lines (18 loc) · 829 Bytes

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"

Output:

{
    "defaultClientId": "MyLightBulb",
    "thingName": "MyLightBulb",
    "thingId": "40da2e73-c6af-406e-b415-15acae538797",
    "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.