Module Values.GetRoutingRuleResponseSource

Gets a routing rule.

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

    The resulting action based on matching a routing rules condition. Only InvokeApi is supported.

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

    The conditions of the routing rule.

    *)
  3. priority : RoutingRulePriority.t option;
    (*

    The order in which API Gateway evaluates a rule. Priority is evaluated from the lowest value to the highest value.

    *)
  4. routingRuleArn : Arn.t option;
    (*

    The routing rule ARN.

    *)
  5. routingRuleId : Id.t option;
    (*

    The routing rule ID.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestException of BadRequestException.t
  2. | `NotFoundException of NotFoundException.t
  3. | `TooManyRequestsException of TooManyRequestsException.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : ?actions:??? -> ?conditions:??? -> ?priority:??? -> ?routingRuleArn:??? -> ?routingRuleId:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequestException of BadRequestException.t | `NotFoundException of NotFoundException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequestException of BadRequestException.t | `NotFoundException of NotFoundException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.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 Arn.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