aws-sdk-wafv2 1.12.0 → 1.17.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: 6066816c316eacdf9b71cf50c9f43997b3d10d492d4ebeb62281172630307e19
4
- data.tar.gz: a0830f4262fa33c9cf8f159354a894ff3cafc7dedf88cb08d162bfc9607cfe2e
3
+ metadata.gz: e81be76311521caa9214cff82ed66b281bb864b12f5d6c59485e35f6344ea9e8
4
+ data.tar.gz: 9f461befed653e19170856fff48174ac6c8b6624bca05fbff243b2668f885b03
5
5
  SHA512:
6
- metadata.gz: 25e5395b9fb7bcc17b1686fa8dbd04a8cae87ad97ef9e278266a6a363f598492a4bf973810e2fe9eaf5e46369fc63f0d069769eec327b4b534fbb14dcb2e4854
7
- data.tar.gz: eac3181a6e57ca790cf947bd5968e77e1ba89d2e7f80fef35076ef6c6e41bf9c0f22a4bb4af59afdbfe63bf5ef06068c9e6cdde68942a0bbab394df0123b5d00
6
+ metadata.gz: f977488eef64db1576b8cb28c18896d846cae15b11c977152b7ba8507735c3ba32aae41cc901dad1a8637e5e013a61c4a37fc9cda92f7a88a0cf312c27ee3552
7
+ data.tar.gz: d52063f5d0df6881cfdcc5f354b188b46232d9e53bb35c6513a3d6d481988da423ad92806be340c32412e2bbaad929cc9d2fc60b57b084c870b4a33d81ecbe6d
data/CHANGELOG.md ADDED
@@ -0,0 +1,98 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.17.0 (2021-03-10)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.16.0 (2021-02-12)
10
+ ------------------
11
+
12
+ * Feature - Added the option to inspect the web request body as parsed and filtered JSON (new FieldToMatch type JsonBody), in addition to the existing option to inspect the web request body as plain text.
13
+
14
+ 1.15.0 (2021-02-02)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.14.0 (2020-10-01)
20
+ ------------------
21
+
22
+ * Feature - AWS WAF is now available for AWS AppSync GraphQL APIs. AWS WAF protects against malicious attacks with AWS Managed Rules or your own custom rules. For more information see the AWS WAF Developer Guide.
23
+
24
+ 1.13.0 (2020-09-30)
25
+ ------------------
26
+
27
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
28
+
29
+ 1.12.0 (2020-09-15)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.11.0 (2020-08-25)
35
+ ------------------
36
+
37
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
38
+
39
+ 1.10.0 (2020-07-31)
40
+ ------------------
41
+
42
+ * Feature - Add ManagedByFirewallManager flag to the logging configuration, which indicates whether AWS Firewall Manager controls the configuration.
43
+
44
+ 1.9.0 (2020-07-09)
45
+ ------------------
46
+
47
+ * Feature - Added the option to use IP addresses from an HTTP header that you specify, instead of using the web request origin. Available for IP set matching, geo matching, and rate-based rule count aggregation.
48
+
49
+ 1.8.0 (2020-07-02)
50
+ ------------------
51
+
52
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
53
+
54
+ 1.7.0 (2020-06-23)
55
+ ------------------
56
+
57
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
58
+
59
+ 1.6.1 (2020-06-11)
60
+ ------------------
61
+
62
+ * Issue - Republish previous version with correct dependency on `aws-sdk-core`.
63
+
64
+ 1.6.0 (2020-06-10)
65
+ ------------------
66
+
67
+ * Issue - This version has been yanked. (#2327).
68
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
69
+
70
+ 1.5.0 (2020-05-28)
71
+ ------------------
72
+
73
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
74
+
75
+ 1.4.0 (2020-05-07)
76
+ ------------------
77
+
78
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
79
+
80
+ 1.3.0 (2020-03-31)
81
+ ------------------
82
+
83
+ * Feature - Added support for AWS Firewall Manager for WAFv2 and PermissionPolicy APIs for WAFv2.
84
+
85
+ 1.2.0 (2020-03-09)
86
+ ------------------
87
+
88
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
89
+
90
+ 1.1.0 (2020-02-21)
91
+ ------------------
92
+
93
+ * Feature - Documentation updates for AWS WAF (wafv2) to correct the guidance for associating a web ACL to a CloudFront distribution.
94
+
95
+ 1.0.0 (2019-11-25)
96
+ ------------------
97
+
98
+ * Feature - Initial release of `aws-sdk-wafv2`.
data/LICENSE.txt ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.17.0
data/lib/aws-sdk-wafv2.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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.12.0'
51
+ GEM_VERSION = '1.17.0'
52
52
 
53
53
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -337,27 +337,19 @@ module Aws::WAFV2
337
337
 
338
338
  # @!group API Operations
339
339
 
340
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
341
- # in November, 2019. For information, including how to migrate your AWS
342
- # WAF resources from the prior release, see the [AWS WAF Developer
343
- # Guide][1].
344
- #
345
- # </note>
346
- #
347
340
  # Associates a Web ACL with a regional application resource, to protect
348
341
  # the resource. A regional application can be an Application Load
349
- # Balancer (ALB) or an API Gateway stage.
342
+ # Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API.
350
343
  #
351
344
  # For AWS CloudFront, don't use this call. Instead, use your CloudFront
352
345
  # distribution configuration. To associate a Web ACL, in the CloudFront
353
346
  # call `UpdateDistribution`, set the web ACL ID to the Amazon Resource
354
347
  # Name (ARN) of the Web ACL. For information, see
355
- # [UpdateDistribution][2].
348
+ # [UpdateDistribution][1].
356
349
  #
357
350
  #
358
351
  #
359
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
360
- # [2]: https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html
352
+ # [1]: https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html
361
353
  #
362
354
  # @option params [required, String] :web_acl_arn
363
355
  # The Amazon Resource Name (ARN) of the Web ACL that you want to
@@ -373,9 +365,12 @@ module Aws::WAFV2
373
365
  # `arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id
374
366
  # `
375
367
  #
376
- # * For an Amazon API Gateway stage:
368
+ # * For an API Gateway REST API:
377
369
  # `arn:aws:apigateway:region::/restapis/api-id/stages/stage-name `
378
370
  #
371
+ # * For an AppSync GraphQL API:
372
+ # `arn:aws:appsync:region:account-id:apis/GraphQLApiId `
373
+ #
379
374
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
380
375
  #
381
376
  # @example Request syntax with placeholder values
@@ -394,13 +389,6 @@ module Aws::WAFV2
394
389
  req.send_request(options)
395
390
  end
396
391
 
397
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
398
- # in November, 2019. For information, including how to migrate your AWS
399
- # WAF resources from the prior release, see the [AWS WAF Developer
400
- # Guide][1].
401
- #
402
- # </note>
403
- #
404
392
  # Returns the web ACL capacity unit (WCU) requirements for a specified
405
393
  # scope and set of rules. You can use this to check the capacity
406
394
  # requirements for the rules you want to use in a RuleGroup or WebACL.
@@ -414,14 +402,11 @@ module Aws::WAFV2
414
402
  # web ACL WCU usage when they use a rule group. The WCU limit for web
415
403
  # ACLs is 1,500.
416
404
  #
417
- #
418
- #
419
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
420
- #
421
405
  # @option params [required, String] :scope
422
406
  # Specifies whether this is for an AWS CloudFront distribution or for a
423
407
  # regional application. A regional application can be an Application
424
- # Load Balancer (ALB) or an API Gateway stage.
408
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
409
+ # API.
425
410
  #
426
411
  # To work with CloudFront, you must also specify the Region US East (N.
427
412
  # Virginia) as follows:
@@ -467,6 +452,15 @@ module Aws::WAFV2
467
452
  # },
468
453
  # method: {
469
454
  # },
455
+ # json_body: {
456
+ # match_pattern: { # required
457
+ # all: {
458
+ # },
459
+ # included_paths: ["JsonPointerPath"],
460
+ # },
461
+ # match_scope: "ALL", # required, accepts ALL, KEY, VALUE
462
+ # invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
463
+ # },
470
464
  # },
471
465
  # text_transformations: [ # required
472
466
  # {
@@ -494,6 +488,15 @@ module Aws::WAFV2
494
488
  # },
495
489
  # method: {
496
490
  # },
491
+ # json_body: {
492
+ # match_pattern: { # required
493
+ # all: {
494
+ # },
495
+ # included_paths: ["JsonPointerPath"],
496
+ # },
497
+ # match_scope: "ALL", # required, accepts ALL, KEY, VALUE
498
+ # invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
499
+ # },
497
500
  # },
498
501
  # text_transformations: [ # required
499
502
  # {
@@ -520,6 +523,15 @@ module Aws::WAFV2
520
523
  # },
521
524
  # method: {
522
525
  # },
526
+ # json_body: {
527
+ # match_pattern: { # required
528
+ # all: {
529
+ # },
530
+ # included_paths: ["JsonPointerPath"],
531
+ # },
532
+ # match_scope: "ALL", # required, accepts ALL, KEY, VALUE
533
+ # invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
534
+ # },
523
535
  # },
524
536
  # text_transformations: [ # required
525
537
  # {
@@ -546,6 +558,15 @@ module Aws::WAFV2
546
558
  # },
547
559
  # method: {
548
560
  # },
561
+ # json_body: {
562
+ # match_pattern: { # required
563
+ # all: {
564
+ # },
565
+ # included_paths: ["JsonPointerPath"],
566
+ # },
567
+ # match_scope: "ALL", # required, accepts ALL, KEY, VALUE
568
+ # invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
569
+ # },
549
570
  # },
550
571
  # comparison_operator: "EQ", # required, accepts EQ, NE, LE, LT, GE, GT
551
572
  # size: 1, # required
@@ -598,6 +619,15 @@ module Aws::WAFV2
598
619
  # },
599
620
  # method: {
600
621
  # },
622
+ # json_body: {
623
+ # match_pattern: { # required
624
+ # all: {
625
+ # },
626
+ # included_paths: ["JsonPointerPath"],
627
+ # },
628
+ # match_scope: "ALL", # required, accepts ALL, KEY, VALUE
629
+ # invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
630
+ # },
601
631
  # },
602
632
  # text_transformations: [ # required
603
633
  # {
@@ -682,23 +712,12 @@ module Aws::WAFV2
682
712
  req.send_request(options)
683
713
  end
684
714
 
685
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
686
- # in November, 2019. For information, including how to migrate your AWS
687
- # WAF resources from the prior release, see the [AWS WAF Developer
688
- # Guide][1].
689
- #
690
- # </note>
691
- #
692
715
  # Creates an IPSet, which you use to identify web requests that
693
716
  # originate from specific IP addresses or ranges of IP addresses. For
694
717
  # example, if you're receiving a lot of requests from a ranges of IP
695
718
  # addresses, you can configure AWS WAF to block them using an IPSet that
696
719
  # lists those IP addresses.
697
720
  #
698
- #
699
- #
700
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
701
- #
702
721
  # @option params [required, String] :name
703
722
  # The name of the IP set. You cannot change the name of an `IPSet` after
704
723
  # you create it.
@@ -706,7 +725,8 @@ module Aws::WAFV2
706
725
  # @option params [required, String] :scope
707
726
  # Specifies whether this is for an AWS CloudFront distribution or for a
708
727
  # regional application. A regional application can be an Application
709
- # Load Balancer (ALB) or an API Gateway stage.
728
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
729
+ # API.
710
730
  #
711
731
  # To work with CloudFront, you must also specify the Region US East (N.
712
732
  # Virginia) as follows:
@@ -717,8 +737,7 @@ module Aws::WAFV2
717
737
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
718
738
  #
719
739
  # @option params [String] :description
720
- # A description of the IP set that helps with identification. You cannot
721
- # change the description of an IP set after you create it.
740
+ # A description of the IP set that helps with identification.
722
741
  #
723
742
  # @option params [required, String] :ip_address_version
724
743
  # Specify IPV4 or IPV6.
@@ -795,21 +814,10 @@ module Aws::WAFV2
795
814
  req.send_request(options)
796
815
  end
797
816
 
798
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
799
- # in November, 2019. For information, including how to migrate your AWS
800
- # WAF resources from the prior release, see the [AWS WAF Developer
801
- # Guide][1].
802
- #
803
- # </note>
804
- #
805
817
  # Creates a RegexPatternSet, which you reference in a
806
818
  # RegexPatternSetReferenceStatement, to have AWS WAF inspect a web
807
819
  # request component for the specified patterns.
808
820
  #
809
- #
810
- #
811
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
812
- #
813
821
  # @option params [required, String] :name
814
822
  # The name of the set. You cannot change the name after you create the
815
823
  # set.
@@ -817,7 +825,8 @@ module Aws::WAFV2
817
825
  # @option params [required, String] :scope
818
826
  # Specifies whether this is for an AWS CloudFront distribution or for a
819
827
  # regional application. A regional application can be an Application
820
- # Load Balancer (ALB) or an API Gateway stage.
828
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
829
+ # API.
821
830
  #
822
831
  # To work with CloudFront, you must also specify the Region US East (N.
823
832
  # Virginia) as follows:
@@ -828,8 +837,7 @@ module Aws::WAFV2
828
837
  # * API and SDKs - For all calls, use the Region endpoint us-east-1.
829
838
  #
830
839
  # @option params [String] :description
831
- # A description of the set that helps with identification. You cannot
832
- # change the description of a set after you create it.
840
+ # A description of the set that helps with identification.
833
841
  #
834
842
  # @option params [required, Array<Types::Regex>] :regular_expression_list
835
843
  # Array of regular expression strings.
@@ -877,13 +885,6 @@ module Aws::WAFV2
877
885
  req.send_request(options)
878
886
  end
879
887
 
880
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
881
- # in November, 2019. For information, including how to migrate your AWS
882
- # WAF resources from the prior release, see the [AWS WAF Developer
883
- # Guide][1].
884
- #
885
- # </note>
886
- #
887
888
  # Creates a RuleGroup per the specifications provided.
888
889
  #
889
890
  # A rule group defines a collection of rules to inspect and control web
@@ -892,10 +893,6 @@ module Aws::WAFV2
892
893
  # you must stay within the capacity. This allows others to reuse the
893
894
  # rule group with confidence in its capacity requirements.
894
895
  #
895
- #
896
- #
897
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
898
- #
899
896
  # @option params [required, String] :name
900
897
  # The name of the rule group. You cannot change the name of a rule group
901
898
  # after you create it.
@@ -903,7 +900,8 @@ module Aws::WAFV2
903
900
  # @option params [required, String] :scope
904
901
  # Specifies whether this is for an AWS CloudFront distribution or for a
905
902
  # regional application. A regional application can be an Application
906
- # Load Balancer (ALB) or an API Gateway stage.
903
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
904
+ # API.
907
905
  #
908
906
  # To work with CloudFront, you must also specify the Region US East (N.
909
907
  # Virginia) as follows:
@@ -931,8 +929,7 @@ module Aws::WAFV2
931
929
  # ACLs is 1,500.
932
930
  #
933
931
  # @option params [String] :description
934
- # A description of the rule group that helps with identification. You
935
- # cannot change the description of a rule group after you create it.
932
+ # A description of the rule group that helps with identification.
936
933
  #
937
934
  # @option params [Array<Types::Rule>] :rules
938
935
  # The Rule statements used to identify the web requests that you want to
@@ -982,6 +979,15 @@ module Aws::WAFV2
982
979
  # },
983
980
  # method: {
984
981
  # },
982
+ # json_body: {
983
+ # match_pattern: { # required
984
+ # all: {
985
+ # },
986
+ # included_paths: ["JsonPointerPath"],
987
+ # },
988
+ # match_scope: "ALL", # required, accepts ALL, KEY, VALUE
989
+ # invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
990
+ # },
985
991
  # },
986
992
  # text_transformations: [ # required
987
993
  # {
@@ -1009,6 +1015,15 @@ module Aws::WAFV2
1009
1015
  # },
1010
1016
  # method: {
1011
1017
  # },
1018
+ # json_body: {
1019
+ # match_pattern: { # required
1020
+ # all: {
1021
+ # },
1022
+ # included_paths: ["JsonPointerPath"],
1023
+ # },
1024
+ # match_scope: "ALL", # required, accepts ALL, KEY, VALUE
1025
+ # invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
1026
+ # },
1012
1027
  # },
1013
1028
  # text_transformations: [ # required
1014
1029
  # {
@@ -1035,6 +1050,15 @@ module Aws::WAFV2
1035
1050
  # },
1036
1051
  # method: {
1037
1052
  # },
1053
+ # json_body: {
1054
+ # match_pattern: { # required
1055
+ # all: {
1056
+ # },
1057
+ # included_paths: ["JsonPointerPath"],
1058
+ # },
1059
+ # match_scope: "ALL", # required, accepts ALL, KEY, VALUE
1060
+ # invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
1061
+ # },
1038
1062
  # },
1039
1063
  # text_transformations: [ # required
1040
1064
  # {
@@ -1061,6 +1085,15 @@ module Aws::WAFV2
1061
1085
  # },
1062
1086
  # method: {
1063
1087
  # },
1088
+ # json_body: {
1089
+ # match_pattern: { # required
1090
+ # all: {
1091
+ # },
1092
+ # included_paths: ["JsonPointerPath"],
1093
+ # },
1094
+ # match_scope: "ALL", # required, accepts ALL, KEY, VALUE
1095
+ # invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
1096
+ # },
1064
1097
  # },
1065
1098
  # comparison_operator: "EQ", # required, accepts EQ, NE, LE, LT, GE, GT
1066
1099
  # size: 1, # required
@@ -1113,6 +1146,15 @@ module Aws::WAFV2
1113
1146
  # },
1114
1147
  # method: {
1115
1148
  # },
1149
+ # json_body: {
1150
+ # match_pattern: { # required
1151
+ # all: {
1152
+ # },
1153
+ # included_paths: ["JsonPointerPath"],
1154
+ # },
1155
+ # match_scope: "ALL", # required, accepts ALL, KEY, VALUE
1156
+ # invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
1157
+ # },
1116
1158
  # },
1117
1159
  # text_transformations: [ # required
1118
1160
  # {
@@ -1212,13 +1254,6 @@ module Aws::WAFV2
1212
1254
  req.send_request(options)
1213
1255
  end
1214
1256
 
1215
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
1216
- # in November, 2019. For information, including how to migrate your AWS
1217
- # WAF resources from the prior release, see the [AWS WAF Developer
1218
- # Guide][1].
1219
- #
1220
- # </note>
1221
- #
1222
1257
  # Creates a WebACL per the specifications provided.
1223
1258
  #
1224
1259
  # A Web ACL defines a collection of rules to use to inspect and control
@@ -1228,12 +1263,8 @@ module Aws::WAFV2
1228
1263
  # does not match any of the rules. The rules in a Web ACL can be a
1229
1264
  # combination of the types Rule, RuleGroup, and managed rule group. You
1230
1265
  # can associate a Web ACL with one or more AWS resources to protect. The
1231
- # resources can be Amazon CloudFront, an Amazon API Gateway API, or an
1232
- # Application Load Balancer.
1233
- #
1234
- #
1235
- #
1236
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
1266
+ # resources can be Amazon CloudFront, an Amazon API Gateway REST API, an
1267
+ # Application Load Balancer, or an AWS AppSync GraphQL API.
1237
1268
  #
1238
1269
  # @option params [required, String] :name
1239
1270
  # The name of the Web ACL. You cannot change the name of a Web ACL after
@@ -1242,7 +1273,8 @@ module Aws::WAFV2
1242
1273
  # @option params [required, String] :scope
1243
1274
  # Specifies whether this is for an AWS CloudFront distribution or for a
1244
1275
  # regional application. A regional application can be an Application
1245
- # Load Balancer (ALB) or an API Gateway stage.
1276
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
1277
+ # API.
1246
1278
  #
1247
1279
  # To work with CloudFront, you must also specify the Region US East (N.
1248
1280
  # Virginia) as follows:
@@ -1257,8 +1289,7 @@ module Aws::WAFV2
1257
1289
  # match.
1258
1290
  #
1259
1291
  # @option params [String] :description
1260
- # A description of the Web ACL that helps with identification. You
1261
- # cannot change the description of a Web ACL after you create it.
1292
+ # A description of the Web ACL that helps with identification.
1262
1293
  #
1263
1294
  # @option params [Array<Types::Rule>] :rules
1264
1295
  # The Rule statements used to identify the web requests that you want to
@@ -1313,6 +1344,15 @@ module Aws::WAFV2
1313
1344
  # },
1314
1345
  # method: {
1315
1346
  # },
1347
+ # json_body: {
1348
+ # match_pattern: { # required
1349
+ # all: {
1350
+ # },
1351
+ # included_paths: ["JsonPointerPath"],
1352
+ # },
1353
+ # match_scope: "ALL", # required, accepts ALL, KEY, VALUE
1354
+ # invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
1355
+ # },
1316
1356
  # },
1317
1357
  # text_transformations: [ # required
1318
1358
  # {
@@ -1340,6 +1380,15 @@ module Aws::WAFV2
1340
1380
  # },
1341
1381
  # method: {
1342
1382
  # },
1383
+ # json_body: {
1384
+ # match_pattern: { # required
1385
+ # all: {
1386
+ # },
1387
+ # included_paths: ["JsonPointerPath"],
1388
+ # },
1389
+ # match_scope: "ALL", # required, accepts ALL, KEY, VALUE
1390
+ # invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
1391
+ # },
1343
1392
  # },
1344
1393
  # text_transformations: [ # required
1345
1394
  # {
@@ -1366,6 +1415,15 @@ module Aws::WAFV2
1366
1415
  # },
1367
1416
  # method: {
1368
1417
  # },
1418
+ # json_body: {
1419
+ # match_pattern: { # required
1420
+ # all: {
1421
+ # },
1422
+ # included_paths: ["JsonPointerPath"],
1423
+ # },
1424
+ # match_scope: "ALL", # required, accepts ALL, KEY, VALUE
1425
+ # invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
1426
+ # },
1369
1427
  # },
1370
1428
  # text_transformations: [ # required
1371
1429
  # {
@@ -1392,6 +1450,15 @@ module Aws::WAFV2
1392
1450
  # },
1393
1451
  # method: {
1394
1452
  # },
1453
+ # json_body: {
1454
+ # match_pattern: { # required
1455
+ # all: {
1456
+ # },
1457
+ # included_paths: ["JsonPointerPath"],
1458
+ # },
1459
+ # match_scope: "ALL", # required, accepts ALL, KEY, VALUE
1460
+ # invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
1461
+ # },
1395
1462
  # },
1396
1463
  # comparison_operator: "EQ", # required, accepts EQ, NE, LE, LT, GE, GT
1397
1464
  # size: 1, # required
@@ -1444,6 +1511,15 @@ module Aws::WAFV2
1444
1511
  # },
1445
1512
  # method: {
1446
1513
  # },
1514
+ # json_body: {
1515
+ # match_pattern: { # required
1516
+ # all: {
1517
+ # },
1518
+ # included_paths: ["JsonPointerPath"],
1519
+ # },
1520
+ # match_scope: "ALL", # required, accepts ALL, KEY, VALUE
1521
+ # invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
1522
+ # },
1447
1523
  # },
1448
1524
  # text_transformations: [ # required
1449
1525
  # {
@@ -1586,19 +1662,8 @@ module Aws::WAFV2
1586
1662
  req.send_request(options)
1587
1663
  end
1588
1664
 
1589
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
1590
- # in November, 2019. For information, including how to migrate your AWS
1591
- # WAF resources from the prior release, see the [AWS WAF Developer
1592
- # Guide][1].
1593
- #
1594
- # </note>
1595
- #
1596
1665
  # Deletes the specified IPSet.
1597
1666
  #
1598
- #
1599
- #
1600
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
1601
- #
1602
1667
  # @option params [required, String] :name
1603
1668
  # The name of the IP set. You cannot change the name of an `IPSet` after
1604
1669
  # you create it.
@@ -1606,7 +1671,8 @@ module Aws::WAFV2
1606
1671
  # @option params [required, String] :scope
1607
1672
  # Specifies whether this is for an AWS CloudFront distribution or for a
1608
1673
  # regional application. A regional application can be an Application
1609
- # Load Balancer (ALB) or an API Gateway stage.
1674
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
1675
+ # API.
1610
1676
  #
1611
1677
  # To work with CloudFront, you must also specify the Region US East (N.
1612
1678
  # Virginia) as follows:
@@ -1651,19 +1717,8 @@ module Aws::WAFV2
1651
1717
  req.send_request(options)
1652
1718
  end
1653
1719
 
1654
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
1655
- # in November, 2019. For information, including how to migrate your AWS
1656
- # WAF resources from the prior release, see the [AWS WAF Developer
1657
- # Guide][1].
1658
- #
1659
- # </note>
1660
- #
1661
1720
  # Deletes the LoggingConfiguration from the specified web ACL.
1662
1721
  #
1663
- #
1664
- #
1665
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
1666
- #
1667
1722
  # @option params [required, String] :resource_arn
1668
1723
  # The Amazon Resource Name (ARN) of the web ACL from which you want to
1669
1724
  # delete the LoggingConfiguration.
@@ -1712,19 +1767,8 @@ module Aws::WAFV2
1712
1767
  req.send_request(options)
1713
1768
  end
1714
1769
 
1715
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
1716
- # in November, 2019. For information, including how to migrate your AWS
1717
- # WAF resources from the prior release, see the [AWS WAF Developer
1718
- # Guide][1].
1719
- #
1720
- # </note>
1721
- #
1722
1770
  # Deletes the specified RegexPatternSet.
1723
1771
  #
1724
- #
1725
- #
1726
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
1727
- #
1728
1772
  # @option params [required, String] :name
1729
1773
  # The name of the set. You cannot change the name after you create the
1730
1774
  # set.
@@ -1732,7 +1776,8 @@ module Aws::WAFV2
1732
1776
  # @option params [required, String] :scope
1733
1777
  # Specifies whether this is for an AWS CloudFront distribution or for a
1734
1778
  # regional application. A regional application can be an Application
1735
- # Load Balancer (ALB) or an API Gateway stage.
1779
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
1780
+ # API.
1736
1781
  #
1737
1782
  # To work with CloudFront, you must also specify the Region US East (N.
1738
1783
  # Virginia) as follows:
@@ -1777,19 +1822,8 @@ module Aws::WAFV2
1777
1822
  req.send_request(options)
1778
1823
  end
1779
1824
 
1780
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
1781
- # in November, 2019. For information, including how to migrate your AWS
1782
- # WAF resources from the prior release, see the [AWS WAF Developer
1783
- # Guide][1].
1784
- #
1785
- # </note>
1786
- #
1787
1825
  # Deletes the specified RuleGroup.
1788
1826
  #
1789
- #
1790
- #
1791
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
1792
- #
1793
1827
  # @option params [required, String] :name
1794
1828
  # The name of the rule group. You cannot change the name of a rule group
1795
1829
  # after you create it.
@@ -1797,7 +1831,8 @@ module Aws::WAFV2
1797
1831
  # @option params [required, String] :scope
1798
1832
  # Specifies whether this is for an AWS CloudFront distribution or for a
1799
1833
  # regional application. A regional application can be an Application
1800
- # Load Balancer (ALB) or an API Gateway stage.
1834
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
1835
+ # API.
1801
1836
  #
1802
1837
  # To work with CloudFront, you must also specify the Region US East (N.
1803
1838
  # Virginia) as follows:
@@ -1842,22 +1877,11 @@ module Aws::WAFV2
1842
1877
  req.send_request(options)
1843
1878
  end
1844
1879
 
1845
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
1846
- # in November, 2019. For information, including how to migrate your AWS
1847
- # WAF resources from the prior release, see the [AWS WAF Developer
1848
- # Guide][1].
1849
- #
1850
- # </note>
1851
- #
1852
1880
  # Deletes the specified WebACL.
1853
1881
  #
1854
1882
  # You can only use this if `ManagedByFirewallManager` is false in the
1855
1883
  # specified WebACL.
1856
1884
  #
1857
- #
1858
- #
1859
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
1860
- #
1861
1885
  # @option params [required, String] :name
1862
1886
  # The name of the Web ACL. You cannot change the name of a Web ACL after
1863
1887
  # you create it.
@@ -1865,7 +1889,8 @@ module Aws::WAFV2
1865
1889
  # @option params [required, String] :scope
1866
1890
  # Specifies whether this is for an AWS CloudFront distribution or for a
1867
1891
  # regional application. A regional application can be an Application
1868
- # Load Balancer (ALB) or an API Gateway stage.
1892
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
1893
+ # API.
1869
1894
  #
1870
1895
  # To work with CloudFront, you must also specify the Region US East (N.
1871
1896
  # Virginia) as follows:
@@ -1910,20 +1935,9 @@ module Aws::WAFV2
1910
1935
  req.send_request(options)
1911
1936
  end
1912
1937
 
1913
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
1914
- # in November, 2019. For information, including how to migrate your AWS
1915
- # WAF resources from the prior release, see the [AWS WAF Developer
1916
- # Guide][1].
1917
- #
1918
- # </note>
1919
- #
1920
1938
  # Provides high-level information for a managed rule group, including
1921
1939
  # descriptions of the rules.
1922
1940
  #
1923
- #
1924
- #
1925
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
1926
- #
1927
1941
  # @option params [required, String] :vendor_name
1928
1942
  # The name of the managed rule group vendor. You use this, along with
1929
1943
  # the rule group name, to identify the rule group.
@@ -1935,7 +1949,8 @@ module Aws::WAFV2
1935
1949
  # @option params [required, String] :scope
1936
1950
  # Specifies whether this is for an AWS CloudFront distribution or for a
1937
1951
  # regional application. A regional application can be an Application
1938
- # Load Balancer (ALB) or an API Gateway stage.
1952
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
1953
+ # API.
1939
1954
  #
1940
1955
  # To work with CloudFront, you must also specify the Region US East (N.
1941
1956
  # Virginia) as follows:
@@ -1973,26 +1988,18 @@ module Aws::WAFV2
1973
1988
  req.send_request(options)
1974
1989
  end
1975
1990
 
1976
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
1977
- # in November, 2019. For information, including how to migrate your AWS
1978
- # WAF resources from the prior release, see the [AWS WAF Developer
1979
- # Guide][1].
1980
- #
1981
- # </note>
1982
- #
1983
1991
  # Disassociates a Web ACL from a regional application resource. A
1984
- # regional application can be an Application Load Balancer (ALB) or an
1985
- # API Gateway stage.
1992
+ # regional application can be an Application Load Balancer (ALB), an API
1993
+ # Gateway REST API, or an AppSync GraphQL API.
1986
1994
  #
1987
1995
  # For AWS CloudFront, don't use this call. Instead, use your CloudFront
1988
1996
  # distribution configuration. To disassociate a Web ACL, provide an
1989
1997
  # empty web ACL ID in the CloudFront call `UpdateDistribution`. For
1990
- # information, see [UpdateDistribution][2].
1998
+ # information, see [UpdateDistribution][1].
1991
1999
  #
1992
2000
  #
1993
2001
  #
1994
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
1995
- # [2]: https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html
2002
+ # [1]: https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html
1996
2003
  #
1997
2004
  # @option params [required, String] :resource_arn
1998
2005
  # The Amazon Resource Name (ARN) of the resource to disassociate from
@@ -2004,9 +2011,12 @@ module Aws::WAFV2
2004
2011
  # `arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id
2005
2012
  # `
2006
2013
  #
2007
- # * For an Amazon API Gateway stage:
2014
+ # * For an API Gateway REST API:
2008
2015
  # `arn:aws:apigateway:region::/restapis/api-id/stages/stage-name `
2009
2016
  #
2017
+ # * For an AppSync GraphQL API:
2018
+ # `arn:aws:appsync:region:account-id:apis/GraphQLApiId `
2019
+ #
2010
2020
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2011
2021
  #
2012
2022
  # @example Request syntax with placeholder values
@@ -2024,19 +2034,8 @@ module Aws::WAFV2
2024
2034
  req.send_request(options)
2025
2035
  end
2026
2036
 
2027
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
2028
- # in November, 2019. For information, including how to migrate your AWS
2029
- # WAF resources from the prior release, see the [AWS WAF Developer
2030
- # Guide][1].
2031
- #
2032
- # </note>
2033
- #
2034
2037
  # Retrieves the specified IPSet.
2035
2038
  #
2036
- #
2037
- #
2038
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
2039
- #
2040
2039
  # @option params [required, String] :name
2041
2040
  # The name of the IP set. You cannot change the name of an `IPSet` after
2042
2041
  # you create it.
@@ -2044,7 +2043,8 @@ module Aws::WAFV2
2044
2043
  # @option params [required, String] :scope
2045
2044
  # Specifies whether this is for an AWS CloudFront distribution or for a
2046
2045
  # regional application. A regional application can be an Application
2047
- # Load Balancer (ALB) or an API Gateway stage.
2046
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
2047
+ # API.
2048
2048
  #
2049
2049
  # To work with CloudFront, you must also specify the Region US East (N.
2050
2050
  # Virginia) as follows:
@@ -2092,19 +2092,8 @@ module Aws::WAFV2
2092
2092
  req.send_request(options)
2093
2093
  end
2094
2094
 
2095
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
2096
- # in November, 2019. For information, including how to migrate your AWS
2097
- # WAF resources from the prior release, see the [AWS WAF Developer
2098
- # Guide][1].
2099
- #
2100
- # </note>
2101
- #
2102
2095
  # Returns the LoggingConfiguration for the specified web ACL.
2103
2096
  #
2104
- #
2105
- #
2106
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
2107
- #
2108
2097
  # @option params [required, String] :resource_arn
2109
2098
  # The Amazon Resource Name (ARN) of the web ACL for which you want to
2110
2099
  # get the LoggingConfiguration.
@@ -2127,6 +2116,10 @@ module Aws::WAFV2
2127
2116
  # resp.logging_configuration.redacted_fields #=> Array
2128
2117
  # resp.logging_configuration.redacted_fields[0].single_header.name #=> String
2129
2118
  # resp.logging_configuration.redacted_fields[0].single_query_argument.name #=> String
2119
+ # resp.logging_configuration.redacted_fields[0].json_body.match_pattern.included_paths #=> Array
2120
+ # resp.logging_configuration.redacted_fields[0].json_body.match_pattern.included_paths[0] #=> String
2121
+ # resp.logging_configuration.redacted_fields[0].json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
2122
+ # resp.logging_configuration.redacted_fields[0].json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
2130
2123
  # resp.logging_configuration.managed_by_firewall_manager #=> Boolean
2131
2124
  #
2132
2125
  # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetLoggingConfiguration AWS API Documentation
@@ -2169,26 +2162,16 @@ module Aws::WAFV2
2169
2162
  req.send_request(options)
2170
2163
  end
2171
2164
 
2172
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
2173
- # in November, 2019. For information, including how to migrate your AWS
2174
- # WAF resources from the prior release, see the [AWS WAF Developer
2175
- # Guide][1].
2176
- #
2177
- # </note>
2178
- #
2179
2165
  # Retrieves the keys that are currently blocked by a rate-based rule.
2180
2166
  # The maximum number of managed keys that can be blocked for a single
2181
2167
  # rate-based rule is 10,000. If more than 10,000 addresses exceed the
2182
2168
  # rate limit, those with the highest rates are blocked.
2183
2169
  #
2184
- #
2185
- #
2186
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
2187
- #
2188
2170
  # @option params [required, String] :scope
2189
2171
  # Specifies whether this is for an AWS CloudFront distribution or for a
2190
2172
  # regional application. A regional application can be an Application
2191
- # Load Balancer (ALB) or an API Gateway stage.
2173
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
2174
+ # API.
2192
2175
  #
2193
2176
  # To work with CloudFront, you must also specify the Region US East (N.
2194
2177
  # Virginia) as follows:
@@ -2242,19 +2225,8 @@ module Aws::WAFV2
2242
2225
  req.send_request(options)
2243
2226
  end
2244
2227
 
2245
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
2246
- # in November, 2019. For information, including how to migrate your AWS
2247
- # WAF resources from the prior release, see the [AWS WAF Developer
2248
- # Guide][1].
2249
- #
2250
- # </note>
2251
- #
2252
2228
  # Retrieves the specified RegexPatternSet.
2253
2229
  #
2254
- #
2255
- #
2256
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
2257
- #
2258
2230
  # @option params [required, String] :name
2259
2231
  # The name of the set. You cannot change the name after you create the
2260
2232
  # set.
@@ -2262,7 +2234,8 @@ module Aws::WAFV2
2262
2234
  # @option params [required, String] :scope
2263
2235
  # Specifies whether this is for an AWS CloudFront distribution or for a
2264
2236
  # regional application. A regional application can be an Application
2265
- # Load Balancer (ALB) or an API Gateway stage.
2237
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
2238
+ # API.
2266
2239
  #
2267
2240
  # To work with CloudFront, you must also specify the Region US East (N.
2268
2241
  # Virginia) as follows:
@@ -2309,19 +2282,8 @@ module Aws::WAFV2
2309
2282
  req.send_request(options)
2310
2283
  end
2311
2284
 
2312
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
2313
- # in November, 2019. For information, including how to migrate your AWS
2314
- # WAF resources from the prior release, see the [AWS WAF Developer
2315
- # Guide][1].
2316
- #
2317
- # </note>
2318
- #
2319
2285
  # Retrieves the specified RuleGroup.
2320
2286
  #
2321
- #
2322
- #
2323
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
2324
- #
2325
2287
  # @option params [required, String] :name
2326
2288
  # The name of the rule group. You cannot change the name of a rule group
2327
2289
  # after you create it.
@@ -2329,7 +2291,8 @@ module Aws::WAFV2
2329
2291
  # @option params [required, String] :scope
2330
2292
  # Specifies whether this is for an AWS CloudFront distribution or for a
2331
2293
  # regional application. A regional application can be an Application
2332
- # Load Balancer (ALB) or an API Gateway stage.
2294
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
2295
+ # API.
2333
2296
  #
2334
2297
  # To work with CloudFront, you must also specify the Region US East (N.
2335
2298
  # Virginia) as follows:
@@ -2370,22 +2333,38 @@ module Aws::WAFV2
2370
2333
  # resp.rule_group.rules[0].statement.byte_match_statement.search_string #=> String
2371
2334
  # resp.rule_group.rules[0].statement.byte_match_statement.field_to_match.single_header.name #=> String
2372
2335
  # resp.rule_group.rules[0].statement.byte_match_statement.field_to_match.single_query_argument.name #=> String
2336
+ # resp.rule_group.rules[0].statement.byte_match_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
2337
+ # resp.rule_group.rules[0].statement.byte_match_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
2338
+ # resp.rule_group.rules[0].statement.byte_match_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
2339
+ # resp.rule_group.rules[0].statement.byte_match_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
2373
2340
  # resp.rule_group.rules[0].statement.byte_match_statement.text_transformations #=> Array
2374
2341
  # resp.rule_group.rules[0].statement.byte_match_statement.text_transformations[0].priority #=> Integer
2375
2342
  # resp.rule_group.rules[0].statement.byte_match_statement.text_transformations[0].type #=> String, one of "NONE", "COMPRESS_WHITE_SPACE", "HTML_ENTITY_DECODE", "LOWERCASE", "CMD_LINE", "URL_DECODE"
2376
2343
  # resp.rule_group.rules[0].statement.byte_match_statement.positional_constraint #=> String, one of "EXACTLY", "STARTS_WITH", "ENDS_WITH", "CONTAINS", "CONTAINS_WORD"
2377
2344
  # resp.rule_group.rules[0].statement.sqli_match_statement.field_to_match.single_header.name #=> String
2378
2345
  # resp.rule_group.rules[0].statement.sqli_match_statement.field_to_match.single_query_argument.name #=> String
2346
+ # resp.rule_group.rules[0].statement.sqli_match_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
2347
+ # resp.rule_group.rules[0].statement.sqli_match_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
2348
+ # resp.rule_group.rules[0].statement.sqli_match_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
2349
+ # resp.rule_group.rules[0].statement.sqli_match_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
2379
2350
  # resp.rule_group.rules[0].statement.sqli_match_statement.text_transformations #=> Array
2380
2351
  # resp.rule_group.rules[0].statement.sqli_match_statement.text_transformations[0].priority #=> Integer
2381
2352
  # resp.rule_group.rules[0].statement.sqli_match_statement.text_transformations[0].type #=> String, one of "NONE", "COMPRESS_WHITE_SPACE", "HTML_ENTITY_DECODE", "LOWERCASE", "CMD_LINE", "URL_DECODE"
2382
2353
  # resp.rule_group.rules[0].statement.xss_match_statement.field_to_match.single_header.name #=> String
2383
2354
  # resp.rule_group.rules[0].statement.xss_match_statement.field_to_match.single_query_argument.name #=> String
2355
+ # resp.rule_group.rules[0].statement.xss_match_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
2356
+ # resp.rule_group.rules[0].statement.xss_match_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
2357
+ # resp.rule_group.rules[0].statement.xss_match_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
2358
+ # resp.rule_group.rules[0].statement.xss_match_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
2384
2359
  # resp.rule_group.rules[0].statement.xss_match_statement.text_transformations #=> Array
2385
2360
  # resp.rule_group.rules[0].statement.xss_match_statement.text_transformations[0].priority #=> Integer
2386
2361
  # resp.rule_group.rules[0].statement.xss_match_statement.text_transformations[0].type #=> String, one of "NONE", "COMPRESS_WHITE_SPACE", "HTML_ENTITY_DECODE", "LOWERCASE", "CMD_LINE", "URL_DECODE"
2387
2362
  # resp.rule_group.rules[0].statement.size_constraint_statement.field_to_match.single_header.name #=> String
2388
2363
  # resp.rule_group.rules[0].statement.size_constraint_statement.field_to_match.single_query_argument.name #=> String
2364
+ # resp.rule_group.rules[0].statement.size_constraint_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
2365
+ # resp.rule_group.rules[0].statement.size_constraint_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
2366
+ # resp.rule_group.rules[0].statement.size_constraint_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
2367
+ # resp.rule_group.rules[0].statement.size_constraint_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
2389
2368
  # resp.rule_group.rules[0].statement.size_constraint_statement.comparison_operator #=> String, one of "EQ", "NE", "LE", "LT", "GE", "GT"
2390
2369
  # resp.rule_group.rules[0].statement.size_constraint_statement.size #=> Integer
2391
2370
  # resp.rule_group.rules[0].statement.size_constraint_statement.text_transformations #=> Array
@@ -2405,6 +2384,10 @@ module Aws::WAFV2
2405
2384
  # resp.rule_group.rules[0].statement.regex_pattern_set_reference_statement.arn #=> String
2406
2385
  # resp.rule_group.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.single_header.name #=> String
2407
2386
  # resp.rule_group.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.single_query_argument.name #=> String
2387
+ # resp.rule_group.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
2388
+ # resp.rule_group.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
2389
+ # resp.rule_group.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
2390
+ # resp.rule_group.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
2408
2391
  # resp.rule_group.rules[0].statement.regex_pattern_set_reference_statement.text_transformations #=> Array
2409
2392
  # resp.rule_group.rules[0].statement.regex_pattern_set_reference_statement.text_transformations[0].priority #=> Integer
2410
2393
  # 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"
@@ -2439,13 +2422,6 @@ module Aws::WAFV2
2439
2422
  req.send_request(options)
2440
2423
  end
2441
2424
 
2442
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
2443
- # in November, 2019. For information, including how to migrate your AWS
2444
- # WAF resources from the prior release, see the [AWS WAF Developer
2445
- # Guide][1].
2446
- #
2447
- # </note>
2448
- #
2449
2425
  # Gets detailed information about a specified number of requests--a
2450
2426
  # sample--that AWS WAF randomly selects from among the first 5,000
2451
2427
  # requests that your AWS resource received during a time range that you
@@ -2459,10 +2435,6 @@ module Aws::WAFV2
2459
2435
  # range. This new time range indicates the actual period during which
2460
2436
  # AWS WAF selected the requests in the sample.
2461
2437
  #
2462
- #
2463
- #
2464
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
2465
- #
2466
2438
  # @option params [required, String] :web_acl_arn
2467
2439
  # The Amazon resource name (ARN) of the `WebACL` for which you want a
2468
2440
  # sample of requests.
@@ -2474,7 +2446,8 @@ module Aws::WAFV2
2474
2446
  # @option params [required, String] :scope
2475
2447
  # Specifies whether this is for an AWS CloudFront distribution or for a
2476
2448
  # regional application. A regional application can be an Application
2477
- # Load Balancer (ALB) or an API Gateway stage.
2449
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
2450
+ # API.
2478
2451
  #
2479
2452
  # To work with CloudFront, you must also specify the Region US East (N.
2480
2453
  # Virginia) as follows:
@@ -2490,7 +2463,8 @@ module Aws::WAFV2
2490
2463
  # You must specify the times in Coordinated Universal Time (UTC) format.
2491
2464
  # UTC format includes the special designator, `Z`. For example,
2492
2465
  # `"2016-09-27T14:50Z"`. You can specify any time range in the previous
2493
- # three hours.
2466
+ # three hours. If you specify a start time that's earlier than three
2467
+ # hours ago, AWS WAF sets it to three hours ago.
2494
2468
  #
2495
2469
  # @option params [required, Integer] :max_items
2496
2470
  # The number of requests that you want AWS WAF to return from among the
@@ -2546,19 +2520,8 @@ module Aws::WAFV2
2546
2520
  req.send_request(options)
2547
2521
  end
2548
2522
 
2549
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
2550
- # in November, 2019. For information, including how to migrate your AWS
2551
- # WAF resources from the prior release, see the [AWS WAF Developer
2552
- # Guide][1].
2553
- #
2554
- # </note>
2555
- #
2556
2523
  # Retrieves the specified WebACL.
2557
2524
  #
2558
- #
2559
- #
2560
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
2561
- #
2562
2525
  # @option params [required, String] :name
2563
2526
  # The name of the Web ACL. You cannot change the name of a Web ACL after
2564
2527
  # you create it.
@@ -2566,7 +2529,8 @@ module Aws::WAFV2
2566
2529
  # @option params [required, String] :scope
2567
2530
  # Specifies whether this is for an AWS CloudFront distribution or for a
2568
2531
  # regional application. A regional application can be an Application
2569
- # Load Balancer (ALB) or an API Gateway stage.
2532
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
2533
+ # API.
2570
2534
  #
2571
2535
  # To work with CloudFront, you must also specify the Region US East (N.
2572
2536
  # Virginia) as follows:
@@ -2606,22 +2570,38 @@ module Aws::WAFV2
2606
2570
  # resp.web_acl.rules[0].statement.byte_match_statement.search_string #=> String
2607
2571
  # resp.web_acl.rules[0].statement.byte_match_statement.field_to_match.single_header.name #=> String
2608
2572
  # resp.web_acl.rules[0].statement.byte_match_statement.field_to_match.single_query_argument.name #=> String
2573
+ # resp.web_acl.rules[0].statement.byte_match_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
2574
+ # resp.web_acl.rules[0].statement.byte_match_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
2575
+ # resp.web_acl.rules[0].statement.byte_match_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
2576
+ # resp.web_acl.rules[0].statement.byte_match_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
2609
2577
  # resp.web_acl.rules[0].statement.byte_match_statement.text_transformations #=> Array
2610
2578
  # resp.web_acl.rules[0].statement.byte_match_statement.text_transformations[0].priority #=> Integer
2611
2579
  # resp.web_acl.rules[0].statement.byte_match_statement.text_transformations[0].type #=> String, one of "NONE", "COMPRESS_WHITE_SPACE", "HTML_ENTITY_DECODE", "LOWERCASE", "CMD_LINE", "URL_DECODE"
2612
2580
  # resp.web_acl.rules[0].statement.byte_match_statement.positional_constraint #=> String, one of "EXACTLY", "STARTS_WITH", "ENDS_WITH", "CONTAINS", "CONTAINS_WORD"
2613
2581
  # resp.web_acl.rules[0].statement.sqli_match_statement.field_to_match.single_header.name #=> String
2614
2582
  # resp.web_acl.rules[0].statement.sqli_match_statement.field_to_match.single_query_argument.name #=> String
2583
+ # resp.web_acl.rules[0].statement.sqli_match_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
2584
+ # resp.web_acl.rules[0].statement.sqli_match_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
2585
+ # resp.web_acl.rules[0].statement.sqli_match_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
2586
+ # resp.web_acl.rules[0].statement.sqli_match_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
2615
2587
  # resp.web_acl.rules[0].statement.sqli_match_statement.text_transformations #=> Array
2616
2588
  # resp.web_acl.rules[0].statement.sqli_match_statement.text_transformations[0].priority #=> Integer
2617
2589
  # resp.web_acl.rules[0].statement.sqli_match_statement.text_transformations[0].type #=> String, one of "NONE", "COMPRESS_WHITE_SPACE", "HTML_ENTITY_DECODE", "LOWERCASE", "CMD_LINE", "URL_DECODE"
2618
2590
  # resp.web_acl.rules[0].statement.xss_match_statement.field_to_match.single_header.name #=> String
2619
2591
  # resp.web_acl.rules[0].statement.xss_match_statement.field_to_match.single_query_argument.name #=> String
2592
+ # resp.web_acl.rules[0].statement.xss_match_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
2593
+ # resp.web_acl.rules[0].statement.xss_match_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
2594
+ # resp.web_acl.rules[0].statement.xss_match_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
2595
+ # resp.web_acl.rules[0].statement.xss_match_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
2620
2596
  # resp.web_acl.rules[0].statement.xss_match_statement.text_transformations #=> Array
2621
2597
  # resp.web_acl.rules[0].statement.xss_match_statement.text_transformations[0].priority #=> Integer
2622
2598
  # resp.web_acl.rules[0].statement.xss_match_statement.text_transformations[0].type #=> String, one of "NONE", "COMPRESS_WHITE_SPACE", "HTML_ENTITY_DECODE", "LOWERCASE", "CMD_LINE", "URL_DECODE"
2623
2599
  # resp.web_acl.rules[0].statement.size_constraint_statement.field_to_match.single_header.name #=> String
2624
2600
  # resp.web_acl.rules[0].statement.size_constraint_statement.field_to_match.single_query_argument.name #=> String
2601
+ # resp.web_acl.rules[0].statement.size_constraint_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
2602
+ # resp.web_acl.rules[0].statement.size_constraint_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
2603
+ # resp.web_acl.rules[0].statement.size_constraint_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
2604
+ # resp.web_acl.rules[0].statement.size_constraint_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
2625
2605
  # resp.web_acl.rules[0].statement.size_constraint_statement.comparison_operator #=> String, one of "EQ", "NE", "LE", "LT", "GE", "GT"
2626
2606
  # resp.web_acl.rules[0].statement.size_constraint_statement.size #=> Integer
2627
2607
  # resp.web_acl.rules[0].statement.size_constraint_statement.text_transformations #=> Array
@@ -2641,6 +2621,10 @@ module Aws::WAFV2
2641
2621
  # resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.arn #=> String
2642
2622
  # resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.single_header.name #=> String
2643
2623
  # resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.single_query_argument.name #=> String
2624
+ # resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
2625
+ # resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
2626
+ # resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
2627
+ # resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
2644
2628
  # resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.text_transformations #=> Array
2645
2629
  # resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.text_transformations[0].priority #=> Integer
2646
2630
  # resp.web_acl.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"
@@ -2703,19 +2687,8 @@ module Aws::WAFV2
2703
2687
  req.send_request(options)
2704
2688
  end
2705
2689
 
2706
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
2707
- # in November, 2019. For information, including how to migrate your AWS
2708
- # WAF resources from the prior release, see the [AWS WAF Developer
2709
- # Guide][1].
2710
- #
2711
- # </note>
2712
- #
2713
2690
  # Retrieves the WebACL for the specified resource.
2714
2691
  #
2715
- #
2716
- #
2717
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
2718
- #
2719
2692
  # @option params [required, String] :resource_arn
2720
2693
  # The ARN (Amazon Resource Name) of the resource.
2721
2694
  #
@@ -2741,22 +2714,38 @@ module Aws::WAFV2
2741
2714
  # resp.web_acl.rules[0].statement.byte_match_statement.search_string #=> String
2742
2715
  # resp.web_acl.rules[0].statement.byte_match_statement.field_to_match.single_header.name #=> String
2743
2716
  # resp.web_acl.rules[0].statement.byte_match_statement.field_to_match.single_query_argument.name #=> String
2717
+ # resp.web_acl.rules[0].statement.byte_match_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
2718
+ # resp.web_acl.rules[0].statement.byte_match_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
2719
+ # resp.web_acl.rules[0].statement.byte_match_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
2720
+ # resp.web_acl.rules[0].statement.byte_match_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
2744
2721
  # resp.web_acl.rules[0].statement.byte_match_statement.text_transformations #=> Array
2745
2722
  # resp.web_acl.rules[0].statement.byte_match_statement.text_transformations[0].priority #=> Integer
2746
2723
  # resp.web_acl.rules[0].statement.byte_match_statement.text_transformations[0].type #=> String, one of "NONE", "COMPRESS_WHITE_SPACE", "HTML_ENTITY_DECODE", "LOWERCASE", "CMD_LINE", "URL_DECODE"
2747
2724
  # resp.web_acl.rules[0].statement.byte_match_statement.positional_constraint #=> String, one of "EXACTLY", "STARTS_WITH", "ENDS_WITH", "CONTAINS", "CONTAINS_WORD"
2748
2725
  # resp.web_acl.rules[0].statement.sqli_match_statement.field_to_match.single_header.name #=> String
2749
2726
  # resp.web_acl.rules[0].statement.sqli_match_statement.field_to_match.single_query_argument.name #=> String
2727
+ # resp.web_acl.rules[0].statement.sqli_match_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
2728
+ # resp.web_acl.rules[0].statement.sqli_match_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
2729
+ # resp.web_acl.rules[0].statement.sqli_match_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
2730
+ # resp.web_acl.rules[0].statement.sqli_match_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
2750
2731
  # resp.web_acl.rules[0].statement.sqli_match_statement.text_transformations #=> Array
2751
2732
  # resp.web_acl.rules[0].statement.sqli_match_statement.text_transformations[0].priority #=> Integer
2752
2733
  # resp.web_acl.rules[0].statement.sqli_match_statement.text_transformations[0].type #=> String, one of "NONE", "COMPRESS_WHITE_SPACE", "HTML_ENTITY_DECODE", "LOWERCASE", "CMD_LINE", "URL_DECODE"
2753
2734
  # resp.web_acl.rules[0].statement.xss_match_statement.field_to_match.single_header.name #=> String
2754
2735
  # resp.web_acl.rules[0].statement.xss_match_statement.field_to_match.single_query_argument.name #=> String
2736
+ # resp.web_acl.rules[0].statement.xss_match_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
2737
+ # resp.web_acl.rules[0].statement.xss_match_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
2738
+ # resp.web_acl.rules[0].statement.xss_match_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
2739
+ # resp.web_acl.rules[0].statement.xss_match_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
2755
2740
  # resp.web_acl.rules[0].statement.xss_match_statement.text_transformations #=> Array
2756
2741
  # resp.web_acl.rules[0].statement.xss_match_statement.text_transformations[0].priority #=> Integer
2757
2742
  # resp.web_acl.rules[0].statement.xss_match_statement.text_transformations[0].type #=> String, one of "NONE", "COMPRESS_WHITE_SPACE", "HTML_ENTITY_DECODE", "LOWERCASE", "CMD_LINE", "URL_DECODE"
2758
2743
  # resp.web_acl.rules[0].statement.size_constraint_statement.field_to_match.single_header.name #=> String
2759
2744
  # resp.web_acl.rules[0].statement.size_constraint_statement.field_to_match.single_query_argument.name #=> String
2745
+ # resp.web_acl.rules[0].statement.size_constraint_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
2746
+ # resp.web_acl.rules[0].statement.size_constraint_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
2747
+ # resp.web_acl.rules[0].statement.size_constraint_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
2748
+ # resp.web_acl.rules[0].statement.size_constraint_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
2760
2749
  # resp.web_acl.rules[0].statement.size_constraint_statement.comparison_operator #=> String, one of "EQ", "NE", "LE", "LT", "GE", "GT"
2761
2750
  # resp.web_acl.rules[0].statement.size_constraint_statement.size #=> Integer
2762
2751
  # resp.web_acl.rules[0].statement.size_constraint_statement.text_transformations #=> Array
@@ -2776,6 +2765,10 @@ module Aws::WAFV2
2776
2765
  # resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.arn #=> String
2777
2766
  # resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.single_header.name #=> String
2778
2767
  # resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.single_query_argument.name #=> String
2768
+ # resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
2769
+ # resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
2770
+ # resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
2771
+ # resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
2779
2772
  # resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.text_transformations #=> Array
2780
2773
  # resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.text_transformations[0].priority #=> Integer
2781
2774
  # resp.web_acl.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"
@@ -2837,25 +2830,15 @@ module Aws::WAFV2
2837
2830
  req.send_request(options)
2838
2831
  end
2839
2832
 
2840
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
2841
- # in November, 2019. For information, including how to migrate your AWS
2842
- # WAF resources from the prior release, see the [AWS WAF Developer
2843
- # Guide][1].
2844
- #
2845
- # </note>
2846
- #
2847
2833
  # Retrieves an array of managed rule groups that are available for you
2848
2834
  # to use. This list includes all AWS Managed Rules rule groups and the
2849
2835
  # AWS Marketplace managed rule groups that you're subscribed to.
2850
2836
  #
2851
- #
2852
- #
2853
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
2854
- #
2855
2837
  # @option params [required, String] :scope
2856
2838
  # Specifies whether this is for an AWS CloudFront distribution or for a
2857
2839
  # regional application. A regional application can be an Application
2858
- # Load Balancer (ALB) or an API Gateway stage.
2840
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
2841
+ # API.
2859
2842
  #
2860
2843
  # To work with CloudFront, you must also specify the Region US East (N.
2861
2844
  # Virginia) as follows:
@@ -2908,24 +2891,14 @@ module Aws::WAFV2
2908
2891
  req.send_request(options)
2909
2892
  end
2910
2893
 
2911
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
2912
- # in November, 2019. For information, including how to migrate your AWS
2913
- # WAF resources from the prior release, see the [AWS WAF Developer
2914
- # Guide][1].
2915
- #
2916
- # </note>
2917
- #
2918
2894
  # Retrieves an array of IPSetSummary objects for the IP sets that you
2919
2895
  # manage.
2920
2896
  #
2921
- #
2922
- #
2923
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
2924
- #
2925
2897
  # @option params [required, String] :scope
2926
2898
  # Specifies whether this is for an AWS CloudFront distribution or for a
2927
2899
  # regional application. A regional application can be an Application
2928
- # Load Balancer (ALB) or an API Gateway stage.
2900
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
2901
+ # API.
2929
2902
  #
2930
2903
  # To work with CloudFront, you must also specify the Region US East (N.
2931
2904
  # Virginia) as follows:
@@ -2980,23 +2953,13 @@ module Aws::WAFV2
2980
2953
  req.send_request(options)
2981
2954
  end
2982
2955
 
2983
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
2984
- # in November, 2019. For information, including how to migrate your AWS
2985
- # WAF resources from the prior release, see the [AWS WAF Developer
2986
- # Guide][1].
2987
- #
2988
- # </note>
2989
- #
2990
2956
  # Retrieves an array of your LoggingConfiguration objects.
2991
2957
  #
2992
- #
2993
- #
2994
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
2995
- #
2996
2958
  # @option params [String] :scope
2997
2959
  # Specifies whether this is for an AWS CloudFront distribution or for a
2998
2960
  # regional application. A regional application can be an Application
2999
- # Load Balancer (ALB) or an API Gateway stage.
2961
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
2962
+ # API.
3000
2963
  #
3001
2964
  # To work with CloudFront, you must also specify the Region US East (N.
3002
2965
  # Virginia) as follows:
@@ -3041,6 +3004,10 @@ module Aws::WAFV2
3041
3004
  # resp.logging_configurations[0].redacted_fields #=> Array
3042
3005
  # resp.logging_configurations[0].redacted_fields[0].single_header.name #=> String
3043
3006
  # resp.logging_configurations[0].redacted_fields[0].single_query_argument.name #=> String
3007
+ # resp.logging_configurations[0].redacted_fields[0].json_body.match_pattern.included_paths #=> Array
3008
+ # resp.logging_configurations[0].redacted_fields[0].json_body.match_pattern.included_paths[0] #=> String
3009
+ # resp.logging_configurations[0].redacted_fields[0].json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
3010
+ # resp.logging_configurations[0].redacted_fields[0].json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
3044
3011
  # resp.logging_configurations[0].managed_by_firewall_manager #=> Boolean
3045
3012
  # resp.next_marker #=> String
3046
3013
  #
@@ -3053,24 +3020,14 @@ module Aws::WAFV2
3053
3020
  req.send_request(options)
3054
3021
  end
3055
3022
 
3056
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
3057
- # in November, 2019. For information, including how to migrate your AWS
3058
- # WAF resources from the prior release, see the [AWS WAF Developer
3059
- # Guide][1].
3060
- #
3061
- # </note>
3062
- #
3063
3023
  # Retrieves an array of RegexPatternSetSummary objects for the regex
3064
3024
  # pattern sets that you manage.
3065
3025
  #
3066
- #
3067
- #
3068
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
3069
- #
3070
3026
  # @option params [required, String] :scope
3071
3027
  # Specifies whether this is for an AWS CloudFront distribution or for a
3072
3028
  # regional application. A regional application can be an Application
3073
- # Load Balancer (ALB) or an API Gateway stage.
3029
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
3030
+ # API.
3074
3031
  #
3075
3032
  # To work with CloudFront, you must also specify the Region US East (N.
3076
3033
  # Virginia) as follows:
@@ -3125,29 +3082,18 @@ module Aws::WAFV2
3125
3082
  req.send_request(options)
3126
3083
  end
3127
3084
 
3128
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
3129
- # in November, 2019. For information, including how to migrate your AWS
3130
- # WAF resources from the prior release, see the [AWS WAF Developer
3131
- # Guide][1].
3132
- #
3133
- # </note>
3134
- #
3135
3085
  # Retrieves an array of the Amazon Resource Names (ARNs) for the
3136
3086
  # regional resources that are associated with the specified web ACL. If
3137
3087
  # you want the list of AWS CloudFront resources, use the AWS CloudFront
3138
3088
  # call `ListDistributionsByWebACLId`.
3139
3089
  #
3140
- #
3141
- #
3142
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
3143
- #
3144
3090
  # @option params [required, String] :web_acl_arn
3145
3091
  # The Amazon Resource Name (ARN) of the Web ACL.
3146
3092
  #
3147
3093
  # @option params [String] :resource_type
3148
3094
  # Used for web ACLs that are scoped for regional applications. A
3149
- # regional application can be an Application Load Balancer (ALB) or an
3150
- # API Gateway stage.
3095
+ # regional application can be an Application Load Balancer (ALB), an API
3096
+ # Gateway REST API, or an AppSync GraphQL API.
3151
3097
  #
3152
3098
  # @return [Types::ListResourcesForWebACLResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3153
3099
  #
@@ -3157,7 +3103,7 @@ module Aws::WAFV2
3157
3103
  #
3158
3104
  # resp = client.list_resources_for_web_acl({
3159
3105
  # web_acl_arn: "ResourceArn", # required
3160
- # resource_type: "APPLICATION_LOAD_BALANCER", # accepts APPLICATION_LOAD_BALANCER, API_GATEWAY
3106
+ # resource_type: "APPLICATION_LOAD_BALANCER", # accepts APPLICATION_LOAD_BALANCER, API_GATEWAY, APPSYNC
3161
3107
  # })
3162
3108
  #
3163
3109
  # @example Response structure
@@ -3174,24 +3120,14 @@ module Aws::WAFV2
3174
3120
  req.send_request(options)
3175
3121
  end
3176
3122
 
3177
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
3178
- # in November, 2019. For information, including how to migrate your AWS
3179
- # WAF resources from the prior release, see the [AWS WAF Developer
3180
- # Guide][1].
3181
- #
3182
- # </note>
3183
- #
3184
3123
  # Retrieves an array of RuleGroupSummary objects for the rule groups
3185
3124
  # that you manage.
3186
3125
  #
3187
- #
3188
- #
3189
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
3190
- #
3191
3126
  # @option params [required, String] :scope
3192
3127
  # Specifies whether this is for an AWS CloudFront distribution or for a
3193
3128
  # regional application. A regional application can be an Application
3194
- # Load Balancer (ALB) or an API Gateway stage.
3129
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
3130
+ # API.
3195
3131
  #
3196
3132
  # To work with CloudFront, you must also specify the Region US East (N.
3197
3133
  # Virginia) as follows:
@@ -3246,13 +3182,6 @@ module Aws::WAFV2
3246
3182
  req.send_request(options)
3247
3183
  end
3248
3184
 
3249
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
3250
- # in November, 2019. For information, including how to migrate your AWS
3251
- # WAF resources from the prior release, see the [AWS WAF Developer
3252
- # Guide][1].
3253
- #
3254
- # </note>
3255
- #
3256
3185
  # Retrieves the TagInfoForResource for the specified resource. Tags are
3257
3186
  # key:value pairs that you can use to categorize and manage your
3258
3187
  # resources, for purposes like billing. For example, you might set the
@@ -3264,10 +3193,6 @@ module Aws::WAFV2
3264
3193
  # ACLs, rule groups, IP sets, and regex pattern sets. You can't manage
3265
3194
  # or view tags through the AWS WAF console.
3266
3195
  #
3267
- #
3268
- #
3269
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
3270
- #
3271
3196
  # @option params [String] :next_marker
3272
3197
  # When you request a list of objects with a `Limit` setting, if the
3273
3198
  # number of objects that are still available for retrieval exceeds the
@@ -3314,24 +3239,14 @@ module Aws::WAFV2
3314
3239
  req.send_request(options)
3315
3240
  end
3316
3241
 
3317
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
3318
- # in November, 2019. For information, including how to migrate your AWS
3319
- # WAF resources from the prior release, see the [AWS WAF Developer
3320
- # Guide][1].
3321
- #
3322
- # </note>
3323
- #
3324
3242
  # Retrieves an array of WebACLSummary objects for the web ACLs that you
3325
3243
  # manage.
3326
3244
  #
3327
- #
3328
- #
3329
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
3330
- #
3331
3245
  # @option params [required, String] :scope
3332
3246
  # Specifies whether this is for an AWS CloudFront distribution or for a
3333
3247
  # regional application. A regional application can be an Application
3334
- # Load Balancer (ALB) or an API Gateway stage.
3248
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
3249
+ # API.
3335
3250
  #
3336
3251
  # To work with CloudFront, you must also specify the Region US East (N.
3337
3252
  # Virginia) as follows:
@@ -3386,13 +3301,6 @@ module Aws::WAFV2
3386
3301
  req.send_request(options)
3387
3302
  end
3388
3303
 
3389
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
3390
- # in November, 2019. For information, including how to migrate your AWS
3391
- # WAF resources from the prior release, see the [AWS WAF Developer
3392
- # Guide][1].
3393
- #
3394
- # </note>
3395
- #
3396
3304
  # Enables the specified LoggingConfiguration, to start logging from a
3397
3305
  # web ACL, according to the configuration provided.
3398
3306
  #
@@ -3419,13 +3327,12 @@ module Aws::WAFV2
3419
3327
  # When you successfully enable logging using a `PutLoggingConfiguration`
3420
3328
  # request, AWS WAF will create a service linked role with the necessary
3421
3329
  # permissions to write logs to the Amazon Kinesis Data Firehose. For
3422
- # more information, see [Logging Web ACL Traffic Information][2] in the
3330
+ # more information, see [Logging Web ACL Traffic Information][1] in the
3423
3331
  # *AWS WAF Developer Guide*.
3424
3332
  #
3425
3333
  #
3426
3334
  #
3427
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
3428
- # [2]: https://docs.aws.amazon.com/waf/latest/developerguide/logging.html
3335
+ # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/logging.html
3429
3336
  #
3430
3337
  # @option params [required, Types::LoggingConfiguration] :logging_configuration
3431
3338
  #
@@ -3457,6 +3364,15 @@ module Aws::WAFV2
3457
3364
  # },
3458
3365
  # method: {
3459
3366
  # },
3367
+ # json_body: {
3368
+ # match_pattern: { # required
3369
+ # all: {
3370
+ # },
3371
+ # included_paths: ["JsonPointerPath"],
3372
+ # },
3373
+ # match_scope: "ALL", # required, accepts ALL, KEY, VALUE
3374
+ # invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
3375
+ # },
3460
3376
  # },
3461
3377
  # ],
3462
3378
  # managed_by_firewall_manager: false,
@@ -3471,6 +3387,10 @@ module Aws::WAFV2
3471
3387
  # resp.logging_configuration.redacted_fields #=> Array
3472
3388
  # resp.logging_configuration.redacted_fields[0].single_header.name #=> String
3473
3389
  # resp.logging_configuration.redacted_fields[0].single_query_argument.name #=> String
3390
+ # resp.logging_configuration.redacted_fields[0].json_body.match_pattern.included_paths #=> Array
3391
+ # resp.logging_configuration.redacted_fields[0].json_body.match_pattern.included_paths[0] #=> String
3392
+ # resp.logging_configuration.redacted_fields[0].json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
3393
+ # resp.logging_configuration.redacted_fields[0].json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
3474
3394
  # resp.logging_configuration.managed_by_firewall_manager #=> Boolean
3475
3395
  #
3476
3396
  # @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/PutLoggingConfiguration AWS API Documentation
@@ -3544,13 +3464,6 @@ module Aws::WAFV2
3544
3464
  req.send_request(options)
3545
3465
  end
3546
3466
 
3547
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
3548
- # in November, 2019. For information, including how to migrate your AWS
3549
- # WAF resources from the prior release, see the [AWS WAF Developer
3550
- # Guide][1].
3551
- #
3552
- # </note>
3553
- #
3554
3467
  # Associates tags with the specified AWS resource. Tags are key:value
3555
3468
  # pairs that you can use to categorize and manage your resources, for
3556
3469
  # purposes like billing. For example, you might set the tag key to
@@ -3562,10 +3475,6 @@ module Aws::WAFV2
3562
3475
  # ACLs, rule groups, IP sets, and regex pattern sets. You can't manage
3563
3476
  # or view tags through the AWS WAF console.
3564
3477
  #
3565
- #
3566
- #
3567
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
3568
- #
3569
3478
  # @option params [required, String] :resource_arn
3570
3479
  # The Amazon Resource Name (ARN) of the resource.
3571
3480
  #
@@ -3595,23 +3504,12 @@ module Aws::WAFV2
3595
3504
  req.send_request(options)
3596
3505
  end
3597
3506
 
3598
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
3599
- # in November, 2019. For information, including how to migrate your AWS
3600
- # WAF resources from the prior release, see the [AWS WAF Developer
3601
- # Guide][1].
3602
- #
3603
- # </note>
3604
- #
3605
3507
  # Disassociates tags from an AWS resource. Tags are key:value pairs that
3606
3508
  # you can associate with AWS resources. For example, the tag key might
3607
3509
  # be "customer" and the tag value might be "companyA." You can
3608
3510
  # specify one or more tags to add to each container. You can add up to
3609
3511
  # 50 tags to each AWS resource.
3610
3512
  #
3611
- #
3612
- #
3613
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
3614
- #
3615
3513
  # @option params [required, String] :resource_arn
3616
3514
  # The Amazon Resource Name (ARN) of the resource.
3617
3515
  #
@@ -3637,19 +3535,8 @@ module Aws::WAFV2
3637
3535
  req.send_request(options)
3638
3536
  end
3639
3537
 
3640
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
3641
- # in November, 2019. For information, including how to migrate your AWS
3642
- # WAF resources from the prior release, see the [AWS WAF Developer
3643
- # Guide][1].
3644
- #
3645
- # </note>
3646
- #
3647
3538
  # Updates the specified IPSet.
3648
3539
  #
3649
- #
3650
- #
3651
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
3652
- #
3653
3540
  # @option params [required, String] :name
3654
3541
  # The name of the IP set. You cannot change the name of an `IPSet` after
3655
3542
  # you create it.
@@ -3657,7 +3544,8 @@ module Aws::WAFV2
3657
3544
  # @option params [required, String] :scope
3658
3545
  # Specifies whether this is for an AWS CloudFront distribution or for a
3659
3546
  # regional application. A regional application can be an Application
3660
- # Load Balancer (ALB) or an API Gateway stage.
3547
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
3548
+ # API.
3661
3549
  #
3662
3550
  # To work with CloudFront, you must also specify the Region US East (N.
3663
3551
  # Virginia) as follows:
@@ -3673,8 +3561,7 @@ module Aws::WAFV2
3673
3561
  # and delete.
3674
3562
  #
3675
3563
  # @option params [String] :description
3676
- # A description of the IP set that helps with identification. You cannot
3677
- # change the description of an IP set after you create it.
3564
+ # A description of the IP set that helps with identification.
3678
3565
  #
3679
3566
  # @option params [required, Array<String>] :addresses
3680
3567
  # Contains an array of strings that specify one or more IP addresses or
@@ -3746,19 +3633,8 @@ module Aws::WAFV2
3746
3633
  req.send_request(options)
3747
3634
  end
3748
3635
 
3749
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
3750
- # in November, 2019. For information, including how to migrate your AWS
3751
- # WAF resources from the prior release, see the [AWS WAF Developer
3752
- # Guide][1].
3753
- #
3754
- # </note>
3755
- #
3756
3636
  # Updates the specified RegexPatternSet.
3757
3637
  #
3758
- #
3759
- #
3760
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
3761
- #
3762
3638
  # @option params [required, String] :name
3763
3639
  # The name of the set. You cannot change the name after you create the
3764
3640
  # set.
@@ -3766,7 +3642,8 @@ module Aws::WAFV2
3766
3642
  # @option params [required, String] :scope
3767
3643
  # Specifies whether this is for an AWS CloudFront distribution or for a
3768
3644
  # regional application. A regional application can be an Application
3769
- # Load Balancer (ALB) or an API Gateway stage.
3645
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
3646
+ # API.
3770
3647
  #
3771
3648
  # To work with CloudFront, you must also specify the Region US East (N.
3772
3649
  # Virginia) as follows:
@@ -3782,8 +3659,7 @@ module Aws::WAFV2
3782
3659
  # and delete.
3783
3660
  #
3784
3661
  # @option params [String] :description
3785
- # A description of the set that helps with identification. You cannot
3786
- # change the description of a set after you create it.
3662
+ # A description of the set that helps with identification.
3787
3663
  #
3788
3664
  # @option params [required, Array<Types::Regex>] :regular_expression_list
3789
3665
  #
@@ -3829,13 +3705,6 @@ module Aws::WAFV2
3829
3705
  req.send_request(options)
3830
3706
  end
3831
3707
 
3832
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
3833
- # in November, 2019. For information, including how to migrate your AWS
3834
- # WAF resources from the prior release, see the [AWS WAF Developer
3835
- # Guide][1].
3836
- #
3837
- # </note>
3838
- #
3839
3708
  # Updates the specified RuleGroup.
3840
3709
  #
3841
3710
  # A rule group defines a collection of rules to inspect and control web
@@ -3844,10 +3713,6 @@ module Aws::WAFV2
3844
3713
  # you must stay within the capacity. This allows others to reuse the
3845
3714
  # rule group with confidence in its capacity requirements.
3846
3715
  #
3847
- #
3848
- #
3849
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
3850
- #
3851
3716
  # @option params [required, String] :name
3852
3717
  # The name of the rule group. You cannot change the name of a rule group
3853
3718
  # after you create it.
@@ -3855,7 +3720,8 @@ module Aws::WAFV2
3855
3720
  # @option params [required, String] :scope
3856
3721
  # Specifies whether this is for an AWS CloudFront distribution or for a
3857
3722
  # regional application. A regional application can be an Application
3858
- # Load Balancer (ALB) or an API Gateway stage.
3723
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
3724
+ # API.
3859
3725
  #
3860
3726
  # To work with CloudFront, you must also specify the Region US East (N.
3861
3727
  # Virginia) as follows:
@@ -3871,8 +3737,7 @@ module Aws::WAFV2
3871
3737
  # like update and delete.
3872
3738
  #
3873
3739
  # @option params [String] :description
3874
- # A description of the rule group that helps with identification. You
3875
- # cannot change the description of a rule group after you create it.
3740
+ # A description of the rule group that helps with identification.
3876
3741
  #
3877
3742
  # @option params [Array<Types::Rule>] :rules
3878
3743
  # The Rule statements used to identify the web requests that you want to
@@ -3929,6 +3794,15 @@ module Aws::WAFV2
3929
3794
  # },
3930
3795
  # method: {
3931
3796
  # },
3797
+ # json_body: {
3798
+ # match_pattern: { # required
3799
+ # all: {
3800
+ # },
3801
+ # included_paths: ["JsonPointerPath"],
3802
+ # },
3803
+ # match_scope: "ALL", # required, accepts ALL, KEY, VALUE
3804
+ # invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
3805
+ # },
3932
3806
  # },
3933
3807
  # text_transformations: [ # required
3934
3808
  # {
@@ -3956,6 +3830,15 @@ module Aws::WAFV2
3956
3830
  # },
3957
3831
  # method: {
3958
3832
  # },
3833
+ # json_body: {
3834
+ # match_pattern: { # required
3835
+ # all: {
3836
+ # },
3837
+ # included_paths: ["JsonPointerPath"],
3838
+ # },
3839
+ # match_scope: "ALL", # required, accepts ALL, KEY, VALUE
3840
+ # invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
3841
+ # },
3959
3842
  # },
3960
3843
  # text_transformations: [ # required
3961
3844
  # {
@@ -3982,6 +3865,15 @@ module Aws::WAFV2
3982
3865
  # },
3983
3866
  # method: {
3984
3867
  # },
3868
+ # json_body: {
3869
+ # match_pattern: { # required
3870
+ # all: {
3871
+ # },
3872
+ # included_paths: ["JsonPointerPath"],
3873
+ # },
3874
+ # match_scope: "ALL", # required, accepts ALL, KEY, VALUE
3875
+ # invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
3876
+ # },
3985
3877
  # },
3986
3878
  # text_transformations: [ # required
3987
3879
  # {
@@ -4008,6 +3900,15 @@ module Aws::WAFV2
4008
3900
  # },
4009
3901
  # method: {
4010
3902
  # },
3903
+ # json_body: {
3904
+ # match_pattern: { # required
3905
+ # all: {
3906
+ # },
3907
+ # included_paths: ["JsonPointerPath"],
3908
+ # },
3909
+ # match_scope: "ALL", # required, accepts ALL, KEY, VALUE
3910
+ # invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
3911
+ # },
4011
3912
  # },
4012
3913
  # comparison_operator: "EQ", # required, accepts EQ, NE, LE, LT, GE, GT
4013
3914
  # size: 1, # required
@@ -4060,6 +3961,15 @@ module Aws::WAFV2
4060
3961
  # },
4061
3962
  # method: {
4062
3963
  # },
3964
+ # json_body: {
3965
+ # match_pattern: { # required
3966
+ # all: {
3967
+ # },
3968
+ # included_paths: ["JsonPointerPath"],
3969
+ # },
3970
+ # match_scope: "ALL", # required, accepts ALL, KEY, VALUE
3971
+ # invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
3972
+ # },
4063
3973
  # },
4064
3974
  # text_transformations: [ # required
4065
3975
  # {
@@ -4150,13 +4060,6 @@ module Aws::WAFV2
4150
4060
  req.send_request(options)
4151
4061
  end
4152
4062
 
4153
- # <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
4154
- # in November, 2019. For information, including how to migrate your AWS
4155
- # WAF resources from the prior release, see the [AWS WAF Developer
4156
- # Guide][1].
4157
- #
4158
- # </note>
4159
- #
4160
4063
  # Updates the specified WebACL.
4161
4064
  #
4162
4065
  # A Web ACL defines a collection of rules to use to inspect and control
@@ -4166,12 +4069,8 @@ module Aws::WAFV2
4166
4069
  # does not match any of the rules. The rules in a Web ACL can be a
4167
4070
  # combination of the types Rule, RuleGroup, and managed rule group. You
4168
4071
  # can associate a Web ACL with one or more AWS resources to protect. The
4169
- # resources can be Amazon CloudFront, an Amazon API Gateway API, or an
4170
- # Application Load Balancer.
4171
- #
4172
- #
4173
- #
4174
- # [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
4072
+ # resources can be Amazon CloudFront, an Amazon API Gateway REST API, an
4073
+ # Application Load Balancer, or an AWS AppSync GraphQL API.
4175
4074
  #
4176
4075
  # @option params [required, String] :name
4177
4076
  # The name of the Web ACL. You cannot change the name of a Web ACL after
@@ -4180,7 +4079,8 @@ module Aws::WAFV2
4180
4079
  # @option params [required, String] :scope
4181
4080
  # Specifies whether this is for an AWS CloudFront distribution or for a
4182
4081
  # regional application. A regional application can be an Application
4183
- # Load Balancer (ALB) or an API Gateway stage.
4082
+ # Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
4083
+ # API.
4184
4084
  #
4185
4085
  # To work with CloudFront, you must also specify the Region US East (N.
4186
4086
  # Virginia) as follows:
@@ -4200,8 +4100,7 @@ module Aws::WAFV2
4200
4100
  # match.
4201
4101
  #
4202
4102
  # @option params [String] :description
4203
- # A description of the Web ACL that helps with identification. You
4204
- # cannot change the description of a Web ACL after you create it.
4103
+ # A description of the Web ACL that helps with identification.
4205
4104
  #
4206
4105
  # @option params [Array<Types::Rule>] :rules
4207
4106
  # The Rule statements used to identify the web requests that you want to
@@ -4264,6 +4163,15 @@ module Aws::WAFV2
4264
4163
  # },
4265
4164
  # method: {
4266
4165
  # },
4166
+ # json_body: {
4167
+ # match_pattern: { # required
4168
+ # all: {
4169
+ # },
4170
+ # included_paths: ["JsonPointerPath"],
4171
+ # },
4172
+ # match_scope: "ALL", # required, accepts ALL, KEY, VALUE
4173
+ # invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
4174
+ # },
4267
4175
  # },
4268
4176
  # text_transformations: [ # required
4269
4177
  # {
@@ -4291,6 +4199,15 @@ module Aws::WAFV2
4291
4199
  # },
4292
4200
  # method: {
4293
4201
  # },
4202
+ # json_body: {
4203
+ # match_pattern: { # required
4204
+ # all: {
4205
+ # },
4206
+ # included_paths: ["JsonPointerPath"],
4207
+ # },
4208
+ # match_scope: "ALL", # required, accepts ALL, KEY, VALUE
4209
+ # invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
4210
+ # },
4294
4211
  # },
4295
4212
  # text_transformations: [ # required
4296
4213
  # {
@@ -4317,6 +4234,15 @@ module Aws::WAFV2
4317
4234
  # },
4318
4235
  # method: {
4319
4236
  # },
4237
+ # json_body: {
4238
+ # match_pattern: { # required
4239
+ # all: {
4240
+ # },
4241
+ # included_paths: ["JsonPointerPath"],
4242
+ # },
4243
+ # match_scope: "ALL", # required, accepts ALL, KEY, VALUE
4244
+ # invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
4245
+ # },
4320
4246
  # },
4321
4247
  # text_transformations: [ # required
4322
4248
  # {
@@ -4343,6 +4269,15 @@ module Aws::WAFV2
4343
4269
  # },
4344
4270
  # method: {
4345
4271
  # },
4272
+ # json_body: {
4273
+ # match_pattern: { # required
4274
+ # all: {
4275
+ # },
4276
+ # included_paths: ["JsonPointerPath"],
4277
+ # },
4278
+ # match_scope: "ALL", # required, accepts ALL, KEY, VALUE
4279
+ # invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
4280
+ # },
4346
4281
  # },
4347
4282
  # comparison_operator: "EQ", # required, accepts EQ, NE, LE, LT, GE, GT
4348
4283
  # size: 1, # required
@@ -4395,6 +4330,15 @@ module Aws::WAFV2
4395
4330
  # },
4396
4331
  # method: {
4397
4332
  # },
4333
+ # json_body: {
4334
+ # match_pattern: { # required
4335
+ # all: {
4336
+ # },
4337
+ # included_paths: ["JsonPointerPath"],
4338
+ # },
4339
+ # match_scope: "ALL", # required, accepts ALL, KEY, VALUE
4340
+ # invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
4341
+ # },
4398
4342
  # },
4399
4343
  # text_transformations: [ # required
4400
4344
  # {
@@ -4498,7 +4442,7 @@ module Aws::WAFV2
4498
4442
  params: params,
4499
4443
  config: config)
4500
4444
  context[:gem_name] = 'aws-sdk-wafv2'
4501
- context[:gem_version] = '1.12.0'
4445
+ context[:gem_version] = '1.17.0'
4502
4446
  Seahorse::Client::Request.new(handlers, context)
4503
4447
  end
4504
4448