Module Values.StopExecutionOutputSource

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. stopDate : Timestamp.t option;
    (*

    The date the execution is stopped.

    *)
}
Sourcetype nonrec error = [
  1. | `ExecutionDoesNotExist of ExecutionDoesNotExist.t
  2. | `InvalidArn of InvalidArn.t
  3. | `KmsAccessDeniedException of KmsAccessDeniedException.t
  4. | `KmsInvalidStateException of KmsInvalidStateException.t
  5. | `KmsThrottlingException of KmsThrottlingException.t
  6. | `ValidationException of ValidationException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?stopDate:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Timestamp of Timestamp.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