Module Values.AwsWafRateBasedRuleMatchPredicateSource

A match predicate. A predicate might look for characteristics such as specific IP addresses, geographic locations, or sizes.

Sourcetype nonrec t = {
  1. dataId : NonEmptyString.t option;
    (*

    The unique identifier for the predicate.

    *)
  2. negated : Boolean.t option;
    (*

    If set to true, then the rule actions are performed on requests that match the predicate settings. If set to false, then the rule actions are performed on all requests except those that match the predicate settings.

    *)
  3. type_ : NonEmptyString.t option;
    (*

    The type of predicate. Valid values are as follows: ByteMatch GeoMatch IPMatch RegexMatch SizeConstraint SqlInjectionMatch XssMatch

    *)
}
Sourceval make : ?dataId:??? -> ?negated:??? -> ?type_:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `String of NonEmptyString.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