aws-sdk-wafv2 1.76.0 → 1.77.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 58aab4cae5a9a4c8ae7201eb885b84f12a345db0b09d83112552d6a65b44f3ad
4
- data.tar.gz: 84d0468c41f15343de45e232455f1bff31b67827664a7478fcd333fce795da61
3
+ metadata.gz: 3ca25bdbc616a3ad598be11f0cfb8b0069553506813f7731fa40bd85c003a526
4
+ data.tar.gz: b401bfd6fd24c0934e335472b1a7ba181222549f7edb40a09177a7bed3aaaca6
5
5
  SHA512:
6
- metadata.gz: a2f660d0b4ff4a2aa8a31f773701140ba653c13caa92b81cc284dc62c42a5ef747705f159abed8661fcac1c3e9659b28c75cf24ac323e0503b788b9d6750b37b
7
- data.tar.gz: fbb743e861e90cafbf28efcb6e343a859e15ba8c22c9ef7763d5a40ae2c65ee975037d54a6f770ce85da904cda8bf2c88821abf3cf38f317afddbaaa4a45db01
6
+ metadata.gz: 6b06a228da5f349710e31a01a5023991048e3d5c5b11d0d5d837343a3009e77efa578a279bd8d24b89c22359bb39cd92100f746477db6dc21161fbd6df64bd56
7
+ data.tar.gz: 62f93d04f9e389dd76f6d1f10d6d659051bbdd2522c3962dd82b5102e4566443e3344ac8738173aa9dc46162838daefbeb0c54a8afbc565162c29d8dd8abc088
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.77.0 (2024-02-28)
5
+ ------------------
6
+
7
+ * Feature - AWS WAF now supports configurable time windows for request aggregation with rate-based rules. Customers can now select time windows of 1 minute, 2 minutes or 10 minutes, in addition to the previously supported 5 minutes.
8
+
4
9
  1.76.0 (2024-02-06)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.76.0
1
+ 1.77.0
@@ -950,6 +950,7 @@ module Aws::WAFV2
950
950
  # },
951
951
  # rate_based_statement: {
952
952
  # limit: 1, # required
953
+ # evaluation_window_sec: 1,
953
954
  # aggregate_key_type: "IP", # required, accepts IP, FORWARDED_IP, CUSTOM_KEYS, CONSTANT
954
955
  # scope_down_statement: {
955
956
  # # recursive Statement
@@ -2128,6 +2129,7 @@ module Aws::WAFV2
2128
2129
  # },
2129
2130
  # rate_based_statement: {
2130
2131
  # limit: 1, # required
2132
+ # evaluation_window_sec: 1,
2131
2133
  # aggregate_key_type: "IP", # required, accepts IP, FORWARDED_IP, CUSTOM_KEYS, CONSTANT
2132
2134
  # scope_down_statement: {
2133
2135
  # # recursive Statement
@@ -3136,6 +3138,7 @@ module Aws::WAFV2
3136
3138
  # },
3137
3139
  # rate_based_statement: {
3138
3140
  # limit: 1, # required
3141
+ # evaluation_window_sec: 1,
3139
3142
  # aggregate_key_type: "IP", # required, accepts IP, FORWARDED_IP, CUSTOM_KEYS, CONSTANT
3140
3143
  # scope_down_statement: {
3141
3144
  # # recursive Statement
@@ -4998,6 +5001,7 @@ module Aws::WAFV2
4998
5001
  # resp.rule_group.rules[0].statement.regex_pattern_set_reference_statement.text_transformations[0].priority #=> Integer
4999
5002
  # resp.rule_group.rules[0].statement.regex_pattern_set_reference_statement.text_transformations[0].type #=> String, one of "NONE", "COMPRESS_WHITE_SPACE", "HTML_ENTITY_DECODE", "LOWERCASE", "CMD_LINE", "URL_DECODE", "BASE64_DECODE", "HEX_DECODE", "MD5", "REPLACE_COMMENTS", "ESCAPE_SEQ_DECODE", "SQL_HEX_DECODE", "CSS_DECODE", "JS_DECODE", "NORMALIZE_PATH", "NORMALIZE_PATH_WIN", "REMOVE_NULLS", "REPLACE_NULLS", "BASE64_DECODE_EXT", "URL_DECODE_UNI", "UTF8_TO_UNICODE"
