Values.CheckCapacityResponseSourceReturns 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.
type nonrec t = {capacity : ConsumedCapacity.t option;The capacity required by the rules and scope.
*)}type nonrec error = [ | `WAFExpiredManagedRuleGroupVersionException of
WAFExpiredManagedRuleGroupVersionException.t| `WAFInternalErrorException of WAFInternalErrorException.t| `WAFInvalidOperationException of WAFInvalidOperationException.t| `WAFInvalidParameterException of WAFInvalidParameterException.t| `WAFInvalidResourceException of WAFInvalidResourceException.t| `WAFLimitsExceededException of WAFLimitsExceededException.t| `WAFNonexistentItemException of WAFNonexistentItemException.t| `WAFSubscriptionNotFoundException of WAFSubscriptionNotFoundException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `Unknown_operation_error of string * string option
| `WAFExpiredManagedRuleGroupVersionException of
WAFExpiredManagedRuleGroupVersionException.t
| `WAFInternalErrorException of WAFInternalErrorException.t
| `WAFInvalidOperationException of WAFInvalidOperationException.t
| `WAFInvalidParameterException of WAFInvalidParameterException.t
| `WAFInvalidResourceException of WAFInvalidResourceException.t
| `WAFLimitsExceededException of WAFLimitsExceededException.t
| `WAFNonexistentItemException of WAFNonexistentItemException.t
| `WAFSubscriptionNotFoundException of WAFSubscriptionNotFoundException.t
| `WAFUnavailableEntityException of WAFUnavailableEntityException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `Unknown_operation_error of string * string option
| `WAFExpiredManagedRuleGroupVersionException of
WAFExpiredManagedRuleGroupVersionException.t
| `WAFInternalErrorException of WAFInternalErrorException.t
| `WAFInvalidOperationException of WAFInvalidOperationException.t
| `WAFInvalidParameterException of WAFInvalidParameterException.t
| `WAFInvalidResourceException of WAFInvalidResourceException.t
| `WAFLimitsExceededException of WAFLimitsExceededException.t
| `WAFNonexistentItemException of WAFNonexistentItemException.t
| `WAFSubscriptionNotFoundException of WAFSubscriptionNotFoundException.t
| `WAFUnavailableEntityException of WAFUnavailableEntityException.t ]