getWirelessGatewayFirmwareInformation method

Future<GetWirelessGatewayFirmwareInformationResponse> getWirelessGatewayFirmwareInformation({
  1. required String id,
})

Gets the firmware version and other information about a wireless gateway.

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

Parameter id : The ID of the resource to get.

Implementation

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