@Override
    public StopExecutionResult stopExecution(StopExecutionRequest request) {
        request = beforeClientExecution(request);
        return executeStopExecution(request);
    }
<p>
Stops an execution.
</p>
<p>
This API action is not supported by <code>EXPRESS</code> state machines.
</p>
<p>
For an execution with encryption enabled, Step Functions will encrypt the error and cause fields using the KMS
key for the execution role.
</p>
<p>
A caller can stop an execution without using any KMS permissions in the execution role if the caller provides a
null value for both <code>error</code> and <code>cause</code> fields because no data needs to be encrypted.
</p>

@param stopExecutionRequest
@return Result of the StopExecution operation returned by the service.
@throws ExecutionDoesNotExistException
        The specified execution does not exist.
@throws InvalidArnException
        The provided Amazon Resource Name (ARN) is not valid.
@throws ValidationException
        The input does not satisfy the constraints specified by an Amazon Web Services service.
@throws KmsAccessDeniedException
        Either your KMS key policy or API caller does not have the required permissions.
@throws KmsInvalidStateException
        The KMS key is not in valid state, for example: Disabled or Deleted.
@throws KmsThrottlingException
        Received when KMS returns <code>ThrottlingException</code> for a KMS call that Step Functions makes on
        behalf of the caller.
@sample AWSStepFunctions.StopExecution
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StopExecution" target="_top">AWS API
     Documentation</a>
aws-java-sdk-stepfunctions/src/main/java/com/amazonaws/services/stepfunctions/AWSStepFunctionsClient.java