Module Values.UpdateLinkRoutingRuleRequestSource

Updates a routing rule for a link.

Sourcetype nonrec t = {
  1. gatewayId : GatewayId.t;
    (*

    The unique identifier of the gateway.

    *)
  2. linkId : LinkId.t;
    (*

    The unique identifier of the link.

    *)
  3. ruleId : RuleId.t;
    (*

    The unique identifier of the routing rule.

    *)
  4. priority : RulePriority.t;
    (*

    The updated priority of the routing rule. Lower numbers are evaluated first. Valid values are 1 to 1000. Priority must be unique among non-deleted rules within a link.

    *)
  5. conditions : RuleCondition.t;
    (*

    The updated conditions for the routing rule. All specified fields must match for the rule to apply. At least one condition field must be set.

    *)
}
Sourceval context_ : string
Sourceval make : gatewayId:GatewayId.t -> linkId:LinkId.t -> ruleId:RuleId.t -> priority:RulePriority.t -> conditions:RuleCondition.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of RulePriority.t | `String of GatewayId.t | `Structure of (string * [> `String of RuleConditionHostHeaderString.t | `Structure of (string * [> `String of QueryStringKeyValuePairKeyString.t ]) 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