CmdID

CmdID / aws / aws iot

aws iot list-thing-types

Lists the existing thing types. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

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-typesIdentify
Its 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

3 in the AWS CLI reference
--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.