Lists the existing thing types.Requires permission to access the ListThingTypes action.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location-g--request GET 'https://api.iotwireless.{region}.amazonaws.com/thing-types'
Response Response Example
200 - Example 1
{"thingTypes":[],"nextToken":"string"}
Request
Query Params
nextToken
stringÂ
optional
To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.
maxResults
integerÂ
optional
The maximum number of results to return in this operation.
thingTypeName
stringÂ
optional
The name of the thing type.
Responses
🟢200Success
application/json
Body
The output for the ListThingTypes operation.
thingTypes
array[object (ThingTypeDefinition) {4}]Â
optional
The thing types.
thingTypeName
stringÂ
optional
The name of the thing type.
>= 1 characters<= 128 characters
Match pattern:
[a-zA-Z0-9:_-]+
thingTypeArn
stringÂ
optional
The thing type ARN.
thingTypeProperties
objectÂ
optional
The ThingTypeProperties for the thing type.
thingTypeMetadata
objectÂ
optional
The ThingTypeMetadata contains additional information about the thing type including: creation date and time, a value indicating whether the thing type is deprecated, and a date and time when it was deprecated.
nextToken
stringÂ
optional
The token for the next set of results. Will not be returned if operation has returned all results.