Module Values.SimpleRuleSource

A rule that compares an input property value to a threshold value with a comparison operator.

Sourcetype nonrec t = {
  1. inputProperty : InputProperty.t;
    (*

    The value on the left side of the comparison operator. You can specify an AWS IoT Events input attribute as an input property.

    *)
  2. comparisonOperator : ComparisonOperator.t;
    (*

    The comparison operator.

    *)
  3. threshold : Threshold.t;
    (*

    The value on the right side of the comparison operator. You can enter a number or specify an AWS IoT Events input attribute.

    *)
}
Sourceval context_ : string
Sourceval make : inputProperty:InputProperty.t -> comparisonOperator:ComparisonOperator.t -> threshold:Threshold.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of InputProperty.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