Module Values.RuleActionSource

Describes the action for a rule.

Sourcetype nonrec t = {
  1. forward : ForwardAction.t option;
    (*

    The forward action. Traffic that matches the rule is forwarded to the specified target groups.

    *)
  2. fixedResponse : FixedResponseAction.t option;
    (*

    The fixed response action. The rule returns a custom HTTP response.

    *)
}
Sourceval make : ?forward:??? -> ?fixedResponse:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Integer of HttpStatusCode.t | `List of [> `Structure of (string * [> `Integer of TargetGroupWeight.t | `String of TargetGroupIdentifier.t ]) list ] 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