Module Values.ServiceJobEvaluateOnExitSource

Specifies conditions for when to exit or retry a service job based on the exit status or status reason.

Sourcetype nonrec t = {
  1. action : ServiceJobRetryAction.t option;
    (*

    The action to take if the service job exits with the specified condition. Valid values are RETRY and EXIT.

    *)
  2. onStatusReason : String_.t option;
    (*

    Contains a glob pattern to match against the StatusReason returned for a job. The pattern can contain up to 512 characters and can contain all printable characters. It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.

    *)
}
Sourceval make : ?action:??? -> ?onStatusReason:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of String_.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