aws-sdk-wafv2 1.17.0 → 1.18.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: e81be76311521caa9214cff82ed66b281bb864b12f5d6c59485e35f6344ea9e8
4
- data.tar.gz: 9f461befed653e19170856fff48174ac6c8b6624bca05fbff243b2668f885b03
3
+ metadata.gz: c309b8c7a07984557361cc17143609368eda034de8b5cd1ba0fe298f6f470853
4
+ data.tar.gz: a746cf9b8fc065a82603c58c9a40a65c55138f15a3a28ea12e7ad1cdb1ca400b
5
5
  SHA512:
6
- metadata.gz: f977488eef64db1576b8cb28c18896d846cae15b11c977152b7ba8507735c3ba32aae41cc901dad1a8637e5e013a61c4a37fc9cda92f7a88a0cf312c27ee3552
7
- data.tar.gz: d52063f5d0df6881cfdcc5f354b188b46232d9e53bb35c6513a3d6d481988da423ad92806be340c32412e2bbaad929cc9d2fc60b57b084c870b4a33d81ecbe6d
6
+ metadata.gz: ac3e7c4e8c5ba3bc8e779b00911a0aa7b2ea2900e6532a39a0379ce72338b754156626e603428ea4b85f97a2539818238f1b147644fe57dad9408d74446e032a
7
+ data.tar.gz: 888ee1834a2ed4eaa23a1b50acff42850d9cce5733404c9476d626f645a6e75f164ec4b42486ab14355293f17e77c2ba1d507df01139dae2aaadd516a1b02953
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.18.0 (2021-03-11)
5
+ ------------------
6
+
7
+ * Feature - Correct the documentation about JSON body parsing behavior and IP set update behavior
8
+
4
9
  1.17.0 (2021-03-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.17.0
1
+ 1.18.0
data/lib/aws-sdk-wafv2.rb CHANGED
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-wafv2/customizations'
48
48
  # @!group service
49
49
  module Aws::WAFV2
50
50
 
51
- GEM_VERSION = '1.17.0'
51
+ GEM_VERSION = '1.18.0'
52
52
 
53
53
  end
@@ -745,8 +745,8 @@ module Aws::WAFV2
745
745
  # @option params [required, Array<String>] :addresses
746
746
  # Contains an array of strings that specify one or more IP addresses or
747
747
  # blocks of IP addresses in Classless Inter-Domain Routing (CIDR)
748
- # notation. AWS WAF supports all address ranges for IP versions IPv4 and
749
- # IPv6.
748
+ # notation. AWS WAF supports all IPv4 and IPv6 CIDR ranges except for
749
+ # /0.
750
750
  #
751
751
  # Examples:
752
752
  #
@@ -3537,6 +3537,14 @@ module Aws::WAFV2
3537
3537
 
3538
3538
  # Updates the specified IPSet.
3539
3539
  #
3540
+ # <note markdown="1"> This operation completely replaces any IP address specifications that
3541
+ # you already have in the IP set with the ones that you provide to this
3542
+ # call. If you want to add to or modify the addresses that are already
3543
+ # in the IP set, retrieve those by calling GetIPSet, update them, and
3544
+ # provide the complete updated array of IP addresses to this call.
3545
+ #
3546
+ # </note>
3547
+ #
3540
3548
  # @option params [required, String] :name
3541
3549
  # The name of the IP set. You cannot change the name of an `IPSet` after
3542
3550
  # you create it.
@@ -3566,8 +3574,8 @@ module Aws::WAFV2
3566
3574
  # @option params [required, Array<String>] :addresses
3567
3575
  # Contains an array of strings that specify one or more IP addresses or
3568
3576
  # blocks of IP addresses in Classless Inter-Domain Routing (CIDR)
3569
- # notation. AWS WAF supports all address ranges for IP versions IPv4 and
3570
- # IPv6.
3577
+ # notation. AWS WAF supports all IPv4 and IPv6 CIDR ranges except for
3578
+ # /0.
3571
3579
  #
3572
3580
  # Examples:
3573
3581
  #
@@ -4442,7 +4450,7 @@ module Aws::WAFV2
4442
4450
  params: params,
4443
4451
  config: config)
4444
4452
  context[:gem_name] = 'aws-sdk-wafv2'
4445
- context[:gem_version] = '1.17.0'
4453
+ context[:gem_version] = '1.18.0'
4446
4454
  Seahorse::Client::Request.new(handlers, context)
4447
4455
  end
4448
4456
 
@@ -902,8 +902,8 @@ module Aws::WAFV2
902
902
  # @!attribute [rw] addresses
903
903
  # Contains an array of strings that specify one or more IP addresses
904
904
  # or blocks of IP addresses in Classless Inter-Domain Routing (CIDR)
905
- # notation. AWS WAF supports all address ranges for IP versions IPv4
906
- # and IPv6.
905
+ # notation. AWS WAF supports all IPv4 and IPv6 CIDR ranges except for
906
+ # /0.
907
907
  #
908
908
  # Examples:
909
909
  #
@@ -2347,6 +2347,8 @@ module Aws::WAFV2
2347
2347
  # Inspect a single header. Provide the name of the header to inspect,
2348
2348
  # for example, `User-Agent` or `Referer`. This setting isn't case
2349
2349
  # sensitive.
