Class: Aws::WAF::Types::UpdateRuleRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-waf/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#change_tokenString

The value returned by the most recent call to GetChangeToken.

Returns:

  • (String)


5573
5574
5575
5576
5577
5578
5579
# File 'lib/aws-sdk-waf/types.rb', line 5573

class UpdateRuleRequest < Struct.new(
  :rule_id,
  :change_token,
  :updates)
  SENSITIVE = []
  include Aws::Structure
end

#rule_idString

The ‘RuleId` of the `Rule` that you want to update. `RuleId` is returned by `CreateRule` and by ListRules.

Returns:

  • (String)


5573
5574
5575
5576
5577
5578
5579
# File 'lib/aws-sdk-waf/types.rb', line 5573

class UpdateRuleRequest < Struct.new(
  :rule_id,
  :change_token,
  :updates)
  SENSITIVE = []
  include Aws::Structure
end

#updatesArray<Types::RuleUpdate>

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`

Returns:



5573
5574
5575
5576
5577
5578
5579
# File 'lib/aws-sdk-waf/types.rb', line 5573

class UpdateRuleRequest < Struct.new(
  :rule_id,
  :change_token,
  :updates)
  SENSITIVE = []
  include Aws::Structure
end