Smaws_Client_WAFV2.CheckCapacity
val request :
Smaws_Lib.Context.t ->
check_capacity_request ->
(check_capacity_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `WAFExpiredManagedRuleGroupVersionException of
waf_expired_managed_rule_group_version_exception
| `WAFInternalErrorException of waf_internal_error_exception
| `WAFInvalidOperationException of waf_invalid_operation_exception
| `WAFInvalidParameterException of waf_invalid_parameter_exception
| `WAFInvalidResourceException of waf_invalid_resource_exception
| `WAFLimitsExceededException of waf_limits_exceeded_exception
| `WAFNonexistentItemException of waf_nonexistent_item_exception
| `WAFSubscriptionNotFoundException of waf_subscription_not_found_exception
| `WAFUnavailableEntityException of waf_unavailable_entity_exception ])
Stdlib.result
Returns the web ACL capacity unit (WCU) requirements for a specified scope and set of rules. You can use this to check the capacity requirements for the rules you want to use in a RuleGroup
or WebACL
.
WAF uses WCUs to calculate and control the operating resources that are used to run your rules, rule groups, and web ACLs. WAF calculates capacity differently for each rule type, to reflect the relative cost of each rule. Simple rules that cost little to run use fewer WCUs than more complex rules that use more processing power. Rule group capacity is fixed at creation, which helps users plan their web ACL WCU usage when they use a rule group. For more information, see WAF web ACL capacity units (WCU) in the WAF Developer Guide.