Class: Aws::WAFRegional::Types::UpdateRuleRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-wafregional/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)


5701
5702
5703
5704
5705
5706
5707
# File 'lib/aws-sdk-wafregional/types.rb', line 5701

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)


5701
5702
5703
5704
5705
5706
5707
# File 'lib/aws-sdk-wafregional/types.rb', line 5701

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:



5701
5702
5703
5704
5705
5706
5707
# File 'lib/aws-sdk-wafregional/types.rb', line 5701

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