CmdID

CmdID / aws / aws iot

aws iot create-thing-type

Creates a new thing type. 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 define a thing type

The following create-thing-type example defines a thing type and associated attributes.

aws iot create-thing-type --thing-type-name "LightBulb" --thing-type-properties "thingTypeDescription=light bulb type, searchableAttributes=wattage,model"Identify
--thing-type-nameThe name of the thing type.
--thing-type-propertiesThe ThingTypeProperties for the thing type to create.
Its output
{
    "thingTypeName": "LightBulb",
    "thingTypeArn": "arn:aws:iot:us-west-2:123456789012:thingtype/LightBulb",
    "thingTypeId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
}

For more information, see Thing Types in the AWS IoT Developers Guide.

Options

3 in the AWS CLI reference
--tagsMetadata which can be used to manage the thing type.
--thing-type-nameThe name of the thing type.
--thing-type-propertiesThe ThingTypeProperties for the thing type to create.