Module Values.StopExecutionInputSource

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.

Sourcetype nonrec t = {
  1. executionArn : Arn.t;
    (*

    The Amazon Resource Name (ARN) of the execution to stop.

    *)
  2. error : SensitiveError.t option;
    (*

    The error code of the failure.

    *)
  3. cause : SensitiveCause.t option;
    (*

    A more detailed explanation of the cause of the failure.

    *)
}
Sourceval context_ : string
Sourceval make : ?error:??? -> ?cause:??? -> executionArn:Arn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Arn.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t