5000
5003
  # resp.rule_group.rules[0].statement.rate_based_statement.limit #=> Integer
5004
+ # resp.rule_group.rules[0].statement.rate_based_statement.evaluation_window_sec #=> Integer
5001
5005
  # resp.rule_group.rules[0].statement.rate_based_statement.aggregate_key_type #=> String, one of "IP", "FORWARDED_IP", "CUSTOM_KEYS", "CONSTANT"
5002
5006
  # resp.rule_group.rules[0].statement.rate_based_statement.scope_down_statement #=> Types::Statement
5003
5007
  # resp.rule_group.rules[0].statement.rate_based_statement.forwarded_ip_config.header_name #=> String
@@ -7545,6 +7549,7 @@ module Aws::WAFV2
7545
7549
  # },
7546
7550
  # rate_based_statement: {
7547
7551
  # limit: 1, # required
7552
+ # evaluation_window_sec: 1,
7548
7553
  # aggregate_key_type: "IP", # required, accepts IP, FORWARDED_IP, CUSTOM_KEYS, CONSTANT
7549
7554
  # scope_down_statement: {
7550
7555
  # # recursive Statement
@@ -8598,6 +8603,7 @@ module Aws::WAFV2
8598
8603
  # },
8599
8604
  # rate_based_statement: {
8600
8605
  # limit: 1, # required
8606
+ # evaluation_window_sec: 1,
8601
8607
  # aggregate_key_type: "IP", # required, accepts IP, FORWARDED_IP, CUSTOM_KEYS, CONSTANT
8602
8608
  # scope_down_statement: {
8603
8609
  # # recursive Statement
@@ -9067,7 +9073,7 @@ module Aws::WAFV2
9067
9073
  params: params,
9068
9074
  config: config)
9069
9075
  context[:gem_name] = 'aws-sdk-wafv2'
9070
- context[:gem_version] = '1.76.0'
9076
+ context[:gem_version] = '1.77.0'
9071
9077
  Seahorse::Client::Request.new(handlers, context)
9072
9078
  end
9073
9079
 
@@ -110,6 +110,7 @@ module Aws::WAFV2
110
110
  EntityName = Shapes::StringShape.new(name: 'EntityName')
111
111
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
112
112
  ErrorReason = Shapes::StringShape.new(name: 'ErrorReason')
113
+ EvaluationWindowSec = Shapes::IntegerShape.new(name: 'EvaluationWindowSec')
113
114
  ExcludedRule = Shapes::StructureShape.new(name: 'ExcludedRule')
114
115
  ExcludedRules = Shapes::ListShape.new(name: 'ExcludedRules')
115
116
  FailureCode = Shapes::IntegerShape.new(name: 'FailureCode')
@@ -1215,6 +1216,7 @@ module Aws::WAFV2
1215
1216
  QueryString.struct_class = Types::QueryString
1216
1217
 
1217
1218
  RateBasedStatement.add_member(:limit, Shapes::ShapeRef.new(shape: RateLimit, required: true, location_name: "Limit"))
1219
+ RateBasedStatement.add_member(:evaluation_window_sec, Shapes::ShapeRef.new(shape: EvaluationWindowSec, location_name: "EvaluationWindowSec"))
1218
1220
  RateBasedStatement.add_member(:aggregate_key_type, Shapes::ShapeRef.new(shape: RateBasedStatementAggregateKeyType, required: true, location_name: "AggregateKeyType"))
1219
1221
  RateBasedStatement.add_member(:scope_down_statement, Shapes::ShapeRef.new(shape: Statement, location_name: "ScopeDownStatement"))
1220
1222
  RateBasedStatement.add_member(:forwarded_ip_config, Shapes::ShapeRef.new(shape: ForwardedIPConfig, location_name: "ForwardedIPConfig"))
@@ -6161,6 +6161,20 @@ module Aws::WAFV2
6161
6161
  # method, city pair.
6162
6162
  # @return [Integer]
6163
6163
  #
