Values.StopExecutionOutputSourceStops an execution. This API action is not supported by EXPRESS state machines. For an execution with encryption enabled, Step Functions will encrypt the error and cause fields using the KMS key for the execution role. A caller can stop an execution without using any KMS permissions in the execution role if the caller provides a null value for both error and cause fields because no data needs to be encrypted.
type nonrec error = [ | `ExecutionDoesNotExist of ExecutionDoesNotExist.t| `InvalidArn of InvalidArn.t| `KmsAccessDeniedException of KmsAccessDeniedException.t| `KmsInvalidStateException of KmsInvalidStateException.t| `KmsThrottlingException of KmsThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `ExecutionDoesNotExist of ExecutionDoesNotExist.t
| `InvalidArn of InvalidArn.t
| `KmsAccessDeniedException of KmsAccessDeniedException.t
| `KmsInvalidStateException of KmsInvalidStateException.t
| `KmsThrottlingException of KmsThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `ExecutionDoesNotExist of ExecutionDoesNotExist.t
| `InvalidArn of InvalidArn.t
| `KmsAccessDeniedException of KmsAccessDeniedException.t
| `KmsInvalidStateException of KmsInvalidStateException.t
| `KmsThrottlingException of KmsThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]