Values.CreateRuleResponseSourceCreates a listener rule. Each listener has a default rule for checking connection requests, but you can define additional rules. Each rule consists of a priority, one or more actions, and one or more conditions. For more information, see Listener rules in the Amazon VPC Lattice User Guide.
type nonrec t = {arn : RuleArn.t option;The Amazon Resource Name (ARN) of the rule.
*)id : RuleId.t option;The ID of the rule.
*)name : RuleName.t option;The name of the rule.
*)match_ : RuleMatch.t option;The rule match. The RuleMatch must be an HttpMatch. This means that the rule should be an exact match on HTTP constraints which are made up of the HTTP method, path, and header.
*)priority : RulePriority.t option;The priority assigned to the rule. The lower the priority number the higher the priority.
*)action : RuleAction.t option;The rule action.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `ConflictException of ConflictException.t| `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ServiceQuotaExceededException of ServiceQuotaExceededException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `ConflictException of ConflictException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ServiceQuotaExceededException of ServiceQuotaExceededException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `ConflictException of ConflictException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ServiceQuotaExceededException of ServiceQuotaExceededException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `Integer of RulePriority.t
| `String of RuleArn.t
| `Structure of
(string
* [> `Structure of
(string
* [> `Integer of HttpStatusCode.t
| `List of
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `Integer of TargetGroupWeight.t
| `String of HeaderMatchName.t
| `Structure of
(string * [> `String of HeaderMatchExact.t ])
list ])
list ]
list
| `String of HttpMethod.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Structure of
(string * [> `String of PathMatchExact.t ]) list ])
list ])
list ])
list ])
list ]