getWirelessGatewayStatistics method

Future<GetWirelessGatewayStatisticsResponse> getWirelessGatewayStatistics({
  1. required String wirelessGatewayId,
})

Gets operating information about a wireless gateway.

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

Parameter wirelessGatewayId : The ID of the wireless gateway for which to get the data.

Implementation

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