describeDevice method
Returns information about a device.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter deviceId :
The device's ID.
Implementation
Future<DescribeDeviceResponse> describeDevice({
required String deviceId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/devices/${Uri.encodeComponent(deviceId)}',
exceptionFnMap: _exceptionFns,
);
return DescribeDeviceResponse.fromJson(response);
}