IoT.Client.
describe_thing_type
(**kwargs)¶Gets information about the specified thing type.
Requires permission to access the DescribeThingType action.
See also: AWS API Documentation
Request Syntax
response = client.describe_thing_type(
thingTypeName='string'
)
[REQUIRED]
The name of the thing type.
{
'thingTypeName': 'string',
'thingTypeId': 'string',
'thingTypeArn': 'string',
'thingTypeProperties': {
'thingTypeDescription': 'string',
'searchableAttributes': [
'string',
]
},
'thingTypeMetadata': {
'deprecated': True|False,
'deprecationDate': datetime(2015, 1, 1),
'creationDate': datetime(2015, 1, 1)
}
}
Response Structure
The output for the DescribeThingType operation.
The name of the thing type.
The thing type ID.
The thing type ARN.
The ThingTypeProperties contains information about the thing type including description, and a list of searchable thing attribute names.
The description of the thing type.
A list of searchable thing attribute names.
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.
Whether the thing type is deprecated. If true , no new things could be associated with this type.
The date and time when the thing type was deprecated.
The date and time when the thing type was created.
Exceptions
IoT.Client.exceptions.ResourceNotFoundException
IoT.Client.exceptions.InvalidRequestException
IoT.Client.exceptions.ThrottlingException
IoT.Client.exceptions.UnauthorizedException
IoT.Client.exceptions.ServiceUnavailableException
IoT.Client.exceptions.InternalFailureException