deleteOtaTask method

Future<void> deleteOtaTask({
  1. required String identifier,
})

Delete the over-the-air (OTA) task.

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

Parameter identifier : The identifier of the over-the-air (OTA) task.

Implementation

Future<void> deleteOtaTask({
  required String identifier,
}) async {
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/ota-tasks/${Uri.encodeComponent(identifier)}',
    exceptionFnMap: _exceptionFns,
  );
}