

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 列出物件類型
<a name="list-thing-types"></a>

您可以使用 **ListThingTypes** 命令列出物件類型：

```
$ aws iot list-thing-types
```

**ListThingTypes** 命令會傳回 中定義的物件類型清單 AWS 帳戶：

```
{
    "thingTypes": [
        {
            "thingTypeName": "LightBulb",
            "thingTypeProperties": {
                "searchableAttributes": [
                    "wattage",
                    "model"
                ],
                "thingTypeDescription": "light bulb type"
            },
            "thingTypeMetadata": {
                "deprecated": false,
                "creationDate": 1468423800950
            }
        }
    ]
}
```