class Aws::WAFRegional::Types::UpdateRateBasedRuleRequest
@note When making an API call, you may pass UpdateRateBasedRuleRequest
data as a hash: { rule_id: "ResourceId", # required change_token: "ChangeToken", # required updates: [ # required { action: "INSERT", # required, accepts INSERT, DELETE predicate: { # required negated: false, # required type: "IPMatch", # required, accepts IPMatch, ByteMatch, SqlInjectionMatch, GeoMatch, SizeConstraint, XssMatch, RegexMatch data_id: "ResourceId", # required }, }, ], rate_limit: 1, # required }
@!attribute [rw] rule_id
The `RuleId` of the `RateBasedRule` that you want to update. `RuleId` is returned by `CreateRateBasedRule` and by ListRateBasedRules. @return [String]
@!attribute [rw] change_token
The value returned by the most recent call to GetChangeToken. @return [String]
@!attribute [rw] updates
An array of `RuleUpdate` objects that you want to insert into or delete from a RateBasedRule. @return [Array<Types::RuleUpdate>]
@!attribute [rw] rate_limit
The maximum number of requests, which have an identical value in the field specified by the `RateKey`, allowed in a five-minute period. If the number of requests exceeds the `RateLimit` and the other predicates specified in the rule are also met, AWS WAF triggers the action that is specified for this rule. @return [Integer]
@see docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRateBasedRuleRequest AWS API Documentation
Constants
- SENSITIVE