describeThingType method
Gets information about the specified thing type.
Requires permission to access the DescribeThingType action.
May throw InternalFailureException.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ServiceUnavailableException.
May throw ThrottlingException.
May throw UnauthorizedException.
Parameter thingTypeName :
The name of the thing type.
Implementation
Future<DescribeThingTypeResponse> describeThingType({
required String thingTypeName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/thing-types/${Uri.encodeComponent(thingTypeName)}',
exceptionFnMap: _exceptionFns,
);
return DescribeThingTypeResponse.fromJson(response);
}