aws-sdk-wafv2 1.46.0 → 1.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5f125dedaa281f390b1d27cfaf0b82ea17b4bfcde9dfa53693faf8825e24208c
4
- data.tar.gz: 1799cc1d60d56d0d231f6eae1d3e4c25e25f26737c4ddc9e1a7d29b734437ab3
3
+ metadata.gz: 960b988b9949275485163b7947eb4b36cba6a408fa00fca07b1c0ea9382c0471
4
+ data.tar.gz: f56cbb0272a221a37c7b4cf29901cbc63cdc216f075eca3b2671d3ad04b2caff
5
5
  SHA512:
6
- metadata.gz: b4082f17c50e95dc5e054d0458d67b2620e2cd08cfcda3163da8cec7e456e08c95138f5f1cbda64a98fad8ac1b9ae295eeb390bb4b243003e90e4e9f126410b2
7
- data.tar.gz: bb432bf59fad2f4aad77d1f0321194789574d3d6591d584b70b44b9735ade5c7151906779124d33f340426de9cedbb5c34cbea58902f2645e3d76e4164748ffb
6
+ metadata.gz: ddadf8ab33aed3c00d2c5fbd0444de6758abc6515824e7155cd4deceaf83970d21c6a04c2246f3a32a5f6be97d24a6c91d51c01a3cfe910a072e8555c2d81e1a
7
+ data.tar.gz: 292707fda25b8c3f6b4ad01abb84cdd68e01748691129cec6ed0272be226462d8fe6a0b7325ae57e7be53f42693cead9cd8a27824f0221d8302b2a9ac148e2c9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.47.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Improved the visibility of the guidance for updating AWS WAF resources, such as web ACLs and rule groups.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.46.0 (2022-12-12)
5
12
  ------------------
6
13
 
@@ -240,4 +247,4 @@ Unreleased Changes
240
247
  1.0.0 (2019-11-25)
241
248
  ------------------
242
249
 
243
- * Feature - Initial release of `aws-sdk-wafv2`.
250
+ * Feature - Initial release of `aws-sdk-wafv2`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.46.0
1
+ 1.47.0
@@ -4212,8 +4212,8 @@ module Aws::WAFV2
4212
4212
  # sample of requests.
4213
4213
  #
4214
4214
  # @option params [required, String] :rule_metric_name
4215
- # The metric name assigned to the `Rule` or `RuleGroup` for which you
4216
- # want a sample of requests.
4215
+ # The metric name assigned to the `Rule` or `RuleGroup` dimension for
4216
+ # which you want a sample of requests.
4217
4217
  #
4218
4218
  # @option params [required, String] :scope
4219
4219
  # Specifies whether this is for an Amazon CloudFront distribution or for
@@ -6650,6 +6650,21 @@ module Aws::WAFV2
6650
6650
  # Enables the specified LoggingConfiguration, to start logging from a
6651
6651
  # web ACL, according to the configuration provided.
6652
6652
  #
6653
+ # <note markdown="1"> This operation completely replaces any mutable specifications that you
6654
+ # already have for a logging configuration with the ones that you
6655
+ # provide to this call.
6656
+ #
6657
+ # To modify an existing logging configuration, do the following:
6658
+ #
6659
+ # 1. Retrieve it by calling GetLoggingConfiguration
6660
+ #
6661
+ # 2. Update its settings as needed
6662
+ #
6663
+ # 3. Provide the complete logging configuration specification to this
6664
+ # call
6665
+ #
6666
+ # </note>
6667
+ #
6653
6668
  # <note markdown="1"> You can define one logging destination per web ACL.
6654
6669
  #
6655
6670
  # </note>
@@ -6682,15 +6697,6 @@ module Aws::WAFV2
6682
6697
  # For additional information about web ACL logging, see [Logging web ACL
6683
6698
  # traffic information][1] in the *WAF Developer Guide*.
6684
6699
  #
