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