Smaws_Client_SFN.StopExecution
Stops 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ExecutionDoesNotExist of Types.execution_does_not_exist
| `InvalidArn of Types.invalid_arn
| `KmsAccessDeniedException of Types.kms_access_denied_exception
| `KmsInvalidStateException of Types.kms_invalid_state_exception
| `KmsThrottlingException of Types.kms_throttling_exception
| `ValidationException of Types.validation_exception ] ->
string
val request :
'http_type Smaws_Lib.Context.t ->
Types.stop_execution_input ->
(Types.stop_execution_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `ExecutionDoesNotExist of Types.execution_does_not_exist
| `InvalidArn of Types.invalid_arn
| `KmsAccessDeniedException of Types.kms_access_denied_exception
| `KmsInvalidStateException of Types.kms_invalid_state_exception
| `KmsThrottlingException of Types.kms_throttling_exception
| `ValidationException of Types.validation_exception ])
Stdlib.result