code: @Override
      public TerminateJobResult terminateJob(TerminateJobRequest request) {
          request = beforeClientExecution(request);
          return executeTerminateJob(request);
      }
docs: <p>
  Terminates a job in a job queue. Jobs that are in the <code>STARTING</code> or <code>RUNNING</code> state are
  terminated, which causes them to transition to <code>FAILED</code>. Jobs that have not progressed to the
  <code>STARTING</code> state are cancelled.
  </p>
  
  @param terminateJobRequest
  @return Result of the TerminateJob operation returned by the service.
  @throws ClientException
  These errors are usually caused by a client action, such as using an action or resource on behalf of a
  user that doesn't have permissions to use the action or resource, or specifying an identifier that is not
  valid.
  @throws ServerException
  These errors are usually caused by a server issue.
  @sample AWSBatch.TerminateJob
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TerminateJob" target="_top">AWS API
  Documentation</a>