Module Values.ConditionSource

A single condition that can match based on WAF rule action or label name.

Sourcetype nonrec t = {
  1. actionCondition : ActionCondition.t option;
    (*

    Matches log records based on the WAF rule action taken (ALLOW, BLOCK, COUNT, etc.).

    *)
  2. labelNameCondition : LabelNameCondition.t option;
    (*

    Matches log records based on WAF rule labels applied to the request.

    *)
}
Sourceval make : ?actionCondition:??? -> ?labelNameCondition:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `String of LabelNameConditionLabelNameString.t ]) 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