aws iot list-thing-types
Lists the existing thing types. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To list the defined thing types
The following list-thing-types example displays a list of thing types defined in your AWS account.
aws iot list-thing-typesIdentifyIts output
{
"thingTypes": [
{
"thingTypeName": "LightBulb",
"thingTypeArn": "arn:aws:iot:us-west-2:123456789012:thingtype/LightBulb",
"thingTypeProperties": {
"thingTypeDescription": "light bulb type",
"searchableAttributes": [
"model",
"wattage"
]
},
"thingTypeMetadata": {
"deprecated": false,
"creationDate": 1559772562.498
}
}
]
}For more information, see Thing Types in the AWS IoT Developers Guide.
Options
--max-resultsThe maximum number of results to return in this operation.--next-tokenTo retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.--thing-type-nameThe name of the thing type.