Values.CreateLinkRoutingRuleRequestSourceCreates a routing rule for a link. Routing rules use priority-based evaluation where lower priority numbers are evaluated first. Each rule specifies conditions that must all match for the rule to apply.
type nonrec t = {clientToken : String_.t;Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value. If you don't provide this value, then Amazon Web Services generates a random one for you. If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.
*)gatewayId : GatewayId.t;The unique identifier of the gateway.
*)linkId : LinkId.t;The unique identifier of the link.
*)priority : RulePriority.t;The 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.
*)conditions : RuleCondition.t;The conditions for the routing rule. All specified fields must match for the rule to apply. At least one condition field must be set.
*)}val make :
?tags:??? ->
clientToken:String_.t ->
gatewayId:GatewayId.t ->
linkId:LinkId.t ->
priority:RulePriority.t ->
conditions:RuleCondition.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Integer of RulePriority.t
| `Map of
([> `String of TagKey.t ] * [> `String of TagValue.t ]) list
| `String of String_.t
| `Structure of
(string
* [> `String of RuleConditionHostHeaderString.t
| `Structure of
(string * [> `String of QueryStringKeyValuePairKeyString.t ])
list ])
list ])
list ]