aws-sdk-wafregional 1.26.0 → 1.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-wafregional.rb +7 -4
- data/lib/aws-sdk-wafregional/client.rb +1283 -90
- data/lib/aws-sdk-wafregional/client_api.rb +38 -2
- data/lib/aws-sdk-wafregional/errors.rb +75 -16
- data/lib/aws-sdk-wafregional/resource.rb +1 -0
- data/lib/aws-sdk-wafregional/types.rb +935 -30
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 3fc46ac7a8dcd1103b620bdedc6a2ec262b21b7aa1417550f95b88e763278d4f
|
4
|
+
data.tar.gz: 8386344a6678da84065be4c97c8a7e268338256d5cbd9d52eb2f9f51299c9b02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7780e86c8521fcc5097487acabc5ca8a6e392cddeb4192ea8df78984be9fb74e21fa311102202f22224291b1a52c2134eff88f37d82c457cc4d8128176bdbf43
|
7
|
+
data.tar.gz: 33bad4ff8910dfb99db149db8139a37576ee1cf42eb51a57a0ac6a3fafb8384838368088d3ad3d551883987a9c269b6c8c5b2b5a4d00e575b70479db627788d0
|
data/lib/aws-sdk-wafregional.rb
CHANGED
@@ -24,17 +24,20 @@ require_relative 'aws-sdk-wafregional/customizations'
|
|
24
24
|
# methods each accept a hash of request parameters and return a response
|
25
25
|
# structure.
|
26
26
|
#
|
27
|
+
# waf_regional = Aws::WAFRegional::Client.new
|
28
|
+
# resp = waf_regional.associate_web_acl(params)
|
29
|
+
#
|
27
30
|
# See {Client} for more information.
|
28
31
|
#
|
29
32
|
# # Errors
|
30
33
|
#
|
31
|
-
# Errors returned from AWS WAF Regional
|
32
|
-
# extend {Errors::ServiceError}.
|
34
|
+
# Errors returned from AWS WAF Regional are defined in the
|
35
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
33
36
|
#
|
34
37
|
# begin
|
35
38
|
# # do stuff
|
36
39
|
# rescue Aws::WAFRegional::Errors::ServiceError
|
37
|
-
# # rescues all
|
40
|
+
# # rescues all AWS WAF Regional API errors
|
38
41
|
# end
|
39
42
|
#
|
40
43
|
# See {Errors} for more information.
|
@@ -42,6 +45,6 @@ require_relative 'aws-sdk-wafregional/customizations'
|
|
42
45
|
# @service
|
43
46
|
module Aws::WAFRegional
|
44
47
|
|
45
|
-
GEM_VERSION = '1.
|
48
|
+
GEM_VERSION = '1.31.0'
|
46
49
|
|
47
50
|
end
|
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
|
30
30
|
Aws::Plugins::GlobalConfiguration.add_identifier(:wafregional)
|
31
31
|
|
32
32
|
module Aws::WAFRegional
|
33
|
+
# An API client for WAFRegional. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
|
+
#
|
35
|
+
# client = Aws::WAFRegional::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
|
+
#
|
41
|
+
# For details on configuring region and credentials see
|
42
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
43
|
+
#
|
44
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
45
|
class Client < Seahorse::Client::Base
|
34
46
|
|
35
47
|
include Aws::ClientStubs
|
@@ -93,7 +105,7 @@ module Aws::WAFRegional
|
|
93
105
|
# @option options [required, String] :region
|
94
106
|
# The AWS region to connect to. The configured `:region` is
|
95
107
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
97
109
|
#
|
98
110
|
# * `Aws.config[:region]`
|
99
111
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +120,12 @@ module Aws::WAFRegional
|
|
108
120
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
121
|
# the background every 60 secs (default). Defaults to `false`.
|
110
122
|
#
|
123
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
124
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
125
|
+
# until there is sufficent client side capacity to retry the request.
|
126
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
127
|
+
# not retry instead of sleeping.
|
128
|
+
#
|
111
129
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
130
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
131
|
# this client.
|
@@ -132,6 +150,10 @@ module Aws::WAFRegional
|
|
132
150
|
# When `true`, an attempt is made to coerce request parameters into
|
133
151
|
# the required types.
|
134
152
|
#
|
153
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
154
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
155
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
156
|
+
#
|
135
157
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
158
|
# Set to true to disable SDK automatically adding host prefix
|
137
159
|
# to default service endpoint when available.
|
@@ -139,7 +161,7 @@ module Aws::WAFRegional
|
|
139
161
|
# @option options [String] :endpoint
|
140
162
|
# The client endpoint is normally constructed from the `:region`
|
141
163
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
143
165
|
#
|
144
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +176,7 @@ module Aws::WAFRegional
|
|
154
176
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
177
|
#
|
156
178
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
179
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
180
|
#
|
159
181
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
182
|
# The log formatter.
|
@@ -166,15 +188,29 @@ module Aws::WAFRegional
|
|
166
188
|
# The Logger instance to send log messages to. If this option
|
167
189
|
# is not set, logging will be disabled.
|
168
190
|
#
|
191
|
+
# @option options [Integer] :max_attempts (3)
|
192
|
+
# An integer representing the maximum number attempts that will be made for
|
193
|
+
# a single request, including the initial attempt. For example,
|
194
|
+
# setting this value to 5 will result in a request being retried up to
|
195
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
196
|
+
#
|
169
197
|
# @option options [String] :profile ("default")
|
170
198
|
# Used when loading credentials from the shared credentials file
|
171
199
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
200
|
#
|
201
|
+
# @option options [Proc] :retry_backoff
|
202
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
203
|
+
# This option is only used in the `legacy` retry mode.
|
204
|
+
#
|
173
205
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
206
|
+
# The base delay in seconds used by the default backoff function. This option
|
207
|
+
# is only used in the `legacy` retry mode.
|
175
208
|
#
|
176
209
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
210
|
+
# A delay randomiser function used by the default backoff function.
|
211
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
212
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
213
|
+
# in the `legacy` retry mode.
|
178
214
|
#
|
179
215
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
216
|
#
|
@@ -182,11 +218,30 @@ module Aws::WAFRegional
|
|
182
218
|
# The maximum number of times to retry failed requests. Only
|
183
219
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
220
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
221
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
222
|
+
# endpoint discovery, and errors from expired credentials.
|
223
|
+
# This option is only used in the `legacy` retry mode.
|
187
224
|
#
|
188
225
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
226
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
227
|
+
# used by the default backoff function. This option is only used in the
|
228
|
+
# `legacy` retry mode.
|
229
|
+
#
|
230
|
+
# @option options [String] :retry_mode ("legacy")
|
231
|
+
# Specifies which retry algorithm to use. Values are:
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
190
245
|
#
|
191
246
|
# @option options [String] :secret_access_key
|
192
247
|
#
|
@@ -219,16 +274,15 @@ module Aws::WAFRegional
|
|
219
274
|
# requests through. Formatted like 'http://proxy.com:123'.
|
220
275
|
#
|
221
276
|
# @option options [Float] :http_open_timeout (15) The number of
|
222
|
-
# seconds to wait when opening a HTTP session before
|
277
|
+
# seconds to wait when opening a HTTP session before raising a
|
223
278
|
# `Timeout::Error`.
|
224
279
|
#
|
225
280
|
# @option options [Integer] :http_read_timeout (60) The default
|
226
281
|
# number of seconds to wait for response data. This value can
|
227
|
-
# safely be set
|
228
|
-
# per-request on the session yeidled by {#session_for}.
|
282
|
+
# safely be set per-request on the session.
|
229
283
|
#
|
230
284
|
# @option options [Float] :http_idle_timeout (5) The number of
|
231
|
-
# seconds a connection is allowed to sit
|
285
|
+
# seconds a connection is allowed to sit idle before it is
|
232
286
|
# considered stale. Stale connections are closed and removed
|
233
287
|
# from the pool before making a request.
|
234
288
|
#
|
@@ -237,7 +291,7 @@ module Aws::WAFRegional
|
|
237
291
|
# request body. This option has no effect unless the request has
|
238
292
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
239
293
|
# disables this behaviour. This value can safely be set per
|
240
|
-
# request on the session
|
294
|
+
# request on the session.
|
241
295
|
#
|
242
296
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
243
297
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -264,9 +318,23 @@ module Aws::WAFRegional
|
|
264
318
|
|
265
319
|
# @!group API Operations
|
266
320
|
|
321
|
+
# <note markdown="1"> This is **AWS WAF Classic Regional** documentation. For more
|
322
|
+
# information, see [AWS WAF Classic][1] in the developer guide.
|
323
|
+
#
|
324
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
325
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
326
|
+
# a single set of endpoints for regional and global use.
|
327
|
+
#
|
328
|
+
# </note>
|
329
|
+
#
|
267
330
|
# Associates a web ACL with a resource, either an application load
|
268
331
|
# balancer or Amazon API Gateway stage.
|
269
332
|
#
|
333
|
+
#
|
334
|
+
#
|
335
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
336
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
337
|
+
#
|
270
338
|
# @option params [required, String] :web_acl_id
|
271
339
|
# A unique identifier (ID) for the web ACL.
|
272
340
|
#
|
@@ -301,6 +369,15 @@ module Aws::WAFRegional
|
|
301
369
|
req.send_request(options)
|
302
370
|
end
|
303
371
|
|
372
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
373
|
+
# [AWS WAF Classic][1] in the developer guide.
|
374
|
+
#
|
375
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
376
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
377
|
+
# a single set of endpoints for regional and global use.
|
378
|
+
#
|
379
|
+
# </note>
|
380
|
+
#
|
304
381
|
# Creates a `ByteMatchSet`. You then use UpdateByteMatchSet to identify
|
305
382
|
# the part of a web request that you want AWS WAF to inspect, such as
|
306
383
|
# the values of the `User-Agent` header or the query string. For
|
@@ -323,11 +400,13 @@ module Aws::WAFRegional
|
|
323
400
|
# or the URI) and the value that you want AWS WAF to watch for.
|
324
401
|
#
|
325
402
|
# For more information about how to use the AWS WAF API to allow or
|
326
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
403
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
327
404
|
#
|
328
405
|
#
|
329
406
|
#
|
330
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
407
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
408
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
409
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
331
410
|
#
|
332
411
|
# @option params [required, String] :name
|
333
412
|
# A friendly name or description of the ByteMatchSet. You can't change
|
@@ -369,6 +448,15 @@ module Aws::WAFRegional
|
|
369
448
|
req.send_request(options)
|
370
449
|
end
|
371
450
|
|
451
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
452
|
+
# [AWS WAF Classic][1] in the developer guide.
|
453
|
+
#
|
454
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
455
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
456
|
+
# a single set of endpoints for regional and global use.
|
457
|
+
#
|
458
|
+
# </note>
|
459
|
+
#
|
372
460
|
# Creates an GeoMatchSet, which you use to specify which web requests
|
373
461
|
# you want to allow or block based on the country that the requests
|
374
462
|
# originate from. For example, if you're receiving a lot of requests
|
@@ -390,11 +478,13 @@ module Aws::WAFRegional
|
|
390
478
|
# that you want AWS WAF to watch for.
|
391
479
|
#
|
392
480
|
# For more information about how to use the AWS WAF API to allow or
|
393
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
481
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
394
482
|
#
|
395
483
|
#
|
396
484
|
#
|
397
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
485
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
486
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
487
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
398
488
|
#
|
399
489
|
# @option params [required, String] :name
|
400
490
|
# A friendly name or description of the GeoMatchSet. You can't change
|
@@ -433,6 +523,15 @@ module Aws::WAFRegional
|
|
433
523
|
req.send_request(options)
|
434
524
|
end
|
435
525
|
|
526
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
527
|
+
# [AWS WAF Classic][1] in the developer guide.
|
528
|
+
#
|
529
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
530
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
531
|
+
# a single set of endpoints for regional and global use.
|
532
|
+
#
|
533
|
+
# </note>
|
534
|
+
#
|
436
535
|
# Creates an IPSet, which you use to specify which web requests that you
|
437
536
|
# want to allow or block based on the IP addresses that the requests
|
438
537
|
# originate from. For example, if you're receiving a lot of requests
|
@@ -455,11 +554,13 @@ module Aws::WAFRegional
|
|
455
554
|
# you want AWS WAF to watch for.
|
456
555
|
#
|
457
556
|
# For more information about how to use the AWS WAF API to allow or
|
458
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
557
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
459
558
|
#
|
460
559
|
#
|
461
560
|
#
|
462
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
561
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
562
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
563
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
463
564
|
#
|
464
565
|
# @option params [required, String] :name
|
465
566
|
# A friendly name or description of the IPSet. You can't change `Name`
|
@@ -523,6 +624,15 @@ module Aws::WAFRegional
|
|
523
624
|
req.send_request(options)
|
524
625
|
end
|
525
626
|
|
627
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
628
|
+
# [AWS WAF Classic][1] in the developer guide.
|
629
|
+
#
|
630
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
631
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
632
|
+
# a single set of endpoints for regional and global use.
|
633
|
+
#
|
634
|
+
# </note>
|
635
|
+
#
|
526
636
|
# Creates a RateBasedRule. The `RateBasedRule` contains a `RateLimit`,
|
527
637
|
# which specifies the maximum number of requests that AWS WAF allows
|
528
638
|
# from a specified IP address in a five-minute period. The
|
@@ -532,23 +642,23 @@ module Aws::WAFRegional
|
|
532
642
|
#
|
533
643
|
# If you add more than one predicate to a `RateBasedRule`, a request not
|
534
644
|
# only must exceed the `RateLimit`, but it also must match all the
|
535
|
-
#
|
536
|
-
#
|
645
|
+
# conditions to be counted or blocked. For example, suppose you add the
|
646
|
+
# following to a `RateBasedRule`\:
|
537
647
|
#
|
538
648
|
# * An `IPSet` that matches the IP address `192.0.2.44/32`
|
539
649
|
#
|
540
650
|
# * A `ByteMatchSet` that matches `BadBot` in the `User-Agent` header
|
541
651
|
#
|
542
|
-
# Further, you specify a `RateLimit` of
|
652
|
+
# Further, you specify a `RateLimit` of 1,000.
|
543
653
|
#
|
544
654
|
# You then add the `RateBasedRule` to a `WebACL` and specify that you
|
545
655
|
# want to block requests that meet the conditions in the rule. For a
|
546
656
|
# request to be blocked, it must come from the IP address 192.0.2.44
|
547
657
|
# *and* the `User-Agent` header in the request must contain the value
|
548
658
|
# `BadBot`. Further, requests that match these two conditions must be
|
549
|
-
# received at a rate of more than
|
659
|
+
# received at a rate of more than 1,000 requests every five minutes. If
|
550
660
|
# both conditions are met and the rate is exceeded, AWS WAF blocks the
|
551
|
-
# requests. If the rate drops below
|
661
|
+
# requests. If the rate drops below 1,000 for a five-minute period, AWS
|
552
662
|
# WAF no longer blocks the requests.
|
553
663
|
#
|
554
664
|
# As a second example, suppose you want to limit requests to a
|
@@ -561,7 +671,7 @@ module Aws::WAFRegional
|
|
561
671
|
#
|
562
672
|
# * A `TargetString` of `login`
|
563
673
|
#
|
564
|
-
# Further, you specify a `RateLimit` of
|
674
|
+
# Further, you specify a `RateLimit` of 1,000.
|
565
675
|
#
|
566
676
|
# By adding this `RateBasedRule` to a `WebACL`, you could limit requests
|
567
677
|
# to your login page without affecting the rest of your site.
|
@@ -588,11 +698,13 @@ module Aws::WAFRegional
|
|
588
698
|
# For more information, see CreateWebACL.
|
589
699
|
#
|
590
700
|
# For more information about how to use the AWS WAF API to allow or
|
591
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
701
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
592
702
|
#
|
593
703
|
#
|
594
704
|
#
|
595
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
705
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
706
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
707
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
596
708
|
#
|
597
709
|
# @option params [required, String] :name
|
598
710
|
# A friendly name or description of the RateBasedRule. You can't change
|
@@ -642,8 +754,8 @@ module Aws::WAFRegional
|
|
642
754
|
# change_token: "ChangeToken", # required
|
643
755
|
# tags: [
|
644
756
|
# {
|
645
|
-
# key: "TagKey",
|
646
|
-
# value: "TagValue",
|
757
|
+
# key: "TagKey", # required
|
758
|
+
# value: "TagValue", # required
|
647
759
|
# },
|
648
760
|
# ],
|
649
761
|
# })
|
@@ -670,6 +782,15 @@ module Aws::WAFRegional
|
|
670
782
|
req.send_request(options)
|
671
783
|
end
|
672
784
|
|
785
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
786
|
+
# [AWS WAF Classic][1] in the developer guide.
|
787
|
+
#
|
788
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
789
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
790
|
+
# a single set of endpoints for regional and global use.
|
791
|
+
#
|
792
|
+
# </note>
|
793
|
+
#
|
673
794
|
# Creates a RegexMatchSet. You then use UpdateRegexMatchSet to identify
|
674
795
|
# the part of a web request that you want AWS WAF to inspect, such as
|
675
796
|
# the values of the `User-Agent` header or the query string. For
|
@@ -695,11 +816,13 @@ module Aws::WAFRegional
|
|
695
816
|
# want AWS WAF to watch for.
|
696
817
|
#
|
697
818
|
# For more information about how to use the AWS WAF API to allow or
|
698
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
819
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
699
820
|
#
|
700
821
|
#
|
701
822
|
#
|
702
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
823
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
824
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
825
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
703
826
|
#
|
704
827
|
# @option params [required, String] :name
|
705
828
|
# A friendly name or description of the RegexMatchSet. You can't change
|
@@ -740,6 +863,15 @@ module Aws::WAFRegional
|
|
740
863
|
req.send_request(options)
|
741
864
|
end
|
742
865
|
|
866
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
867
|
+
# [AWS WAF Classic][1] in the developer guide.
|
868
|
+
#
|
869
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
870
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
871
|
+
# a single set of endpoints for regional and global use.
|
872
|
+
#
|
873
|
+
# </note>
|
874
|
+
#
|
743
875
|
# Creates a `RegexPatternSet`. You then use UpdateRegexPatternSet to
|
744
876
|
# specify the regular expression (regex) pattern that you want AWS WAF
|
745
877
|
# to search for, such as `B[a@]dB[o0]t`. You can then configure AWS WAF
|
@@ -760,11 +892,13 @@ module Aws::WAFRegional
|
|
760
892
|
# you want AWS WAF to watch for.
|
761
893
|
#
|
762
894
|
# For more information about how to use the AWS WAF API to allow or
|
763
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
895
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
764
896
|
#
|
765
897
|
#
|
766
898
|
#
|
767
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
899
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
900
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
901
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
768
902
|
#
|
769
903
|
# @option params [required, String] :name
|
770
904
|
# A friendly name or description of the RegexPatternSet. You can't
|
@@ -802,6 +936,15 @@ module Aws::WAFRegional
|
|
802
936
|
req.send_request(options)
|
803
937
|
end
|
804
938
|
|
939
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
940
|
+
# [AWS WAF Classic][1] in the developer guide.
|
941
|
+
#
|
942
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
943
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
944
|
+
# a single set of endpoints for regional and global use.
|
945
|
+
#
|
946
|
+
# </note>
|
947
|
+
#
|
805
948
|
# Creates a `Rule`, which contains the `IPSet` objects, `ByteMatchSet`
|
806
949
|
# objects, and other predicates that identify the requests that you want
|
807
950
|
# to block. If you add more than one predicate to a `Rule`, a request
|
@@ -838,11 +981,13 @@ module Aws::WAFRegional
|
|
838
981
|
# information, see CreateWebACL.
|
839
982
|
#
|
840
983
|
# For more information about how to use the AWS WAF API to allow or
|
841
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
984
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
842
985
|
#
|
843
986
|
#
|
844
987
|
#
|
845
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
988
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
989
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
990
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
846
991
|
#
|
847
992
|
# @option params [required, String] :name
|
848
993
|
# A friendly name or description of the Rule. You can't change the name
|
@@ -902,8 +1047,8 @@ module Aws::WAFRegional
|
|
902
1047
|
# change_token: "ChangeToken", # required
|
903
1048
|
# tags: [
|
904
1049
|
# {
|
905
|
-
# key: "TagKey",
|
906
|
-
# value: "TagValue",
|
1050
|
+
# key: "TagKey", # required
|
1051
|
+
# value: "TagValue", # required
|
907
1052
|
# },
|
908
1053
|
# ],
|
909
1054
|
# })
|
@@ -928,6 +1073,15 @@ module Aws::WAFRegional
|
|
928
1073
|
req.send_request(options)
|
929
1074
|
end
|
930
1075
|
|
1076
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1077
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1078
|
+
#
|
1079
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1080
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1081
|
+
# a single set of endpoints for regional and global use.
|
1082
|
+
#
|
1083
|
+
# </note>
|
1084
|
+
#
|
931
1085
|
# Creates a `RuleGroup`. A rule group is a collection of predefined
|
932
1086
|
# rules that you add to a web ACL. You use UpdateRuleGroup to add rules
|
933
1087
|
# to the rule group.
|
@@ -942,11 +1096,13 @@ module Aws::WAFRegional
|
|
942
1096
|
# * Ten rules per rule group.
|
943
1097
|
#
|
944
1098
|
# For more information about how to use the AWS WAF API to allow or
|
945
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
1099
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
946
1100
|
#
|
947
1101
|
#
|
948
1102
|
#
|
949
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1103
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1104
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1105
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
950
1106
|
#
|
951
1107
|
# @option params [required, String] :name
|
952
1108
|
# A friendly name or description of the RuleGroup. You can't change
|
@@ -978,8 +1134,8 @@ module Aws::WAFRegional
|
|
978
1134
|
# change_token: "ChangeToken", # required
|
979
1135
|
# tags: [
|
980
1136
|
# {
|
981
|
-
# key: "TagKey",
|
982
|
-
# value: "TagValue",
|
1137
|
+
# key: "TagKey", # required
|
1138
|
+
# value: "TagValue", # required
|
983
1139
|
# },
|
984
1140
|
# ],
|
985
1141
|
# })
|
@@ -1000,6 +1156,15 @@ module Aws::WAFRegional
|
|
1000
1156
|
req.send_request(options)
|
1001
1157
|
end
|
1002
1158
|
|
1159
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1160
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1161
|
+
#
|
1162
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1163
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1164
|
+
# a single set of endpoints for regional and global use.
|
1165
|
+
#
|
1166
|
+
# </note>
|
1167
|
+
#
|
1003
1168
|
# Creates a `SizeConstraintSet`. You then use UpdateSizeConstraintSet to
|
1004
1169
|
# identify the part of a web request that you want AWS WAF to check for
|
1005
1170
|
# length, such as the length of the `User-Agent` header or the length of
|
@@ -1025,11 +1190,13 @@ module Aws::WAFRegional
|
|
1025
1190
|
# for.
|
1026
1191
|
#
|
1027
1192
|
# For more information about how to use the AWS WAF API to allow or
|
1028
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
1193
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
1029
1194
|
#
|
1030
1195
|
#
|
1031
1196
|
#
|
1032
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1197
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1198
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1199
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1033
1200
|
#
|
1034
1201
|
# @option params [required, String] :name
|
1035
1202
|
# A friendly name or description of the SizeConstraintSet. You can't
|
@@ -1100,6 +1267,15 @@ module Aws::WAFRegional
|
|
1100
1267
|
req.send_request(options)
|
1101
1268
|
end
|
1102
1269
|
|
1270
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1271
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1272
|
+
#
|
1273
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1274
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1275
|
+
# a single set of endpoints for regional and global use.
|
1276
|
+
#
|
1277
|
+
# </note>
|
1278
|
+
#
|
1103
1279
|
# Creates a SqlInjectionMatchSet, which you use to allow, block, or
|
1104
1280
|
# count requests that contain snippets of SQL code in a specified part
|
1105
1281
|
# of web requests. AWS WAF searches for character sequences that are
|
@@ -1122,11 +1298,13 @@ module Aws::WAFRegional
|
|
1122
1298
|
# malicious SQL code.
|
1123
1299
|
#
|
1124
1300
|
# For more information about how to use the AWS WAF API to allow or
|
1125
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
1301
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
1126
1302
|
#
|
1127
1303
|
#
|
1128
1304
|
#
|
1129
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1305
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1306
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1307
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1130
1308
|
#
|
1131
1309
|
# @option params [required, String] :name
|
1132
1310
|
# A friendly name or description for the SqlInjectionMatchSet that
|
@@ -1194,6 +1372,15 @@ module Aws::WAFRegional
|
|
1194
1372
|
req.send_request(options)
|
1195
1373
|
end
|
1196
1374
|
|
1375
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1376
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1377
|
+
#
|
1378
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1379
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1380
|
+
# a single set of endpoints for regional and global use.
|
1381
|
+
#
|
1382
|
+
# </note>
|
1383
|
+
#
|
1197
1384
|
# Creates a `WebACL`, which contains the `Rules` that identify the
|
1198
1385
|
# CloudFront web requests that you want to allow, block, or count. AWS
|
1199
1386
|
# WAF evaluates `Rules` in order based on the value of `Priority` for
|
@@ -1226,11 +1413,13 @@ module Aws::WAFRegional
|
|
1226
1413
|
# and to associate the `WebACL` with a CloudFront distribution.
|
1227
1414
|
#
|
1228
1415
|
# For more information about how to use the AWS WAF API, see the [AWS
|
1229
|
-
# WAF Developer Guide][
|
1416
|
+
# WAF Developer Guide][3].
|
1230
1417
|
#
|
1231
1418
|
#
|
1232
1419
|
#
|
1233
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1420
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1421
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1422
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1234
1423
|
#
|
1235
1424
|
# @option params [required, String] :name
|
1236
1425
|
# A friendly name or description of the WebACL. You can't change `Name`
|
@@ -1306,8 +1495,8 @@ module Aws::WAFRegional
|
|
1306
1495
|
# change_token: "ChangeToken", # required
|
1307
1496
|
# tags: [
|
1308
1497
|
# {
|
1309
|
-
# key: "TagKey",
|
1310
|
-
# value: "TagValue",
|
1498
|
+
# key: "TagKey", # required
|
1499
|
+
# value: "TagValue", # required
|
1311
1500
|
# },
|
1312
1501
|
# ],
|
1313
1502
|
# })
|
@@ -1338,6 +1527,82 @@ module Aws::WAFRegional
|
|
1338
1527
|
req.send_request(options)
|
1339
1528
|
end
|
1340
1529
|
|
1530
|
+
# Creates an AWS CloudFormation WAFV2 template for the specified web ACL
|
1531
|
+
# in the specified Amazon S3 bucket. Then, in CloudFormation, you create
|
1532
|
+
# a stack from the template, to create the web ACL and its resources in
|
1533
|
+
# AWS WAFV2. Use this to migrate your AWS WAF Classic web ACL to the
|
1534
|
+
# latest version of AWS WAF.
|
1535
|
+
#
|
1536
|
+
# This is part of a larger migration procedure for web ACLs from AWS WAF
|
1537
|
+
# Classic to the latest version of AWS WAF. For the full procedure,
|
1538
|
+
# including caveats and manual steps to complete the migration and
|
1539
|
+
# switch over to the new web ACL, see [Migrating your AWS WAF Classic
|
1540
|
+
# resources to AWS WAF][1] in the [AWS WAF Developer Guide][2].
|
1541
|
+
#
|
1542
|
+
#
|
1543
|
+
#
|
1544
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-migrating-from-classic.html
|
1545
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1546
|
+
#
|
1547
|
+
# @option params [required, String] :web_acl_id
|
1548
|
+
# The UUID of the WAF Classic web ACL that you want to migrate to WAF
|
1549
|
+
# v2.
|
1550
|
+
#
|
1551
|
+
# @option params [required, String] :s3_bucket_name
|
1552
|
+
# The name of the Amazon S3 bucket to store the CloudFormation template
|
1553
|
+
# in. The S3 bucket must be configured as follows for the migration:
|
1554
|
+
#
|
1555
|
+
# * The bucket name must start with `aws-waf-migration-`. For example,
|
1556
|
+
# `aws-waf-migration-my-web-acl`.
|
1557
|
+
#
|
1558
|
+
# * The bucket must be in the Region where you are deploying the
|
1559
|
+
# template. For example, for a web ACL in us-west-2, you must use an
|
1560
|
+
# Amazon S3 bucket in us-west-2 and you must deploy the template stack
|
1561
|
+
# to us-west-2.
|
1562
|
+
#
|
1563
|
+
# * The bucket policies must permit the migration process to write data.
|
1564
|
+
# For listings of the bucket policies, see the Examples section.
|
1565
|
+
#
|
1566
|
+
# @option params [required, Boolean] :ignore_unsupported_type
|
1567
|
+
# Indicates whether to exclude entities that can't be migrated or to
|
1568
|
+
# stop the migration. Set this to true to ignore unsupported entities in
|
1569
|
+
# the web ACL during the migration. Otherwise, if AWS WAF encounters
|
1570
|
+
# unsupported entities, it stops the process and throws an exception.
|
1571
|
+
#
|
1572
|
+
# @return [Types::CreateWebACLMigrationStackResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1573
|
+
#
|
1574
|
+
# * {Types::CreateWebACLMigrationStackResponse#s3_object_url #s3_object_url} => String
|
1575
|
+
#
|
1576
|
+
# @example Request syntax with placeholder values
|
1577
|
+
#
|
1578
|
+
# resp = client.create_web_acl_migration_stack({
|
1579
|
+
# web_acl_id: "ResourceId", # required
|
1580
|
+
# s3_bucket_name: "S3BucketName", # required
|
1581
|
+
# ignore_unsupported_type: false, # required
|
1582
|
+
# })
|
1583
|
+
#
|
1584
|
+
# @example Response structure
|
1585
|
+
#
|
1586
|
+
# resp.s3_object_url #=> String
|
1587
|
+
#
|
1588
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateWebACLMigrationStack AWS API Documentation
|
1589
|
+
#
|
1590
|
+
# @overload create_web_acl_migration_stack(params = {})
|
1591
|
+
# @param [Hash] params ({})
|
1592
|
+
def create_web_acl_migration_stack(params = {}, options = {})
|
1593
|
+
req = build_request(:create_web_acl_migration_stack, params)
|
1594
|
+
req.send_request(options)
|
1595
|
+
end
|
1596
|
+
|
1597
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1598
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1599
|
+
#
|
1600
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1601
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1602
|
+
# a single set of endpoints for regional and global use.
|
1603
|
+
#
|
1604
|
+
# </note>
|
1605
|
+
#
|
1341
1606
|
# Creates an XssMatchSet, which you use to allow, block, or count
|
1342
1607
|
# requests that contain cross-site scripting attacks in the specified
|
1343
1608
|
# part of web requests. AWS WAF searches for character sequences that
|
@@ -1358,11 +1623,13 @@ module Aws::WAFRegional
|
|
1358
1623
|
# scripting attacks.
|
1359
1624
|
#
|
1360
1625
|
# For more information about how to use the AWS WAF API to allow or
|
1361
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
1626
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
1362
1627
|
#
|
1363
1628
|
#
|
1364
1629
|
#
|
1365
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1630
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1631
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1632
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1366
1633
|
#
|
1367
1634
|
# @option params [required, String] :name
|
1368
1635
|
# A friendly name or description for the XssMatchSet that you're
|
@@ -1429,6 +1696,15 @@ module Aws::WAFRegional
|
|
1429
1696
|
req.send_request(options)
|
1430
1697
|
end
|
1431
1698
|
|
1699
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1700
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1701
|
+
#
|
1702
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1703
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1704
|
+
# a single set of endpoints for regional and global use.
|
1705
|
+
#
|
1706
|
+
# </note>
|
1707
|
+
#
|
1432
1708
|
# Permanently deletes a ByteMatchSet. You can't delete a `ByteMatchSet`
|
1433
1709
|
# if it's still used in any `Rules` or if it still includes any
|
1434
1710
|
# ByteMatchTuple objects (any filters).
|
@@ -1446,6 +1722,11 @@ module Aws::WAFRegional
|
|
1446
1722
|
#
|
1447
1723
|
# 3. Submit a `DeleteByteMatchSet` request.
|
1448
1724
|
#
|
1725
|
+
#
|
1726
|
+
#
|
1727
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1728
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1729
|
+
#
|
1449
1730
|
# @option params [required, String] :byte_match_set_id
|
1450
1731
|
# The `ByteMatchSetId` of the ByteMatchSet that you want to delete.
|
1451
1732
|
# `ByteMatchSetId` is returned by CreateByteMatchSet and by
|
@@ -1493,6 +1774,15 @@ module Aws::WAFRegional
|
|
1493
1774
|
req.send_request(options)
|
1494
1775
|
end
|
1495
1776
|
|
1777
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1778
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1779
|
+
#
|
1780
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1781
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1782
|
+
# a single set of endpoints for regional and global use.
|
1783
|
+
#
|
1784
|
+
# </note>
|
1785
|
+
#
|
1496
1786
|
# Permanently deletes a GeoMatchSet. You can't delete a `GeoMatchSet`
|
1497
1787
|
# if it's still used in any `Rules` or if it still includes any
|
1498
1788
|
# countries.
|
@@ -1511,6 +1801,11 @@ module Aws::WAFRegional
|
|
1511
1801
|
#
|
1512
1802
|
# 3. Submit a `DeleteGeoMatchSet` request.
|
1513
1803
|
#
|
1804
|
+
#
|
1805
|
+
#
|
1806
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1807
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1808
|
+
#
|
1514
1809
|
# @option params [required, String] :geo_match_set_id
|
1515
1810
|
# The `GeoMatchSetID` of the GeoMatchSet that you want to delete.
|
1516
1811
|
# `GeoMatchSetId` is returned by CreateGeoMatchSet and by
|
@@ -1543,6 +1838,15 @@ module Aws::WAFRegional
|
|
1543
1838
|
req.send_request(options)
|
1544
1839
|
end
|
1545
1840
|
|
1841
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1842
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1843
|
+
#
|
1844
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1845
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1846
|
+
# a single set of endpoints for regional and global use.
|
1847
|
+
#
|
1848
|
+
# </note>
|
1849
|
+
#
|
1546
1850
|
# Permanently deletes an IPSet. You can't delete an `IPSet` if it's
|
1547
1851
|
# still used in any `Rules` or if it still includes any IP addresses.
|
1548
1852
|
#
|
@@ -1559,6 +1863,11 @@ module Aws::WAFRegional
|
|
1559
1863
|
#
|
1560
1864
|
# 3. Submit a `DeleteIPSet` request.
|
1561
1865
|
#
|
1866
|
+
#
|
1867
|
+
#
|
1868
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1869
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1870
|
+
#
|
1562
1871
|
# @option params [required, String] :ip_set_id
|
1563
1872
|
# The `IPSetId` of the IPSet that you want to delete. `IPSetId` is
|
1564
1873
|
# returned by CreateIPSet and by ListIPSets.
|
@@ -1605,9 +1914,23 @@ module Aws::WAFRegional
|
|
1605
1914
|
req.send_request(options)
|
1606
1915
|
end
|
1607
1916
|
|
1917
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1918
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1919
|
+
#
|
1920
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1921
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1922
|
+
# a single set of endpoints for regional and global use.
|
1923
|
+
#
|
1924
|
+
# </note>
|
1925
|
+
#
|
1608
1926
|
# Permanently deletes the LoggingConfiguration from the specified web
|
1609
1927
|
# ACL.
|
1610
1928
|
#
|
1929
|
+
#
|
1930
|
+
#
|
1931
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1932
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1933
|
+
#
|
1611
1934
|
# @option params [required, String] :resource_arn
|
1612
1935
|
# The Amazon Resource Name (ARN) of the web ACL from which you want to
|
1613
1936
|
# delete the LoggingConfiguration.
|
@@ -1629,10 +1952,24 @@ module Aws::WAFRegional
|
|
1629
1952
|
req.send_request(options)
|
1630
1953
|
end
|
1631
1954
|
|
1955
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1956
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1957
|
+
#
|
1958
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1959
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1960
|
+
# a single set of endpoints for regional and global use.
|
1961
|
+
#
|
1962
|
+
# </note>
|
1963
|
+
#
|
1632
1964
|
# Permanently deletes an IAM policy from the specified RuleGroup.
|
1633
1965
|
#
|
1634
1966
|
# The user making the request must be the owner of the RuleGroup.
|
1635
1967
|
#
|
1968
|
+
#
|
1969
|
+
#
|
1970
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1971
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1972
|
+
#
|
1636
1973
|
# @option params [required, String] :resource_arn
|
1637
1974
|
# The Amazon Resource Name (ARN) of the RuleGroup from which you want to
|
1638
1975
|
# delete the policy.
|
@@ -1656,6 +1993,15 @@ module Aws::WAFRegional
|
|
1656
1993
|
req.send_request(options)
|
1657
1994
|
end
|
1658
1995
|
|
1996
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1997
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1998
|
+
#
|
1999
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2000
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2001
|
+
# a single set of endpoints for regional and global use.
|
2002
|
+
#
|
2003
|
+
# </note>
|
2004
|
+
#
|
1659
2005
|
# Permanently deletes a RateBasedRule. You can't delete a rule if it's
|
1660
2006
|
# still used in any `WebACL` objects or if it still includes any
|
1661
2007
|
# predicates, such as `ByteMatchSet` objects.
|
@@ -1673,6 +2019,11 @@ module Aws::WAFRegional
|
|
1673
2019
|
#
|
1674
2020
|
# 3. Submit a `DeleteRateBasedRule` request.
|
1675
2021
|
#
|
2022
|
+
#
|
2023
|
+
#
|
2024
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2025
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2026
|
+
#
|
1676
2027
|
# @option params [required, String] :rule_id
|
1677
2028
|
# The `RuleId` of the RateBasedRule that you want to delete. `RuleId` is
|
1678
2029
|
# returned by CreateRateBasedRule and by ListRateBasedRules.
|
@@ -1704,6 +2055,15 @@ module Aws::WAFRegional
|
|
1704
2055
|
req.send_request(options)
|
1705
2056
|
end
|
1706
2057
|
|
2058
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2059
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2060
|
+
#
|
2061
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2062
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2063
|
+
# a single set of endpoints for regional and global use.
|
2064
|
+
#
|
2065
|
+
# </note>
|
2066
|
+
#
|
1707
2067
|
# Permanently deletes a RegexMatchSet. You can't delete a
|
1708
2068
|
# `RegexMatchSet` if it's still used in any `Rules` or if it still
|
1709
2069
|
# includes any `RegexMatchTuples` objects (any filters).
|
@@ -1721,6 +2081,11 @@ module Aws::WAFRegional
|
|
1721
2081
|
#
|
1722
2082
|
# 3. Submit a `DeleteRegexMatchSet` request.
|
1723
2083
|
#
|
2084
|
+
#
|
2085
|
+
#
|
2086
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2087
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2088
|
+
#
|
1724
2089
|
# @option params [required, String] :regex_match_set_id
|
1725
2090
|
# The `RegexMatchSetId` of the RegexMatchSet that you want to delete.
|
1726
2091
|
# `RegexMatchSetId` is returned by CreateRegexMatchSet and by
|
@@ -1753,10 +2118,24 @@ module Aws::WAFRegional
|
|
1753
2118
|
req.send_request(options)
|
1754
2119
|
end
|
1755
2120
|
|
2121
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2122
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2123
|
+
#
|
2124
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2125
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2126
|
+
# a single set of endpoints for regional and global use.
|
2127
|
+
#
|
2128
|
+
# </note>
|
2129
|
+
#
|
1756
2130
|
# Permanently deletes a RegexPatternSet. You can't delete a
|
1757
2131
|
# `RegexPatternSet` if it's still used in any `RegexMatchSet` or if the
|
1758
2132
|
# `RegexPatternSet` is not empty.
|
1759
2133
|
#
|
2134
|
+
#
|
2135
|
+
#
|
2136
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2137
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2138
|
+
#
|
1760
2139
|
# @option params [required, String] :regex_pattern_set_id
|
1761
2140
|
# The `RegexPatternSetId` of the RegexPatternSet that you want to
|
1762
2141
|
# delete. `RegexPatternSetId` is returned by CreateRegexPatternSet and
|
@@ -1789,6 +2168,15 @@ module Aws::WAFRegional
|
|
1789
2168
|
req.send_request(options)
|
1790
2169
|
end
|
1791
2170
|
|
2171
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2172
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2173
|
+
#
|
2174
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2175
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2176
|
+
# a single set of endpoints for regional and global use.
|
2177
|
+
#
|
2178
|
+
# </note>
|
2179
|
+
#
|
1792
2180
|
# Permanently deletes a Rule. You can't delete a `Rule` if it's still
|
1793
2181
|
# used in any `WebACL` objects or if it still includes any predicates,
|
1794
2182
|
# such as `ByteMatchSet` objects.
|
@@ -1806,6 +2194,11 @@ module Aws::WAFRegional
|
|
1806
2194
|
#
|
1807
2195
|
# 3. Submit a `DeleteRule` request.
|
1808
2196
|
#
|
2197
|
+
#
|
2198
|
+
#
|
2199
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2200
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2201
|
+
#
|
1809
2202
|
# @option params [required, String] :rule_id
|
1810
2203
|
# The `RuleId` of the Rule that you want to delete. `RuleId` is returned
|
1811
2204
|
# by CreateRule and by ListRules.
|
@@ -1852,6 +2245,15 @@ module Aws::WAFRegional
|
|
1852
2245
|
req.send_request(options)
|
1853
2246
|
end
|
1854
2247
|
|
2248
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2249
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2250
|
+
#
|
2251
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2252
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2253
|
+
# a single set of endpoints for regional and global use.
|
2254
|
+
#
|
2255
|
+
# </note>
|
2256
|
+
#
|
1855
2257
|
# Permanently deletes a RuleGroup. You can't delete a `RuleGroup` if
|
1856
2258
|
# it's still used in any `WebACL` objects or if it still includes any
|
1857
2259
|
# rules.
|
@@ -1870,6 +2272,11 @@ module Aws::WAFRegional
|
|
1870
2272
|
#
|
1871
2273
|
# 3. Submit a `DeleteRuleGroup` request.
|
1872
2274
|
#
|
2275
|
+
#
|
2276
|
+
#
|
2277
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2278
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2279
|
+
#
|
1873
2280
|
# @option params [required, String] :rule_group_id
|
1874
2281
|
# The `RuleGroupId` of the RuleGroup that you want to delete.
|
1875
2282
|
# `RuleGroupId` is returned by CreateRuleGroup and by ListRuleGroups.
|
@@ -1901,6 +2308,15 @@ module Aws::WAFRegional
|
|
1901
2308
|
req.send_request(options)
|
1902
2309
|
end
|
1903
2310
|
|
2311
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2312
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2313
|
+
#
|
2314
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2315
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2316
|
+
# a single set of endpoints for regional and global use.
|
2317
|
+
#
|
2318
|
+
# </note>
|
2319
|
+
#
|
1904
2320
|
# Permanently deletes a SizeConstraintSet. You can't delete a
|
1905
2321
|
# `SizeConstraintSet` if it's still used in any `Rules` or if it still
|
1906
2322
|
# includes any SizeConstraint objects (any filters).
|
@@ -1919,6 +2335,11 @@ module Aws::WAFRegional
|
|
1919
2335
|
#
|
1920
2336
|
# 3. Submit a `DeleteSizeConstraintSet` request.
|
1921
2337
|
#
|
2338
|
+
#
|
2339
|
+
#
|
2340
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2341
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2342
|
+
#
|
1922
2343
|
# @option params [required, String] :size_constraint_set_id
|
1923
2344
|
# The `SizeConstraintSetId` of the SizeConstraintSet that you want to
|
1924
2345
|
# delete. `SizeConstraintSetId` is returned by CreateSizeConstraintSet
|
@@ -1966,6 +2387,15 @@ module Aws::WAFRegional
|
|
1966
2387
|
req.send_request(options)
|
1967
2388
|
end
|
1968
2389
|
|
2390
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2391
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2392
|
+
#
|
2393
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2394
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2395
|
+
# a single set of endpoints for regional and global use.
|
2396
|
+
#
|
2397
|
+
# </note>
|
2398
|
+
#
|
1969
2399
|
# Permanently deletes a SqlInjectionMatchSet. You can't delete a
|
1970
2400
|
# `SqlInjectionMatchSet` if it's still used in any `Rules` or if it
|
1971
2401
|
# still contains any SqlInjectionMatchTuple objects.
|
@@ -1984,6 +2414,11 @@ module Aws::WAFRegional
|
|
1984
2414
|
#
|
1985
2415
|
# 3. Submit a `DeleteSqlInjectionMatchSet` request.
|
1986
2416
|
#
|
2417
|
+
#
|
2418
|
+
#
|
2419
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2420
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2421
|
+
#
|
1987
2422
|
# @option params [required, String] :sql_injection_match_set_id
|
1988
2423
|
# The `SqlInjectionMatchSetId` of the SqlInjectionMatchSet that you want
|
1989
2424
|
# to delete. `SqlInjectionMatchSetId` is returned by
|
@@ -2031,6 +2466,15 @@ module Aws::WAFRegional
|
|
2031
2466
|
req.send_request(options)
|
2032
2467
|
end
|
2033
2468
|
|
2469
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2470
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2471
|
+
#
|
2472
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2473
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2474
|
+
# a single set of endpoints for regional and global use.
|
2475
|
+
#
|
2476
|
+
# </note>
|
2477
|
+
#
|
2034
2478
|
# Permanently deletes a WebACL. You can't delete a `WebACL` if it still
|
2035
2479
|
# contains any `Rules`.
|
2036
2480
|
#
|
@@ -2044,6 +2488,11 @@ module Aws::WAFRegional
|
|
2044
2488
|
#
|
2045
2489
|
# 3. Submit a `DeleteWebACL` request.
|
2046
2490
|
#
|
2491
|
+
#
|
2492
|
+
#
|
2493
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2494
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2495
|
+
#
|
2047
2496
|
# @option params [required, String] :web_acl_id
|
2048
2497
|
# The `WebACLId` of the WebACL that you want to delete. `WebACLId` is
|
2049
2498
|
# returned by CreateWebACL and by ListWebACLs.
|
@@ -2090,6 +2539,15 @@ module Aws::WAFRegional
|
|
2090
2539
|
req.send_request(options)
|
2091
2540
|
end
|
2092
2541
|
|
2542
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2543
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2544
|
+
#
|
2545
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2546
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2547
|
+
# a single set of endpoints for regional and global use.
|
2548
|
+
#
|
2549
|
+
# </note>
|
2550
|
+
#
|
2093
2551
|
# Permanently deletes an XssMatchSet. You can't delete an `XssMatchSet`
|
2094
2552
|
# if it's still used in any `Rules` or if it still contains any
|
2095
2553
|
# XssMatchTuple objects.
|
@@ -2108,6 +2566,11 @@ module Aws::WAFRegional
|
|
2108
2566
|
#
|
2109
2567
|
# 3. Submit a `DeleteXssMatchSet` request.
|
2110
2568
|
#
|
2569
|
+
#
|
2570
|
+
#
|
2571
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2572
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2573
|
+
#
|
2111
2574
|
# @option params [required, String] :xss_match_set_id
|
2112
2575
|
# The `XssMatchSetId` of the XssMatchSet that you want to delete.
|
2113
2576
|
# `XssMatchSetId` is returned by CreateXssMatchSet and by
|
@@ -2155,9 +2618,23 @@ module Aws::WAFRegional
|
|
2155
2618
|
req.send_request(options)
|
2156
2619
|
end
|
2157
2620
|
|
2621
|
+
# <note markdown="1"> This is **AWS WAF Classic Regional** documentation. For more
|
2622
|
+
# information, see [AWS WAF Classic][1] in the developer guide.
|
2623
|
+
#
|
2624
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2625
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2626
|
+
# a single set of endpoints for regional and global use.
|
2627
|
+
#
|
2628
|
+
# </note>
|
2629
|
+
#
|
2158
2630
|
# Removes a web ACL from the specified resource, either an application
|
2159
2631
|
# load balancer or Amazon API Gateway stage.
|
2160
2632
|
#
|
2633
|
+
#
|
2634
|
+
#
|
2635
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2636
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2637
|
+
#
|
2161
2638
|
# @option params [required, String] :resource_arn
|
2162
2639
|
# The ARN (Amazon Resource Name) of the resource from which the web ACL
|
2163
2640
|
# is being removed, either an application load balancer or Amazon API
|
@@ -2189,8 +2666,22 @@ module Aws::WAFRegional
|
|
2189
2666
|
req.send_request(options)
|
2190
2667
|
end
|
2191
2668
|
|
2669
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2670
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2671
|
+
#
|
2672
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2673
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2674
|
+
# a single set of endpoints for regional and global use.
|
2675
|
+
#
|
2676
|
+
# </note>
|
2677
|
+
#
|
2192
2678
|
# Returns the ByteMatchSet specified by `ByteMatchSetId`.
|
2193
2679
|
#
|
2680
|
+
#
|
2681
|
+
#
|
2682
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2683
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2684
|
+
#
|
2194
2685
|
# @option params [required, String] :byte_match_set_id
|
2195
2686
|
# The `ByteMatchSetId` of the ByteMatchSet that you want to get.
|
2196
2687
|
# `ByteMatchSetId` is returned by CreateByteMatchSet and by
|
@@ -2254,6 +2745,15 @@ module Aws::WAFRegional
|
|
2254
2745
|
req.send_request(options)
|
2255
2746
|
end
|
2256
2747
|
|
2748
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2749
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2750
|
+
#
|
2751
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2752
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2753
|
+
# a single set of endpoints for regional and global use.
|
2754
|
+
#
|
2755
|
+
# </note>
|
2756
|
+
#
|
2257
2757
|
# When you want to create, update, or delete AWS WAF objects, get a
|
2258
2758
|
# change token and include the change token in the create, update, or
|
2259
2759
|
# delete request. Change tokens ensure that your application doesn't
|
@@ -2270,6 +2770,11 @@ module Aws::WAFRegional
|
|
2270
2770
|
# that AWS WAF is propagating the change to all AWS WAF servers. Use
|
2271
2771
|
# `GetChangeTokenStatus` to determine the status of your change token.
|
2272
2772
|
#
|
2773
|
+
#
|
2774
|
+
#
|
2775
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2776
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2777
|
+
#
|
2273
2778
|
# @return [Types::GetChangeTokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2274
2779
|
#
|
2275
2780
|
# * {Types::GetChangeTokenResponse#change_token #change_token} => String
|
@@ -2300,6 +2805,15 @@ module Aws::WAFRegional
|
|
2300
2805
|
req.send_request(options)
|
2301
2806
|
end
|
2302
2807
|
|
2808
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2809
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2810
|
+
#
|
2811
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2812
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2813
|
+
# a single set of endpoints for regional and global use.
|
2814
|
+
#
|
2815
|
+
# </note>
|
2816
|
+
#
|
2303
2817
|
# Returns the status of a `ChangeToken` that you got by calling
|
2304
2818
|
# GetChangeToken. `ChangeTokenStatus` is one of the following values:
|
2305
2819
|
#
|
@@ -2312,6 +2826,11 @@ module Aws::WAFRegional
|
|
2312
2826
|
#
|
2313
2827
|
# * `INSYNC`\: Propagation is complete.
|
2314
2828
|
#
|
2829
|
+
#
|
2830
|
+
#
|
2831
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2832
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2833
|
+
#
|
2315
2834
|
# @option params [required, String] :change_token
|
2316
2835
|
# The change token for which you want to get the status. This change
|
2317
2836
|
# token was previously returned in the `GetChangeToken` response.
|
@@ -2353,8 +2872,22 @@ module Aws::WAFRegional
|
|
2353
2872
|
req.send_request(options)
|
2354
2873
|
end
|
2355
2874
|
|
2875
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2876
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2877
|
+
#
|
2878
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2879
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2880
|
+
# a single set of endpoints for regional and global use.
|
2881
|
+
#
|
2882
|
+
# </note>
|
2883
|
+
#
|
2356
2884
|
# Returns the GeoMatchSet that is specified by `GeoMatchSetId`.
|
2357
2885
|
#
|
2886
|
+
#
|
2887
|
+
#
|
2888
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2889
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2890
|
+
#
|
2358
2891
|
# @option params [required, String] :geo_match_set_id
|
2359
2892
|
# The `GeoMatchSetId` of the GeoMatchSet that you want to get.
|
2360
2893
|
# `GeoMatchSetId` is returned by CreateGeoMatchSet and by
|
@@ -2387,8 +2920,22 @@ module Aws::WAFRegional
|
|
2387
2920
|
req.send_request(options)
|
2388
2921
|
end
|
2389
2922
|
|
2923
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2924
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2925
|
+
#
|
2926
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2927
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2928
|
+
# a single set of endpoints for regional and global use.
|
2929
|
+
#
|
2930
|
+
# </note>
|
2931
|
+
#
|
2390
2932
|
# Returns the IPSet that is specified by `IPSetId`.
|
2391
2933
|
#
|
2934
|
+
#
|
2935
|
+
#
|
2936
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2937
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2938
|
+
#
|
2392
2939
|
# @option params [required, String] :ip_set_id
|
2393
2940
|
# The `IPSetId` of the IPSet that you want to get. `IPSetId` is returned
|
2394
2941
|
# by CreateIPSet and by ListIPSets.
|
@@ -2443,8 +2990,22 @@ module Aws::WAFRegional
|
|
2443
2990
|
req.send_request(options)
|
2444
2991
|
end
|
2445
2992
|
|
2993
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2994
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2995
|
+
#
|
2996
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2997
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2998
|
+
# a single set of endpoints for regional and global use.
|
2999
|
+
#
|
3000
|
+
# </note>
|
3001
|
+
#
|
2446
3002
|
# Returns the LoggingConfiguration for the specified web ACL.
|
2447
3003
|
#
|
3004
|
+
#
|
3005
|
+
#
|
3006
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3007
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3008
|
+
#
|
2448
3009
|
# @option params [required, String] :resource_arn
|
2449
3010
|
# The Amazon Resource Name (ARN) of the web ACL for which you want to
|
2450
3011
|
# get the LoggingConfiguration.
|
@@ -2477,8 +3038,22 @@ module Aws::WAFRegional
|
|
2477
3038
|
req.send_request(options)
|
2478
3039
|
end
|
2479
3040
|
|
3041
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3042
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3043
|
+
#
|
3044
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3045
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3046
|
+
# a single set of endpoints for regional and global use.
|
3047
|
+
#
|
3048
|
+
# </note>
|
3049
|
+
#
|
2480
3050
|
# Returns the IAM policy attached to the RuleGroup.
|
2481
3051
|
#
|
3052
|
+
#
|
3053
|
+
#
|
3054
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3055
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3056
|
+
#
|
2482
3057
|
# @option params [required, String] :resource_arn
|
2483
3058
|
# The Amazon Resource Name (ARN) of the RuleGroup for which you want to
|
2484
3059
|
# get the policy.
|
@@ -2506,9 +3081,23 @@ module Aws::WAFRegional
|
|
2506
3081
|
req.send_request(options)
|
2507
3082
|
end
|
2508
3083
|
|
3084
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3085
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3086
|
+
#
|
3087
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3088
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3089
|
+
# a single set of endpoints for regional and global use.
|
3090
|
+
#
|
3091
|
+
# </note>
|
3092
|
+
#
|
2509
3093
|
# Returns the RateBasedRule that is specified by the `RuleId` that you
|
2510
3094
|
# included in the `GetRateBasedRule` request.
|
2511
3095
|
#
|
3096
|
+
#
|
3097
|
+
#
|
3098
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3099
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3100
|
+
#
|
2512
3101
|
# @option params [required, String] :rule_id
|
2513
3102
|
# The `RuleId` of the RateBasedRule that you want to get. `RuleId` is
|
2514
3103
|
# returned by CreateRateBasedRule and by ListRateBasedRules.
|
@@ -2544,12 +3133,26 @@ module Aws::WAFRegional
|
|
2544
3133
|
req.send_request(options)
|
2545
3134
|
end
|
2546
3135
|
|
3136
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3137
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3138
|
+
#
|
3139
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3140
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3141
|
+
# a single set of endpoints for regional and global use.
|
3142
|
+
#
|
3143
|
+
# </note>
|
3144
|
+
#
|
2547
3145
|
# Returns an array of IP addresses currently being blocked by the
|
2548
3146
|
# RateBasedRule that is specified by the `RuleId`. The maximum number of
|
2549
3147
|
# managed keys that will be blocked is 10,000. If more than 10,000
|
2550
3148
|
# addresses exceed the rate limit, the 10,000 addresses with the highest
|
2551
3149
|
# rates will be blocked.
|
2552
3150
|
#
|
3151
|
+
#
|
3152
|
+
#
|
3153
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3154
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3155
|
+
#
|
2553
3156
|
# @option params [required, String] :rule_id
|
2554
3157
|
# The `RuleId` of the RateBasedRule for which you want to get a list of
|
2555
3158
|
# `ManagedKeys`. `RuleId` is returned by CreateRateBasedRule and by
|
@@ -2586,8 +3189,22 @@ module Aws::WAFRegional
|
|
2586
3189
|
req.send_request(options)
|
2587
3190
|
end
|
2588
3191
|
|
3192
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3193
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3194
|
+
#
|
3195
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3196
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3197
|
+
# a single set of endpoints for regional and global use.
|
3198
|
+
#
|
3199
|
+
# </note>
|
3200
|
+
#
|
2589
3201
|
# Returns the RegexMatchSet specified by `RegexMatchSetId`.
|
2590
3202
|
#
|
3203
|
+
#
|
3204
|
+
#
|
3205
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3206
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3207
|
+
#
|
2591
3208
|
# @option params [required, String] :regex_match_set_id
|
2592
3209
|
# The `RegexMatchSetId` of the RegexMatchSet that you want to get.
|
2593
3210
|
# `RegexMatchSetId` is returned by CreateRegexMatchSet and by
|
@@ -2622,8 +3239,22 @@ module Aws::WAFRegional
|
|
2622
3239
|
req.send_request(options)
|
2623
3240
|
end
|
2624
3241
|
|
3242
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3243
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3244
|
+
#
|
3245
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3246
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3247
|
+
# a single set of endpoints for regional and global use.
|
3248
|
+
#
|
3249
|
+
# </note>
|
3250
|
+
#
|
2625
3251
|
# Returns the RegexPatternSet specified by `RegexPatternSetId`.
|
2626
3252
|
#
|
3253
|
+
#
|
3254
|
+
#
|
3255
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3256
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3257
|
+
#
|
2627
3258
|
# @option params [required, String] :regex_pattern_set_id
|
2628
3259
|
# The `RegexPatternSetId` of the RegexPatternSet that you want to get.
|
2629
3260
|
# `RegexPatternSetId` is returned by CreateRegexPatternSet and by
|
@@ -2655,9 +3286,23 @@ module Aws::WAFRegional
|
|
2655
3286
|
req.send_request(options)
|
2656
3287
|
end
|
2657
3288
|
|
3289
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3290
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3291
|
+
#
|
3292
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3293
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3294
|
+
# a single set of endpoints for regional and global use.
|
3295
|
+
#
|
3296
|
+
# </note>
|
3297
|
+
#
|
2658
3298
|
# Returns the Rule that is specified by the `RuleId` that you included
|
2659
3299
|
# in the `GetRule` request.
|
2660
3300
|
#
|
3301
|
+
#
|
3302
|
+
#
|
3303
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3304
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3305
|
+
#
|
2661
3306
|
# @option params [required, String] :rule_id
|
2662
3307
|
# The `RuleId` of the Rule that you want to get. `RuleId` is returned by
|
2663
3308
|
# CreateRule and by ListRules.
|
@@ -2716,11 +3361,25 @@ module Aws::WAFRegional
|
|
2716
3361
|
req.send_request(options)
|
2717
3362
|
end
|
2718
3363
|
|
3364
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3365
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3366
|
+
#
|
3367
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3368
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3369
|
+
# a single set of endpoints for regional and global use.
|
3370
|
+
#
|
3371
|
+
# </note>
|
3372
|
+
#
|
2719
3373
|
# Returns the RuleGroup that is specified by the `RuleGroupId` that you
|
2720
3374
|
# included in the `GetRuleGroup` request.
|
2721
3375
|
#
|
2722
3376
|
# To view the rules in a rule group, use ListActivatedRulesInRuleGroup.
|
2723
3377
|
#
|
3378
|
+
#
|
3379
|
+
#
|
3380
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3381
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3382
|
+
#
|
2724
3383
|
# @option params [required, String] :rule_group_id
|
2725
3384
|
# The `RuleGroupId` of the RuleGroup that you want to get. `RuleGroupId`
|
2726
3385
|
# is returned by CreateRuleGroup and by ListRuleGroups.
|
@@ -2750,6 +3409,15 @@ module Aws::WAFRegional
|
|
2750
3409
|
req.send_request(options)
|
2751
3410
|
end
|
2752
3411
|
|
3412
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3413
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3414
|
+
#
|
3415
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3416
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3417
|
+
# a single set of endpoints for regional and global use.
|
3418
|
+
#
|
3419
|
+
# </note>
|
3420
|
+
#
|
2753
3421
|
# Gets detailed information about a specified number of requests--a
|
2754
3422
|
# sample--that AWS WAF randomly selects from among the first 5,000
|
2755
3423
|
# requests that your AWS resource received during a time range that you
|
@@ -2763,6 +3431,11 @@ module Aws::WAFRegional
|
|
2763
3431
|
# range. This new time range indicates the actual period during which
|
2764
3432
|
# AWS WAF selected the requests in the sample.
|
2765
3433
|
#
|
3434
|
+
#
|
3435
|
+
#
|
3436
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3437
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3438
|
+
#
|
2766
3439
|
# @option params [required, String] :web_acl_id
|
2767
3440
|
# The `WebACLId` of the `WebACL` for which you want `GetSampledRequests`
|
2768
3441
|
# to return a sample of requests.
|
@@ -2781,7 +3454,8 @@ module Aws::WAFRegional
|
|
2781
3454
|
# @option params [required, Types::TimeWindow] :time_window
|
2782
3455
|
# The start date and time and the end date and time of the range for
|
2783
3456
|
# which you want `GetSampledRequests` to return a sample of requests.
|
2784
|
-
#
|
3457
|
+
# You must specify the times in Coordinated Universal Time (UTC) format.
|
3458
|
+
# UTC format includes the special designator, `Z`. For example,
|
2785
3459
|
# `"2016-09-27T14:50Z"`. You can specify any time range in the previous
|
2786
3460
|
# three hours.
|
2787
3461
|
#
|
@@ -2883,8 +3557,22 @@ module Aws::WAFRegional
|
|
2883
3557
|
req.send_request(options)
|
2884
3558
|
end
|
2885
3559
|
|
3560
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3561
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3562
|
+
#
|
3563
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3564
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3565
|
+
# a single set of endpoints for regional and global use.
|
3566
|
+
#
|
3567
|
+
# </note>
|
3568
|
+
#
|
2886
3569
|
# Returns the SizeConstraintSet specified by `SizeConstraintSetId`.
|
2887
3570
|
#
|
3571
|
+
#
|
3572
|
+
#
|
3573
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3574
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3575
|
+
#
|
2888
3576
|
# @option params [required, String] :size_constraint_set_id
|
2889
3577
|
# The `SizeConstraintSetId` of the SizeConstraintSet that you want to
|
2890
3578
|
# get. `SizeConstraintSetId` is returned by CreateSizeConstraintSet and
|
@@ -2948,9 +3636,23 @@ module Aws::WAFRegional
|
|
2948
3636
|
req.send_request(options)
|
2949
3637
|
end
|
2950
3638
|
|
3639
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3640
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3641
|
+
#
|
3642
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3643
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3644
|
+
# a single set of endpoints for regional and global use.
|
3645
|
+
#
|
3646
|
+
# </note>
|
3647
|
+
#
|
2951
3648
|
# Returns the SqlInjectionMatchSet that is specified by
|
2952
3649
|
# `SqlInjectionMatchSetId`.
|
2953
3650
|
#
|
3651
|
+
#
|
3652
|
+
#
|
3653
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3654
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3655
|
+
#
|
2954
3656
|
# @option params [required, String] :sql_injection_match_set_id
|
2955
3657
|
# The `SqlInjectionMatchSetId` of the SqlInjectionMatchSet that you want
|
2956
3658
|
# to get. `SqlInjectionMatchSetId` is returned by
|
@@ -3010,8 +3712,22 @@ module Aws::WAFRegional
|
|
3010
3712
|
req.send_request(options)
|
3011
3713
|
end
|
3012
3714
|
|
3715
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3716
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3717
|
+
#
|
3718
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3719
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3720
|
+
# a single set of endpoints for regional and global use.
|
3721
|
+
#
|
3722
|
+
# </note>
|
3723
|
+
#
|
3013
3724
|
# Returns the WebACL that is specified by `WebACLId`.
|
3014
3725
|
#
|
3726
|
+
#
|
3727
|
+
#
|
3728
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3729
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3730
|
+
#
|
3015
3731
|
# @option params [required, String] :web_acl_id
|
3016
3732
|
# The `WebACLId` of the WebACL that you want to get. `WebACLId` is
|
3017
3733
|
# returned by CreateWebACL and by ListWebACLs.
|
@@ -3081,9 +3797,23 @@ module Aws::WAFRegional
|
|
3081
3797
|
req.send_request(options)
|
3082
3798
|
end
|
3083
3799
|
|
3800
|
+
# <note markdown="1"> This is **AWS WAF Classic Regional** documentation. For more
|
3801
|
+
# information, see [AWS WAF Classic][1] in the developer guide.
|
3802
|
+
#
|
3803
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3804
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3805
|
+
# a single set of endpoints for regional and global use.
|
3806
|
+
#
|
3807
|
+
# </note>
|
3808
|
+
#
|
3084
3809
|
# Returns the web ACL for the specified resource, either an application
|
3085
3810
|
# load balancer or Amazon API Gateway stage.
|
3086
3811
|
#
|
3812
|
+
#
|
3813
|
+
#
|
3814
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3815
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3816
|
+
#
|
3087
3817
|
# @option params [required, String] :resource_arn
|
3088
3818
|
# The ARN (Amazon Resource Name) of the resource for which to get the
|
3089
3819
|
# web ACL, either an application load balancer or Amazon API Gateway
|
@@ -3122,8 +3852,22 @@ module Aws::WAFRegional
|
|
3122
3852
|
req.send_request(options)
|
3123
3853
|
end
|
3124
3854
|
|
3855
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3856
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3857
|
+
#
|
3858
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3859
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3860
|
+
# a single set of endpoints for regional and global use.
|
3861
|
+
#
|
3862
|
+
# </note>
|
3863
|
+
#
|
3125
3864
|
# Returns the XssMatchSet that is specified by `XssMatchSetId`.
|
3126
3865
|
#
|
3866
|
+
#
|
3867
|
+
#
|
3868
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3869
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3870
|
+
#
|
3127
3871
|
# @option params [required, String] :xss_match_set_id
|
3128
3872
|
# The `XssMatchSetId` of the XssMatchSet that you want to get.
|
3129
3873
|
# `XssMatchSetId` is returned by CreateXssMatchSet and by
|
@@ -3182,8 +3926,22 @@ module Aws::WAFRegional
|
|
3182
3926
|
req.send_request(options)
|
3183
3927
|
end
|
3184
3928
|
|
3929
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3930
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3931
|
+
#
|
3932
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3933
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3934
|
+
# a single set of endpoints for regional and global use.
|
3935
|
+
#
|
3936
|
+
# </note>
|
3937
|
+
#
|
3185
3938
|
# Returns an array of ActivatedRule objects.
|
3186
3939
|
#
|
3940
|
+
#
|
3941
|
+
#
|
3942
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3943
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3944
|
+
#
|
3187
3945
|
# @option params [String] :rule_group_id
|
3188
3946
|
# The `RuleGroupId` of the RuleGroup for which you want to get a list of
|
3189
3947
|
# ActivatedRule objects.
|
@@ -3237,8 +3995,22 @@ module Aws::WAFRegional
|
|
3237
3995
|
req.send_request(options)
|
3238
3996
|
end
|
3239
3997
|
|
3998
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3999
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4000
|
+
#
|
4001
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4002
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4003
|
+
# a single set of endpoints for regional and global use.
|
4004
|
+
#
|
4005
|
+
# </note>
|
4006
|
+
#
|
3240
4007
|
# Returns an array of ByteMatchSetSummary objects.
|
3241
4008
|
#
|
4009
|
+
#
|
4010
|
+
#
|
4011
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4012
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4013
|
+
#
|
3242
4014
|
# @option params [String] :next_marker
|
3243
4015
|
# If you specify a value for `Limit` and you have more `ByteMatchSets`
|
3244
4016
|
# than the value of `Limit`, AWS WAF returns a `NextMarker` value in the
|
@@ -3282,8 +4054,22 @@ module Aws::WAFRegional
|
|
3282
4054
|
req.send_request(options)
|
3283
4055
|
end
|
3284
4056
|
|
4057
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4058
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4059
|
+
#
|
4060
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4061
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4062
|
+
# a single set of endpoints for regional and global use.
|
4063
|
+
#
|
4064
|
+
# </note>
|
4065
|
+
#
|
3285
4066
|
# Returns an array of GeoMatchSetSummary objects in the response.
|
3286
4067
|
#
|
4068
|
+
#
|
4069
|
+
#
|
4070
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4071
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4072
|
+
#
|
3287
4073
|
# @option params [String] :next_marker
|
3288
4074
|
# If you specify a value for `Limit` and you have more `GeoMatchSet`s
|
3289
4075
|
# than the value of `Limit`, AWS WAF returns a `NextMarker` value in the
|
@@ -3327,8 +4113,22 @@ module Aws::WAFRegional
|
|
3327
4113
|
req.send_request(options)
|
3328
4114
|
end
|
3329
4115
|
|
4116
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4117
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4118
|
+
#
|
4119
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4120
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4121
|
+
# a single set of endpoints for regional and global use.
|
4122
|
+
#
|
4123
|
+
# </note>
|
4124
|
+
#
|
3330
4125
|
# Returns an array of IPSetSummary objects in the response.
|
3331
4126
|
#
|
4127
|
+
#
|
4128
|
+
#
|
4129
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4130
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4131
|
+
#
|
3332
4132
|
# @option params [String] :next_marker
|
3333
4133
|
# AWS WAF returns a `NextMarker` value in the response that allows you
|
3334
4134
|
# to list another group of `IPSets`. For the second and subsequent
|
@@ -3388,8 +4188,22 @@ module Aws::WAFRegional
|
|
3388
4188
|
req.send_request(options)
|
3389
4189
|
end
|
3390
4190
|
|
4191
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4192
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4193
|
+
#
|
4194
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4195
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4196
|
+
# a single set of endpoints for regional and global use.
|
4197
|
+
#
|
4198
|
+
# </note>
|
4199
|
+
#
|
3391
4200
|
# Returns an array of LoggingConfiguration objects.
|
3392
4201
|
#
|
4202
|
+
#
|
4203
|
+
#
|
4204
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4205
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4206
|
+
#
|
3393
4207
|
# @option params [String] :next_marker
|
3394
4208
|
# If you specify a value for `Limit` and you have more
|
3395
4209
|
# `LoggingConfigurations` than the value of `Limit`, AWS WAF returns a
|
@@ -3438,8 +4252,22 @@ module Aws::WAFRegional
|
|
3438
4252
|
req.send_request(options)
|
3439
4253
|
end
|
3440
4254
|
|
4255
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4256
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4257
|
+
#
|
4258
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4259
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4260
|
+
# a single set of endpoints for regional and global use.
|
4261
|
+
#
|
4262
|
+
# </note>
|
4263
|
+
#
|
3441
4264
|
# Returns an array of RuleSummary objects.
|
3442
4265
|
#
|
4266
|
+
#
|
4267
|
+
#
|
4268
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4269
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4270
|
+
#
|
3443
4271
|
# @option params [String] :next_marker
|
3444
4272
|
# If you specify a value for `Limit` and you have more `Rules` than the
|
3445
4273
|
# value of `Limit`, AWS WAF returns a `NextMarker` value in the response
|
@@ -3482,8 +4310,22 @@ module Aws::WAFRegional
|
|
3482
4310
|
req.send_request(options)
|
3483
4311
|
end
|
3484
4312
|
|
4313
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4314
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4315
|
+
#
|
4316
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4317
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4318
|
+
# a single set of endpoints for regional and global use.
|
4319
|
+
#
|
4320
|
+
# </note>
|
4321
|
+
#
|
3485
4322
|
# Returns an array of RegexMatchSetSummary objects.
|
3486
4323
|
#
|
4324
|
+
#
|
4325
|
+
#
|
4326
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4327
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4328
|
+
#
|
3487
4329
|
# @option params [String] :next_marker
|
3488
4330
|
# If you specify a value for `Limit` and you have more `RegexMatchSet`
|
3489
4331
|
# objects than the value of `Limit`, AWS WAF returns a `NextMarker`
|
@@ -3527,8 +4369,22 @@ module Aws::WAFRegional
|
|
3527
4369
|
req.send_request(options)
|
3528
4370
|
end
|
3529
4371
|
|
4372
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4373
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4374
|
+
#
|
4375
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4376
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4377
|
+
# a single set of endpoints for regional and global use.
|
4378
|
+
#
|
4379
|
+
# </note>
|
4380
|
+
#
|
3530
4381
|
# Returns an array of RegexPatternSetSummary objects.
|
3531
4382
|
#
|
4383
|
+
#
|
4384
|
+
#
|
4385
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4386
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4387
|
+
#
|
3532
4388
|
# @option params [String] :next_marker
|
3533
4389
|
# If you specify a value for `Limit` and you have more `RegexPatternSet`
|
3534
4390
|
# objects than the value of `Limit`, AWS WAF returns a `NextMarker`
|
@@ -3573,8 +4429,22 @@ module Aws::WAFRegional
|
|
3573
4429
|
req.send_request(options)
|
3574
4430
|
end
|
3575
4431
|
|
4432
|
+
# <note markdown="1"> This is **AWS WAF Classic Regional** documentation. For more
|
4433
|
+
# information, see [AWS WAF Classic][1] in the developer guide.
|
4434
|
+
#
|
4435
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4436
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4437
|
+
# a single set of endpoints for regional and global use.
|
4438
|
+
#
|
4439
|
+
# </note>
|
4440
|
+
#
|
3576
4441
|
# Returns an array of resources associated with the specified web ACL.
|
3577
4442
|
#
|
4443
|
+
#
|
4444
|
+
#
|
4445
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4446
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4447
|
+
#
|
3578
4448
|
# @option params [required, String] :web_acl_id
|
3579
4449
|
# The unique identifier (ID) of the web ACL for which to list the
|
3580
4450
|
# associated resources.
|
@@ -3608,8 +4478,22 @@ module Aws::WAFRegional
|
|
3608
4478
|
req.send_request(options)
|
3609
4479
|
end
|
3610
4480
|
|
4481
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4482
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4483
|
+
#
|
4484
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4485
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4486
|
+
# a single set of endpoints for regional and global use.
|
4487
|
+
#
|
4488
|
+
# </note>
|
4489
|
+
#
|
3611
4490
|
# Returns an array of RuleGroup objects.
|
3612
4491
|
#
|
4492
|
+
#
|
4493
|
+
#
|
4494
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4495
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4496
|
+
#
|
3613
4497
|
# @option params [String] :next_marker
|
3614
4498
|
# If you specify a value for `Limit` and you have more `RuleGroups` than
|
3615
4499
|
# the value of `Limit`, AWS WAF returns a `NextMarker` value in the
|
@@ -3652,8 +4536,22 @@ module Aws::WAFRegional
|
|
3652
4536
|
req.send_request(options)
|
3653
4537
|
end
|
3654
4538
|
|
4539
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4540
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4541
|
+
#
|
4542
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4543
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4544
|
+
# a single set of endpoints for regional and global use.
|
4545
|
+
#
|
4546
|
+
# </note>
|
4547
|
+
#
|
3655
4548
|
# Returns an array of RuleSummary objects.
|
3656
4549
|
#
|
4550
|
+
#
|
4551
|
+
#
|
4552
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4553
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4554
|
+
#
|
3657
4555
|
# @option params [String] :next_marker
|
3658
4556
|
# If you specify a value for `Limit` and you have more `Rules` than the
|
3659
4557
|
# value of `Limit`, AWS WAF returns a `NextMarker` value in the response
|
@@ -3715,8 +4613,22 @@ module Aws::WAFRegional
|
|
3715
4613
|
req.send_request(options)
|
3716
4614
|
end
|
3717
4615
|
|
4616
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4617
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4618
|
+
#
|
4619
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4620
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4621
|
+
# a single set of endpoints for regional and global use.
|
4622
|
+
#
|
4623
|
+
# </note>
|
4624
|
+
#
|
3718
4625
|
# Returns an array of SizeConstraintSetSummary objects.
|
3719
4626
|
#
|
4627
|
+
#
|
4628
|
+
#
|
4629
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4630
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4631
|
+
#
|
3720
4632
|
# @option params [String] :next_marker
|
3721
4633
|
# If you specify a value for `Limit` and you have more
|
3722
4634
|
# `SizeConstraintSets` than the value of `Limit`, AWS WAF returns a
|
@@ -3780,8 +4692,22 @@ module Aws::WAFRegional
|
|
3780
4692
|
req.send_request(options)
|
3781
4693
|
end
|
3782
4694
|
|
4695
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4696
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4697
|
+
#
|
4698
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4699
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4700
|
+
# a single set of endpoints for regional and global use.
|
4701
|
+
#
|
4702
|
+
# </note>
|
4703
|
+
#
|
3783
4704
|
# Returns an array of SqlInjectionMatchSet objects.
|
3784
4705
|
#
|
4706
|
+
#
|
4707
|
+
#
|
4708
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4709
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4710
|
+
#
|
3785
4711
|
# @option params [String] :next_marker
|
3786
4712
|
# If you specify a value for `Limit` and you have more
|
3787
4713
|
# SqlInjectionMatchSet objects than the value of `Limit`, AWS WAF
|
@@ -3845,8 +4771,22 @@ module Aws::WAFRegional
|
|
3845
4771
|
req.send_request(options)
|
3846
4772
|
end
|
3847
4773
|
|
4774
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4775
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4776
|
+
#
|
4777
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4778
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4779
|
+
# a single set of endpoints for regional and global use.
|
4780
|
+
#
|
4781
|
+
# </note>
|
4782
|
+
#
|
3848
4783
|
# Returns an array of RuleGroup objects that you are subscribed to.
|
3849
4784
|
#
|
4785
|
+
#
|
4786
|
+
#
|
4787
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4788
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4789
|
+
#
|
3850
4790
|
# @option params [String] :next_marker
|
3851
4791
|
# If you specify a value for `Limit` and you have more
|
3852
4792
|
# `ByteMatchSets`subscribed rule groups than the value of `Limit`, AWS
|
@@ -3891,6 +4831,32 @@ module Aws::WAFRegional
|
|
3891
4831
|
req.send_request(options)
|
3892
4832
|
end
|
3893
4833
|
|
4834
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4835
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4836
|
+
#
|
4837
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4838
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4839
|
+
# a single set of endpoints for regional and global use.
|
4840
|
+
#
|
4841
|
+
# </note>
|
4842
|
+
#
|
4843
|
+
# Retrieves the tags associated with the specified AWS resource. Tags
|
4844
|
+
# are key:value pairs that you can use to categorize and manage your
|
4845
|
+
# resources, for purposes like billing. For example, you might set the
|
4846
|
+
# tag key to "customer" and the value to the customer name or ID. You
|
4847
|
+
# can specify one or more tags to add to each AWS resource, up to 50
|
4848
|
+
# tags for a resource.
|
4849
|
+
#
|
4850
|
+
# Tagging is only available through the API, SDKs, and CLI. You can't
|
4851
|
+
# manage or view tags through the AWS WAF Classic console. You can tag
|
4852
|
+
# the AWS resources that you manage through AWS WAF Classic: web ACLs,
|
4853
|
+
# rule groups, and rules.
|
4854
|
+
#
|
4855
|
+
#
|
4856
|
+
#
|
4857
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4858
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4859
|
+
#
|
3894
4860
|
# @option params [String] :next_marker
|
3895
4861
|
#
|
3896
4862
|
# @option params [Integer] :limit
|
@@ -3927,8 +4893,22 @@ module Aws::WAFRegional
|
|
3927
4893
|
req.send_request(options)
|
3928
4894
|
end
|
3929
4895
|
|
4896
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4897
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4898
|
+
#
|
4899
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4900
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4901
|
+
# a single set of endpoints for regional and global use.
|
4902
|
+
#
|
4903
|
+
# </note>
|
4904
|
+
#
|
3930
4905
|
# Returns an array of WebACLSummary objects in the response.
|
3931
4906
|
#
|
4907
|
+
#
|
4908
|
+
#
|
4909
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4910
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4911
|
+
#
|
3932
4912
|
# @option params [String] :next_marker
|
3933
4913
|
# If you specify a value for `Limit` and you have more `WebACL` objects
|
3934
4914
|
# than the number that you specify for `Limit`, AWS WAF returns a
|
@@ -3991,8 +4971,22 @@ module Aws::WAFRegional
|
|
3991
4971
|
req.send_request(options)
|
3992
4972
|
end
|
3993
4973
|
|
4974
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4975
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4976
|
+
#
|
4977
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4978
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4979
|
+
# a single set of endpoints for regional and global use.
|
4980
|
+
#
|
4981
|
+
# </note>
|
4982
|
+
#
|
3994
4983
|
# Returns an array of XssMatchSet objects.
|
3995
4984
|
#
|
4985
|
+
#
|
4986
|
+
#
|
4987
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4988
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4989
|
+
#
|
3996
4990
|
# @option params [String] :next_marker
|
3997
4991
|
# If you specify a value for `Limit` and you have more XssMatchSet
|
3998
4992
|
# objects than the value of `Limit`, AWS WAF returns a `NextMarker`
|
@@ -4054,6 +5048,15 @@ module Aws::WAFRegional
|
|
4054
5048
|
req.send_request(options)
|
4055
5049
|
end
|
4056
5050
|
|
5051
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5052
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5053
|
+
#
|
5054
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5055
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5056
|
+
# a single set of endpoints for regional and global use.
|
5057
|
+
#
|
5058
|
+
# </note>
|
5059
|
+
#
|
4057
5060
|
# Associates a LoggingConfiguration with a specified web ACL.
|
4058
5061
|
#
|
4059
5062
|
# You can access information about all traffic that AWS WAF inspects
|
@@ -4076,12 +5079,14 @@ module Aws::WAFRegional
|
|
4076
5079
|
# When you successfully enable logging using a `PutLoggingConfiguration`
|
4077
5080
|
# request, AWS WAF will create a service linked role with the necessary
|
4078
5081
|
# permissions to write logs to the Amazon Kinesis Data Firehose. For
|
4079
|
-
# more information, see [Logging Web ACL Traffic Information][
|
5082
|
+
# more information, see [Logging Web ACL Traffic Information][3] in the
|
4080
5083
|
# *AWS WAF Developer Guide*.
|
4081
5084
|
#
|
4082
5085
|
#
|
4083
5086
|
#
|
4084
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5087
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5088
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5089
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/logging.html
|
4085
5090
|
#
|
4086
5091
|
# @option params [required, Types::LoggingConfiguration] :logging_configuration
|
4087
5092
|
# The Amazon Kinesis Data Firehose that contains the inspected traffic
|
@@ -4130,7 +5135,16 @@ module Aws::WAFRegional
|
|
4130
5135
|
req.send_request(options)
|
4131
5136
|
end
|
4132
5137
|
|
4133
|
-
#
|
5138
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5139
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5140
|
+
#
|
5141
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5142
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5143
|
+
# a single set of endpoints for regional and global use.
|
5144
|
+
#
|
5145
|
+
# </note>
|
5146
|
+
#
|
5147
|
+
# Attaches an IAM policy to the specified resource. The only supported
|
4134
5148
|
# use for this action is to share a RuleGroup across accounts.
|
4135
5149
|
#
|
4136
5150
|
# The `PutPermissionPolicy` is subject to the following restrictions:
|
@@ -4156,14 +5170,16 @@ module Aws::WAFRegional
|
|
4156
5170
|
#
|
4157
5171
|
# * Your policy must be composed using IAM Policy version 2012-10-17.
|
4158
5172
|
#
|
4159
|
-
# For more information, see [IAM Policies][
|
5173
|
+
# For more information, see [IAM Policies][3].
|
4160
5174
|
#
|
4161
5175
|
# An example of a valid policy parameter is shown in the Examples
|
4162
5176
|
# section below.
|
4163
5177
|
#
|
4164
5178
|
#
|
4165
5179
|
#
|
4166
|
-
# [1]: https://docs.aws.amazon.com/
|
5180
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5181
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5182
|
+
# [3]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html
|
4167
5183
|
#
|
4168
5184
|
# @option params [required, String] :resource_arn
|
4169
5185
|
# The Amazon Resource Name (ARN) of the RuleGroup to which you want to
|
@@ -4190,6 +5206,32 @@ module Aws::WAFRegional
|
|
4190
5206
|
req.send_request(options)
|
4191
5207
|
end
|
4192
5208
|
|
5209
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5210
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5211
|
+
#
|
5212
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5213
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5214
|
+
# a single set of endpoints for regional and global use.
|
5215
|
+
#
|
5216
|
+
# </note>
|
5217
|
+
#
|
5218
|
+
# Associates tags with the specified AWS resource. Tags are key:value
|
5219
|
+
# pairs that you can use to categorize and manage your resources, for
|
5220
|
+
# purposes like billing. For example, you might set the tag key to
|
5221
|
+
# "customer" and the value to the customer name or ID. You can specify
|
5222
|
+
# one or more tags to add to each AWS resource, up to 50 tags for a
|
5223
|
+
# resource.
|
5224
|
+
#
|
5225
|
+
# Tagging is only available through the API, SDKs, and CLI. You can't
|
5226
|
+
# manage or view tags through the AWS WAF Classic console. You can use
|
5227
|
+
# this action to tag the AWS resources that you manage through AWS WAF
|
5228
|
+
# Classic: web ACLs, rule groups, and rules.
|
5229
|
+
#
|
5230
|
+
#
|
5231
|
+
#
|
5232
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5233
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5234
|
+
#
|
4193
5235
|
# @option params [required, String] :resource_arn
|
4194
5236
|
#
|
4195
5237
|
# @option params [required, Array<Types::Tag>] :tags
|
@@ -4202,8 +5244,8 @@ module Aws::WAFRegional
|
|
4202
5244
|
# resource_arn: "ResourceArn", # required
|
4203
5245
|
# tags: [ # required
|
4204
5246
|
# {
|
4205
|
-
# key: "TagKey",
|
4206
|
-
# value: "TagValue",
|
5247
|
+
# key: "TagKey", # required
|
5248
|
+
# value: "TagValue", # required
|
4207
5249
|
# },
|
4208
5250
|
# ],
|
4209
5251
|
# })
|
@@ -4217,6 +5259,22 @@ module Aws::WAFRegional
|
|
4217
5259
|
req.send_request(options)
|
4218
5260
|
end
|
4219
5261
|
|
5262
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5263
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5264
|
+
#
|
5265
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5266
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5267
|
+
# a single set of endpoints for regional and global use.
|
5268
|
+
#
|
5269
|
+
# </note>
|
5270
|
+
#
|
5271
|
+
#
|
5272
|
+
#
|
5273
|
+
#
|
5274
|
+
#
|
5275
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5276
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5277
|
+
#
|
4220
5278
|
# @option params [required, String] :resource_arn
|
4221
5279
|
#
|
4222
5280
|
# @option params [required, Array<String>] :tag_keys
|
@@ -4239,6 +5297,15 @@ module Aws::WAFRegional
|
|
4239
5297
|
req.send_request(options)
|
4240
5298
|
end
|
4241
5299
|
|
5300
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5301
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5302
|
+
#
|
5303
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5304
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5305
|
+
# a single set of endpoints for regional and global use.
|
5306
|
+
#
|
5307
|
+
# </note>
|
5308
|
+
#
|
4242
5309
|
# Inserts or deletes ByteMatchTuple objects (filters) in a ByteMatchSet.
|
4243
5310
|
# For each `ByteMatchTuple` object, you specify the following values:
|
4244
5311
|
#
|
@@ -4278,11 +5345,13 @@ module Aws::WAFRegional
|
|
4278
5345
|
# or the URI) and the value that you want AWS WAF to watch for.
|
4279
5346
|
#
|
4280
5347
|
# For more information about how to use the AWS WAF API to allow or
|
4281
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5348
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4282
5349
|
#
|
4283
5350
|
#
|
4284
5351
|
#
|
4285
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5352
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5353
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5354
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4286
5355
|
#
|
4287
5356
|
# @option params [required, String] :byte_match_set_id
|
4288
5357
|
# The `ByteMatchSetId` of the ByteMatchSet that you want to update.
|
@@ -4372,6 +5441,15 @@ module Aws::WAFRegional
|
|
4372
5441
|
req.send_request(options)
|
4373
5442
|
end
|
4374
5443
|
|
5444
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5445
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5446
|
+
#
|
5447
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5448
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5449
|
+
# a single set of endpoints for regional and global use.
|
5450
|
+
#
|
5451
|
+
# </note>
|
5452
|
+
#
|
4375
5453
|
# Inserts or deletes GeoMatchConstraint objects in an `GeoMatchSet`. For
|
4376
5454
|
# each `GeoMatchConstraint` object, you specify the following values:
|
4377
5455
|
#
|
@@ -4400,11 +5478,13 @@ module Aws::WAFRegional
|
|
4400
5478
|
# change a country, you delete the existing country and add the new one.
|
4401
5479
|
#
|
4402
5480
|
# For more information about how to use the AWS WAF API to allow or
|
4403
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5481
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4404
5482
|
#
|
4405
5483
|
#
|
4406
5484
|
#
|
4407
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5485
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5486
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5487
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4408
5488
|
#
|
4409
5489
|
# @option params [required, String] :geo_match_set_id
|
4410
5490
|
# The `GeoMatchSetId` of the GeoMatchSet that you want to update.
|
@@ -4460,6 +5540,15 @@ module Aws::WAFRegional
|
|
4460
5540
|
req.send_request(options)
|
4461
5541
|
end
|
4462
5542
|
|
5543
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5544
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5545
|
+
#
|
5546
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5547
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5548
|
+
# a single set of endpoints for regional and global use.
|
5549
|
+
#
|
5550
|
+
# </note>
|
5551
|
+
#
|
4463
5552
|
# Inserts or deletes IPSetDescriptor objects in an `IPSet`. For each
|
4464
5553
|
# `IPSetDescriptor` object, you specify the following values:
|
4465
5554
|
#
|
@@ -4476,7 +5565,7 @@ module Aws::WAFRegional
|
|
4476
5565
|
# AWS WAF supports IPv4 address ranges: /8 and any range between /16
|
4477
5566
|
# through /32. AWS WAF supports IPv6 address ranges: /24, /32, /48, /56,
|
4478
5567
|
# /64, and /128. For more information about CIDR notation, see the
|
4479
|
-
# Wikipedia entry [Classless Inter-Domain Routing][
|
5568
|
+
# Wikipedia entry [Classless Inter-Domain Routing][3].
|
4480
5569
|
#
|
4481
5570
|
# IPv6 addresses can be represented using any of the following formats:
|
4482
5571
|
#
|
@@ -4513,12 +5602,14 @@ module Aws::WAFRegional
|
|
4513
5602
|
# You can insert a maximum of 1000 addresses in a single request.
|
4514
5603
|
#
|
4515
5604
|
# For more information about how to use the AWS WAF API to allow or
|
4516
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5605
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][4].
|
4517
5606
|
#
|
4518
5607
|
#
|
4519
5608
|
#
|
4520
|
-
# [1]: https://
|
4521
|
-
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5609
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5610
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5611
|
+
# [3]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
|
5612
|
+
# [4]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4522
5613
|
#
|
4523
5614
|
# @option params [required, String] :ip_set_id
|
4524
5615
|
# The `IPSetId` of the IPSet that you want to update. `IPSetId` is
|
@@ -4596,6 +5687,15 @@ module Aws::WAFRegional
|
|
4596
5687
|
req.send_request(options)
|
4597
5688
|
end
|
4598
5689
|
|
5690
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5691
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5692
|
+
#
|
5693
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5694
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5695
|
+
# a single set of endpoints for regional and global use.
|
5696
|
+
#
|
5697
|
+
# </note>
|
5698
|
+
#
|
4599
5699
|
# Inserts or deletes Predicate objects in a rule and updates the
|
4600
5700
|
# `RateLimit` in the rule.
|
4601
5701
|
#
|
@@ -4613,14 +5713,14 @@ module Aws::WAFRegional
|
|
4613
5713
|
#
|
4614
5714
|
# * A `ByteMatchSet` that matches `BadBot` in the `User-Agent` header
|
4615
5715
|
#
|
4616
|
-
# Further, you specify a `RateLimit` of
|
5716
|
+
# Further, you specify a `RateLimit` of 1,000.
|
4617
5717
|
#
|
4618
5718
|
# You then add the `RateBasedRule` to a `WebACL` and specify that you
|
4619
5719
|
# want to block requests that satisfy the rule. For a request to be
|
4620
5720
|
# blocked, it must come from the IP address 192.0.2.44 *and* the
|
4621
5721
|
# `User-Agent` header in the request must contain the value `BadBot`.
|
4622
5722
|
# Further, requests that match these two conditions much be received at
|
4623
|
-
# a rate of more than
|
5723
|
+
# a rate of more than 1,000 every five minutes. If the rate drops below
|
4624
5724
|
# this limit, AWS WAF no longer blocks the requests.
|
4625
5725
|
#
|
4626
5726
|
# As a second example, suppose you want to limit requests to a
|
@@ -4633,11 +5733,16 @@ module Aws::WAFRegional
|
|
4633
5733
|
#
|
4634
5734
|
# * A `TargetString` of `login`
|
4635
5735
|
#
|
4636
|
-
# Further, you specify a `RateLimit` of
|
5736
|
+
# Further, you specify a `RateLimit` of 1,000.
|
4637
5737
|
#
|
4638
5738
|
# By adding this `RateBasedRule` to a `WebACL`, you could limit requests
|
4639
5739
|
# to your login page without affecting the rest of your site.
|
4640
5740
|
#
|
5741
|
+
#
|
5742
|
+
#
|
5743
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5744
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5745
|
+
#
|
4641
5746
|
# @option params [required, String] :rule_id
|
4642
5747
|
# The `RuleId` of the `RateBasedRule` that you want to update. `RuleId`
|
4643
5748
|
# is returned by `CreateRateBasedRule` and by ListRateBasedRules.
|
@@ -4691,6 +5796,15 @@ module Aws::WAFRegional
|
|
4691
5796
|
req.send_request(options)
|
4692
5797
|
end
|
4693
5798
|
|
5799
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5800
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5801
|
+
#
|
5802
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5803
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5804
|
+
# a single set of endpoints for regional and global use.
|
5805
|
+
#
|
5806
|
+
# </note>
|
5807
|
+
#
|
4694
5808
|
# Inserts or deletes RegexMatchTuple objects (filters) in a
|
4695
5809
|
# RegexMatchSet. For each `RegexMatchSetUpdate` object, you specify the
|
4696
5810
|
# following values:
|
@@ -4730,11 +5844,13 @@ module Aws::WAFRegional
|
|
4730
5844
|
# for.
|
4731
5845
|
#
|
4732
5846
|
# For more information about how to use the AWS WAF API to allow or
|
4733
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5847
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4734
5848
|
#
|
4735
5849
|
#
|
4736
5850
|
#
|
4737
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5851
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5852
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5853
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4738
5854
|
#
|
4739
5855
|
# @option params [required, String] :regex_match_set_id
|
4740
5856
|
# The `RegexMatchSetId` of the RegexMatchSet that you want to update.
|
@@ -4786,6 +5902,15 @@ module Aws::WAFRegional
|
|
4786
5902
|
req.send_request(options)
|
4787
5903
|
end
|
4788
5904
|
|
5905
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5906
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5907
|
+
#
|
5908
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5909
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5910
|
+
# a single set of endpoints for regional and global use.
|
5911
|
+
#
|
5912
|
+
# </note>
|
5913
|
+
#
|
4789
5914
|
# Inserts or deletes `RegexPatternString` objects in a RegexPatternSet.
|
4790
5915
|
# For each `RegexPatternString` object, you specify the following
|
4791
5916
|
# values:
|
@@ -4819,11 +5944,13 @@ module Aws::WAFRegional
|
|
4819
5944
|
# expression pattern that you want AWS WAF to watch for.
|
4820
5945
|
#
|
4821
5946
|
# For more information about how to use the AWS WAF API to allow or
|
4822
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5947
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4823
5948
|
#
|
4824
5949
|
#
|
4825
5950
|
#
|
4826
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5951
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5952
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5953
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4827
5954
|
#
|
4828
5955
|
# @option params [required, String] :regex_pattern_set_id
|
4829
5956
|
# The `RegexPatternSetId` of the RegexPatternSet that you want to
|
@@ -4867,6 +5994,15 @@ module Aws::WAFRegional
|
|
4867
5994
|
req.send_request(options)
|
4868
5995
|
end
|
4869
5996
|
|
5997
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5998
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5999
|
+
#
|
6000
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
6001
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
6002
|
+
# a single set of endpoints for regional and global use.
|
6003
|
+
#
|
6004
|
+
# </note>
|
6005
|
+
#
|
4870
6006
|
# Inserts or deletes Predicate objects in a `Rule`. Each `Predicate`
|
4871
6007
|
# object identifies a predicate, such as a ByteMatchSet or an IPSet,
|
4872
6008
|
# that specifies the web requests that you want to allow, block, or
|
@@ -4903,11 +6039,13 @@ module Aws::WAFRegional
|
|
4903
6039
|
# delete the existing one and add the new one.
|
4904
6040
|
#
|
4905
6041
|
# For more information about how to use the AWS WAF API to allow or
|
4906
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
6042
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4907
6043
|
#
|
4908
6044
|
#
|
4909
6045
|
#
|
4910
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
6046
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6047
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6048
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4911
6049
|
#
|
4912
6050
|
# @option params [required, String] :rule_id
|
4913
6051
|
# The `RuleId` of the `Rule` that you want to update. `RuleId` is
|
@@ -4986,6 +6124,15 @@ module Aws::WAFRegional
|
|
4986
6124
|
req.send_request(options)
|
4987
6125
|
end
|
4988
6126
|
|
6127
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
6128
|
+
# [AWS WAF Classic][1] in the developer guide.
|
6129
|
+
#
|
6130
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
6131
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
6132
|
+
# a single set of endpoints for regional and global use.
|
6133
|
+
#
|
6134
|
+
# </note>
|
6135
|
+
#
|
4989
6136
|
# Inserts or deletes ActivatedRule objects in a `RuleGroup`.
|
4990
6137
|
#
|
4991
6138
|
# You can only insert `REGULAR` rules into a rule group.
|
@@ -5010,11 +6157,13 @@ module Aws::WAFRegional
|
|
5010
6157
|
# existing one and add the new one.
|
5011
6158
|
#
|
5012
6159
|
# For more information about how to use the AWS WAF API to allow or
|
5013
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
6160
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
5014
6161
|
#
|
5015
6162
|
#
|
5016
6163
|
#
|
5017
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
6164
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6165
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6166
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5018
6167
|
#
|
5019
6168
|
# @option params [required, String] :rule_group_id
|
5020
6169
|
# The `RuleGroupId` of the RuleGroup that you want to update.
|
@@ -5080,6 +6229,15 @@ module Aws::WAFRegional
|
|
5080
6229
|
req.send_request(options)
|
5081
6230
|
end
|
5082
6231
|
|
6232
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
6233
|
+
# [AWS WAF Classic][1] in the developer guide.
|
6234
|
+
#
|
6235
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
6236
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
6237
|
+
# a single set of endpoints for regional and global use.
|
6238
|
+
#
|
6239
|
+
# </note>
|
6240
|
+
#
|
5083
6241
|
# Inserts or deletes SizeConstraint objects (filters) in a
|
5084
6242
|
# SizeConstraintSet. For each `SizeConstraint` object, you specify the
|
5085
6243
|
# following values:
|
@@ -5128,11 +6286,13 @@ module Aws::WAFRegional
|
|
5128
6286
|
# for.
|
5129
6287
|
#
|
5130
6288
|
# For more information about how to use the AWS WAF API to allow or
|
5131
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
6289
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
5132
6290
|
#
|
5133
6291
|
#
|
5134
6292
|
#
|
5135
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
6293
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6294
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6295
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5136
6296
|
#
|
5137
6297
|
# @option params [required, String] :size_constraint_set_id
|
5138
6298
|
# The `SizeConstraintSetId` of the SizeConstraintSet that you want to
|
@@ -5221,6 +6381,15 @@ module Aws::WAFRegional
|
|
5221
6381
|
req.send_request(options)
|
5222
6382
|
end
|
5223
6383
|
|
6384
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
6385
|
+
# [AWS WAF Classic][1] in the developer guide.
|
6386
|
+
#
|
6387
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
6388
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
6389
|
+
# a single set of endpoints for regional and global use.
|
6390
|
+
#
|
6391
|
+
# </note>
|
6392
|
+
#
|
5224
6393
|
# Inserts or deletes SqlInjectionMatchTuple objects (filters) in a
|
5225
6394
|
# SqlInjectionMatchSet. For each `SqlInjectionMatchTuple` object, you
|
5226
6395
|
# specify the following values:
|
@@ -5259,11 +6428,13 @@ module Aws::WAFRegional
|
|
5259
6428
|
# snippets of SQL code.
|
5260
6429
|
#
|
5261
6430
|
# For more information about how to use the AWS WAF API to allow or
|
5262
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
6431
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
5263
6432
|
#
|
5264
6433
|
#
|
5265
6434
|
#
|
5266
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
6435
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6436
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6437
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5267
6438
|
#
|
5268
6439
|
# @option params [required, String] :sql_injection_match_set_id
|
5269
6440
|
# The `SqlInjectionMatchSetId` of the `SqlInjectionMatchSet` that you
|
@@ -5349,6 +6520,15 @@ module Aws::WAFRegional
|
|
5349
6520
|
req.send_request(options)
|
5350
6521
|
end
|
5351
6522
|
|
6523
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
6524
|
+
# [AWS WAF Classic][1] in the developer guide.
|
6525
|
+
#
|
6526
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
6527
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
6528
|
+
# a single set of endpoints for regional and global use.
|
6529
|
+
#
|
6530
|
+
# </note>
|
6531
|
+
#
|
5352
6532
|
# Inserts or deletes ActivatedRule objects in a `WebACL`. Each `Rule`
|
5353
6533
|
# identifies web requests that you want to allow, block, or count. When
|
5354
6534
|
# you update a `WebACL`, you specify the following values:
|
@@ -5394,14 +6574,14 @@ module Aws::WAFRegional
|
|
5394
6574
|
# and to associate the `WebACL` with a CloudFront distribution.
|
5395
6575
|
#
|
5396
6576
|
# The `ActivatedRule` can be a rule group. If you specify a rule
|
5397
|
-
# group as your `ActivatedRule
|
5398
|
-
# that rule group.
|
6577
|
+
# group as your `ActivatedRule` , you can exclude specific rules
|
6578
|
+
# from that rule group.
|
5399
6579
|
#
|
5400
6580
|
# If you already have a rule group associated with a web ACL and
|
5401
6581
|
# want to submit an `UpdateWebACL` request to exclude certain rules
|
5402
6582
|
# from that rule group, you must first remove the rule group from
|
5403
6583
|
# the web ACL, the re-insert it again, specifying the excluded
|
5404
|
-
# rules. For details, see ActivatedRule$ExcludedRules.
|
6584
|
+
# rules. For details, see ActivatedRule$ExcludedRules .
|
5405
6585
|
#
|
5406
6586
|
# Be aware that if you try to add a RATE\_BASED rule to a web ACL
|
5407
6587
|
# without setting the rule type when first creating the rule, the
|
@@ -5410,11 +6590,13 @@ module Aws::WAFRegional
|
|
5410
6590
|
# not exist.
|
5411
6591
|
#
|
5412
6592
|
# For more information about how to use the AWS WAF API to allow or
|
5413
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
6593
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
5414
6594
|
#
|
5415
6595
|
#
|
5416
6596
|
#
|
5417
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
6597
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6598
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6599
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5418
6600
|
#
|
5419
6601
|
# @option params [required, String] :web_acl_id
|
5420
6602
|
# The `WebACLId` of the WebACL that you want to update. `WebACLId` is
|
@@ -5524,6 +6706,15 @@ module Aws::WAFRegional
|
|
5524
6706
|
req.send_request(options)
|
5525
6707
|
end
|
5526
6708
|
|
6709
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
6710
|
+
# [AWS WAF Classic][1] in the developer guide.
|
6711
|
+
#
|
6712
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
6713
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
6714
|
+
# a single set of endpoints for regional and global use.
|
6715
|
+
#
|
6716
|
+
# </note>
|
6717
|
+
#
|
5527
6718
|
# Inserts or deletes XssMatchTuple objects (filters) in an XssMatchSet.
|
5528
6719
|
# For each `XssMatchTuple` object, you specify the following values:
|
5529
6720
|
#
|
@@ -5560,11 +6751,13 @@ module Aws::WAFRegional
|
|
5560
6751
|
# attacks.
|
5561
6752
|
#
|
5562
6753
|
# For more information about how to use the AWS WAF API to allow or
|
5563
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
6754
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
5564
6755
|
#
|
5565
6756
|
#
|
5566
6757
|
#
|
5567
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
6758
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6759
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6760
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5568
6761
|
#
|
5569
6762
|
# @option params [required, String] :xss_match_set_id
|
5570
6763
|
# The `XssMatchSetId` of the `XssMatchSet` that you want to update.
|
@@ -5661,7 +6854,7 @@ module Aws::WAFRegional
|
|
5661
6854
|
params: params,
|
5662
6855
|
config: config)
|
5663
6856
|
context[:gem_name] = 'aws-sdk-wafregional'
|
5664
|
-
context[:gem_version] = '1.
|
6857
|
+
context[:gem_version] = '1.31.0'
|
5665
6858
|
Seahorse::Client::Request.new(handlers, context)
|
5666
6859
|
end
|
5667
6860
|
|