Module Values.GetRuleResponseSource

This 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.

Sourcetype nonrec t = {
  1. 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

    *)
}
Sourcetype nonrec error = [
  1. | `WAFInternalErrorException of WAFInternalErrorException.t
  2. | `WAFInvalidAccountException of WAFInvalidAccountException.t
  3. | `WAFNonexistentItemException of WAFNonexistentItemException.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : ?rule:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval 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 ]
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