Smaws_Client_WAFV2.CreateRuleGroup
val request :
Smaws_Lib.Context.t ->
create_rule_group_request ->
(create_rule_group_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `WAFDuplicateItemException of waf_duplicate_item_exception
| `WAFInternalErrorException of waf_internal_error_exception
| `WAFInvalidOperationException of waf_invalid_operation_exception
| `WAFInvalidParameterException of waf_invalid_parameter_exception
| `WAFLimitsExceededException of waf_limits_exceeded_exception
| `WAFNonexistentItemException of waf_nonexistent_item_exception
| `WAFOptimisticLockException of waf_optimistic_lock_exception
| `WAFSubscriptionNotFoundException of waf_subscription_not_found_exception
| `WAFTagOperationException of waf_tag_operation_exception
| `WAFTagOperationInternalErrorException of
waf_tag_operation_internal_error_exception
| `WAFUnavailableEntityException of waf_unavailable_entity_exception ])
Stdlib.result
Creates a RuleGroup
per the specifications provided.
A rule group defines a collection of rules to inspect and control web requests that you can use in a WebACL
. When you create a rule group, you define an immutable capacity limit. If you update a rule group, you must stay within the capacity. This allows others to reuse the rule group with confidence in its capacity requirements.