getFuotaTask method

Future<GetFuotaTaskResponse> getFuotaTask({
  1. required String id,
})

Gets information about a FUOTA task.

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

Implementation

Future<GetFuotaTaskResponse> getFuotaTask({
  required String id,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/fuota-tasks/${Uri.encodeComponent(id)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetFuotaTaskResponse.fromJson(response);
}