6685
- # <note markdown="1"> This operation completely replaces the mutable specifications that you
6686
- # already have for the logging configuration with the ones that you
6687
- # provide to this call. To modify the logging configuration, retrieve it
6688
- # by calling GetLoggingConfiguration, update the settings as needed, and
6689
- # then provide the complete logging configuration specification to this
6690
- # call.
6691
- #
6692
- # </note>
6693
- #
6694
6700
  #
6695
6701
  #
6696
6702
  # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/logging.html
@@ -7068,9 +7074,15 @@ module Aws::WAFV2
7068
7074
  #
7069
7075
  # <note markdown="1"> This operation completely replaces the mutable specifications that you
7070
7076
  # already have for the IP set with the ones that you provide to this
7071
- # call. To modify the IP set, retrieve it by calling GetIPSet, update
7072
- # the settings as needed, and then provide the complete IP set
7073
- # specification to this call.
7077
+ # call.
7078
+ #
7079
+ # To modify an IP set, do the following:
7080
+ #
7081
+ # 1. Retrieve it by calling GetIPSet
7082
+ #
7083
+ # 2. Update its settings as needed
7084
+ #
7085
+ # 3. Provide the complete IP set specification to this call
7074
7086
  #
7075
7087
  # </note>
7076
7088
  #
@@ -7293,9 +7305,15 @@ module Aws::WAFV2
7293
7305
  #
7294
7306
  # <note markdown="1"> This operation completely replaces the mutable specifications that you
7295
7307
  # already have for the regex pattern set with the ones that you provide
7296
- # to this call. To modify the regex pattern set, retrieve it by calling
7297
- # GetRegexPatternSet, update the settings as needed, and then provide
7298
- # the complete regex pattern set specification to this call.
7308
+ # to this call.
7309
+ #
7310
+ # To modify a regex pattern set, do the following:
7311
+ #
7312
+ # 1. Retrieve it by calling GetRegexPatternSet
7313
+ #
7314
+ # 2. Update its settings as needed
7315
+ #
7316
+ # 3. Provide the complete regex pattern set specification to this call
7299
7317
  #
7300
7318
  # </note>
7301
7319
  #
@@ -7387,9 +7405,15 @@ module Aws::WAFV2
7387
7405
  #
7388
7406
  # <note markdown="1"> This operation completely replaces the mutable specifications that you
7389
7407
  # already have for the rule group with the ones that you provide to this
7390
- # call. To modify the rule group, retrieve it by calling GetRuleGroup,
7391
- # update the settings as needed, and then provide the complete rule
7392
- # group specification to this call.
7408
+ # call.
7409
+ #
7410
+ # To modify a rule group, do the following:
7411
+ #
7412
+ # 1. Retrieve it by calling GetRuleGroup
7413
+ #
7414
+ # 2. Update its settings as needed
7415
+ #
7416
+ # 3. Provide the complete rule group specification to this call
7393
7417
  #
7394
7418
  # </note>
7395
7419
  #
@@ -8169,6 +8193,20 @@ module Aws::WAFV2
8169
8193
  # continuous coverage to the resources that you have associated with the
8170
8194
  # web ACL.
8171
8195
  #
8196
+ # <note markdown="1"> This operation completely replaces the mutable specifications that you
8197
+ # already have for the web ACL with the ones that you provide to this
8198
+ # call.
8199
+ #
8200
+ # To modify a web ACL, do the following:
8201
+ #
8202
+ # 1. Retrieve it by calling GetWebACL
8203
+ #
8204
+ # 2. Update its settings as needed
8205
+ #
8206
+ # 3. Provide the complete web ACL specification to this call
8207
+ #
8208
+ # </note>
8209
+ #
8172
8210
  # When you make changes to web ACLs or web ACL components, like rules
8173
8211
  # and rule groups, WAF propagates the changes everywhere that the web
8174
8212
  # ACL and its components are stored and used. Your changes are applied
@@ -8183,14 +8221,6 @@ module Aws::WAFV2
8183
8221
  # change a web ACL that is already associated with a resource.
8184
8222
  # Generally, any inconsistencies of this type last only a few seconds.