6164
+ # @!attribute [rw] evaluation_window_sec
6165
+ # The amount of time, in seconds, that WAF should include in its
6166
+ # request counts, looking back from the current time. For example, for
6167
+ # a setting of 120, when WAF checks the rate, it counts the requests
6168
+ # for the 2 minutes immediately preceding the current time. Valid
6169
+ # settings are 60, 120, 300, and 600.
6170
+ #
6171
+ # This setting doesn't determine how often WAF checks the rate, but
6172
+ # how far back it looks each time it checks. WAF checks the rate about
6173
+ # every 10 seconds.
6174
+ #
6175
+ # Default: `300` (5 minutes)
6176
+ # @return [Integer]
6177
+ #
6164
6178
  # @!attribute [rw] aggregate_key_type
6165
6179
  # Setting that indicates how to aggregate the request counts.
6166
6180
  #
@@ -6240,6 +6254,7 @@ module Aws::WAFV2
6240
6254
  #
6241
6255
  class RateBasedStatement < Struct.new(
6242
6256
  :limit,
6257
+ :evaluation_window_sec,
6243
6258
  :aggregate_key_type,
6244
6259
  :scope_down_statement,
6245
6260
  :forwarded_ip_config,
data/lib/aws-sdk-wafv2.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-wafv2/customizations'
52
52
  # @!group service
53
53
  module Aws::WAFV2
54
54
 
55
- GEM_VERSION = '1.76.0'
55
+ GEM_VERSION = '1.77.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -500,6 +500,7 @@ module Aws
500
500
  }?,
501
501
  rate_based_statement: {
502
502
  limit: ::Integer,
503
+ evaluation_window_sec: ::Integer?,
503
504
  aggregate_key_type: ("IP" | "FORWARDED_IP" | "CUSTOM_KEYS" | "CONSTANT"),
504
505
  scope_down_statement: untyped?,
505
506
  forwarded_ip_config: {
@@ -1378,6 +1379,7 @@ module Aws
1378
1379
  }?,
1379
1380
  rate_based_statement: {
1380
1381
  limit: ::Integer,
1382
+ evaluation_window_sec: ::Integer?,
1381
1383
  aggregate_key_type: ("IP" | "FORWARDED_IP" | "CUSTOM_KEYS" | "CONSTANT"),
1382
1384
  scope_down_statement: untyped?,
1383
1385
  forwarded_ip_config: {
@@ -2240,6 +2242,7 @@ module Aws
2240
2242
  }?,
2241
2243
  rate_based_statement: {
2242
2244
  limit: ::Integer,
2245
+ evaluation_window_sec: ::Integer?,
2243
2246
  aggregate_key_type: ("IP" | "FORWARDED_IP" | "CUSTOM_KEYS" | "CONSTANT"),
2244
2247
  scope_down_statement: untyped?,
2245
2248
  forwarded_ip_config: {
@@ -3748,6 +3751,7 @@ module Aws
3748
3751
  }?,
3749
3752
  rate_based_statement: {
3750
3753
  limit: ::Integer,
3754
+ evaluation_window_sec: ::Integer?,
3751
3755
  aggregate_key_type: ("IP" | "FORWARDED_IP" | "CUSTOM_KEYS" | "CONSTANT"),
3752
3756
  scope_down_statement: untyped?,
3753
3757
  forwarded_ip_config: {
@@ -4606,6 +4610,7 @@ module Aws
4606
4610
  }?,
4607
4611
  rate_based_statement: {
4608
4612
  limit: ::Integer,
4613
+ evaluation_window_sec: ::Integer?,
4609
4614
  aggregate_key_type: ("IP" | "FORWARDED_IP" | "CUSTOM_KEYS" | "CONSTANT"),
4610
4615
  scope_down_statement: untyped?,
4611
4616
  forwarded_ip_config: {
data/sig/types.rbs CHANGED
@@ -1069,6 +1069,7 @@ module Aws::WAFV2
1069
1069
 
1070
1070
  class RateBasedStatement
1071
1071
  attr_accessor limit: ::Integer
1072
+ attr_accessor evaluation_window_sec: ::Integer
1072
1073
  attr_accessor aggregate_key_type: ("IP" | "FORWARDED_IP" | "CUSTOM_KEYS" | "CONSTANT")
1073
1074
  attr_accessor scope_down_statement: Types::Statement
1074
1075
  attr_accessor forwarded_ip_config: Types::ForwardedIPConfig
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-wafv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.76.0
4
+ version: 1.77.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-06 00:00:00.000000000 Z
11
+ date: 2024-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core