code: @Override
      public CancelTaskExecutionResult cancelTaskExecution(CancelTaskExecutionRequest request) {
          request = beforeClientExecution(request);
          return executeCancelTaskExecution(request);
      }
docs: <p>
  Cancels execution of a task.
  </p>
  <p>
  When you cancel a task execution, the transfer of some files are abruptly interrupted. The contents of files that
  are transferred to the destination might be incomplete or inconsistent with the source files. However, if you
  start a new task execution on the same task and you allow the task execution to complete, file content on the
  destination is complete and consistent. This applies to other unexpected failures that interrupt a task
  execution. In all of these cases, AWS DataSync successfully complete the transfer when you start the next task
  execution.
  </p>
  
  @param cancelTaskExecutionRequest
  CancelTaskExecutionRequest
  @return Result of the CancelTaskExecution operation returned by the service.
  @throws InvalidRequestException
  This exception is thrown when the client submits a malformed request.
  @sample AWSDataSync.CancelTaskExecution
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CancelTaskExecution" target="_top">AWS
  API Documentation</a>