aws-sdk-waf 1.25.0 → 1.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-waf.rb +7 -4
- data/lib/aws-sdk-waf/client.rb +1227 -90
- data/lib/aws-sdk-waf/client_api.rb +38 -2
- data/lib/aws-sdk-waf/errors.rb +74 -15
- data/lib/aws-sdk-waf/resource.rb +1 -0
- data/lib/aws-sdk-waf/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: 22ddf02689ac0fa1d78e70cf56e15f21af69143ef1695fb6d2e30440430c8857
|
4
|
+
data.tar.gz: cbed22ba98b06e25a7855753873a81abe0bd40123d659b39d536d1b255a62b76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18a77aec3f61b17f4e3ace1b8dc289b78739cb283c8ebf543f3e7b72b32d169cf7ebdd813af0a29d9d57f611951c2e16481e8edce754d0f1fc004b62fbfb657d
|
7
|
+
data.tar.gz: 7eecc152ba96f42a1e1c6871d42705922794d3e85a7374b29793f4a8d5f8099d63fc30cab16e957aca805e2a64ba127aad2895fc1160fe097ed97c18f001b96a
|
data/lib/aws-sdk-waf.rb
CHANGED
@@ -24,17 +24,20 @@ require_relative 'aws-sdk-waf/customizations'
|
|
24
24
|
# methods each accept a hash of request parameters and return a response
|
25
25
|
# structure.
|
26
26
|
#
|
27
|
+
# waf = Aws::WAF::Client.new
|
28
|
+
# resp = waf.create_byte_match_set(params)
|
29
|
+
#
|
27
30
|
# See {Client} for more information.
|
28
31
|
#
|
29
32
|
# # Errors
|
30
33
|
#
|
31
|
-
# Errors returned from AWS WAF
|
32
|
-
# extend {Errors::ServiceError}.
|
34
|
+
# Errors returned from AWS WAF 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::WAF::Errors::ServiceError
|
37
|
-
# # rescues all
|
40
|
+
# # rescues all AWS WAF API errors
|
38
41
|
# end
|
39
42
|
#
|
40
43
|
# See {Errors} for more information.
|
@@ -42,6 +45,6 @@ require_relative 'aws-sdk-waf/customizations'
|
|
42
45
|
# @service
|
43
46
|
module Aws::WAF
|
44
47
|
|
45
|
-
GEM_VERSION = '1.
|
48
|
+
GEM_VERSION = '1.30.0'
|
46
49
|
|
47
50
|
end
|
data/lib/aws-sdk-waf/client.rb
CHANGED
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
|
30
30
|
Aws::Plugins::GlobalConfiguration.add_identifier(:waf)
|
31
31
|
|
32
32
|
module Aws::WAF
|
33
|
+
# An API client for WAF. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
|
+
#
|
35
|
+
# client = Aws::WAF::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
|
+
#
|
41
|
+
# For details on configuring region and credentials see
|
42
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
43
|
+
#
|
44
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
45
|
class Client < Seahorse::Client::Base
|
34
46
|
|
35
47
|
include Aws::ClientStubs
|
@@ -93,7 +105,7 @@ module Aws::WAF
|
|
93
105
|
# @option options [required, String] :region
|
94
106
|
# The AWS region to connect to. The configured `:region` is
|
95
107
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
97
109
|
#
|
98
110
|
# * `Aws.config[:region]`
|
99
111
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +120,12 @@ module Aws::WAF
|
|
108
120
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
121
|
# the background every 60 secs (default). Defaults to `false`.
|
110
122
|
#
|
123
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
124
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
125
|
+
# until there is sufficent client side capacity to retry the request.
|
126
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
127
|
+
# not retry instead of sleeping.
|
128
|
+
#
|
111
129
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
130
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
131
|
# this client.
|
@@ -132,6 +150,10 @@ module Aws::WAF
|
|
132
150
|
# When `true`, an attempt is made to coerce request parameters into
|
133
151
|
# the required types.
|
134
152
|
#
|
153
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
154
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
155
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
156
|
+
#
|
135
157
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
158
|
# Set to true to disable SDK automatically adding host prefix
|
137
159
|
# to default service endpoint when available.
|
@@ -139,7 +161,7 @@ module Aws::WAF
|
|
139
161
|
# @option options [String] :endpoint
|
140
162
|
# The client endpoint is normally constructed from the `:region`
|
141
163
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
143
165
|
#
|
144
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +176,7 @@ module Aws::WAF
|
|
154
176
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
177
|
#
|
156
178
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
179
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
180
|
#
|
159
181
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
182
|
# The log formatter.
|
@@ -166,15 +188,29 @@ module Aws::WAF
|
|
166
188
|
# The Logger instance to send log messages to. If this option
|
167
189
|
# is not set, logging will be disabled.
|
168
190
|
#
|
191
|
+
# @option options [Integer] :max_attempts (3)
|
192
|
+
# An integer representing the maximum number attempts that will be made for
|
193
|
+
# a single request, including the initial attempt. For example,
|
194
|
+
# setting this value to 5 will result in a request being retried up to
|
195
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
196
|
+
#
|
169
197
|
# @option options [String] :profile ("default")
|
170
198
|
# Used when loading credentials from the shared credentials file
|
171
199
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
200
|
#
|
201
|
+
# @option options [Proc] :retry_backoff
|
202
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
203
|
+
# This option is only used in the `legacy` retry mode.
|
204
|
+
#
|
173
205
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
206
|
+
# The base delay in seconds used by the default backoff function. This option
|
207
|
+
# is only used in the `legacy` retry mode.
|
175
208
|
#
|
176
209
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
210
|
+
# A delay randomiser function used by the default backoff function.
|
211
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
212
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
213
|
+
# in the `legacy` retry mode.
|
178
214
|
#
|
179
215
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
216
|
#
|
@@ -182,11 +218,30 @@ module Aws::WAF
|
|
182
218
|
# The maximum number of times to retry failed requests. Only
|
183
219
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
220
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
221
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
222
|
+
# endpoint discovery, and errors from expired credentials.
|
223
|
+
# This option is only used in the `legacy` retry mode.
|
187
224
|
#
|
188
225
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
226
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
227
|
+
# used by the default backoff function. This option is only used in the
|
228
|
+
# `legacy` retry mode.
|
229
|
+
#
|
230
|
+
# @option options [String] :retry_mode ("legacy")
|
231
|
+
# Specifies which retry algorithm to use. Values are:
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
190
245
|
#
|
191
246
|
# @option options [String] :secret_access_key
|
192
247
|
#
|
@@ -219,16 +274,15 @@ module Aws::WAF
|
|
219
274
|
# requests through. Formatted like 'http://proxy.com:123'.
|
220
275
|
#
|
221
276
|
# @option options [Float] :http_open_timeout (15) The number of
|
222
|
-
# seconds to wait when opening a HTTP session before
|
277
|
+
# seconds to wait when opening a HTTP session before raising a
|
223
278
|
# `Timeout::Error`.
|
224
279
|
#
|
225
280
|
# @option options [Integer] :http_read_timeout (60) The default
|
226
281
|
# number of seconds to wait for response data. This value can
|
227
|
-
# safely be set
|
228
|
-
# per-request on the session yeidled by {#session_for}.
|
282
|
+
# safely be set per-request on the session.
|
229
283
|
#
|
230
284
|
# @option options [Float] :http_idle_timeout (5) The number of
|
231
|
-
# seconds a connection is allowed to sit
|
285
|
+
# seconds a connection is allowed to sit idle before it is
|
232
286
|
# considered stale. Stale connections are closed and removed
|
233
287
|
# from the pool before making a request.
|
234
288
|
#
|
@@ -237,7 +291,7 @@ module Aws::WAF
|
|
237
291
|
# request body. This option has no effect unless the request has
|
238
292
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
239
293
|
# disables this behaviour. This value can safely be set per
|
240
|
-
# request on the session
|
294
|
+
# request on the session.
|
241
295
|
#
|
242
296
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
243
297
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -264,6 +318,15 @@ module Aws::WAF
|
|
264
318
|
|
265
319
|
# @!group API Operations
|
266
320
|
|
321
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
322
|
+
# [AWS WAF Classic][1] in the developer guide.
|
323
|
+
#
|
324
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
325
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
326
|
+
# a single set of endpoints for regional and global use.
|
327
|
+
#
|
328
|
+
# </note>
|
329
|
+
#
|
267
330
|
# Creates a `ByteMatchSet`. You then use UpdateByteMatchSet to identify
|
268
331
|
# the part of a web request that you want AWS WAF to inspect, such as
|
269
332
|
# the values of the `User-Agent` header or the query string. For
|
@@ -286,11 +349,13 @@ module Aws::WAF
|
|
286
349
|
# or the URI) and the value that you want AWS WAF to watch for.
|
287
350
|
#
|
288
351
|
# For more information about how to use the AWS WAF API to allow or
|
289
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
352
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
290
353
|
#
|
291
354
|
#
|
292
355
|
#
|
293
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
356
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
357
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
358
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
294
359
|
#
|
295
360
|
# @option params [required, String] :name
|
296
361
|
# A friendly name or description of the ByteMatchSet. You can't change
|
@@ -332,6 +397,15 @@ module Aws::WAF
|
|
332
397
|
req.send_request(options)
|
333
398
|
end
|
334
399
|
|
400
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
401
|
+
# [AWS WAF Classic][1] in the developer guide.
|
402
|
+
#
|
403
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
404
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
405
|
+
# a single set of endpoints for regional and global use.
|
406
|
+
#
|
407
|
+
# </note>
|
408
|
+
#
|
335
409
|
# Creates an GeoMatchSet, which you use to specify which web requests
|
336
410
|
# you want to allow or block based on the country that the requests
|
337
411
|
# originate from. For example, if you're receiving a lot of requests
|
@@ -353,11 +427,13 @@ module Aws::WAF
|
|
353
427
|
# that you want AWS WAF to watch for.
|
354
428
|
#
|
355
429
|
# For more information about how to use the AWS WAF API to allow or
|
356
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
430
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
357
431
|
#
|
358
432
|
#
|
359
433
|
#
|
360
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
434
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
435
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
436
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
361
437
|
#
|
362
438
|
# @option params [required, String] :name
|
363
439
|
# A friendly name or description of the GeoMatchSet. You can't change
|
@@ -396,6 +472,15 @@ module Aws::WAF
|
|
396
472
|
req.send_request(options)
|
397
473
|
end
|
398
474
|
|
475
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
476
|
+
# [AWS WAF Classic][1] in the developer guide.
|
477
|
+
#
|
478
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
479
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
480
|
+
# a single set of endpoints for regional and global use.
|
481
|
+
#
|
482
|
+
# </note>
|
483
|
+
#
|
399
484
|
# Creates an IPSet, which you use to specify which web requests that you
|
400
485
|
# want to allow or block based on the IP addresses that the requests
|
401
486
|
# originate from. For example, if you're receiving a lot of requests
|
@@ -418,11 +503,13 @@ module Aws::WAF
|
|
418
503
|
# you want AWS WAF to watch for.
|
419
504
|
#
|
420
505
|
# For more information about how to use the AWS WAF API to allow or
|
421
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
506
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
422
507
|
#
|
423
508
|
#
|
424
509
|
#
|
425
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
510
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
511
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
512
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
426
513
|
#
|
427
514
|
# @option params [required, String] :name
|
428
515
|
# A friendly name or description of the IPSet. You can't change `Name`
|
@@ -486,6 +573,15 @@ module Aws::WAF
|
|
486
573
|
req.send_request(options)
|
487
574
|
end
|
488
575
|
|
576
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
577
|
+
# [AWS WAF Classic][1] in the developer guide.
|
578
|
+
#
|
579
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
580
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
581
|
+
# a single set of endpoints for regional and global use.
|
582
|
+
#
|
583
|
+
# </note>
|
584
|
+
#
|
489
585
|
# Creates a RateBasedRule. The `RateBasedRule` contains a `RateLimit`,
|
490
586
|
# which specifies the maximum number of requests that AWS WAF allows
|
491
587
|
# from a specified IP address in a five-minute period. The
|
@@ -495,23 +591,23 @@ module Aws::WAF
|
|
495
591
|
#
|
496
592
|
# If you add more than one predicate to a `RateBasedRule`, a request not
|
497
593
|
# only must exceed the `RateLimit`, but it also must match all the
|
498
|
-
#
|
499
|
-
#
|
594
|
+
# conditions to be counted or blocked. For example, suppose you add the
|
595
|
+
# following to a `RateBasedRule`\:
|
500
596
|
#
|
501
597
|
# * An `IPSet` that matches the IP address `192.0.2.44/32`
|
502
598
|
#
|
503
599
|
# * A `ByteMatchSet` that matches `BadBot` in the `User-Agent` header
|
504
600
|
#
|
505
|
-
# Further, you specify a `RateLimit` of
|
601
|
+
# Further, you specify a `RateLimit` of 1,000.
|
506
602
|
#
|
507
603
|
# You then add the `RateBasedRule` to a `WebACL` and specify that you
|
508
604
|
# want to block requests that meet the conditions in the rule. For a
|
509
605
|
# request to be blocked, it must come from the IP address 192.0.2.44
|
510
606
|
# *and* the `User-Agent` header in the request must contain the value
|
511
607
|
# `BadBot`. Further, requests that match these two conditions must be
|
512
|
-
# received at a rate of more than
|
608
|
+
# received at a rate of more than 1,000 requests every five minutes. If
|
513
609
|
# both conditions are met and the rate is exceeded, AWS WAF blocks the
|
514
|
-
# requests. If the rate drops below
|
610
|
+
# requests. If the rate drops below 1,000 for a five-minute period, AWS
|
515
611
|
# WAF no longer blocks the requests.
|
516
612
|
#
|
517
613
|
# As a second example, suppose you want to limit requests to a
|
@@ -524,7 +620,7 @@ module Aws::WAF
|
|
524
620
|
#
|
525
621
|
# * A `TargetString` of `login`
|
526
622
|
#
|
527
|
-
# Further, you specify a `RateLimit` of
|
623
|
+
# Further, you specify a `RateLimit` of 1,000.
|
528
624
|
#
|
529
625
|
# By adding this `RateBasedRule` to a `WebACL`, you could limit requests
|
530
626
|
# to your login page without affecting the rest of your site.
|
@@ -551,11 +647,13 @@ module Aws::WAF
|
|
551
647
|
# For more information, see CreateWebACL.
|
552
648
|
#
|
553
649
|
# For more information about how to use the AWS WAF API to allow or
|
554
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
650
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
555
651
|
#
|
556
652
|
#
|
557
653
|
#
|
558
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
654
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
655
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
656
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
559
657
|
#
|
560
658
|
# @option params [required, String] :name
|
561
659
|
# A friendly name or description of the RateBasedRule. You can't change
|
@@ -605,8 +703,8 @@ module Aws::WAF
|
|
605
703
|
# change_token: "ChangeToken", # required
|
606
704
|
# tags: [
|
607
705
|
# {
|
608
|
-
# key: "TagKey",
|
609
|
-
# value: "TagValue",
|
706
|
+
# key: "TagKey", # required
|
707
|
+
# value: "TagValue", # required
|
610
708
|
# },
|
611
709
|
# ],
|
612
710
|
# })
|
@@ -633,6 +731,15 @@ module Aws::WAF
|
|
633
731
|
req.send_request(options)
|
634
732
|
end
|
635
733
|
|
734
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
735
|
+
# [AWS WAF Classic][1] in the developer guide.
|
736
|
+
#
|
737
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
738
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
739
|
+
# a single set of endpoints for regional and global use.
|
740
|
+
#
|
741
|
+
# </note>
|
742
|
+
#
|
636
743
|
# Creates a RegexMatchSet. You then use UpdateRegexMatchSet to identify
|
637
744
|
# the part of a web request that you want AWS WAF to inspect, such as
|
638
745
|
# the values of the `User-Agent` header or the query string. For
|
@@ -658,11 +765,13 @@ module Aws::WAF
|
|
658
765
|
# want AWS WAF to watch for.
|
659
766
|
#
|
660
767
|
# For more information about how to use the AWS WAF API to allow or
|
661
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
768
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
662
769
|
#
|
663
770
|
#
|
664
771
|
#
|
665
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
772
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
773
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
774
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
666
775
|
#
|
667
776
|
# @option params [required, String] :name
|
668
777
|
# A friendly name or description of the RegexMatchSet. You can't change
|
@@ -703,6 +812,15 @@ module Aws::WAF
|
|
703
812
|
req.send_request(options)
|
704
813
|
end
|
705
814
|
|
815
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
816
|
+
# [AWS WAF Classic][1] in the developer guide.
|
817
|
+
#
|
818
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
819
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
820
|
+
# a single set of endpoints for regional and global use.
|
821
|
+
#
|
822
|
+
# </note>
|
823
|
+
#
|
706
824
|
# Creates a `RegexPatternSet`. You then use UpdateRegexPatternSet to
|
707
825
|
# specify the regular expression (regex) pattern that you want AWS WAF
|
708
826
|
# to search for, such as `B[a@]dB[o0]t`. You can then configure AWS WAF
|
@@ -723,11 +841,13 @@ module Aws::WAF
|
|
723
841
|
# you want AWS WAF to watch for.
|
724
842
|
#
|
725
843
|
# For more information about how to use the AWS WAF API to allow or
|
726
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
844
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
727
845
|
#
|
728
846
|
#
|
729
847
|
#
|
730
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
848
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
849
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
850
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
731
851
|
#
|
732
852
|
# @option params [required, String] :name
|
733
853
|
# A friendly name or description of the RegexPatternSet. You can't
|
@@ -765,6 +885,15 @@ module Aws::WAF
|
|
765
885
|
req.send_request(options)
|
766
886
|
end
|
767
887
|
|
888
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
889
|
+
# [AWS WAF Classic][1] in the developer guide.
|
890
|
+
#
|
891
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
892
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
893
|
+
# a single set of endpoints for regional and global use.
|
894
|
+
#
|
895
|
+
# </note>
|
896
|
+
#
|
768
897
|
# Creates a `Rule`, which contains the `IPSet` objects, `ByteMatchSet`
|
769
898
|
# objects, and other predicates that identify the requests that you want
|
770
899
|
# to block. If you add more than one predicate to a `Rule`, a request
|
@@ -801,11 +930,13 @@ module Aws::WAF
|
|
801
930
|
# information, see CreateWebACL.
|
802
931
|
#
|
803
932
|
# For more information about how to use the AWS WAF API to allow or
|
804
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
933
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
805
934
|
#
|
806
935
|
#
|
807
936
|
#
|
808
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
937
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
938
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
939
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
809
940
|
#
|
810
941
|
# @option params [required, String] :name
|
811
942
|
# A friendly name or description of the Rule. You can't change the name
|
@@ -865,8 +996,8 @@ module Aws::WAF
|
|
865
996
|
# change_token: "ChangeToken", # required
|
866
997
|
# tags: [
|
867
998
|
# {
|
868
|
-
# key: "TagKey",
|
869
|
-
# value: "TagValue",
|
999
|
+
# key: "TagKey", # required
|
1000
|
+
# value: "TagValue", # required
|
870
1001
|
# },
|
871
1002
|
# ],
|
872
1003
|
# })
|
@@ -891,6 +1022,15 @@ module Aws::WAF
|
|
891
1022
|
req.send_request(options)
|
892
1023
|
end
|
893
1024
|
|
1025
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1026
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1027
|
+
#
|
1028
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1029
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1030
|
+
# a single set of endpoints for regional and global use.
|
1031
|
+
#
|
1032
|
+
# </note>
|
1033
|
+
#
|
894
1034
|
# Creates a `RuleGroup`. A rule group is a collection of predefined
|
895
1035
|
# rules that you add to a web ACL. You use UpdateRuleGroup to add rules
|
896
1036
|
# to the rule group.
|
@@ -905,11 +1045,13 @@ module Aws::WAF
|
|
905
1045
|
# * Ten rules per rule group.
|
906
1046
|
#
|
907
1047
|
# For more information about how to use the AWS WAF API to allow or
|
908
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
1048
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
909
1049
|
#
|
910
1050
|
#
|
911
1051
|
#
|
912
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1052
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1053
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1054
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
913
1055
|
#
|
914
1056
|
# @option params [required, String] :name
|
915
1057
|
# A friendly name or description of the RuleGroup. You can't change
|
@@ -941,8 +1083,8 @@ module Aws::WAF
|
|
941
1083
|
# change_token: "ChangeToken", # required
|
942
1084
|
# tags: [
|
943
1085
|
# {
|
944
|
-
# key: "TagKey",
|
945
|
-
# value: "TagValue",
|
1086
|
+
# key: "TagKey", # required
|
1087
|
+
# value: "TagValue", # required
|
946
1088
|
# },
|
947
1089
|
# ],
|
948
1090
|
# })
|
@@ -963,6 +1105,15 @@ module Aws::WAF
|
|
963
1105
|
req.send_request(options)
|
964
1106
|
end
|
965
1107
|
|
1108
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1109
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1110
|
+
#
|
1111
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1112
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1113
|
+
# a single set of endpoints for regional and global use.
|
1114
|
+
#
|
1115
|
+
# </note>
|
1116
|
+
#
|
966
1117
|
# Creates a `SizeConstraintSet`. You then use UpdateSizeConstraintSet to
|
967
1118
|
# identify the part of a web request that you want AWS WAF to check for
|
968
1119
|
# length, such as the length of the `User-Agent` header or the length of
|
@@ -988,11 +1139,13 @@ module Aws::WAF
|
|
988
1139
|
# for.
|
989
1140
|
#
|
990
1141
|
# For more information about how to use the AWS WAF API to allow or
|
991
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
1142
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
992
1143
|
#
|
993
1144
|
#
|
994
1145
|
#
|
995
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1146
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1147
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1148
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
996
1149
|
#
|
997
1150
|
# @option params [required, String] :name
|
998
1151
|
# A friendly name or description of the SizeConstraintSet. You can't
|
@@ -1063,6 +1216,15 @@ module Aws::WAF
|
|
1063
1216
|
req.send_request(options)
|
1064
1217
|
end
|
1065
1218
|
|
1219
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1220
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1221
|
+
#
|
1222
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1223
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1224
|
+
# a single set of endpoints for regional and global use.
|
1225
|
+
#
|
1226
|
+
# </note>
|
1227
|
+
#
|
1066
1228
|
# Creates a SqlInjectionMatchSet, which you use to allow, block, or
|
1067
1229
|
# count requests that contain snippets of SQL code in a specified part
|
1068
1230
|
# of web requests. AWS WAF searches for character sequences that are
|
@@ -1085,11 +1247,13 @@ module Aws::WAF
|
|
1085
1247
|
# malicious SQL code.
|
1086
1248
|
#
|
1087
1249
|
# For more information about how to use the AWS WAF API to allow or
|
1088
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
1250
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
1089
1251
|
#
|
1090
1252
|
#
|
1091
1253
|
#
|
1092
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1254
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1255
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1256
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1093
1257
|
#
|
1094
1258
|
# @option params [required, String] :name
|
1095
1259
|
# A friendly name or description for the SqlInjectionMatchSet that
|
@@ -1157,6 +1321,15 @@ module Aws::WAF
|
|
1157
1321
|
req.send_request(options)
|
1158
1322
|
end
|
1159
1323
|
|
1324
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1325
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1326
|
+
#
|
1327
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1328
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1329
|
+
# a single set of endpoints for regional and global use.
|
1330
|
+
#
|
1331
|
+
# </note>
|
1332
|
+
#
|
1160
1333
|
# Creates a `WebACL`, which contains the `Rules` that identify the
|
1161
1334
|
# CloudFront web requests that you want to allow, block, or count. AWS
|
1162
1335
|
# WAF evaluates `Rules` in order based on the value of `Priority` for
|
@@ -1189,11 +1362,13 @@ module Aws::WAF
|
|
1189
1362
|
# and to associate the `WebACL` with a CloudFront distribution.
|
1190
1363
|
#
|
1191
1364
|
# For more information about how to use the AWS WAF API, see the [AWS
|
1192
|
-
# WAF Developer Guide][
|
1365
|
+
# WAF Developer Guide][3].
|
1193
1366
|
#
|
1194
1367
|
#
|
1195
1368
|
#
|
1196
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1369
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1370
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1371
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1197
1372
|
#
|
1198
1373
|
# @option params [required, String] :name
|
1199
1374
|
# A friendly name or description of the WebACL. You can't change `Name`
|
@@ -1269,8 +1444,8 @@ module Aws::WAF
|
|
1269
1444
|
# change_token: "ChangeToken", # required
|
1270
1445
|
# tags: [
|
1271
1446
|
# {
|
1272
|
-
# key: "TagKey",
|
1273
|
-
# value: "TagValue",
|
1447
|
+
# key: "TagKey", # required
|
1448
|
+
# value: "TagValue", # required
|
1274
1449
|
# },
|
1275
1450
|
# ],
|
1276
1451
|
# })
|
@@ -1301,6 +1476,82 @@ module Aws::WAF
|
|
1301
1476
|
req.send_request(options)
|
1302
1477
|
end
|
1303
1478
|
|
1479
|
+
# Creates an AWS CloudFormation WAFV2 template for the specified web ACL
|
1480
|
+
# in the specified Amazon S3 bucket. Then, in CloudFormation, you create
|
1481
|
+
# a stack from the template, to create the web ACL and its resources in
|
1482
|
+
# AWS WAFV2. Use this to migrate your AWS WAF Classic web ACL to the
|
1483
|
+
# latest version of AWS WAF.
|
1484
|
+
#
|
1485
|
+
# This is part of a larger migration procedure for web ACLs from AWS WAF
|
1486
|
+
# Classic to the latest version of AWS WAF. For the full procedure,
|
1487
|
+
# including caveats and manual steps to complete the migration and
|
1488
|
+
# switch over to the new web ACL, see [Migrating your AWS WAF Classic
|
1489
|
+
# resources to AWS WAF][1] in the [AWS WAF Developer Guide][2].
|
1490
|
+
#
|
1491
|
+
#
|
1492
|
+
#
|
1493
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-migrating-from-classic.html
|
1494
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1495
|
+
#
|
1496
|
+
# @option params [required, String] :web_acl_id
|
1497
|
+
# The UUID of the WAF Classic web ACL that you want to migrate to WAF
|
1498
|
+
# v2.
|
1499
|
+
#
|
1500
|
+
# @option params [required, String] :s3_bucket_name
|
1501
|
+
# The name of the Amazon S3 bucket to store the CloudFormation template
|
1502
|
+
# in. The S3 bucket must be configured as follows for the migration:
|
1503
|
+
#
|
1504
|
+
# * The bucket name must start with `aws-waf-migration-`. For example,
|
1505
|
+
# `aws-waf-migration-my-web-acl`.
|
1506
|
+
#
|
1507
|
+
# * The bucket must be in the Region where you are deploying the
|
1508
|
+
# template. For example, for a web ACL in us-west-2, you must use an
|
1509
|
+
# Amazon S3 bucket in us-west-2 and you must deploy the template stack
|
1510
|
+
# to us-west-2.
|
1511
|
+
#
|
1512
|
+
# * The bucket policies must permit the migration process to write data.
|
1513
|
+
# For listings of the bucket policies, see the Examples section.
|
1514
|
+
#
|
1515
|
+
# @option params [required, Boolean] :ignore_unsupported_type
|
1516
|
+
# Indicates whether to exclude entities that can't be migrated or to
|
1517
|
+
# stop the migration. Set this to true to ignore unsupported entities in
|
1518
|
+
# the web ACL during the migration. Otherwise, if AWS WAF encounters
|
1519
|
+
# unsupported entities, it stops the process and throws an exception.
|
1520
|
+
#
|
1521
|
+
# @return [Types::CreateWebACLMigrationStackResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1522
|
+
#
|
1523
|
+
# * {Types::CreateWebACLMigrationStackResponse#s3_object_url #s3_object_url} => String
|
1524
|
+
#
|
1525
|
+
# @example Request syntax with placeholder values
|
1526
|
+
#
|
1527
|
+
# resp = client.create_web_acl_migration_stack({
|
1528
|
+
# web_acl_id: "ResourceId", # required
|
1529
|
+
# s3_bucket_name: "S3BucketName", # required
|
1530
|
+
# ignore_unsupported_type: false, # required
|
1531
|
+
# })
|
1532
|
+
#
|
1533
|
+
# @example Response structure
|
1534
|
+
#
|
1535
|
+
# resp.s3_object_url #=> String
|
1536
|
+
#
|
1537
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateWebACLMigrationStack AWS API Documentation
|
1538
|
+
#
|
1539
|
+
# @overload create_web_acl_migration_stack(params = {})
|
1540
|
+
# @param [Hash] params ({})
|
1541
|
+
def create_web_acl_migration_stack(params = {}, options = {})
|
1542
|
+
req = build_request(:create_web_acl_migration_stack, params)
|
1543
|
+
req.send_request(options)
|
1544
|
+
end
|
1545
|
+
|
1546
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1547
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1548
|
+
#
|
1549
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1550
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1551
|
+
# a single set of endpoints for regional and global use.
|
1552
|
+
#
|
1553
|
+
# </note>
|
1554
|
+
#
|
1304
1555
|
# Creates an XssMatchSet, which you use to allow, block, or count
|
1305
1556
|
# requests that contain cross-site scripting attacks in the specified
|
1306
1557
|
# part of web requests. AWS WAF searches for character sequences that
|
@@ -1321,11 +1572,13 @@ module Aws::WAF
|
|
1321
1572
|
# scripting attacks.
|
1322
1573
|
#
|
1323
1574
|
# For more information about how to use the AWS WAF API to allow or
|
1324
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
1575
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
1325
1576
|
#
|
1326
1577
|
#
|
1327
1578
|
#
|
1328
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1579
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1580
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1581
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1329
1582
|
#
|
1330
1583
|
# @option params [required, String] :name
|
1331
1584
|
# A friendly name or description for the XssMatchSet that you're
|
@@ -1392,6 +1645,15 @@ module Aws::WAF
|
|
1392
1645
|
req.send_request(options)
|
1393
1646
|
end
|
1394
1647
|
|
1648
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1649
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1650
|
+
#
|
1651
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1652
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1653
|
+
# a single set of endpoints for regional and global use.
|
1654
|
+
#
|
1655
|
+
# </note>
|
1656
|
+
#
|
1395
1657
|
# Permanently deletes a ByteMatchSet. You can't delete a `ByteMatchSet`
|
1396
1658
|
# if it's still used in any `Rules` or if it still includes any
|
1397
1659
|
# ByteMatchTuple objects (any filters).
|
@@ -1409,6 +1671,11 @@ module Aws::WAF
|
|
1409
1671
|
#
|
1410
1672
|
# 3. Submit a `DeleteByteMatchSet` request.
|
1411
1673
|
#
|
1674
|
+
#
|
1675
|
+
#
|
1676
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1677
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1678
|
+
#
|
1412
1679
|
# @option params [required, String] :byte_match_set_id
|
1413
1680
|
# The `ByteMatchSetId` of the ByteMatchSet that you want to delete.
|
1414
1681
|
# `ByteMatchSetId` is returned by CreateByteMatchSet and by
|
@@ -1456,6 +1723,15 @@ module Aws::WAF
|
|
1456
1723
|
req.send_request(options)
|
1457
1724
|
end
|
1458
1725
|
|
1726
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1727
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1728
|
+
#
|
1729
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1730
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1731
|
+
# a single set of endpoints for regional and global use.
|
1732
|
+
#
|
1733
|
+
# </note>
|
1734
|
+
#
|
1459
1735
|
# Permanently deletes a GeoMatchSet. You can't delete a `GeoMatchSet`
|
1460
1736
|
# if it's still used in any `Rules` or if it still includes any
|
1461
1737
|
# countries.
|
@@ -1474,6 +1750,11 @@ module Aws::WAF
|
|
1474
1750
|
#
|
1475
1751
|
# 3. Submit a `DeleteGeoMatchSet` request.
|
1476
1752
|
#
|
1753
|
+
#
|
1754
|
+
#
|
1755
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1756
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1757
|
+
#
|
1477
1758
|
# @option params [required, String] :geo_match_set_id
|
1478
1759
|
# The `GeoMatchSetID` of the GeoMatchSet that you want to delete.
|
1479
1760
|
# `GeoMatchSetId` is returned by CreateGeoMatchSet and by
|
@@ -1506,6 +1787,15 @@ module Aws::WAF
|
|
1506
1787
|
req.send_request(options)
|
1507
1788
|
end
|
1508
1789
|
|
1790
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1791
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1792
|
+
#
|
1793
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1794
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1795
|
+
# a single set of endpoints for regional and global use.
|
1796
|
+
#
|
1797
|
+
# </note>
|
1798
|
+
#
|
1509
1799
|
# Permanently deletes an IPSet. You can't delete an `IPSet` if it's
|
1510
1800
|
# still used in any `Rules` or if it still includes any IP addresses.
|
1511
1801
|
#
|
@@ -1522,6 +1812,11 @@ module Aws::WAF
|
|
1522
1812
|
#
|
1523
1813
|
# 3. Submit a `DeleteIPSet` request.
|
1524
1814
|
#
|
1815
|
+
#
|
1816
|
+
#
|
1817
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1818
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1819
|
+
#
|
1525
1820
|
# @option params [required, String] :ip_set_id
|
1526
1821
|
# The `IPSetId` of the IPSet that you want to delete. `IPSetId` is
|
1527
1822
|
# returned by CreateIPSet and by ListIPSets.
|
@@ -1568,9 +1863,23 @@ module Aws::WAF
|
|
1568
1863
|
req.send_request(options)
|
1569
1864
|
end
|
1570
1865
|
|
1866
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1867
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1868
|
+
#
|
1869
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1870
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1871
|
+
# a single set of endpoints for regional and global use.
|
1872
|
+
#
|
1873
|
+
# </note>
|
1874
|
+
#
|
1571
1875
|
# Permanently deletes the LoggingConfiguration from the specified web
|
1572
1876
|
# ACL.
|
1573
1877
|
#
|
1878
|
+
#
|
1879
|
+
#
|
1880
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1881
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1882
|
+
#
|
1574
1883
|
# @option params [required, String] :resource_arn
|
1575
1884
|
# The Amazon Resource Name (ARN) of the web ACL from which you want to
|
1576
1885
|
# delete the LoggingConfiguration.
|
@@ -1592,10 +1901,24 @@ module Aws::WAF
|
|
1592
1901
|
req.send_request(options)
|
1593
1902
|
end
|
1594
1903
|
|
1904
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1905
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1906
|
+
#
|
1907
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1908
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1909
|
+
# a single set of endpoints for regional and global use.
|
1910
|
+
#
|
1911
|
+
# </note>
|
1912
|
+
#
|
1595
1913
|
# Permanently deletes an IAM policy from the specified RuleGroup.
|
1596
1914
|
#
|
1597
1915
|
# The user making the request must be the owner of the RuleGroup.
|
1598
1916
|
#
|
1917
|
+
#
|
1918
|
+
#
|
1919
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1920
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1921
|
+
#
|
1599
1922
|
# @option params [required, String] :resource_arn
|
1600
1923
|
# The Amazon Resource Name (ARN) of the RuleGroup from which you want to
|
1601
1924
|
# delete the policy.
|
@@ -1619,6 +1942,15 @@ module Aws::WAF
|
|
1619
1942
|
req.send_request(options)
|
1620
1943
|
end
|
1621
1944
|
|
1945
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1946
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1947
|
+
#
|
1948
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1949
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1950
|
+
# a single set of endpoints for regional and global use.
|
1951
|
+
#
|
1952
|
+
# </note>
|
1953
|
+
#
|
1622
1954
|
# Permanently deletes a RateBasedRule. You can't delete a rule if it's
|
1623
1955
|
# still used in any `WebACL` objects or if it still includes any
|
1624
1956
|
# predicates, such as `ByteMatchSet` objects.
|
@@ -1636,6 +1968,11 @@ module Aws::WAF
|
|
1636
1968
|
#
|
1637
1969
|
# 3. Submit a `DeleteRateBasedRule` request.
|
1638
1970
|
#
|
1971
|
+
#
|
1972
|
+
#
|
1973
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1974
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1975
|
+
#
|
1639
1976
|
# @option params [required, String] :rule_id
|
1640
1977
|
# The `RuleId` of the RateBasedRule that you want to delete. `RuleId` is
|
1641
1978
|
# returned by CreateRateBasedRule and by ListRateBasedRules.
|
@@ -1667,6 +2004,15 @@ module Aws::WAF
|
|
1667
2004
|
req.send_request(options)
|
1668
2005
|
end
|
1669
2006
|
|
2007
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2008
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2009
|
+
#
|
2010
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2011
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2012
|
+
# a single set of endpoints for regional and global use.
|
2013
|
+
#
|
2014
|
+
# </note>
|
2015
|
+
#
|
1670
2016
|
# Permanently deletes a RegexMatchSet. You can't delete a
|
1671
2017
|
# `RegexMatchSet` if it's still used in any `Rules` or if it still
|
1672
2018
|
# includes any `RegexMatchTuples` objects (any filters).
|
@@ -1684,6 +2030,11 @@ module Aws::WAF
|
|
1684
2030
|
#
|
1685
2031
|
# 3. Submit a `DeleteRegexMatchSet` request.
|
1686
2032
|
#
|
2033
|
+
#
|
2034
|
+
#
|
2035
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2036
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2037
|
+
#
|
1687
2038
|
# @option params [required, String] :regex_match_set_id
|
1688
2039
|
# The `RegexMatchSetId` of the RegexMatchSet that you want to delete.
|
1689
2040
|
# `RegexMatchSetId` is returned by CreateRegexMatchSet and by
|
@@ -1716,10 +2067,24 @@ module Aws::WAF
|
|
1716
2067
|
req.send_request(options)
|
1717
2068
|
end
|
1718
2069
|
|
2070
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2071
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2072
|
+
#
|
2073
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2074
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2075
|
+
# a single set of endpoints for regional and global use.
|
2076
|
+
#
|
2077
|
+
# </note>
|
2078
|
+
#
|
1719
2079
|
# Permanently deletes a RegexPatternSet. You can't delete a
|
1720
2080
|
# `RegexPatternSet` if it's still used in any `RegexMatchSet` or if the
|
1721
2081
|
# `RegexPatternSet` is not empty.
|
1722
2082
|
#
|
2083
|
+
#
|
2084
|
+
#
|
2085
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2086
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2087
|
+
#
|
1723
2088
|
# @option params [required, String] :regex_pattern_set_id
|
1724
2089
|
# The `RegexPatternSetId` of the RegexPatternSet that you want to
|
1725
2090
|
# delete. `RegexPatternSetId` is returned by CreateRegexPatternSet and
|
@@ -1752,6 +2117,15 @@ module Aws::WAF
|
|
1752
2117
|
req.send_request(options)
|
1753
2118
|
end
|
1754
2119
|
|
2120
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2121
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2122
|
+
#
|
2123
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2124
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2125
|
+
# a single set of endpoints for regional and global use.
|
2126
|
+
#
|
2127
|
+
# </note>
|
2128
|
+
#
|
1755
2129
|
# Permanently deletes a Rule. You can't delete a `Rule` if it's still
|
1756
2130
|
# used in any `WebACL` objects or if it still includes any predicates,
|
1757
2131
|
# such as `ByteMatchSet` objects.
|
@@ -1769,6 +2143,11 @@ module Aws::WAF
|
|
1769
2143
|
#
|
1770
2144
|
# 3. Submit a `DeleteRule` request.
|
1771
2145
|
#
|
2146
|
+
#
|
2147
|
+
#
|
2148
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2149
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2150
|
+
#
|
1772
2151
|
# @option params [required, String] :rule_id
|
1773
2152
|
# The `RuleId` of the Rule that you want to delete. `RuleId` is returned
|
1774
2153
|
# by CreateRule and by ListRules.
|
@@ -1815,6 +2194,15 @@ module Aws::WAF
|
|
1815
2194
|
req.send_request(options)
|
1816
2195
|
end
|
1817
2196
|
|
2197
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2198
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2199
|
+
#
|
2200
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2201
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2202
|
+
# a single set of endpoints for regional and global use.
|
2203
|
+
#
|
2204
|
+
# </note>
|
2205
|
+
#
|
1818
2206
|
# Permanently deletes a RuleGroup. You can't delete a `RuleGroup` if
|
1819
2207
|
# it's still used in any `WebACL` objects or if it still includes any
|
1820
2208
|
# rules.
|
@@ -1833,6 +2221,11 @@ module Aws::WAF
|
|
1833
2221
|
#
|
1834
2222
|
# 3. Submit a `DeleteRuleGroup` request.
|
1835
2223
|
#
|
2224
|
+
#
|
2225
|
+
#
|
2226
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2227
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2228
|
+
#
|
1836
2229
|
# @option params [required, String] :rule_group_id
|
1837
2230
|
# The `RuleGroupId` of the RuleGroup that you want to delete.
|
1838
2231
|
# `RuleGroupId` is returned by CreateRuleGroup and by ListRuleGroups.
|
@@ -1864,6 +2257,15 @@ module Aws::WAF
|
|
1864
2257
|
req.send_request(options)
|
1865
2258
|
end
|
1866
2259
|
|
2260
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2261
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2262
|
+
#
|
2263
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2264
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2265
|
+
# a single set of endpoints for regional and global use.
|
2266
|
+
#
|
2267
|
+
# </note>
|
2268
|
+
#
|
1867
2269
|
# Permanently deletes a SizeConstraintSet. You can't delete a
|
1868
2270
|
# `SizeConstraintSet` if it's still used in any `Rules` or if it still
|
1869
2271
|
# includes any SizeConstraint objects (any filters).
|
@@ -1882,6 +2284,11 @@ module Aws::WAF
|
|
1882
2284
|
#
|
1883
2285
|
# 3. Submit a `DeleteSizeConstraintSet` request.
|
1884
2286
|
#
|
2287
|
+
#
|
2288
|
+
#
|
2289
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2290
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2291
|
+
#
|
1885
2292
|
# @option params [required, String] :size_constraint_set_id
|
1886
2293
|
# The `SizeConstraintSetId` of the SizeConstraintSet that you want to
|
1887
2294
|
# delete. `SizeConstraintSetId` is returned by CreateSizeConstraintSet
|
@@ -1929,6 +2336,15 @@ module Aws::WAF
|
|
1929
2336
|
req.send_request(options)
|
1930
2337
|
end
|
1931
2338
|
|
2339
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2340
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2341
|
+
#
|
2342
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2343
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2344
|
+
# a single set of endpoints for regional and global use.
|
2345
|
+
#
|
2346
|
+
# </note>
|
2347
|
+
#
|
1932
2348
|
# Permanently deletes a SqlInjectionMatchSet. You can't delete a
|
1933
2349
|
# `SqlInjectionMatchSet` if it's still used in any `Rules` or if it
|
1934
2350
|
# still contains any SqlInjectionMatchTuple objects.
|
@@ -1947,6 +2363,11 @@ module Aws::WAF
|
|
1947
2363
|
#
|
1948
2364
|
# 3. Submit a `DeleteSqlInjectionMatchSet` request.
|
1949
2365
|
#
|
2366
|
+
#
|
2367
|
+
#
|
2368
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2369
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2370
|
+
#
|
1950
2371
|
# @option params [required, String] :sql_injection_match_set_id
|
1951
2372
|
# The `SqlInjectionMatchSetId` of the SqlInjectionMatchSet that you want
|
1952
2373
|
# to delete. `SqlInjectionMatchSetId` is returned by
|
@@ -1994,6 +2415,15 @@ module Aws::WAF
|
|
1994
2415
|
req.send_request(options)
|
1995
2416
|
end
|
1996
2417
|
|
2418
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2419
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2420
|
+
#
|
2421
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2422
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2423
|
+
# a single set of endpoints for regional and global use.
|
2424
|
+
#
|
2425
|
+
# </note>
|
2426
|
+
#
|
1997
2427
|
# Permanently deletes a WebACL. You can't delete a `WebACL` if it still
|
1998
2428
|
# contains any `Rules`.
|
1999
2429
|
#
|
@@ -2007,6 +2437,11 @@ module Aws::WAF
|
|
2007
2437
|
#
|
2008
2438
|
# 3. Submit a `DeleteWebACL` request.
|
2009
2439
|
#
|
2440
|
+
#
|
2441
|
+
#
|
2442
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2443
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2444
|
+
#
|
2010
2445
|
# @option params [required, String] :web_acl_id
|
2011
2446
|
# The `WebACLId` of the WebACL that you want to delete. `WebACLId` is
|
2012
2447
|
# returned by CreateWebACL and by ListWebACLs.
|
@@ -2053,6 +2488,15 @@ module Aws::WAF
|
|
2053
2488
|
req.send_request(options)
|
2054
2489
|
end
|
2055
2490
|
|
2491
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2492
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2493
|
+
#
|
2494
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2495
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2496
|
+
# a single set of endpoints for regional and global use.
|
2497
|
+
#
|
2498
|
+
# </note>
|
2499
|
+
#
|
2056
2500
|
# Permanently deletes an XssMatchSet. You can't delete an `XssMatchSet`
|
2057
2501
|
# if it's still used in any `Rules` or if it still contains any
|
2058
2502
|
# XssMatchTuple objects.
|
@@ -2071,6 +2515,11 @@ module Aws::WAF
|
|
2071
2515
|
#
|
2072
2516
|
# 3. Submit a `DeleteXssMatchSet` request.
|
2073
2517
|
#
|
2518
|
+
#
|
2519
|
+
#
|
2520
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2521
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2522
|
+
#
|
2074
2523
|
# @option params [required, String] :xss_match_set_id
|
2075
2524
|
# The `XssMatchSetId` of the XssMatchSet that you want to delete.
|
2076
2525
|
# `XssMatchSetId` is returned by CreateXssMatchSet and by
|
@@ -2118,8 +2567,22 @@ module Aws::WAF
|
|
2118
2567
|
req.send_request(options)
|
2119
2568
|
end
|
2120
2569
|
|
2570
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2571
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2572
|
+
#
|
2573
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2574
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2575
|
+
# a single set of endpoints for regional and global use.
|
2576
|
+
#
|
2577
|
+
# </note>
|
2578
|
+
#
|
2121
2579
|
# Returns the ByteMatchSet specified by `ByteMatchSetId`.
|
2122
2580
|
#
|
2581
|
+
#
|
2582
|
+
#
|
2583
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2584
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2585
|
+
#
|
2123
2586
|
# @option params [required, String] :byte_match_set_id
|
2124
2587
|
# The `ByteMatchSetId` of the ByteMatchSet that you want to get.
|
2125
2588
|
# `ByteMatchSetId` is returned by CreateByteMatchSet and by
|
@@ -2183,6 +2646,15 @@ module Aws::WAF
|
|
2183
2646
|
req.send_request(options)
|
2184
2647
|
end
|
2185
2648
|
|
2649
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2650
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2651
|
+
#
|
2652
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2653
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2654
|
+
# a single set of endpoints for regional and global use.
|
2655
|
+
#
|
2656
|
+
# </note>
|
2657
|
+
#
|
2186
2658
|
# When you want to create, update, or delete AWS WAF objects, get a
|
2187
2659
|
# change token and include the change token in the create, update, or
|
2188
2660
|
# delete request. Change tokens ensure that your application doesn't
|
@@ -2199,6 +2671,11 @@ module Aws::WAF
|
|
2199
2671
|
# that AWS WAF is propagating the change to all AWS WAF servers. Use
|
2200
2672
|
# `GetChangeTokenStatus` to determine the status of your change token.
|
2201
2673
|
#
|
2674
|
+
#
|
2675
|
+
#
|
2676
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2677
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2678
|
+
#
|
2202
2679
|
# @return [Types::GetChangeTokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2203
2680
|
#
|
2204
2681
|
# * {Types::GetChangeTokenResponse#change_token #change_token} => String
|
@@ -2229,6 +2706,15 @@ module Aws::WAF
|
|
2229
2706
|
req.send_request(options)
|
2230
2707
|
end
|
2231
2708
|
|
2709
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2710
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2711
|
+
#
|
2712
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2713
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2714
|
+
# a single set of endpoints for regional and global use.
|
2715
|
+
#
|
2716
|
+
# </note>
|
2717
|
+
#
|
2232
2718
|
# Returns the status of a `ChangeToken` that you got by calling
|
2233
2719
|
# GetChangeToken. `ChangeTokenStatus` is one of the following values:
|
2234
2720
|
#
|
@@ -2241,6 +2727,11 @@ module Aws::WAF
|
|
2241
2727
|
#
|
2242
2728
|
# * `INSYNC`\: Propagation is complete.
|
2243
2729
|
#
|
2730
|
+
#
|
2731
|
+
#
|
2732
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2733
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2734
|
+
#
|
2244
2735
|
# @option params [required, String] :change_token
|
2245
2736
|
# The change token for which you want to get the status. This change
|
2246
2737
|
# token was previously returned in the `GetChangeToken` response.
|
@@ -2282,8 +2773,22 @@ module Aws::WAF
|
|
2282
2773
|
req.send_request(options)
|
2283
2774
|
end
|
2284
2775
|
|
2776
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2777
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2778
|
+
#
|
2779
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2780
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2781
|
+
# a single set of endpoints for regional and global use.
|
2782
|
+
#
|
2783
|
+
# </note>
|
2784
|
+
#
|
2285
2785
|
# Returns the GeoMatchSet that is specified by `GeoMatchSetId`.
|
2286
2786
|
#
|
2787
|
+
#
|
2788
|
+
#
|
2789
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2790
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2791
|
+
#
|
2287
2792
|
# @option params [required, String] :geo_match_set_id
|
2288
2793
|
# The `GeoMatchSetId` of the GeoMatchSet that you want to get.
|
2289
2794
|
# `GeoMatchSetId` is returned by CreateGeoMatchSet and by
|
@@ -2316,8 +2821,22 @@ module Aws::WAF
|
|
2316
2821
|
req.send_request(options)
|
2317
2822
|
end
|
2318
2823
|
|
2824
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2825
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2826
|
+
#
|
2827
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2828
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2829
|
+
# a single set of endpoints for regional and global use.
|
2830
|
+
#
|
2831
|
+
# </note>
|
2832
|
+
#
|
2319
2833
|
# Returns the IPSet that is specified by `IPSetId`.
|
2320
2834
|
#
|
2835
|
+
#
|
2836
|
+
#
|
2837
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2838
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2839
|
+
#
|
2321
2840
|
# @option params [required, String] :ip_set_id
|
2322
2841
|
# The `IPSetId` of the IPSet that you want to get. `IPSetId` is returned
|
2323
2842
|
# by CreateIPSet and by ListIPSets.
|
@@ -2372,8 +2891,22 @@ module Aws::WAF
|
|
2372
2891
|
req.send_request(options)
|
2373
2892
|
end
|
2374
2893
|
|
2894
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2895
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2896
|
+
#
|
2897
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2898
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2899
|
+
# a single set of endpoints for regional and global use.
|
2900
|
+
#
|
2901
|
+
# </note>
|
2902
|
+
#
|
2375
2903
|
# Returns the LoggingConfiguration for the specified web ACL.
|
2376
2904
|
#
|
2905
|
+
#
|
2906
|
+
#
|
2907
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2908
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2909
|
+
#
|
2377
2910
|
# @option params [required, String] :resource_arn
|
2378
2911
|
# The Amazon Resource Name (ARN) of the web ACL for which you want to
|
2379
2912
|
# get the LoggingConfiguration.
|
@@ -2406,8 +2939,22 @@ module Aws::WAF
|
|
2406
2939
|
req.send_request(options)
|
2407
2940
|
end
|
2408
2941
|
|
2942
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2943
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2944
|
+
#
|
2945
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2946
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2947
|
+
# a single set of endpoints for regional and global use.
|
2948
|
+
#
|
2949
|
+
# </note>
|
2950
|
+
#
|
2409
2951
|
# Returns the IAM policy attached to the RuleGroup.
|
2410
2952
|
#
|
2953
|
+
#
|
2954
|
+
#
|
2955
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2956
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2957
|
+
#
|
2411
2958
|
# @option params [required, String] :resource_arn
|
2412
2959
|
# The Amazon Resource Name (ARN) of the RuleGroup for which you want to
|
2413
2960
|
# get the policy.
|
@@ -2435,9 +2982,23 @@ module Aws::WAF
|
|
2435
2982
|
req.send_request(options)
|
2436
2983
|
end
|
2437
2984
|
|
2985
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2986
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2987
|
+
#
|
2988
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2989
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2990
|
+
# a single set of endpoints for regional and global use.
|
2991
|
+
#
|
2992
|
+
# </note>
|
2993
|
+
#
|
2438
2994
|
# Returns the RateBasedRule that is specified by the `RuleId` that you
|
2439
2995
|
# included in the `GetRateBasedRule` request.
|
2440
2996
|
#
|
2997
|
+
#
|
2998
|
+
#
|
2999
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3000
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3001
|
+
#
|
2441
3002
|
# @option params [required, String] :rule_id
|
2442
3003
|
# The `RuleId` of the RateBasedRule that you want to get. `RuleId` is
|
2443
3004
|
# returned by CreateRateBasedRule and by ListRateBasedRules.
|
@@ -2473,12 +3034,26 @@ module Aws::WAF
|
|
2473
3034
|
req.send_request(options)
|
2474
3035
|
end
|
2475
3036
|
|
3037
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3038
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3039
|
+
#
|
3040
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3041
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3042
|
+
# a single set of endpoints for regional and global use.
|
3043
|
+
#
|
3044
|
+
# </note>
|
3045
|
+
#
|
2476
3046
|
# Returns an array of IP addresses currently being blocked by the
|
2477
3047
|
# RateBasedRule that is specified by the `RuleId`. The maximum number of
|
2478
3048
|
# managed keys that will be blocked is 10,000. If more than 10,000
|
2479
3049
|
# addresses exceed the rate limit, the 10,000 addresses with the highest
|
2480
3050
|
# rates will be blocked.
|
2481
3051
|
#
|
3052
|
+
#
|
3053
|
+
#
|
3054
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3055
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3056
|
+
#
|
2482
3057
|
# @option params [required, String] :rule_id
|
2483
3058
|
# The `RuleId` of the RateBasedRule for which you want to get a list of
|
2484
3059
|
# `ManagedKeys`. `RuleId` is returned by CreateRateBasedRule and by
|
@@ -2515,8 +3090,22 @@ module Aws::WAF
|
|
2515
3090
|
req.send_request(options)
|
2516
3091
|
end
|
2517
3092
|
|
3093
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3094
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3095
|
+
#
|
3096
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3097
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3098
|
+
# a single set of endpoints for regional and global use.
|
3099
|
+
#
|
3100
|
+
# </note>
|
3101
|
+
#
|
2518
3102
|
# Returns the RegexMatchSet specified by `RegexMatchSetId`.
|
2519
3103
|
#
|
3104
|
+
#
|
3105
|
+
#
|
3106
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3107
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3108
|
+
#
|
2520
3109
|
# @option params [required, String] :regex_match_set_id
|
2521
3110
|
# The `RegexMatchSetId` of the RegexMatchSet that you want to get.
|
2522
3111
|
# `RegexMatchSetId` is returned by CreateRegexMatchSet and by
|
@@ -2551,8 +3140,22 @@ module Aws::WAF
|
|
2551
3140
|
req.send_request(options)
|
2552
3141
|
end
|
2553
3142
|
|
3143
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3144
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3145
|
+
#
|
3146
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3147
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3148
|
+
# a single set of endpoints for regional and global use.
|
3149
|
+
#
|
3150
|
+
# </note>
|
3151
|
+
#
|
2554
3152
|
# Returns the RegexPatternSet specified by `RegexPatternSetId`.
|
2555
3153
|
#
|
3154
|
+
#
|
3155
|
+
#
|
3156
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3157
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3158
|
+
#
|
2556
3159
|
# @option params [required, String] :regex_pattern_set_id
|
2557
3160
|
# The `RegexPatternSetId` of the RegexPatternSet that you want to get.
|
2558
3161
|
# `RegexPatternSetId` is returned by CreateRegexPatternSet and by
|
@@ -2584,9 +3187,23 @@ module Aws::WAF
|
|
2584
3187
|
req.send_request(options)
|
2585
3188
|
end
|
2586
3189
|
|
3190
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3191
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3192
|
+
#
|
3193
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3194
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3195
|
+
# a single set of endpoints for regional and global use.
|
3196
|
+
#
|
3197
|
+
# </note>
|
3198
|
+
#
|
2587
3199
|
# Returns the Rule that is specified by the `RuleId` that you included
|
2588
3200
|
# in the `GetRule` request.
|
2589
3201
|
#
|
3202
|
+
#
|
3203
|
+
#
|
3204
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3205
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3206
|
+
#
|
2590
3207
|
# @option params [required, String] :rule_id
|
2591
3208
|
# The `RuleId` of the Rule that you want to get. `RuleId` is returned by
|
2592
3209
|
# CreateRule and by ListRules.
|
@@ -2645,11 +3262,25 @@ module Aws::WAF
|
|
2645
3262
|
req.send_request(options)
|
2646
3263
|
end
|
2647
3264
|
|
3265
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3266
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3267
|
+
#
|
3268
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3269
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3270
|
+
# a single set of endpoints for regional and global use.
|
3271
|
+
#
|
3272
|
+
# </note>
|
3273
|
+
#
|
2648
3274
|
# Returns the RuleGroup that is specified by the `RuleGroupId` that you
|
2649
3275
|
# included in the `GetRuleGroup` request.
|
2650
3276
|
#
|
2651
3277
|
# To view the rules in a rule group, use ListActivatedRulesInRuleGroup.
|
2652
3278
|
#
|
3279
|
+
#
|
3280
|
+
#
|
3281
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3282
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3283
|
+
#
|
2653
3284
|
# @option params [required, String] :rule_group_id
|
2654
3285
|
# The `RuleGroupId` of the RuleGroup that you want to get. `RuleGroupId`
|
2655
3286
|
# is returned by CreateRuleGroup and by ListRuleGroups.
|
@@ -2679,6 +3310,15 @@ module Aws::WAF
|
|
2679
3310
|
req.send_request(options)
|
2680
3311
|
end
|
2681
3312
|
|
3313
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3314
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3315
|
+
#
|
3316
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3317
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3318
|
+
# a single set of endpoints for regional and global use.
|
3319
|
+
#
|
3320
|
+
# </note>
|
3321
|
+
#
|
2682
3322
|
# Gets detailed information about a specified number of requests--a
|
2683
3323
|
# sample--that AWS WAF randomly selects from among the first 5,000
|
2684
3324
|
# requests that your AWS resource received during a time range that you
|
@@ -2692,6 +3332,11 @@ module Aws::WAF
|
|
2692
3332
|
# range. This new time range indicates the actual period during which
|
2693
3333
|
# AWS WAF selected the requests in the sample.
|
2694
3334
|
#
|
3335
|
+
#
|
3336
|
+
#
|
3337
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3338
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3339
|
+
#
|
2695
3340
|
# @option params [required, String] :web_acl_id
|
2696
3341
|
# The `WebACLId` of the `WebACL` for which you want `GetSampledRequests`
|
2697
3342
|
# to return a sample of requests.
|
@@ -2710,7 +3355,8 @@ module Aws::WAF
|
|
2710
3355
|
# @option params [required, Types::TimeWindow] :time_window
|
2711
3356
|
# The start date and time and the end date and time of the range for
|
2712
3357
|
# which you want `GetSampledRequests` to return a sample of requests.
|
2713
|
-
#
|
3358
|
+
# You must specify the times in Coordinated Universal Time (UTC) format.
|
3359
|
+
# UTC format includes the special designator, `Z`. For example,
|
2714
3360
|
# `"2016-09-27T14:50Z"`. You can specify any time range in the previous
|
2715
3361
|
# three hours.
|
2716
3362
|
#
|
@@ -2812,8 +3458,22 @@ module Aws::WAF
|
|
2812
3458
|
req.send_request(options)
|
2813
3459
|
end
|
2814
3460
|
|
3461
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3462
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3463
|
+
#
|
3464
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3465
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3466
|
+
# a single set of endpoints for regional and global use.
|
3467
|
+
#
|
3468
|
+
# </note>
|
3469
|
+
#
|
2815
3470
|
# Returns the SizeConstraintSet specified by `SizeConstraintSetId`.
|
2816
3471
|
#
|
3472
|
+
#
|
3473
|
+
#
|
3474
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3475
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3476
|
+
#
|
2817
3477
|
# @option params [required, String] :size_constraint_set_id
|
2818
3478
|
# The `SizeConstraintSetId` of the SizeConstraintSet that you want to
|
2819
3479
|
# get. `SizeConstraintSetId` is returned by CreateSizeConstraintSet and
|
@@ -2877,9 +3537,23 @@ module Aws::WAF
|
|
2877
3537
|
req.send_request(options)
|
2878
3538
|
end
|
2879
3539
|
|
3540
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3541
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3542
|
+
#
|
3543
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3544
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3545
|
+
# a single set of endpoints for regional and global use.
|
3546
|
+
#
|
3547
|
+
# </note>
|
3548
|
+
#
|
2880
3549
|
# Returns the SqlInjectionMatchSet that is specified by
|
2881
3550
|
# `SqlInjectionMatchSetId`.
|
2882
3551
|
#
|
3552
|
+
#
|
3553
|
+
#
|
3554
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3555
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3556
|
+
#
|
2883
3557
|
# @option params [required, String] :sql_injection_match_set_id
|
2884
3558
|
# The `SqlInjectionMatchSetId` of the SqlInjectionMatchSet that you want
|
2885
3559
|
# to get. `SqlInjectionMatchSetId` is returned by
|
@@ -2939,8 +3613,22 @@ module Aws::WAF
|
|
2939
3613
|
req.send_request(options)
|
2940
3614
|
end
|
2941
3615
|
|
3616
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3617
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3618
|
+
#
|
3619
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3620
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3621
|
+
# a single set of endpoints for regional and global use.
|
3622
|
+
#
|
3623
|
+
# </note>
|
3624
|
+
#
|
2942
3625
|
# Returns the WebACL that is specified by `WebACLId`.
|
2943
3626
|
#
|
3627
|
+
#
|
3628
|
+
#
|
3629
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3630
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3631
|
+
#
|
2944
3632
|
# @option params [required, String] :web_acl_id
|
2945
3633
|
# The `WebACLId` of the WebACL that you want to get. `WebACLId` is
|
2946
3634
|
# returned by CreateWebACL and by ListWebACLs.
|
@@ -3010,8 +3698,22 @@ module Aws::WAF
|
|
3010
3698
|
req.send_request(options)
|
3011
3699
|
end
|
3012
3700
|
|
3701
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3702
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3703
|
+
#
|
3704
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3705
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3706
|
+
# a single set of endpoints for regional and global use.
|
3707
|
+
#
|
3708
|
+
# </note>
|
3709
|
+
#
|
3013
3710
|
# Returns the XssMatchSet that is specified by `XssMatchSetId`.
|
3014
3711
|
#
|
3712
|
+
#
|
3713
|
+
#
|
3714
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3715
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3716
|
+
#
|
3015
3717
|
# @option params [required, String] :xss_match_set_id
|
3016
3718
|
# The `XssMatchSetId` of the XssMatchSet that you want to get.
|
3017
3719
|
# `XssMatchSetId` is returned by CreateXssMatchSet and by
|
@@ -3070,8 +3772,22 @@ module Aws::WAF
|
|
3070
3772
|
req.send_request(options)
|
3071
3773
|
end
|
3072
3774
|
|
3775
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3776
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3777
|
+
#
|
3778
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3779
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3780
|
+
# a single set of endpoints for regional and global use.
|
3781
|
+
#
|
3782
|
+
# </note>
|
3783
|
+
#
|
3073
3784
|
# Returns an array of ActivatedRule objects.
|
3074
3785
|
#
|
3786
|
+
#
|
3787
|
+
#
|
3788
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3789
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3790
|
+
#
|
3075
3791
|
# @option params [String] :rule_group_id
|
3076
3792
|
# The `RuleGroupId` of the RuleGroup for which you want to get a list of
|
3077
3793
|
# ActivatedRule objects.
|
@@ -3125,8 +3841,22 @@ module Aws::WAF
|
|
3125
3841
|
req.send_request(options)
|
3126
3842
|
end
|
3127
3843
|
|
3844
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3845
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3846
|
+
#
|
3847
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3848
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3849
|
+
# a single set of endpoints for regional and global use.
|
3850
|
+
#
|
3851
|
+
# </note>
|
3852
|
+
#
|
3128
3853
|
# Returns an array of ByteMatchSetSummary objects.
|
3129
3854
|
#
|
3855
|
+
#
|
3856
|
+
#
|
3857
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3858
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3859
|
+
#
|
3130
3860
|
# @option params [String] :next_marker
|
3131
3861
|
# If you specify a value for `Limit` and you have more `ByteMatchSets`
|
3132
3862
|
# than the value of `Limit`, AWS WAF returns a `NextMarker` value in the
|
@@ -3170,8 +3900,22 @@ module Aws::WAF
|
|
3170
3900
|
req.send_request(options)
|
3171
3901
|
end
|
3172
3902
|
|
3903
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3904
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3905
|
+
#
|
3906
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3907
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3908
|
+
# a single set of endpoints for regional and global use.
|
3909
|
+
#
|
3910
|
+
# </note>
|
3911
|
+
#
|
3173
3912
|
# Returns an array of GeoMatchSetSummary objects in the response.
|
3174
3913
|
#
|
3914
|
+
#
|
3915
|
+
#
|
3916
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3917
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3918
|
+
#
|
3175
3919
|
# @option params [String] :next_marker
|
3176
3920
|
# If you specify a value for `Limit` and you have more `GeoMatchSet`s
|
3177
3921
|
# than the value of `Limit`, AWS WAF returns a `NextMarker` value in the
|
@@ -3215,8 +3959,22 @@ module Aws::WAF
|
|
3215
3959
|
req.send_request(options)
|
3216
3960
|
end
|
3217
3961
|
|
3962
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3963
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3964
|
+
#
|
3965
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3966
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3967
|
+
# a single set of endpoints for regional and global use.
|
3968
|
+
#
|
3969
|
+
# </note>
|
3970
|
+
#
|
3218
3971
|
# Returns an array of IPSetSummary objects in the response.
|
3219
3972
|
#
|
3973
|
+
#
|
3974
|
+
#
|
3975
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3976
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3977
|
+
#
|
3220
3978
|
# @option params [String] :next_marker
|
3221
3979
|
# AWS WAF returns a `NextMarker` value in the response that allows you
|
3222
3980
|
# to list another group of `IPSets`. For the second and subsequent
|
@@ -3276,8 +4034,22 @@ module Aws::WAF
|
|
3276
4034
|
req.send_request(options)
|
3277
4035
|
end
|
3278
4036
|
|
4037
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4038
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4039
|
+
#
|
4040
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4041
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4042
|
+
# a single set of endpoints for regional and global use.
|
4043
|
+
#
|
4044
|
+
# </note>
|
4045
|
+
#
|
3279
4046
|
# Returns an array of LoggingConfiguration objects.
|
3280
4047
|
#
|
4048
|
+
#
|
4049
|
+
#
|
4050
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4051
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4052
|
+
#
|
3281
4053
|
# @option params [String] :next_marker
|
3282
4054
|
# If you specify a value for `Limit` and you have more
|
3283
4055
|
# `LoggingConfigurations` than the value of `Limit`, AWS WAF returns a
|
@@ -3326,8 +4098,22 @@ module Aws::WAF
|
|
3326
4098
|
req.send_request(options)
|
3327
4099
|
end
|
3328
4100
|
|
4101
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4102
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4103
|
+
#
|
4104
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4105
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4106
|
+
# a single set of endpoints for regional and global use.
|
4107
|
+
#
|
4108
|
+
# </note>
|
4109
|
+
#
|
3329
4110
|
# Returns an array of RuleSummary objects.
|
3330
4111
|
#
|
4112
|
+
#
|
4113
|
+
#
|
4114
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4115
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4116
|
+
#
|
3331
4117
|
# @option params [String] :next_marker
|
3332
4118
|
# If you specify a value for `Limit` and you have more `Rules` than the
|
3333
4119
|
# value of `Limit`, AWS WAF returns a `NextMarker` value in the response
|
@@ -3370,8 +4156,22 @@ module Aws::WAF
|
|
3370
4156
|
req.send_request(options)
|
3371
4157
|
end
|
3372
4158
|
|
4159
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4160
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4161
|
+
#
|
4162
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4163
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4164
|
+
# a single set of endpoints for regional and global use.
|
4165
|
+
#
|
4166
|
+
# </note>
|
4167
|
+
#
|
3373
4168
|
# Returns an array of RegexMatchSetSummary objects.
|
3374
4169
|
#
|
4170
|
+
#
|
4171
|
+
#
|
4172
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4173
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4174
|
+
#
|
3375
4175
|
# @option params [String] :next_marker
|
3376
4176
|
# If you specify a value for `Limit` and you have more `RegexMatchSet`
|
3377
4177
|
# objects than the value of `Limit`, AWS WAF returns a `NextMarker`
|
@@ -3415,8 +4215,22 @@ module Aws::WAF
|
|
3415
4215
|
req.send_request(options)
|
3416
4216
|
end
|
3417
4217
|
|
4218
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4219
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4220
|
+
#
|
4221
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4222
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4223
|
+
# a single set of endpoints for regional and global use.
|
4224
|
+
#
|
4225
|
+
# </note>
|
4226
|
+
#
|
3418
4227
|
# Returns an array of RegexPatternSetSummary objects.
|
3419
4228
|
#
|
4229
|
+
#
|
4230
|
+
#
|
4231
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4232
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4233
|
+
#
|
3420
4234
|
# @option params [String] :next_marker
|
3421
4235
|
# If you specify a value for `Limit` and you have more `RegexPatternSet`
|
3422
4236
|
# objects than the value of `Limit`, AWS WAF returns a `NextMarker`
|
@@ -3461,8 +4275,22 @@ module Aws::WAF
|
|
3461
4275
|
req.send_request(options)
|
3462
4276
|
end
|
3463
4277
|
|
4278
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4279
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4280
|
+
#
|
4281
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4282
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4283
|
+
# a single set of endpoints for regional and global use.
|
4284
|
+
#
|
4285
|
+
# </note>
|
4286
|
+
#
|
3464
4287
|
# Returns an array of RuleGroup objects.
|
3465
4288
|
#
|
4289
|
+
#
|
4290
|
+
#
|
4291
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4292
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4293
|
+
#
|
3466
4294
|
# @option params [String] :next_marker
|
3467
4295
|
# If you specify a value for `Limit` and you have more `RuleGroups` than
|
3468
4296
|
# the value of `Limit`, AWS WAF returns a `NextMarker` value in the
|
@@ -3505,8 +4333,22 @@ module Aws::WAF
|
|
3505
4333
|
req.send_request(options)
|
3506
4334
|
end
|
3507
4335
|
|
4336
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4337
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4338
|
+
#
|
4339
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4340
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4341
|
+
# a single set of endpoints for regional and global use.
|
4342
|
+
#
|
4343
|
+
# </note>
|
4344
|
+
#
|
3508
4345
|
# Returns an array of RuleSummary objects.
|
3509
4346
|
#
|
4347
|
+
#
|
4348
|
+
#
|
4349
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4350
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4351
|
+
#
|
3510
4352
|
# @option params [String] :next_marker
|
3511
4353
|
# If you specify a value for `Limit` and you have more `Rules` than the
|
3512
4354
|
# value of `Limit`, AWS WAF returns a `NextMarker` value in the response
|
@@ -3568,8 +4410,22 @@ module Aws::WAF
|
|
3568
4410
|
req.send_request(options)
|
3569
4411
|
end
|
3570
4412
|
|
4413
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4414
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4415
|
+
#
|
4416
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4417
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4418
|
+
# a single set of endpoints for regional and global use.
|
4419
|
+
#
|
4420
|
+
# </note>
|
4421
|
+
#
|
3571
4422
|
# Returns an array of SizeConstraintSetSummary objects.
|
3572
4423
|
#
|
4424
|
+
#
|
4425
|
+
#
|
4426
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4427
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4428
|
+
#
|
3573
4429
|
# @option params [String] :next_marker
|
3574
4430
|
# If you specify a value for `Limit` and you have more
|
3575
4431
|
# `SizeConstraintSets` than the value of `Limit`, AWS WAF returns a
|
@@ -3633,8 +4489,22 @@ module Aws::WAF
|
|
3633
4489
|
req.send_request(options)
|
3634
4490
|
end
|
3635
4491
|
|
4492
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4493
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4494
|
+
#
|
4495
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4496
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4497
|
+
# a single set of endpoints for regional and global use.
|
4498
|
+
#
|
4499
|
+
# </note>
|
4500
|
+
#
|
3636
4501
|
# Returns an array of SqlInjectionMatchSet objects.
|
3637
4502
|
#
|
4503
|
+
#
|
4504
|
+
#
|
4505
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4506
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4507
|
+
#
|
3638
4508
|
# @option params [String] :next_marker
|
3639
4509
|
# If you specify a value for `Limit` and you have more
|
3640
4510
|
# SqlInjectionMatchSet objects than the value of `Limit`, AWS WAF
|
@@ -3698,8 +4568,22 @@ module Aws::WAF
|
|
3698
4568
|
req.send_request(options)
|
3699
4569
|
end
|
3700
4570
|
|
4571
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4572
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4573
|
+
#
|
4574
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4575
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4576
|
+
# a single set of endpoints for regional and global use.
|
4577
|
+
#
|
4578
|
+
# </note>
|
4579
|
+
#
|
3701
4580
|
# Returns an array of RuleGroup objects that you are subscribed to.
|
3702
4581
|
#
|
4582
|
+
#
|
4583
|
+
#
|
4584
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4585
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4586
|
+
#
|
3703
4587
|
# @option params [String] :next_marker
|
3704
4588
|
# If you specify a value for `Limit` and you have more
|
3705
4589
|
# `ByteMatchSets`subscribed rule groups than the value of `Limit`, AWS
|
@@ -3744,6 +4628,32 @@ module Aws::WAF
|
|
3744
4628
|
req.send_request(options)
|
3745
4629
|
end
|
3746
4630
|
|
4631
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4632
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4633
|
+
#
|
4634
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4635
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4636
|
+
# a single set of endpoints for regional and global use.
|
4637
|
+
#
|
4638
|
+
# </note>
|
4639
|
+
#
|
4640
|
+
# Retrieves the tags associated with the specified AWS resource. Tags
|
4641
|
+
# are key:value pairs that you can use to categorize and manage your
|
4642
|
+
# resources, for purposes like billing. For example, you might set the
|
4643
|
+
# tag key to "customer" and the value to the customer name or ID. You
|
4644
|
+
# can specify one or more tags to add to each AWS resource, up to 50
|
4645
|
+
# tags for a resource.
|
4646
|
+
#
|
4647
|
+
# Tagging is only available through the API, SDKs, and CLI. You can't
|
4648
|
+
# manage or view tags through the AWS WAF Classic console. You can tag
|
4649
|
+
# the AWS resources that you manage through AWS WAF Classic: web ACLs,
|
4650
|
+
# rule groups, and rules.
|
4651
|
+
#
|
4652
|
+
#
|
4653
|
+
#
|
4654
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4655
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4656
|
+
#
|
3747
4657
|
# @option params [String] :next_marker
|
3748
4658
|
#
|
3749
4659
|
# @option params [Integer] :limit
|
@@ -3780,8 +4690,22 @@ module Aws::WAF
|
|
3780
4690
|
req.send_request(options)
|
3781
4691
|
end
|
3782
4692
|
|
4693
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4694
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4695
|
+
#
|
4696
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4697
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4698
|
+
# a single set of endpoints for regional and global use.
|
4699
|
+
#
|
4700
|
+
# </note>
|
4701
|
+
#
|
3783
4702
|
# Returns an array of WebACLSummary objects in the response.
|
3784
4703
|
#
|
4704
|
+
#
|
4705
|
+
#
|
4706
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4707
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4708
|
+
#
|
3785
4709
|
# @option params [String] :next_marker
|
3786
4710
|
# If you specify a value for `Limit` and you have more `WebACL` objects
|
3787
4711
|
# than the number that you specify for `Limit`, AWS WAF returns a
|
@@ -3844,8 +4768,22 @@ module Aws::WAF
|
|
3844
4768
|
req.send_request(options)
|
3845
4769
|
end
|
3846
4770
|
|
4771
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4772
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4773
|
+
#
|
4774
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4775
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4776
|
+
# a single set of endpoints for regional and global use.
|
4777
|
+
#
|
4778
|
+
# </note>
|
4779
|
+
#
|
3847
4780
|
# Returns an array of XssMatchSet objects.
|
3848
4781
|
#
|
4782
|
+
#
|
4783
|
+
#
|
4784
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4785
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4786
|
+
#
|
3849
4787
|
# @option params [String] :next_marker
|
3850
4788
|
# If you specify a value for `Limit` and you have more XssMatchSet
|
3851
4789
|
# objects than the value of `Limit`, AWS WAF returns a `NextMarker`
|
@@ -3907,6 +4845,15 @@ module Aws::WAF
|
|
3907
4845
|
req.send_request(options)
|
3908
4846
|
end
|
3909
4847
|
|
4848
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4849
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4850
|
+
#
|
4851
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4852
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4853
|
+
# a single set of endpoints for regional and global use.
|
4854
|
+
#
|
4855
|
+
# </note>
|
4856
|
+
#
|
3910
4857
|
# Associates a LoggingConfiguration with a specified web ACL.
|
3911
4858
|
#
|
3912
4859
|
# You can access information about all traffic that AWS WAF inspects
|
@@ -3929,12 +4876,14 @@ module Aws::WAF
|
|
3929
4876
|
# When you successfully enable logging using a `PutLoggingConfiguration`
|
3930
4877
|
# request, AWS WAF will create a service linked role with the necessary
|
3931
4878
|
# permissions to write logs to the Amazon Kinesis Data Firehose. For
|
3932
|
-
# more information, see [Logging Web ACL Traffic Information][
|
4879
|
+
# more information, see [Logging Web ACL Traffic Information][3] in the
|
3933
4880
|
# *AWS WAF Developer Guide*.
|
3934
4881
|
#
|
3935
4882
|
#
|
3936
4883
|
#
|
3937
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4884
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4885
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4886
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/logging.html
|
3938
4887
|
#
|
3939
4888
|
# @option params [required, Types::LoggingConfiguration] :logging_configuration
|
3940
4889
|
# The Amazon Kinesis Data Firehose that contains the inspected traffic
|
@@ -3983,7 +4932,16 @@ module Aws::WAF
|
|
3983
4932
|
req.send_request(options)
|
3984
4933
|
end
|
3985
4934
|
|
3986
|
-
#
|
4935
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4936
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4937
|
+
#
|
4938
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4939
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4940
|
+
# a single set of endpoints for regional and global use.
|
4941
|
+
#
|
4942
|
+
# </note>
|
4943
|
+
#
|
4944
|
+
# Attaches an IAM policy to the specified resource. The only supported
|
3987
4945
|
# use for this action is to share a RuleGroup across accounts.
|
3988
4946
|
#
|
3989
4947
|
# The `PutPermissionPolicy` is subject to the following restrictions:
|
@@ -4009,14 +4967,16 @@ module Aws::WAF
|
|
4009
4967
|
#
|
4010
4968
|
# * Your policy must be composed using IAM Policy version 2012-10-17.
|
4011
4969
|
#
|
4012
|
-
# For more information, see [IAM Policies][
|
4970
|
+
# For more information, see [IAM Policies][3].
|
4013
4971
|
#
|
4014
4972
|
# An example of a valid policy parameter is shown in the Examples
|
4015
4973
|
# section below.
|
4016
4974
|
#
|
4017
4975
|
#
|
4018
4976
|
#
|
4019
|
-
# [1]: https://docs.aws.amazon.com/
|
4977
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4978
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4979
|
+
# [3]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html
|
4020
4980
|
#
|
4021
4981
|
# @option params [required, String] :resource_arn
|
4022
4982
|
# The Amazon Resource Name (ARN) of the RuleGroup to which you want to
|
@@ -4043,6 +5003,32 @@ module Aws::WAF
|
|
4043
5003
|
req.send_request(options)
|
4044
5004
|
end
|
4045
5005
|
|
5006
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5007
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5008
|
+
#
|
5009
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5010
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5011
|
+
# a single set of endpoints for regional and global use.
|
5012
|
+
#
|
5013
|
+
# </note>
|
5014
|
+
#
|
5015
|
+
# Associates tags with the specified AWS resource. Tags are key:value
|
5016
|
+
# pairs that you can use to categorize and manage your resources, for
|
5017
|
+
# purposes like billing. For example, you might set the tag key to
|
5018
|
+
# "customer" and the value to the customer name or ID. You can specify
|
5019
|
+
# one or more tags to add to each AWS resource, up to 50 tags for a
|
5020
|
+
# resource.
|
5021
|
+
#
|
5022
|
+
# Tagging is only available through the API, SDKs, and CLI. You can't
|
5023
|
+
# manage or view tags through the AWS WAF Classic console. You can use
|
5024
|
+
# this action to tag the AWS resources that you manage through AWS WAF
|
5025
|
+
# Classic: web ACLs, rule groups, and rules.
|
5026
|
+
#
|
5027
|
+
#
|
5028
|
+
#
|
5029
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5030
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5031
|
+
#
|
4046
5032
|
# @option params [required, String] :resource_arn
|
4047
5033
|
#
|
4048
5034
|
# @option params [required, Array<Types::Tag>] :tags
|
@@ -4055,8 +5041,8 @@ module Aws::WAF
|
|
4055
5041
|
# resource_arn: "ResourceArn", # required
|
4056
5042
|
# tags: [ # required
|
4057
5043
|
# {
|
4058
|
-
# key: "TagKey",
|
4059
|
-
# value: "TagValue",
|
5044
|
+
# key: "TagKey", # required
|
5045
|
+
# value: "TagValue", # required
|
4060
5046
|
# },
|
4061
5047
|
# ],
|
4062
5048
|
# })
|
@@ -4070,6 +5056,22 @@ module Aws::WAF
|
|
4070
5056
|
req.send_request(options)
|
4071
5057
|
end
|
4072
5058
|
|
5059
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5060
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5061
|
+
#
|
5062
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5063
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5064
|
+
# a single set of endpoints for regional and global use.
|
5065
|
+
#
|
5066
|
+
# </note>
|
5067
|
+
#
|
5068
|
+
#
|
5069
|
+
#
|
5070
|
+
#
|
5071
|
+
#
|
5072
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5073
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5074
|
+
#
|
4073
5075
|
# @option params [required, String] :resource_arn
|
4074
5076
|
#
|
4075
5077
|
# @option params [required, Array<String>] :tag_keys
|
@@ -4092,6 +5094,15 @@ module Aws::WAF
|
|
4092
5094
|
req.send_request(options)
|
4093
5095
|
end
|
4094
5096
|
|
5097
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5098
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5099
|
+
#
|
5100
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5101
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5102
|
+
# a single set of endpoints for regional and global use.
|
5103
|
+
#
|
5104
|
+
# </note>
|
5105
|
+
#
|
4095
5106
|
# Inserts or deletes ByteMatchTuple objects (filters) in a ByteMatchSet.
|
4096
5107
|
# For each `ByteMatchTuple` object, you specify the following values:
|
4097
5108
|
#
|
@@ -4131,11 +5142,13 @@ module Aws::WAF
|
|
4131
5142
|
# or the URI) and the value that you want AWS WAF to watch for.
|
4132
5143
|
#
|
4133
5144
|
# For more information about how to use the AWS WAF API to allow or
|
4134
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5145
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4135
5146
|
#
|
4136
5147
|
#
|
4137
5148
|
#
|
4138
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5149
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5150
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5151
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4139
5152
|
#
|
4140
5153
|
# @option params [required, String] :byte_match_set_id
|
4141
5154
|
# The `ByteMatchSetId` of the ByteMatchSet that you want to update.
|
@@ -4225,6 +5238,15 @@ module Aws::WAF
|
|
4225
5238
|
req.send_request(options)
|
4226
5239
|
end
|
4227
5240
|
|
5241
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5242
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5243
|
+
#
|
5244
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5245
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5246
|
+
# a single set of endpoints for regional and global use.
|
5247
|
+
#
|
5248
|
+
# </note>
|
5249
|
+
#
|
4228
5250
|
# Inserts or deletes GeoMatchConstraint objects in an `GeoMatchSet`. For
|
4229
5251
|
# each `GeoMatchConstraint` object, you specify the following values:
|
4230
5252
|
#
|
@@ -4253,11 +5275,13 @@ module Aws::WAF
|
|
4253
5275
|
# change a country, you delete the existing country and add the new one.
|
4254
5276
|
#
|
4255
5277
|
# For more information about how to use the AWS WAF API to allow or
|
4256
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5278
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4257
5279
|
#
|
4258
5280
|
#
|
4259
5281
|
#
|
4260
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5282
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5283
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5284
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4261
5285
|
#
|
4262
5286
|
# @option params [required, String] :geo_match_set_id
|
4263
5287
|
# The `GeoMatchSetId` of the GeoMatchSet that you want to update.
|
@@ -4313,6 +5337,15 @@ module Aws::WAF
|
|
4313
5337
|
req.send_request(options)
|
4314
5338
|
end
|
4315
5339
|
|
5340
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5341
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5342
|
+
#
|
5343
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5344
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5345
|
+
# a single set of endpoints for regional and global use.
|
5346
|
+
#
|
5347
|
+
# </note>
|
5348
|
+
#
|
4316
5349
|
# Inserts or deletes IPSetDescriptor objects in an `IPSet`. For each
|
4317
5350
|
# `IPSetDescriptor` object, you specify the following values:
|
4318
5351
|
#
|
@@ -4329,7 +5362,7 @@ module Aws::WAF
|
|
4329
5362
|
# AWS WAF supports IPv4 address ranges: /8 and any range between /16
|
4330
5363
|
# through /32. AWS WAF supports IPv6 address ranges: /24, /32, /48, /56,
|
4331
5364
|
# /64, and /128. For more information about CIDR notation, see the
|
4332
|
-
# Wikipedia entry [Classless Inter-Domain Routing][
|
5365
|
+
# Wikipedia entry [Classless Inter-Domain Routing][3].
|
4333
5366
|
#
|
4334
5367
|
# IPv6 addresses can be represented using any of the following formats:
|
4335
5368
|
#
|
@@ -4366,12 +5399,14 @@ module Aws::WAF
|
|
4366
5399
|
# You can insert a maximum of 1000 addresses in a single request.
|
4367
5400
|
#
|
4368
5401
|
# For more information about how to use the AWS WAF API to allow or
|
4369
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5402
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][4].
|
4370
5403
|
#
|
4371
5404
|
#
|
4372
5405
|
#
|
4373
|
-
# [1]: https://
|
4374
|
-
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5406
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5407
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5408
|
+
# [3]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
|
5409
|
+
# [4]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4375
5410
|
#
|
4376
5411
|
# @option params [required, String] :ip_set_id
|
4377
5412
|
# The `IPSetId` of the IPSet that you want to update. `IPSetId` is
|
@@ -4449,6 +5484,15 @@ module Aws::WAF
|
|
4449
5484
|
req.send_request(options)
|
4450
5485
|
end
|
4451
5486
|
|
5487
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5488
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5489
|
+
#
|
5490
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5491
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5492
|
+
# a single set of endpoints for regional and global use.
|
5493
|
+
#
|
5494
|
+
# </note>
|
5495
|
+
#
|
4452
5496
|
# Inserts or deletes Predicate objects in a rule and updates the
|
4453
5497
|
# `RateLimit` in the rule.
|
4454
5498
|
#
|
@@ -4466,14 +5510,14 @@ module Aws::WAF
|
|
4466
5510
|
#
|
4467
5511
|
# * A `ByteMatchSet` that matches `BadBot` in the `User-Agent` header
|
4468
5512
|
#
|
4469
|
-
# Further, you specify a `RateLimit` of
|
5513
|
+
# Further, you specify a `RateLimit` of 1,000.
|
4470
5514
|
#
|
4471
5515
|
# You then add the `RateBasedRule` to a `WebACL` and specify that you
|
4472
5516
|
# want to block requests that satisfy the rule. For a request to be
|
4473
5517
|
# blocked, it must come from the IP address 192.0.2.44 *and* the
|
4474
5518
|
# `User-Agent` header in the request must contain the value `BadBot`.
|
4475
5519
|
# Further, requests that match these two conditions much be received at
|
4476
|
-
# a rate of more than
|
5520
|
+
# a rate of more than 1,000 every five minutes. If the rate drops below
|
4477
5521
|
# this limit, AWS WAF no longer blocks the requests.
|
4478
5522
|
#
|
4479
5523
|
# As a second example, suppose you want to limit requests to a
|
@@ -4486,11 +5530,16 @@ module Aws::WAF
|
|
4486
5530
|
#
|
4487
5531
|
# * A `TargetString` of `login`
|
4488
5532
|
#
|
4489
|
-
# Further, you specify a `RateLimit` of
|
5533
|
+
# Further, you specify a `RateLimit` of 1,000.
|
4490
5534
|
#
|
4491
5535
|
# By adding this `RateBasedRule` to a `WebACL`, you could limit requests
|
4492
5536
|
# to your login page without affecting the rest of your site.
|
4493
5537
|
#
|
5538
|
+
#
|
5539
|
+
#
|
5540
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5541
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5542
|
+
#
|
4494
5543
|
# @option params [required, String] :rule_id
|
4495
5544
|
# The `RuleId` of the `RateBasedRule` that you want to update. `RuleId`
|
4496
5545
|
# is returned by `CreateRateBasedRule` and by ListRateBasedRules.
|
@@ -4544,6 +5593,15 @@ module Aws::WAF
|
|
4544
5593
|
req.send_request(options)
|
4545
5594
|
end
|
4546
5595
|
|
5596
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5597
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5598
|
+
#
|
5599
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5600
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5601
|
+
# a single set of endpoints for regional and global use.
|
5602
|
+
#
|
5603
|
+
# </note>
|
5604
|
+
#
|
4547
5605
|
# Inserts or deletes RegexMatchTuple objects (filters) in a
|
4548
5606
|
# RegexMatchSet. For each `RegexMatchSetUpdate` object, you specify the
|
4549
5607
|
# following values:
|
@@ -4583,11 +5641,13 @@ module Aws::WAF
|
|
4583
5641
|
# for.
|
4584
5642
|
#
|
4585
5643
|
# For more information about how to use the AWS WAF API to allow or
|
4586
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5644
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4587
5645
|
#
|
4588
5646
|
#
|
4589
5647
|
#
|
4590
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5648
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5649
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5650
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4591
5651
|
#
|
4592
5652
|
# @option params [required, String] :regex_match_set_id
|
4593
5653
|
# The `RegexMatchSetId` of the RegexMatchSet that you want to update.
|
@@ -4639,6 +5699,15 @@ module Aws::WAF
|
|
4639
5699
|
req.send_request(options)
|
4640
5700
|
end
|
4641
5701
|
|
5702
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5703
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5704
|
+
#
|
5705
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5706
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5707
|
+
# a single set of endpoints for regional and global use.
|
5708
|
+
#
|
5709
|
+
# </note>
|
5710
|
+
#
|
4642
5711
|
# Inserts or deletes `RegexPatternString` objects in a RegexPatternSet.
|
4643
5712
|
# For each `RegexPatternString` object, you specify the following
|
4644
5713
|
# values:
|
@@ -4672,11 +5741,13 @@ module Aws::WAF
|
|
4672
5741
|
# expression pattern that you want AWS WAF to watch for.
|
4673
5742
|
#
|
4674
5743
|
# For more information about how to use the AWS WAF API to allow or
|
4675
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5744
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4676
5745
|
#
|
4677
5746
|
#
|
4678
5747
|
#
|
4679
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5748
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5749
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5750
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4680
5751
|
#
|
4681
5752
|
# @option params [required, String] :regex_pattern_set_id
|
4682
5753
|
# The `RegexPatternSetId` of the RegexPatternSet that you want to
|
@@ -4720,6 +5791,15 @@ module Aws::WAF
|
|
4720
5791
|
req.send_request(options)
|
4721
5792
|
end
|
4722
5793
|
|
5794
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5795
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5796
|
+
#
|
5797
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5798
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5799
|
+
# a single set of endpoints for regional and global use.
|
5800
|
+
#
|
5801
|
+
# </note>
|
5802
|
+
#
|
4723
5803
|
# Inserts or deletes Predicate objects in a `Rule`. Each `Predicate`
|
4724
5804
|
# object identifies a predicate, such as a ByteMatchSet or an IPSet,
|
4725
5805
|
# that specifies the web requests that you want to allow, block, or
|
@@ -4756,11 +5836,13 @@ module Aws::WAF
|
|
4756
5836
|
# delete the existing one and add the new one.
|
4757
5837
|
#
|
4758
5838
|
# For more information about how to use the AWS WAF API to allow or
|
4759
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5839
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4760
5840
|
#
|
4761
5841
|
#
|
4762
5842
|
#
|
4763
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5843
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5844
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5845
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4764
5846
|
#
|
4765
5847
|
# @option params [required, String] :rule_id
|
4766
5848
|
# The `RuleId` of the `Rule` that you want to update. `RuleId` is
|
@@ -4839,6 +5921,15 @@ module Aws::WAF
|
|
4839
5921
|
req.send_request(options)
|
4840
5922
|
end
|
4841
5923
|
|
5924
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5925
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5926
|
+
#
|
5927
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5928
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5929
|
+
# a single set of endpoints for regional and global use.
|
5930
|
+
#
|
5931
|
+
# </note>
|
5932
|
+
#
|
4842
5933
|
# Inserts or deletes ActivatedRule objects in a `RuleGroup`.
|
4843
5934
|
#
|
4844
5935
|
# You can only insert `REGULAR` rules into a rule group.
|
@@ -4863,11 +5954,13 @@ module Aws::WAF
|
|
4863
5954
|
# existing one and add the new one.
|
4864
5955
|
#
|
4865
5956
|
# For more information about how to use the AWS WAF API to allow or
|
4866
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5957
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4867
5958
|
#
|
4868
5959
|
#
|
4869
5960
|
#
|
4870
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5961
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5962
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5963
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4871
5964
|
#
|
4872
5965
|
# @option params [required, String] :rule_group_id
|
4873
5966
|
# The `RuleGroupId` of the RuleGroup that you want to update.
|
@@ -4933,6 +6026,15 @@ module Aws::WAF
|
|
4933
6026
|
req.send_request(options)
|
4934
6027
|
end
|
4935
6028
|
|
6029
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
6030
|
+
# [AWS WAF Classic][1] in the developer guide.
|
6031
|
+
#
|
6032
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
6033
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
6034
|
+
# a single set of endpoints for regional and global use.
|
6035
|
+
#
|
6036
|
+
# </note>
|
6037
|
+
#
|
4936
6038
|
# Inserts or deletes SizeConstraint objects (filters) in a
|
4937
6039
|
# SizeConstraintSet. For each `SizeConstraint` object, you specify the
|
4938
6040
|
# following values:
|
@@ -4981,11 +6083,13 @@ module Aws::WAF
|
|
4981
6083
|
# for.
|
4982
6084
|
#
|
4983
6085
|
# For more information about how to use the AWS WAF API to allow or
|
4984
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
6086
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4985
6087
|
#
|
4986
6088
|
#
|
4987
6089
|
#
|
4988
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
6090
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6091
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6092
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4989
6093
|
#
|
4990
6094
|
# @option params [required, String] :size_constraint_set_id
|
4991
6095
|
# The `SizeConstraintSetId` of the SizeConstraintSet that you want to
|
@@ -5074,6 +6178,15 @@ module Aws::WAF
|
|
5074
6178
|
req.send_request(options)
|
5075
6179
|
end
|
5076
6180
|
|
6181
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
6182
|
+
# [AWS WAF Classic][1] in the developer guide.
|
6183
|
+
#
|
6184
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
6185
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
6186
|
+
# a single set of endpoints for regional and global use.
|
6187
|
+
#
|
6188
|
+
# </note>
|
6189
|
+
#
|
5077
6190
|
# Inserts or deletes SqlInjectionMatchTuple objects (filters) in a
|
5078
6191
|
# SqlInjectionMatchSet. For each `SqlInjectionMatchTuple` object, you
|
5079
6192
|
# specify the following values:
|
@@ -5112,11 +6225,13 @@ module Aws::WAF
|
|
5112
6225
|
# snippets of SQL code.
|
5113
6226
|
#
|
5114
6227
|
# For more information about how to use the AWS WAF API to allow or
|
5115
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
6228
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
5116
6229
|
#
|
5117
6230
|
#
|
5118
6231
|
#
|
5119
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
6232
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6233
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6234
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5120
6235
|
#
|
5121
6236
|
# @option params [required, String] :sql_injection_match_set_id
|
5122
6237
|
# The `SqlInjectionMatchSetId` of the `SqlInjectionMatchSet` that you
|
@@ -5202,6 +6317,15 @@ module Aws::WAF
|
|
5202
6317
|
req.send_request(options)
|
5203
6318
|
end
|
5204
6319
|
|
6320
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
6321
|
+
# [AWS WAF Classic][1] in the developer guide.
|
6322
|
+
#
|
6323
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
6324
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
6325
|
+
# a single set of endpoints for regional and global use.
|
6326
|
+
#
|
6327
|
+
# </note>
|
6328
|
+
#
|
5205
6329
|
# Inserts or deletes ActivatedRule objects in a `WebACL`. Each `Rule`
|
5206
6330
|
# identifies web requests that you want to allow, block, or count. When
|
5207
6331
|
# you update a `WebACL`, you specify the following values:
|
@@ -5247,14 +6371,14 @@ module Aws::WAF
|
|
5247
6371
|
# and to associate the `WebACL` with a CloudFront distribution.
|
5248
6372
|
#
|
5249
6373
|
# The `ActivatedRule` can be a rule group. If you specify a rule
|
5250
|
-
# group as your `ActivatedRule
|
5251
|
-
# that rule group.
|
6374
|
+
# group as your `ActivatedRule` , you can exclude specific rules
|
6375
|
+
# from that rule group.
|
5252
6376
|
#
|
5253
6377
|
# If you already have a rule group associated with a web ACL and
|
5254
6378
|
# want to submit an `UpdateWebACL` request to exclude certain rules
|
5255
6379
|
# from that rule group, you must first remove the rule group from
|
5256
6380
|
# the web ACL, the re-insert it again, specifying the excluded
|
5257
|
-
# rules. For details, see ActivatedRule$ExcludedRules.
|
6381
|
+
# rules. For details, see ActivatedRule$ExcludedRules .
|
5258
6382
|
#
|
5259
6383
|
# Be aware that if you try to add a RATE\_BASED rule to a web ACL
|
5260
6384
|
# without setting the rule type when first creating the rule, the
|
@@ -5263,11 +6387,13 @@ module Aws::WAF
|
|
5263
6387
|
# not exist.
|
5264
6388
|
#
|
5265
6389
|
# For more information about how to use the AWS WAF API to allow or
|
5266
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
6390
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
5267
6391
|
#
|
5268
6392
|
#
|
5269
6393
|
#
|
5270
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
6394
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6395
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6396
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5271
6397
|
#
|
5272
6398
|
# @option params [required, String] :web_acl_id
|
5273
6399
|
# The `WebACLId` of the WebACL that you want to update. `WebACLId` is
|
@@ -5377,6 +6503,15 @@ module Aws::WAF
|
|
5377
6503
|
req.send_request(options)
|
5378
6504
|
end
|
5379
6505
|
|
6506
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
6507
|
+
# [AWS WAF Classic][1] in the developer guide.
|
6508
|
+
#
|
6509
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
6510
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
6511
|
+
# a single set of endpoints for regional and global use.
|
6512
|
+
#
|
6513
|
+
# </note>
|
6514
|
+
#
|
5380
6515
|
# Inserts or deletes XssMatchTuple objects (filters) in an XssMatchSet.
|
5381
6516
|
# For each `XssMatchTuple` object, you specify the following values:
|
5382
6517
|
#
|
@@ -5413,11 +6548,13 @@ module Aws::WAF
|
|
5413
6548
|
# attacks.
|
5414
6549
|
#
|
5415
6550
|
# For more information about how to use the AWS WAF API to allow or
|
5416
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
6551
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
5417
6552
|
#
|
5418
6553
|
#
|
5419
6554
|
#
|
5420
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
6555
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6556
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6557
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5421
6558
|
#
|
5422
6559
|
# @option params [required, String] :xss_match_set_id
|
5423
6560
|
# The `XssMatchSetId` of the `XssMatchSet` that you want to update.
|
@@ -5514,7 +6651,7 @@ module Aws::WAF
|
|
5514
6651
|
params: params,
|
5515
6652
|
config: config)
|
5516
6653
|
context[:gem_name] = 'aws-sdk-waf'
|
5517
|
-
context[:gem_version] = '1.
|
6654
|
+
context[:gem_version] = '1.30.0'
|
5518
6655
|
Seahorse::Client::Request.new(handlers, context)
|
5519
6656
|
end
|
5520
6657
|
|