code: @Override
      public CancelStepsResult cancelSteps(CancelStepsRequest request) {
          request = beforeClientExecution(request);
          return executeCancelSteps(request);
      }
docs: <p>
  Cancels a pending step or steps in a running cluster. Available only in Amazon EMR versions 4.8.0 and later,
  excluding version 5.0.0. A maximum of 256 steps are allowed in each CancelSteps request. CancelSteps is
  idempotent but asynchronous; it does not guarantee a step will be canceled, even if the request is successfully
  submitted. You can only cancel steps that are in a <code>PENDING</code> state.
  </p>
  
  @param cancelStepsRequest
  The input argument to the <a>CancelSteps</a> operation.
  @return Result of the CancelSteps operation returned by the service.
  @throws InternalServerErrorException
  Indicates that an error occurred while processing the request and that the request was not completed.
  @throws InvalidRequestException
  This exception occurs when there is something wrong with user input.
  @sample AmazonElasticMapReduce.CancelSteps
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CancelSteps" target="_top">AWS
  API Documentation</a>