getManagedThingCapabilities method
Future<GetManagedThingCapabilitiesResponse>
getManagedThingCapabilities({
- required String identifier,
Get the capabilities for a managed thing using the device ID.
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 device.
Implementation
Future<GetManagedThingCapabilitiesResponse> getManagedThingCapabilities({
required String identifier,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/managed-things-capabilities/${Uri.encodeComponent(identifier)}',
exceptionFnMap: _exceptionFns,
);
return GetManagedThingCapabilitiesResponse.fromJson(response);
}