Module Values.CreateRoutingRuleResponseSource

Creates a RoutingRule.

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

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

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

    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. priority : RoutingRulePriority.t option;
    (*

    Represents the priority of the routing rule.

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

    The ARN of the domain name.

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

    The routing rule ID.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestException of BadRequestException.t
  2. | `ConflictException of ConflictException.t
  3. | `NotFoundException of NotFoundException.t
  4. | `TooManyRequestsException of TooManyRequestsException.t
  5. | `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 | `ConflictException of ConflictException.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 | `ConflictException of ConflictException.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