getManagedThing method
Get details of a managed thing including its attributes and capabilities.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ServiceUnavailableException.
May throw ThrottlingException.
May throw UnauthorizedException.
May throw ValidationException.
Parameter identifier :
The id of the managed thing.
Implementation
Future<GetManagedThingResponse> getManagedThing({
required String identifier,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/managed-things/${Uri.encodeComponent(identifier)}',
exceptionFnMap: _exceptionFns,
);
return GetManagedThingResponse.fromJson(response);
}