Module Values.RetryStrategySource

The retry strategy that's associated with a job. For more information, see Automated job retries in the Batch User Guide.

Sourcetype nonrec t = {
  1. attempts : Integer.t option;
    (*

    The number of times to move a job to the RUNNABLE status. You can specify between 1 and 10 attempts. If the value of attempts is greater than one, the job is retried on failure the same number of attempts as the value.

    *)
  2. evaluateOnExit : EvaluateOnExitList.t option;
    (*

    Array of up to 5 objects that specify the conditions where jobs are retried or failed. If this parameter is specified, then the attempts parameter must also be specified. If none of the listed conditions match, then the job is retried.

    *)
}
Sourceval make : ?attempts:??? -> ?evaluateOnExit:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `List of [> `Structure of (string * [> `Enum of string | `String of String_.t ]) list ] list ]) 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