getWirelessGatewayTask method

Future<GetWirelessGatewayTaskResponse> getWirelessGatewayTask({
  1. required String id,
})

Gets information about a wireless gateway task.

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<GetWirelessGatewayTaskResponse> getWirelessGatewayTask({
  required String id,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/wireless-gateways/${Uri.encodeComponent(id)}/tasks',
    exceptionFnMap: _exceptionFns,
  );
  return GetWirelessGatewayTaskResponse.fromJson(response);
}