2350
+ #
2351
+ # Example JSON: `"SingleHeader": \{ "Name": "haystack" \}`
2350
2352
  # @return [Types::SingleHeader]
2351
2353
  #
2352
2354
  # @!attribute [rw] single_query_argument
@@ -2356,6 +2358,8 @@ module Aws::WAFV2
2356
2358
  #
2357
2359
  # This is used only to indicate the web request component for AWS WAF
2358
2360
  # to inspect, in the FieldToMatch specification.
2361
+ #
2362
+ # Example JSON: `"SingleQueryArgument": \{ "Name": "myArgument" \}`
2359
2363
  # @return [Types::SingleQueryArgument]
2360
2364
  #
2361
2365
  # @!attribute [rw] all_query_arguments
@@ -3245,8 +3249,9 @@ module Aws::WAFV2
3245
3249
 
3246
3250
  # Contains one or more IP addresses or blocks of IP addresses specified
3247
3251
  # in Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports
3248
- # any CIDR range. For information about CIDR notation, see the Wikipedia
3249
- # entry [Classless Inter-Domain Routing][1].
3252
+ # all IPv4 and IPv6 CIDR ranges except for /0. For information about
3253
+ # CIDR notation, see the Wikipedia entry [Classless Inter-Domain
3254
+ # Routing][1].
3250
3255
  #
3251
3256
  # AWS WAF assigns an ARN to each `IPSet` that you create. To use an IP
3252
3257
  # set in a rule, you provide the ARN to the Rule statement
@@ -3282,8 +3287,8 @@ module Aws::WAFV2
3282
3287
  # @!attribute [rw] addresses
3283
3288
  # Contains an array of strings that specify one or more IP addresses
3284
3289
  # or blocks of IP addresses in Classless Inter-Domain Routing (CIDR)
3285
- # notation. AWS WAF supports all address ranges for IP versions IPv4
3286
- # and IPv6.
3290
+ # notation. AWS WAF supports all IPv4 and IPv6 CIDR ranges except for
3291
+ # /0.
3287
3292
  #
3288
3293
  # Examples:
3289
3294
  #
@@ -3539,12 +3544,12 @@ module Aws::WAFV2
3539
3544
  # @return [String]
3540
3545
  #
3541
3546
  # @!attribute [rw] invalid_fallback_behavior
3542
- # The inspection behavior to fall back to if the JSON in the request
3543
- # body is invalid. For AWS WAF, invalid JSON is any content that
3544
- # isn't complete syntactical JSON, content whose root node isn't an
3545
- # object or an array, and duplicate keys in the content.
3547
+ # What AWS WAF should do if it fails to completely parse the JSON
3548
+ # body. The options are the following:
3546
3549
  #
3547
- # You can specify the following fallback behaviors:
3550
+ # * `EVALUATE_AS_STRING` - Inspect the body as plain text. AWS WAF
3551
+ # applies the text transformations and inspection criteria that you
3552
+ # defined for the JSON inspection to the body text string.
3548
3553
  #
3549
3554
  # * `MATCH` - Treat the web request as matching the rule statement.
3550
3555
  # AWS WAF applies the rule action to the request.
@@ -3552,13 +3557,22 @@ module Aws::WAFV2
3552
3557
  # * `NO_MATCH` - Treat the web request as not matching the rule
3553
3558
  # statement.
3554
3559
  #
3555
- # * `EVALUATE_AS_STRING` - Inspect the body as plain text. This option
3556
- # applies the text transformations and inspection criteria that you
3557
- # defined for the JSON inspection to the body text string.
3560
+ # If you don't provide this setting, AWS WAF parses and evaluates the
3561
+ # content only up to the first parsing failure that it encounters.
3562
+ #
3563
+ # AWS WAF does its best to parse the entire JSON body, but might be
3564
+ # forced to stop for reasons such as invalid characters, duplicate
3565
+ # keys, truncation, and any content whose root node isn't an object
3566
+ # or an array.
3567
+ #
3568
+ # AWS WAF parses the JSON in the following examples as two valid key,
3569
+ # value pairs:
3570
+ #
3571
+ # * Missing comma: `\{"key1":"value1""key2":"value2"\}`
3572
+ #
3573
+ # * Missing colon: `\{"key1":"value1","key2""value2"\}`
3558
3574
  #
3559
- # If you don't provide this setting, when AWS WAF encounters invalid
3560
- # JSON, it parses and inspects what it can, up to the first invalid
3561
- # JSON that it encounters.
3575
+ # * Extra colons: `\{"key1"::"value1","key2""value2"\}`
3562
3576
  # @return [String]
3563
3577
  #
3564
3578
  # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/JsonBody AWS API Documentation
@@ -8106,8 +8120,8 @@ module Aws::WAFV2
8106
8120
  # @!attribute [rw] addresses
8107
8121
  # Contains an array of strings that specify one or more IP addresses
8108
8122
  # or blocks of IP addresses in Classless Inter-Domain Routing (CIDR)
8109
- # notation. AWS WAF supports all address ranges for IP versions IPv4
8110
- # and IPv6.
8123
+ # notation. AWS WAF supports all IPv4 and IPv6 CIDR ranges except for
8124
+ # /0.
8111
8125
  #
8112
8126
  # Examples:
8113
8127
  #
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.17.0
4
+ version: 1.18.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: 2021-03-10 00:00:00.000000000 Z
11
+ date: 2021-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core