Values.GetRuleResponseSourceRetrieves information about the specified listener rules. You can also retrieve information about the default listener rule. 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 listener.
*)id : RuleId.t option;The ID of the listener.
*)name : RuleName.t option;The name of the listener.
*)isDefault : Boolean.t option;Indicates whether this is the default rule.
*)match_ : RuleMatch.t option;The rule match.
*)priority : RulePriority.t option;The priority level for the specified rule.
*)action : RuleAction.t option;The action for the default rule.
*)createdAt : Timestamp.t option;The date and time that the listener rule was created, in ISO-8601 format.
*)lastUpdatedAt : Timestamp.t option;The date and time that the listener rule was last updated, in ISO-8601 format.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.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
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.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
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `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
| `Timestamp of Timestamp.t ])
list ]