Module Values_0.ConditionSource

Defines a condition under which a trigger fires.

Sourcetype nonrec t = {
  1. logicalOperator : LogicalOperator.t option;
    (*

    A logical operator.

    *)
  2. jobName : NameString.t option;
    (*

    The name of the job whose JobRuns this condition applies to, and on which this trigger waits.

    *)
  3. state : JobRunState.t option;
    (*

    The condition state. Currently, the only job states that a trigger can listen for are SUCCEEDED, STOPPED, FAILED, and TIMEOUT. The only crawler states that a trigger can listen for are SUCCEEDED, FAILED, and CANCELLED.

    *)
  4. crawlerName : NameString.t option;
    (*

    The name of the crawler to which this condition applies.

    *)
  5. crawlState : CrawlState.t option;
    (*

    The state of the crawler to which this condition applies.

    *)
}
Sourceval make : ?logicalOperator:??? -> ?jobName:??? -> ?state:??? -> ?crawlerName:??? -> ?crawlState:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of NameString.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