class Aws::WAF::Types::UpdateRuleRequest
@note When making an API call, you may pass UpdateRuleRequest
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 }, }, ], }
@!attribute [rw] rule_id
The `RuleId` of the `Rule` that you want to update. `RuleId` is returned by `CreateRule` and by ListRules. @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 Rule. For more information, see the applicable data types: * RuleUpdate: Contains `Action` and `Predicate` * Predicate: Contains `DataId`, `Negated`, and `Type` * FieldToMatch: Contains `Data` and `Type` @return [Array<Types::RuleUpdate>]
@see docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRuleRequest AWS API Documentation
Constants
- SENSITIVE