Class: Aws::WAF::Types::UpdateRateBasedRuleRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-waf/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)


5401
5402
5403
5404
5405
5406
5407
5408
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 5401

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

#rate_limitInteger

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.

Returns:

  • (Integer)


5401
5402
5403
5404
5405
5406
5407
5408
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 5401

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

#rule_idString

The RuleId of the RateBasedRule that you want to update. RuleId is returned by CreateRateBasedRule and by ListRateBasedRules.

Returns:

  • (String)


5401
5402
5403
5404
5405
5406
5407
5408
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 5401

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

#updatesArray<Types::RuleUpdate>

An array of RuleUpdate objects that you want to insert into or delete from a RateBasedRule.

Returns:



5401
5402
5403
5404
5405
5406
5407
5408
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 5401

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