Values.GetRuleResponseSourceThis is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide. For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use. Returns the Rule that is specified by the RuleId that you included in the GetRule request.
type nonrec t = {rule : Rule.t option;Information about the Rule that you specified in the GetRule request. For more information, see the following topics: Rule: Contains MetricName, Name, an array of Predicate objects, and RuleId Predicate: Each Predicate object contains DataId, Negated, and Type
*)}type nonrec error = [ | `WAFInternalErrorException of WAFInternalErrorException.t| `WAFInvalidAccountException of WAFInvalidAccountException.t| `WAFNonexistentItemException of WAFNonexistentItemException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `Unknown_operation_error of string * string option
| `WAFInternalErrorException of WAFInternalErrorException.t
| `WAFInvalidAccountException of unit
| `WAFNonexistentItemException of WAFNonexistentItemException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `Unknown_operation_error of string * string option
| `WAFInternalErrorException of WAFInternalErrorException.t
| `WAFInvalidAccountException of unit
| `WAFNonexistentItemException of WAFNonexistentItemException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Boolean of Negated.t
| `Enum of string
| `String of ResourceId.t ])
list ]
list
| `String of ResourceId.t ])
list ])
list ]