8185
8223
  #
8186
- # <note markdown="1"> This operation completely replaces the mutable specifications that you
8187
- # already have for the web ACL with the ones that you provide to this
8188
- # call. To modify the web ACL, retrieve it by calling GetWebACL, update
8189
- # the settings as needed, and then provide the complete web ACL
8190
- # specification to this call.
8191
- #
8192
- # </note>
8193
- #
8194
8224
  # A web ACL defines a collection of rules to use to inspect and control
8195
8225
  # web requests. Each rule has an action defined (allow, block, or count)
8196
8226
  # for requests that match the statement of the rule. In the web ACL, you
@@ -9032,7 +9062,7 @@ module Aws::WAFV2
9032
9062
  params: params,
9033
9063
  config: config)
9034
9064
  context[:gem_name] = 'aws-sdk-wafv2'
9035
- context[:gem_version] = '1.46.0'
9065
+ context[:gem_version] = '1.47.0'
9036
9066
  Seahorse::Client::Request.new(handlers, context)
9037
9067
  end
9038
9068
 
@@ -9,102 +9,43 @@
9
9
 
10
10
  module Aws::WAFV2
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://wafv2-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://wafv2-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://wafv2.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://wafv2.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
33
- YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
34
- ZXF1ZXN0LiIsInR5cGUiOiJTdHJpbmcifSwiVXNlRHVhbFN0YWNrIjp7ImJ1
35
- aWx0SW4iOiJBV1M6OlVzZUR1YWxTdGFjayIsInJlcXVpcmVkIjp0cnVlLCJk
36
- ZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRhdGlvbiI6IldoZW4gdHJ1ZSwgdXNl
37
- IHRoZSBkdWFsLXN0YWNrIGVuZHBvaW50LiBJZiB0aGUgY29uZmlndXJlZCBl
38
- bmRwb2ludCBkb2VzIG5vdCBzdXBwb3J0IGR1YWwtc3RhY2ssIGRpc3BhdGNo
39
- aW5nIHRoZSByZXF1ZXN0IE1BWSByZXR1cm4gYW4gZXJyb3IuIiwidHlwZSI6
40
- IkJvb2xlYW4ifSwiVXNlRklQUyI6eyJidWlsdEluIjoiQVdTOjpVc2VGSVBT
41
- Iiwicm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574
2574
  # @return [String]
2575
2575
  #
2576
2576
  # @!attribute [rw] rule_metric_name
2577
- # The metric name assigned to the `Rule` or `RuleGroup` for which you
2578
- # want a sample of requests.
2577
+ # The metric name assigned to the `Rule` or `RuleGroup` dimension for
2578
+ # which you want a sample of requests.
2579
2579
  # @return [String]
2580
2580
  #
2581
2581
  # @!attribute [rw] scope
@@ -7084,11 +7084,11 @@ module Aws::WAFV2
7084
7084
  # @return [Boolean]
7085
7085
  #
7086
7086
  # @!attribute [rw] metric_name
7087
- # A name of the Amazon CloudWatch metric. The name can contain only
7088
- # the characters: A-Z, a-z, 0-9, - (hyphen), and \_ (underscore). The
7089
- # name can be from one to 128 characters long. It can't contain
7090
- # whitespace or metric names reserved for WAF, for example `All` and
7091
- # `Default_Action`.
7087
+ # A name of the Amazon CloudWatch metric dimension. The name can
7088
+ # contain only the characters: A-Z, a-z, 0-9, - (hyphen), and \_
7089
+ # (underscore). The name can be from one to 128 characters long. It
7090
+ # can't contain whitespace or metric names that are reserved for WAF,
7091
+ # for example `All` and `Default_Action`.
7092
7092
  # @return [String]
7093
7093
  #
7094
7094
  # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/VisibilityConfig AWS API Documentation
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.46.0'
55
+ GEM_VERSION = '1.47.0'
56
56
 
57
57
  end
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.46.0
4
+ version: 1.47.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: 2022-12-12 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core