Module Values.CreateRuleGroupResponseSource

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. Creates a RuleGroup. A rule group is a collection of predefined rules that you add to a web ACL. You use UpdateRuleGroup to add rules to the rule group. Rule groups are subject to the following limits: Three rule groups per account. You can request an increase to this limit by contacting customer support. One rule group per web ACL. Ten rules per rule group. For more information about how to use the AWS WAF API to allow or block HTTP requests, see the AWS WAF Developer Guide.

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

    An empty RuleGroup.

    *)
  2. changeToken : ChangeToken.t option;
    (*

    The ChangeToken that you used to submit the CreateRuleGroup request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.

    *)
}
Sourcetype nonrec error = [
  1. | `WAFBadRequestException of WAFBadRequestException.t
  2. | `WAFDisallowedNameException of WAFDisallowedNameException.t
  3. | `WAFInternalErrorException of WAFInternalErrorException.t
  4. | `WAFLimitsExceededException of WAFLimitsExceededException.t
  5. | `WAFStaleDataException of WAFStaleDataException.t
  6. | `WAFTagOperationException of WAFTagOperationException.t
  7. | `WAFTagOperationInternalErrorException of WAFTagOperationInternalErrorException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?ruleGroup:??? -> ?changeToken:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `Unknown_operation_error of string * string option | `WAFBadRequestException of WAFBadRequestException.t | `WAFDisallowedNameException of WAFDisallowedNameException.t | `WAFInternalErrorException of WAFInternalErrorException.t | `WAFLimitsExceededException of WAFLimitsExceededException.t | `WAFStaleDataException of WAFStaleDataException.t | `WAFTagOperationException of WAFTagOperationException.t | `WAFTagOperationInternalErrorException of WAFTagOperationInternalErrorException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `Unknown_operation_error of string * string option | `WAFBadRequestException of WAFBadRequestException.t | `WAFDisallowedNameException of WAFDisallowedNameException.t | `WAFInternalErrorException of WAFInternalErrorException.t | `WAFLimitsExceededException of WAFLimitsExceededException.t | `WAFStaleDataException of WAFStaleDataException.t | `WAFTagOperationException of WAFTagOperationException.t | `WAFTagOperationInternalErrorException of WAFTagOperationInternalErrorException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ChangeToken.t | `Structure of (string * [> `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