getWirelessDeviceStatistics method

Future<GetWirelessDeviceStatisticsResponse> getWirelessDeviceStatistics({
  1. required String wirelessDeviceId,
})

Gets operating information about a wireless device.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter wirelessDeviceId : The ID of the wireless device for which to get the data.

Implementation

Future<GetWirelessDeviceStatisticsResponse> getWirelessDeviceStatistics({
  required String wirelessDeviceId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/wireless-devices/${Uri.encodeComponent(wirelessDeviceId)}/statistics',
    exceptionFnMap: _exceptionFns,
  );
  return GetWirelessDeviceStatisticsResponse.fromJson(response);
}