Module Values.GetRuleGroupResponseSource

Retrieves the specified RuleGroup.

Sourcetype nonrec t = {
  1. ruleGroup : RuleGroup.t option;
  2. lockToken : LockToken.t option;
    (*

    A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.

    *)
}
Sourcetype nonrec error = [
  1. | `WAFInternalErrorException of WAFInternalErrorException.t
  2. | `WAFInvalidOperationException of WAFInvalidOperationException.t
  3. | `WAFInvalidParameterException of WAFInvalidParameterException.t
  4. | `WAFNonexistentItemException of WAFNonexistentItemException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?ruleGroup:??? -> ?lockToken:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `Unknown_operation_error of string * string option | `WAFInternalErrorException of WAFInternalErrorException.t | `WAFInvalidOperationException of WAFInvalidOperationException.t | `WAFInvalidParameterException of WAFInvalidParameterException.t | `WAFNonexistentItemException of WAFNonexistentItemException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `Unknown_operation_error of string * string option | `WAFInternalErrorException of WAFInternalErrorException.t | `WAFInvalidOperationException of WAFInvalidOperationException.t | `WAFInvalidParameterException of WAFInvalidParameterException.t | `WAFNonexistentItemException of WAFNonexistentItemException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of LockToken.t | `Structure of (string * [> `List of [> `Structure of (string * Awso.Botodata.value) list ] list | `Long of CapacityUnit.t | `Map of ([> `String of EntityName.t ] * [> `Structure of (string * [> `Enum of string | `String of ResponseContent.t ]) list ]) list | `String of EntityName.t | `Structure of (string * [> `Boolean of Boolean.t | `String of MetricName.t ]) list ]) 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