Module Values.CreateRoutingRuleRequestSource

Creates a RoutingRule.

Sourcetype nonrec t = {
  1. actions : RoutingRuleAction.t list;
    (*

    Represents a routing rule action. The only supported action is invokeApi.

    *)
  2. conditions : RoutingRuleCondition.t list;
    (*

    Represents a condition. Conditions can contain up to two matchHeaders conditions and one matchBasePaths conditions. API Gateway evaluates header conditions and base path conditions together. You can only use AND between header and base path conditions.

    *)
  3. domainName : string;
    (*

    The domain name.

    *)
  4. domainNameId : string option;
    (*

    The domain name ID.

    *)
  5. priority : RoutingRulePriority.t;
    (*

    Represents the priority of the routing rule.

    *)
}
Sourceval context_ : string
Sourceval make : ?domainNameId:??? -> actions:RoutingRuleAction.t list -> conditions:RoutingRuleCondition.t list -> domainName:string -> priority:RoutingRulePriority.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of RoutingRulePriority.t | `List of [> `Structure of (string * [> `Structure of (string * [> `Boolean of bool | `List of [> `String of SelectionKey.t | `Structure of (string * [> `String of SelectionKey.t ]) list ] list | `String of Id.t ]) list ]) list ] list | `String of string ]) 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