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