code: @Override
      public StopTrainingEntityRecognizerResult stopTrainingEntityRecognizer(StopTrainingEntityRecognizerRequest request) {
          request = beforeClientExecution(request);
          return executeStopTrainingEntityRecognizer(request);
      }
docs: <p>
  Stops an entity recognizer training job while in progress.
  </p>
  <p>
  If the training job state is <code>TRAINING</code>, the job is marked for termination and put into the
  <code>STOP_REQUESTED</code> state. If the training job completes before it can be stopped, it is put into the
  <code>TRAINED</code>; otherwise the training job is stopped and putted into the <code>STOPPED</code> state and
  the service sends back an HTTP 200 response with an empty HTTP body.
  </p>
  
  @param stopTrainingEntityRecognizerRequest
  @return Result of the StopTrainingEntityRecognizer operation returned by the service.
  @throws InvalidRequestException
  The request is invalid.
  @throws TooManyRequestsException
  The number of requests exceeds the limit. Resubmit your request later.
  @throws ResourceNotFoundException
  The specified resource ARN was not found. Check the ARN and try your request again.
  @throws InternalServerException
  An internal server error occurred. Retry your request.
  @sample AmazonComprehend.StopTrainingEntityRecognizer
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StopTrainingEntityRecognizer"
  target="_top">AWS API Documentation</a>