code: @Override
      public SetTaskStatusResult setTaskStatus(SetTaskStatusRequest request) {
          request = beforeClientExecution(request);
          return executeSetTaskStatus(request);
      }
docs: <p>
  Task runners call <code>SetTaskStatus</code> to notify AWS Data Pipeline that a task is completed and provide
  information about the final status. A task runner makes this call regardless of whether the task was sucessful. A
  task runner does not need to call <code>SetTaskStatus</code> for tasks that are canceled by the web service
  during a call to <a>ReportTaskProgress</a>.
  </p>
  
  @param setTaskStatusRequest
  Contains the parameters for SetTaskStatus.
  @return Result of the SetTaskStatus operation returned by the service.
  @throws InternalServiceErrorException
  An internal service error occurred.
  @throws TaskNotFoundException
  The specified task was not found.
  @throws InvalidRequestException
  The request was not valid. Verify that your request was properly formatted, that the signature was
  generated with the correct credentials, and that you haven't exceeded any of the service limits for your
  account.
  @throws PipelineNotFoundException
  The specified pipeline was not found. Verify that you used the correct user and account identifiers.
  @throws PipelineDeletedException
  The specified pipeline has been deleted.
  @sample DataPipeline.SetTaskStatus
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/SetTaskStatus" target="_top">AWS API
  Documentation</a>