aws-sdk-wafv2 1.13.0 → 1.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +103 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-wafv2.rb +2 -2
- data/lib/aws-sdk-wafv2/client.rb +404 -452
- data/lib/aws-sdk-wafv2/client_api.rb +22 -1
- data/lib/aws-sdk-wafv2/errors.rb +1 -1
- data/lib/aws-sdk-wafv2/resource.rb +1 -1
- data/lib/aws-sdk-wafv2/types.rb +1011 -687
- metadata +8 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c309b8c7a07984557361cc17143609368eda034de8b5cd1ba0fe298f6f470853
|
4
|
+
data.tar.gz: a746cf9b8fc065a82603c58c9a40a65c55138f15a3a28ea12e7ad1cdb1ca400b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac3e7c4e8c5ba3bc8e779b00911a0aa7b2ea2900e6532a39a0379ce72338b754156626e603428ea4b85f97a2539818238f1b147644fe57dad9408d74446e032a
|
7
|
+
data.tar.gz: 888ee1834a2ed4eaa23a1b50acff42850d9cce5733404c9476d626f645a6e75f164ec4b42486ab14355293f17e77c2ba1d507df01139dae2aaadd516a1b02953
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,103 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.18.0 (2021-03-11)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Correct the documentation about JSON body parsing behavior and IP set update behavior
|
8
|
+
|
9
|
+
1.17.0 (2021-03-10)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.16.0 (2021-02-12)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* 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.
|
18
|
+
|
19
|
+
1.15.0 (2021-02-02)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
24
|
+
1.14.0 (2020-10-01)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* 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.
|
28
|
+
|
29
|
+
1.13.0 (2020-09-30)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
33
|
+
|
34
|
+
1.12.0 (2020-09-15)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
38
|
+
|
39
|
+
1.11.0 (2020-08-25)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
43
|
+
|
44
|
+
1.10.0 (2020-07-31)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - Add ManagedByFirewallManager flag to the logging configuration, which indicates whether AWS Firewall Manager controls the configuration.
|
48
|
+
|
49
|
+
1.9.0 (2020-07-09)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* 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.
|
53
|
+
|
54
|
+
1.8.0 (2020-07-02)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
58
|
+
|
59
|
+
1.7.0 (2020-06-23)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
63
|
+
|
64
|
+
1.6.1 (2020-06-11)
|
65
|
+
------------------
|
66
|
+
|
67
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
68
|
+
|
69
|
+
1.6.0 (2020-06-10)
|
70
|
+
------------------
|
71
|
+
|
72
|
+
* Issue - This version has been yanked. (#2327).
|
73
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
74
|
+
|
75
|
+
1.5.0 (2020-05-28)
|
76
|
+
------------------
|
77
|
+
|
78
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
79
|
+
|
80
|
+
1.4.0 (2020-05-07)
|
81
|
+
------------------
|
82
|
+
|
83
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
84
|
+
|
85
|
+
1.3.0 (2020-03-31)
|
86
|
+
------------------
|
87
|
+
|
88
|
+
* Feature - Added support for AWS Firewall Manager for WAFv2 and PermissionPolicy APIs for WAFv2.
|
89
|
+
|
90
|
+
1.2.0 (2020-03-09)
|
91
|
+
------------------
|
92
|
+
|
93
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
94
|
+
|
95
|
+
1.1.0 (2020-02-21)
|
96
|
+
------------------
|
97
|
+
|
98
|
+
* Feature - Documentation updates for AWS WAF (wafv2) to correct the guidance for associating a web ACL to a CloudFront distribution.
|
99
|
+
|
100
|
+
1.0.0 (2019-11-25)
|
101
|
+
------------------
|
102
|
+
|
103
|
+
* 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.18.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/
|
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.
|
51
|
+
GEM_VERSION = '1.18.0'
|
52
52
|
|
53
53
|
end
|
data/lib/aws-sdk-wafv2/client.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/
|
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)
|
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][
|
348
|
+
# [UpdateDistribution][1].
|
356
349
|
#
|
357
350
|
#
|
358
351
|
#
|
359
|
-
# [1]: https://docs.aws.amazon.com/
|
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
|
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)
|
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)
|
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.
|
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.
|
@@ -726,8 +745,8 @@ module Aws::WAFV2
|
|
726
745
|
# @option params [required, Array<String>] :addresses
|
727
746
|
# Contains an array of strings that specify one or more IP addresses or
|
728
747
|
# blocks of IP addresses in Classless Inter-Domain Routing (CIDR)
|
729
|
-
# notation. AWS WAF supports all
|
730
|
-
#
|
748
|
+
# notation. AWS WAF supports all IPv4 and IPv6 CIDR ranges except for
|
749
|
+
# /0.
|
731
750
|
#
|
732
751
|
# Examples:
|
733
752
|
#
|
@@ -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)
|
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.
|
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)
|
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.
|
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,
|
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)
|
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.
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
1985
|
-
# API
|
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][
|
1998
|
+
# information, see [UpdateDistribution][1].
|
1991
1999
|
#
|
1992
2000
|
#
|
1993
2001
|
#
|
1994
|
-
# [1]: https://docs.aws.amazon.com/
|
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
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
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)
|
3150
|
-
# API
|
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)
|
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)
|
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][
|
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/
|
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,18 +3535,15 @@ 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
|
#
|
3540
|
+
# <note markdown="1"> This operation completely replaces any IP address specifications that
|
3541
|
+
# you already have in the IP set with the ones that you provide to this
|
3542
|
+
# call. If you want to add to or modify the addresses that are already
|
3543
|
+
# in the IP set, retrieve those by calling GetIPSet, update them, and
|
3544
|
+
# provide the complete updated array of IP addresses to this call.
|
3649
3545
|
#
|
3650
|
-
#
|
3651
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3546
|
+
# </note>
|
3652
3547
|
#
|
3653
3548
|
# @option params [required, String] :name
|
3654
3549
|
# The name of the IP set. You cannot change the name of an `IPSet` after
|
@@ -3657,7 +3552,8 @@ module Aws::WAFV2
|
|
3657
3552
|
# @option params [required, String] :scope
|
3658
3553
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
3659
3554
|
# regional application. A regional application can be an Application
|
3660
|
-
# Load Balancer (ALB)
|
3555
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
3556
|
+
# API.
|
3661
3557
|
#
|
3662
3558
|
# To work with CloudFront, you must also specify the Region US East (N.
|
3663
3559
|
# Virginia) as follows:
|
@@ -3673,14 +3569,13 @@ module Aws::WAFV2
|
|
3673
3569
|
# and delete.
|
3674
3570
|
#
|
3675
3571
|
# @option params [String] :description
|
3676
|
-
# A description of the IP set that helps with identification.
|
3677
|
-
# change the description of an IP set after you create it.
|
3572
|
+
# A description of the IP set that helps with identification.
|
3678
3573
|
#
|
3679
3574
|
# @option params [required, Array<String>] :addresses
|
3680
3575
|
# Contains an array of strings that specify one or more IP addresses or
|
3681
3576
|
# blocks of IP addresses in Classless Inter-Domain Routing (CIDR)
|
3682
|
-
# notation. AWS WAF supports all
|
3683
|
-
#
|
3577
|
+
# notation. AWS WAF supports all IPv4 and IPv6 CIDR ranges except for
|
3578
|
+
# /0.
|
3684
3579
|
#
|
3685
3580
|
# Examples:
|
3686
3581
|
#
|
@@ -3746,19 +3641,8 @@ module Aws::WAFV2
|
|
3746
3641
|
req.send_request(options)
|
3747
3642
|
end
|
3748
3643
|
|
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
3644
|
# Updates the specified RegexPatternSet.
|
3757
3645
|
#
|
3758
|
-
#
|
3759
|
-
#
|
3760
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3761
|
-
#
|
3762
3646
|
# @option params [required, String] :name
|
3763
3647
|
# The name of the set. You cannot change the name after you create the
|
3764
3648
|
# set.
|
@@ -3766,7 +3650,8 @@ module Aws::WAFV2
|
|
3766
3650
|
# @option params [required, String] :scope
|
3767
3651
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
3768
3652
|
# regional application. A regional application can be an Application
|
3769
|
-
# Load Balancer (ALB)
|
3653
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
3654
|
+
# API.
|
3770
3655
|
#
|
3771
3656
|
# To work with CloudFront, you must also specify the Region US East (N.
|
3772
3657
|
# Virginia) as follows:
|
@@ -3782,8 +3667,7 @@ module Aws::WAFV2
|
|
3782
3667
|
# and delete.
|
3783
3668
|
#
|
3784
3669
|
# @option params [String] :description
|
3785
|
-
# A description of the set that helps with identification.
|
3786
|
-
# change the description of a set after you create it.
|
3670
|
+
# A description of the set that helps with identification.
|
3787
3671
|
#
|
3788
3672
|
# @option params [required, Array<Types::Regex>] :regular_expression_list
|
3789
3673
|
#
|
@@ -3829,13 +3713,6 @@ module Aws::WAFV2
|
|
3829
3713
|
req.send_request(options)
|
3830
3714
|
end
|
3831
3715
|
|
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
3716
|
# Updates the specified RuleGroup.
|
3840
3717
|
#
|
3841
3718
|
# A rule group defines a collection of rules to inspect and control web
|
@@ -3844,10 +3721,6 @@ module Aws::WAFV2
|
|
3844
3721
|
# you must stay within the capacity. This allows others to reuse the
|
3845
3722
|
# rule group with confidence in its capacity requirements.
|
3846
3723
|
#
|
3847
|
-
#
|
3848
|
-
#
|
3849
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3850
|
-
#
|
3851
3724
|
# @option params [required, String] :name
|
3852
3725
|
# The name of the rule group. You cannot change the name of a rule group
|
3853
3726
|
# after you create it.
|
@@ -3855,7 +3728,8 @@ module Aws::WAFV2
|
|
3855
3728
|
# @option params [required, String] :scope
|
3856
3729
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
3857
3730
|
# regional application. A regional application can be an Application
|
3858
|
-
# Load Balancer (ALB)
|
3731
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
3732
|
+
# API.
|
3859
3733
|
#
|
3860
3734
|
# To work with CloudFront, you must also specify the Region US East (N.
|
3861
3735
|
# Virginia) as follows:
|
@@ -3871,8 +3745,7 @@ module Aws::WAFV2
|
|
3871
3745
|
# like update and delete.
|
3872
3746
|
#
|
3873
3747
|
# @option params [String] :description
|
3874
|
-
# A description of the rule group that helps with identification.
|
3875
|
-
# cannot change the description of a rule group after you create it.
|
3748
|
+
# A description of the rule group that helps with identification.
|
3876
3749
|
#
|
3877
3750
|
# @option params [Array<Types::Rule>] :rules
|
3878
3751
|
# The Rule statements used to identify the web requests that you want to
|
@@ -3929,6 +3802,15 @@ module Aws::WAFV2
|
|
3929
3802
|
# },
|
3930
3803
|
# method: {
|
3931
3804
|
# },
|
3805
|
+
# json_body: {
|
3806
|
+
# match_pattern: { # required
|
3807
|
+
# all: {
|
3808
|
+
# },
|
3809
|
+
# included_paths: ["JsonPointerPath"],
|
3810
|
+
# },
|
3811
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
3812
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
3813
|
+
# },
|
3932
3814
|
# },
|
3933
3815
|
# text_transformations: [ # required
|
3934
3816
|
# {
|
@@ -3956,6 +3838,15 @@ module Aws::WAFV2
|
|
3956
3838
|
# },
|
3957
3839
|
# method: {
|
3958
3840
|
# },
|
3841
|
+
# json_body: {
|
3842
|
+
# match_pattern: { # required
|
3843
|
+
# all: {
|
3844
|
+
# },
|
3845
|
+
# included_paths: ["JsonPointerPath"],
|
3846
|
+
# },
|
3847
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
3848
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
3849
|
+
# },
|
3959
3850
|
# },
|
3960
3851
|
# text_transformations: [ # required
|
3961
3852
|
# {
|
@@ -3982,6 +3873,15 @@ module Aws::WAFV2
|
|
3982
3873
|
# },
|
3983
3874
|
# method: {
|
3984
3875
|
# },
|
3876
|
+
# json_body: {
|
3877
|
+
# match_pattern: { # required
|
3878
|
+
# all: {
|
3879
|
+
# },
|
3880
|
+
# included_paths: ["JsonPointerPath"],
|
3881
|
+
# },
|
3882
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
3883
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
3884
|
+
# },
|
3985
3885
|
# },
|
3986
3886
|
# text_transformations: [ # required
|
3987
3887
|
# {
|
@@ -4008,6 +3908,15 @@ module Aws::WAFV2
|
|
4008
3908
|
# },
|
4009
3909
|
# method: {
|
4010
3910
|
# },
|
3911
|
+
# json_body: {
|
3912
|
+
# match_pattern: { # required
|
3913
|
+
# all: {
|
3914
|
+
# },
|
3915
|
+
# included_paths: ["JsonPointerPath"],
|
3916
|
+
# },
|
3917
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
3918
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
3919
|
+
# },
|
4011
3920
|
# },
|
4012
3921
|
# comparison_operator: "EQ", # required, accepts EQ, NE, LE, LT, GE, GT
|
4013
3922
|
# size: 1, # required
|
@@ -4060,6 +3969,15 @@ module Aws::WAFV2
|
|
4060
3969
|
# },
|
4061
3970
|
# method: {
|
4062
3971
|
# },
|
3972
|
+
# json_body: {
|
3973
|
+
# match_pattern: { # required
|
3974
|
+
# all: {
|
3975
|
+
# },
|
3976
|
+
# included_paths: ["JsonPointerPath"],
|
3977
|
+
# },
|
3978
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
3979
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
3980
|
+
# },
|
4063
3981
|
# },
|
4064
3982
|
# text_transformations: [ # required
|
4065
3983
|
# {
|
@@ -4150,13 +4068,6 @@ module Aws::WAFV2
|
|
4150
4068
|
req.send_request(options)
|
4151
4069
|
end
|
4152
4070
|
|
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
4071
|
# Updates the specified WebACL.
|
4161
4072
|
#
|
4162
4073
|
# A Web ACL defines a collection of rules to use to inspect and control
|
@@ -4166,12 +4077,8 @@ module Aws::WAFV2
|
|
4166
4077
|
# does not match any of the rules. The rules in a Web ACL can be a
|
4167
4078
|
# combination of the types Rule, RuleGroup, and managed rule group. You
|
4168
4079
|
# 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,
|
4170
|
-
# Application Load Balancer.
|
4171
|
-
#
|
4172
|
-
#
|
4173
|
-
#
|
4174
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4080
|
+
# resources can be Amazon CloudFront, an Amazon API Gateway REST API, an
|
4081
|
+
# Application Load Balancer, or an AWS AppSync GraphQL API.
|
4175
4082
|
#
|
4176
4083
|
# @option params [required, String] :name
|
4177
4084
|
# The name of the Web ACL. You cannot change the name of a Web ACL after
|
@@ -4180,7 +4087,8 @@ module Aws::WAFV2
|
|
4180
4087
|
# @option params [required, String] :scope
|
4181
4088
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
4182
4089
|
# regional application. A regional application can be an Application
|
4183
|
-
# Load Balancer (ALB)
|
4090
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
4091
|
+
# API.
|
4184
4092
|
#
|
4185
4093
|
# To work with CloudFront, you must also specify the Region US East (N.
|
4186
4094
|
# Virginia) as follows:
|
@@ -4200,8 +4108,7 @@ module Aws::WAFV2
|
|
4200
4108
|
# match.
|
4201
4109
|
#
|
4202
4110
|
# @option params [String] :description
|
4203
|
-
# A description of the Web ACL that helps with identification.
|
4204
|
-
# cannot change the description of a Web ACL after you create it.
|
4111
|
+
# A description of the Web ACL that helps with identification.
|
4205
4112
|
#
|
4206
4113
|
# @option params [Array<Types::Rule>] :rules
|
4207
4114
|
# The Rule statements used to identify the web requests that you want to
|
@@ -4264,6 +4171,15 @@ module Aws::WAFV2
|
|
4264
4171
|
# },
|
4265
4172
|
# method: {
|
4266
4173
|
# },
|
4174
|
+
# json_body: {
|
4175
|
+
# match_pattern: { # required
|
4176
|
+
# all: {
|
4177
|
+
# },
|
4178
|
+
# included_paths: ["JsonPointerPath"],
|
4179
|
+
# },
|
4180
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
4181
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
4182
|
+
# },
|
4267
4183
|
# },
|
4268
4184
|
# text_transformations: [ # required
|
4269
4185
|
# {
|
@@ -4291,6 +4207,15 @@ module Aws::WAFV2
|
|
4291
4207
|
# },
|
4292
4208
|
# method: {
|
4293
4209
|
# },
|
4210
|
+
# json_body: {
|
4211
|
+
# match_pattern: { # required
|
4212
|
+
# all: {
|
4213
|
+
# },
|
4214
|
+
# included_paths: ["JsonPointerPath"],
|
4215
|
+
# },
|
4216
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
4217
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
4218
|
+
# },
|
4294
4219
|
# },
|
4295
4220
|
# text_transformations: [ # required
|
4296
4221
|
# {
|
@@ -4317,6 +4242,15 @@ module Aws::WAFV2
|
|
4317
4242
|
# },
|
4318
4243
|
# method: {
|
4319
4244
|
# },
|
4245
|
+
# json_body: {
|
4246
|
+
# match_pattern: { # required
|
4247
|
+
# all: {
|
4248
|
+
# },
|
4249
|
+
# included_paths: ["JsonPointerPath"],
|
4250
|
+
# },
|
4251
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
4252
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
4253
|
+
# },
|
4320
4254
|
# },
|
4321
4255
|
# text_transformations: [ # required
|
4322
4256
|
# {
|
@@ -4343,6 +4277,15 @@ module Aws::WAFV2
|
|
4343
4277
|
# },
|
4344
4278
|
# method: {
|
4345
4279
|
# },
|
4280
|
+
# json_body: {
|
4281
|
+
# match_pattern: { # required
|
4282
|
+
# all: {
|
4283
|
+
# },
|
4284
|
+
# included_paths: ["JsonPointerPath"],
|
4285
|
+
# },
|
4286
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
4287
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
4288
|
+
# },
|
4346
4289
|
# },
|
4347
4290
|
# comparison_operator: "EQ", # required, accepts EQ, NE, LE, LT, GE, GT
|
4348
4291
|
# size: 1, # required
|
@@ -4395,6 +4338,15 @@ module Aws::WAFV2
|
|
4395
4338
|
# },
|
4396
4339
|
# method: {
|
4397
4340
|
# },
|
4341
|
+
# json_body: {
|
4342
|
+
# match_pattern: { # required
|
4343
|
+
# all: {
|
4344
|
+
# },
|
4345
|
+
# included_paths: ["JsonPointerPath"],
|
4346
|
+
# },
|
4347
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
4348
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
4349
|
+
# },
|
4398
4350
|
# },
|
4399
4351
|
# text_transformations: [ # required
|
4400
4352
|
# {
|
@@ -4498,7 +4450,7 @@ module Aws::WAFV2
|
|
4498
4450
|
params: params,
|
4499
4451
|
config: config)
|
4500
4452
|
context[:gem_name] = 'aws-sdk-wafv2'
|
4501
|
-
context[:gem_version] = '1.
|
4453
|
+
context[:gem_version] = '1.18.0'
|
4502
4454
|
Seahorse::Client::Request.new(handlers, context)
|
4503
4455
|
end
|
4504
4456
|
|