aws-sdk-wafregional 1.28.0 → 1.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/aws-sdk-wafregional.rb +3 -1
- data/lib/aws-sdk-wafregional/client.rb +1243 -97
- data/lib/aws-sdk-wafregional/client_api.rb +38 -2
- data/lib/aws-sdk-wafregional/errors.rb +28 -0
- data/lib/aws-sdk-wafregional/resource.rb +3 -7
- data/lib/aws-sdk-wafregional/types.rb +1158 -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: a3cadb102f5150b5664d5f9574630bf7e4e0994a0ef747309f4942c809a08b74
|
4
|
+
data.tar.gz: 0a9fe02b754abb4234fd53f3d67bdfccfaf141a0de2f83d9c7e8bb74c7aec879
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a82c0a6b7bb736ae77ec1e1bd1a29f388607e064b56a5a424c3e14f04f2256d868cbd42043b36463aeac83145c26bf69a0be8d2a5c5298ee2e38a83c3dbbb49
|
7
|
+
data.tar.gz: d9d1fd7f38557f54ae6d5a64896d52ad2b09ca5947956f2f3d5fa9ff73501f58a05bc6d375ae8d30d7bf4a34eeb64c21e583eeb408fabb4383abe573a1a56324
|
data/lib/aws-sdk-wafregional.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-wafregional/customizations'
|
|
45
47
|
# @service
|
46
48
|
module Aws::WAFRegional
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.33.0'
|
49
51
|
|
50
52
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
32
|
|
@@ -32,11 +35,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:wafregional)
|
|
32
35
|
module Aws::WAFRegional
|
33
36
|
# An API client for WAFRegional. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
37
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
38
|
+
# client = Aws::WAFRegional::Client.new(
|
39
|
+
# region: region_name,
|
40
|
+
# credentials: credentials,
|
41
|
+
# # ...
|
42
|
+
# )
|
40
43
|
#
|
41
44
|
# For details on configuring region and credentials see
|
42
45
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -69,6 +72,7 @@ module Aws::WAFRegional
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
74
78
|
|
@@ -105,7 +109,7 @@ module Aws::WAFRegional
|
|
105
109
|
# @option options [required, String] :region
|
106
110
|
# The AWS region to connect to. The configured `:region` is
|
107
111
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
109
113
|
#
|
110
114
|
# * `Aws.config[:region]`
|
111
115
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +165,7 @@ module Aws::WAFRegional
|
|
161
165
|
# @option options [String] :endpoint
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
169
|
#
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +180,7 @@ module Aws::WAFRegional
|
|
176
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
181
|
#
|
178
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
184
|
#
|
181
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
186
|
# The log formatter.
|
@@ -229,15 +233,19 @@ module Aws::WAFRegional
|
|
229
233
|
#
|
230
234
|
# @option options [String] :retry_mode ("legacy")
|
231
235
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
236
|
+
#
|
237
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
238
|
+
# no retry mode is provided.
|
239
|
+
#
|
240
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
241
|
+
# This includes support for retry quotas, which limit the number of
|
242
|
+
# unsuccessful retries a client can make.
|
243
|
+
#
|
244
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
245
|
+
# functionality of `standard` mode along with automatic client side
|
246
|
+
# throttling. This is a provisional mode that may change behavior
|
247
|
+
# in the future.
|
248
|
+
#
|
241
249
|
#
|
242
250
|
# @option options [String] :secret_access_key
|
243
251
|
#
|
@@ -275,8 +283,7 @@ module Aws::WAFRegional
|
|
275
283
|
#
|
276
284
|
# @option options [Integer] :http_read_timeout (60) The default
|
277
285
|
# number of seconds to wait for response data. This value can
|
278
|
-
# safely be set
|
279
|
-
# per-request on the session yielded by {#session_for}.
|
286
|
+
# safely be set per-request on the session.
|
280
287
|
#
|
281
288
|
# @option options [Float] :http_idle_timeout (5) The number of
|
282
289
|
# seconds a connection is allowed to sit idle before it is
|
@@ -288,7 +295,7 @@ module Aws::WAFRegional
|
|
288
295
|
# request body. This option has no effect unless the request has
|
289
296
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
290
297
|
# disables this behaviour. This value can safely be set per
|
291
|
-
# request on the session
|
298
|
+
# request on the session.
|
292
299
|
#
|
293
300
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
294
301
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -315,9 +322,23 @@ module Aws::WAFRegional
|
|
315
322
|
|
316
323
|
# @!group API Operations
|
317
324
|
|
325
|
+
# <note markdown="1"> This is **AWS WAF Classic Regional** documentation. For more
|
326
|
+
# information, see [AWS WAF Classic][1] in the developer guide.
|
327
|
+
#
|
328
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
329
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
330
|
+
# a single set of endpoints for regional and global use.
|
331
|
+
#
|
332
|
+
# </note>
|
333
|
+
#
|
318
334
|
# Associates a web ACL with a resource, either an application load
|
319
335
|
# balancer or Amazon API Gateway stage.
|
320
336
|
#
|
337
|
+
#
|
338
|
+
#
|
339
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
340
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
341
|
+
#
|
321
342
|
# @option params [required, String] :web_acl_id
|
322
343
|
# A unique identifier (ID) for the web ACL.
|
323
344
|
#
|
@@ -352,6 +373,15 @@ module Aws::WAFRegional
|
|
352
373
|
req.send_request(options)
|
353
374
|
end
|
354
375
|
|
376
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
377
|
+
# [AWS WAF Classic][1] in the developer guide.
|
378
|
+
#
|
379
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
380
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
381
|
+
# a single set of endpoints for regional and global use.
|
382
|
+
#
|
383
|
+
# </note>
|
384
|
+
#
|
355
385
|
# Creates a `ByteMatchSet`. You then use UpdateByteMatchSet to identify
|
356
386
|
# the part of a web request that you want AWS WAF to inspect, such as
|
357
387
|
# the values of the `User-Agent` header or the query string. For
|
@@ -374,11 +404,13 @@ module Aws::WAFRegional
|
|
374
404
|
# or the URI) and the value that you want AWS WAF to watch for.
|
375
405
|
#
|
376
406
|
# For more information about how to use the AWS WAF API to allow or
|
377
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
407
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
378
408
|
#
|
379
409
|
#
|
380
410
|
#
|
381
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
411
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
412
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
413
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
382
414
|
#
|
383
415
|
# @option params [required, String] :name
|
384
416
|
# A friendly name or description of the ByteMatchSet. You can't change
|
@@ -420,6 +452,15 @@ module Aws::WAFRegional
|
|
420
452
|
req.send_request(options)
|
421
453
|
end
|
422
454
|
|
455
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
456
|
+
# [AWS WAF Classic][1] in the developer guide.
|
457
|
+
#
|
458
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
459
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
460
|
+
# a single set of endpoints for regional and global use.
|
461
|
+
#
|
462
|
+
# </note>
|
463
|
+
#
|
423
464
|
# Creates an GeoMatchSet, which you use to specify which web requests
|
424
465
|
# you want to allow or block based on the country that the requests
|
425
466
|
# originate from. For example, if you're receiving a lot of requests
|
@@ -441,11 +482,13 @@ module Aws::WAFRegional
|
|
441
482
|
# that you want AWS WAF to watch for.
|
442
483
|
#
|
443
484
|
# For more information about how to use the AWS WAF API to allow or
|
444
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
485
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
445
486
|
#
|
446
487
|
#
|
447
488
|
#
|
448
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
489
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
490
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
491
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
449
492
|
#
|
450
493
|
# @option params [required, String] :name
|
451
494
|
# A friendly name or description of the GeoMatchSet. You can't change
|
@@ -484,6 +527,15 @@ module Aws::WAFRegional
|
|
484
527
|
req.send_request(options)
|
485
528
|
end
|
486
529
|
|
530
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
531
|
+
# [AWS WAF Classic][1] in the developer guide.
|
532
|
+
#
|
533
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
534
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
535
|
+
# a single set of endpoints for regional and global use.
|
536
|
+
#
|
537
|
+
# </note>
|
538
|
+
#
|
487
539
|
# Creates an IPSet, which you use to specify which web requests that you
|
488
540
|
# want to allow or block based on the IP addresses that the requests
|
489
541
|
# originate from. For example, if you're receiving a lot of requests
|
@@ -506,11 +558,13 @@ module Aws::WAFRegional
|
|
506
558
|
# you want AWS WAF to watch for.
|
507
559
|
#
|
508
560
|
# For more information about how to use the AWS WAF API to allow or
|
509
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
561
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
510
562
|
#
|
511
563
|
#
|
512
564
|
#
|
513
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
565
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
566
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
567
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
514
568
|
#
|
515
569
|
# @option params [required, String] :name
|
516
570
|
# A friendly name or description of the IPSet. You can't change `Name`
|
@@ -574,6 +628,15 @@ module Aws::WAFRegional
|
|
574
628
|
req.send_request(options)
|
575
629
|
end
|
576
630
|
|
631
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
632
|
+
# [AWS WAF Classic][1] in the developer guide.
|
633
|
+
#
|
634
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
635
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
636
|
+
# a single set of endpoints for regional and global use.
|
637
|
+
#
|
638
|
+
# </note>
|
639
|
+
#
|
577
640
|
# Creates a RateBasedRule. The `RateBasedRule` contains a `RateLimit`,
|
578
641
|
# which specifies the maximum number of requests that AWS WAF allows
|
579
642
|
# from a specified IP address in a five-minute period. The
|
@@ -583,23 +646,23 @@ module Aws::WAFRegional
|
|
583
646
|
#
|
584
647
|
# If you add more than one predicate to a `RateBasedRule`, a request not
|
585
648
|
# only must exceed the `RateLimit`, but it also must match all the
|
586
|
-
#
|
587
|
-
#
|
649
|
+
# conditions to be counted or blocked. For example, suppose you add the
|
650
|
+
# following to a `RateBasedRule`\:
|
588
651
|
#
|
589
652
|
# * An `IPSet` that matches the IP address `192.0.2.44/32`
|
590
653
|
#
|
591
654
|
# * A `ByteMatchSet` that matches `BadBot` in the `User-Agent` header
|
592
655
|
#
|
593
|
-
# Further, you specify a `RateLimit` of
|
656
|
+
# Further, you specify a `RateLimit` of 1,000.
|
594
657
|
#
|
595
658
|
# You then add the `RateBasedRule` to a `WebACL` and specify that you
|
596
659
|
# want to block requests that meet the conditions in the rule. For a
|
597
660
|
# request to be blocked, it must come from the IP address 192.0.2.44
|
598
661
|
# *and* the `User-Agent` header in the request must contain the value
|
599
662
|
# `BadBot`. Further, requests that match these two conditions must be
|
600
|
-
# received at a rate of more than
|
663
|
+
# received at a rate of more than 1,000 requests every five minutes. If
|
601
664
|
# both conditions are met and the rate is exceeded, AWS WAF blocks the
|
602
|
-
# requests. If the rate drops below
|
665
|
+
# requests. If the rate drops below 1,000 for a five-minute period, AWS
|
603
666
|
# WAF no longer blocks the requests.
|
604
667
|
#
|
605
668
|
# As a second example, suppose you want to limit requests to a
|
@@ -612,7 +675,7 @@ module Aws::WAFRegional
|
|
612
675
|
#
|
613
676
|
# * A `TargetString` of `login`
|
614
677
|
#
|
615
|
-
# Further, you specify a `RateLimit` of
|
678
|
+
# Further, you specify a `RateLimit` of 1,000.
|
616
679
|
#
|
617
680
|
# By adding this `RateBasedRule` to a `WebACL`, you could limit requests
|
618
681
|
# to your login page without affecting the rest of your site.
|
@@ -639,11 +702,13 @@ module Aws::WAFRegional
|
|
639
702
|
# For more information, see CreateWebACL.
|
640
703
|
#
|
641
704
|
# For more information about how to use the AWS WAF API to allow or
|
642
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
705
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
643
706
|
#
|
644
707
|
#
|
645
708
|
#
|
646
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
709
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
710
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
711
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
647
712
|
#
|
648
713
|
# @option params [required, String] :name
|
649
714
|
# A friendly name or description of the RateBasedRule. You can't change
|
@@ -693,8 +758,8 @@ module Aws::WAFRegional
|
|
693
758
|
# change_token: "ChangeToken", # required
|
694
759
|
# tags: [
|
695
760
|
# {
|
696
|
-
# key: "TagKey",
|
697
|
-
# value: "TagValue",
|
761
|
+
# key: "TagKey", # required
|
762
|
+
# value: "TagValue", # required
|
698
763
|
# },
|
699
764
|
# ],
|
700
765
|
# })
|
@@ -721,6 +786,15 @@ module Aws::WAFRegional
|
|
721
786
|
req.send_request(options)
|
722
787
|
end
|
723
788
|
|
789
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
790
|
+
# [AWS WAF Classic][1] in the developer guide.
|
791
|
+
#
|
792
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
793
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
794
|
+
# a single set of endpoints for regional and global use.
|
795
|
+
#
|
796
|
+
# </note>
|
797
|
+
#
|
724
798
|
# Creates a RegexMatchSet. You then use UpdateRegexMatchSet to identify
|
725
799
|
# the part of a web request that you want AWS WAF to inspect, such as
|
726
800
|
# the values of the `User-Agent` header or the query string. For
|
@@ -746,11 +820,13 @@ module Aws::WAFRegional
|
|
746
820
|
# want AWS WAF to watch for.
|
747
821
|
#
|
748
822
|
# For more information about how to use the AWS WAF API to allow or
|
749
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
823
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
750
824
|
#
|
751
825
|
#
|
752
826
|
#
|
753
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
827
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
828
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
829
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
754
830
|
#
|
755
831
|
# @option params [required, String] :name
|
756
832
|
# A friendly name or description of the RegexMatchSet. You can't change
|
@@ -791,6 +867,15 @@ module Aws::WAFRegional
|
|
791
867
|
req.send_request(options)
|
792
868
|
end
|
793
869
|
|
870
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
871
|
+
# [AWS WAF Classic][1] in the developer guide.
|
872
|
+
#
|
873
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
874
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
875
|
+
# a single set of endpoints for regional and global use.
|
876
|
+
#
|
877
|
+
# </note>
|
878
|
+
#
|
794
879
|
# Creates a `RegexPatternSet`. You then use UpdateRegexPatternSet to
|
795
880
|
# specify the regular expression (regex) pattern that you want AWS WAF
|
796
881
|
# to search for, such as `B[a@]dB[o0]t`. You can then configure AWS WAF
|
@@ -811,11 +896,13 @@ module Aws::WAFRegional
|
|
811
896
|
# you want AWS WAF to watch for.
|
812
897
|
#
|
813
898
|
# For more information about how to use the AWS WAF API to allow or
|
814
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
899
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
815
900
|
#
|
816
901
|
#
|
817
902
|
#
|
818
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
903
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
904
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
905
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
819
906
|
#
|
820
907
|
# @option params [required, String] :name
|
821
908
|
# A friendly name or description of the RegexPatternSet. You can't
|
@@ -853,6 +940,15 @@ module Aws::WAFRegional
|
|
853
940
|
req.send_request(options)
|
854
941
|
end
|
855
942
|
|
943
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
944
|
+
# [AWS WAF Classic][1] in the developer guide.
|
945
|
+
#
|
946
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
947
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
948
|
+
# a single set of endpoints for regional and global use.
|
949
|
+
#
|
950
|
+
# </note>
|
951
|
+
#
|
856
952
|
# Creates a `Rule`, which contains the `IPSet` objects, `ByteMatchSet`
|
857
953
|
# objects, and other predicates that identify the requests that you want
|
858
954
|
# to block. If you add more than one predicate to a `Rule`, a request
|
@@ -889,11 +985,13 @@ module Aws::WAFRegional
|
|
889
985
|
# information, see CreateWebACL.
|
890
986
|
#
|
891
987
|
# For more information about how to use the AWS WAF API to allow or
|
892
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
988
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
893
989
|
#
|
894
990
|
#
|
895
991
|
#
|
896
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
992
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
993
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
994
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
897
995
|
#
|
898
996
|
# @option params [required, String] :name
|
899
997
|
# A friendly name or description of the Rule. You can't change the name
|
@@ -953,8 +1051,8 @@ module Aws::WAFRegional
|
|
953
1051
|
# change_token: "ChangeToken", # required
|
954
1052
|
# tags: [
|
955
1053
|
# {
|
956
|
-
# key: "TagKey",
|
957
|
-
# value: "TagValue",
|
1054
|
+
# key: "TagKey", # required
|
1055
|
+
# value: "TagValue", # required
|
958
1056
|
# },
|
959
1057
|
# ],
|
960
1058
|
# })
|
@@ -979,6 +1077,15 @@ module Aws::WAFRegional
|
|
979
1077
|
req.send_request(options)
|
980
1078
|
end
|
981
1079
|
|
1080
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1081
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1082
|
+
#
|
1083
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1084
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1085
|
+
# a single set of endpoints for regional and global use.
|
1086
|
+
#
|
1087
|
+
# </note>
|
1088
|
+
#
|
982
1089
|
# Creates a `RuleGroup`. A rule group is a collection of predefined
|
983
1090
|
# rules that you add to a web ACL. You use UpdateRuleGroup to add rules
|
984
1091
|
# to the rule group.
|
@@ -993,11 +1100,13 @@ module Aws::WAFRegional
|
|
993
1100
|
# * Ten rules per rule group.
|
994
1101
|
#
|
995
1102
|
# For more information about how to use the AWS WAF API to allow or
|
996
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
1103
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
997
1104
|
#
|
998
1105
|
#
|
999
1106
|
#
|
1000
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1107
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1108
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1109
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1001
1110
|
#
|
1002
1111
|
# @option params [required, String] :name
|
1003
1112
|
# A friendly name or description of the RuleGroup. You can't change
|
@@ -1029,8 +1138,8 @@ module Aws::WAFRegional
|
|
1029
1138
|
# change_token: "ChangeToken", # required
|
1030
1139
|
# tags: [
|
1031
1140
|
# {
|
1032
|
-
# key: "TagKey",
|
1033
|
-
# value: "TagValue",
|
1141
|
+
# key: "TagKey", # required
|
1142
|
+
# value: "TagValue", # required
|
1034
1143
|
# },
|
1035
1144
|
# ],
|
1036
1145
|
# })
|
@@ -1051,6 +1160,15 @@ module Aws::WAFRegional
|
|
1051
1160
|
req.send_request(options)
|
1052
1161
|
end
|
1053
1162
|
|
1163
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1164
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1165
|
+
#
|
1166
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1167
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1168
|
+
# a single set of endpoints for regional and global use.
|
1169
|
+
#
|
1170
|
+
# </note>
|
1171
|
+
#
|
1054
1172
|
# Creates a `SizeConstraintSet`. You then use UpdateSizeConstraintSet to
|
1055
1173
|
# identify the part of a web request that you want AWS WAF to check for
|
1056
1174
|
# length, such as the length of the `User-Agent` header or the length of
|
@@ -1076,11 +1194,13 @@ module Aws::WAFRegional
|
|
1076
1194
|
# for.
|
1077
1195
|
#
|
1078
1196
|
# For more information about how to use the AWS WAF API to allow or
|
1079
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
1197
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
1080
1198
|
#
|
1081
1199
|
#
|
1082
1200
|
#
|
1083
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1201
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1202
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1203
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1084
1204
|
#
|
1085
1205
|
# @option params [required, String] :name
|
1086
1206
|
# A friendly name or description of the SizeConstraintSet. You can't
|
@@ -1151,6 +1271,15 @@ module Aws::WAFRegional
|
|
1151
1271
|
req.send_request(options)
|
1152
1272
|
end
|
1153
1273
|
|
1274
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1275
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1276
|
+
#
|
1277
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1278
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1279
|
+
# a single set of endpoints for regional and global use.
|
1280
|
+
#
|
1281
|
+
# </note>
|
1282
|
+
#
|
1154
1283
|
# Creates a SqlInjectionMatchSet, which you use to allow, block, or
|
1155
1284
|
# count requests that contain snippets of SQL code in a specified part
|
1156
1285
|
# of web requests. AWS WAF searches for character sequences that are
|
@@ -1173,11 +1302,13 @@ module Aws::WAFRegional
|
|
1173
1302
|
# malicious SQL code.
|
1174
1303
|
#
|
1175
1304
|
# For more information about how to use the AWS WAF API to allow or
|
1176
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
1305
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
1177
1306
|
#
|
1178
1307
|
#
|
1179
1308
|
#
|
1180
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1309
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1310
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1311
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1181
1312
|
#
|
1182
1313
|
# @option params [required, String] :name
|
1183
1314
|
# A friendly name or description for the SqlInjectionMatchSet that
|
@@ -1245,6 +1376,15 @@ module Aws::WAFRegional
|
|
1245
1376
|
req.send_request(options)
|
1246
1377
|
end
|
1247
1378
|
|
1379
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1380
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1381
|
+
#
|
1382
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1383
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1384
|
+
# a single set of endpoints for regional and global use.
|
1385
|
+
#
|
1386
|
+
# </note>
|
1387
|
+
#
|
1248
1388
|
# Creates a `WebACL`, which contains the `Rules` that identify the
|
1249
1389
|
# CloudFront web requests that you want to allow, block, or count. AWS
|
1250
1390
|
# WAF evaluates `Rules` in order based on the value of `Priority` for
|
@@ -1277,11 +1417,13 @@ module Aws::WAFRegional
|
|
1277
1417
|
# and to associate the `WebACL` with a CloudFront distribution.
|
1278
1418
|
#
|
1279
1419
|
# For more information about how to use the AWS WAF API, see the [AWS
|
1280
|
-
# WAF Developer Guide][
|
1420
|
+
# WAF Developer Guide][3].
|
1281
1421
|
#
|
1282
1422
|
#
|
1283
1423
|
#
|
1284
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1424
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1425
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1426
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1285
1427
|
#
|
1286
1428
|
# @option params [required, String] :name
|
1287
1429
|
# A friendly name or description of the WebACL. You can't change `Name`
|
@@ -1357,8 +1499,8 @@ module Aws::WAFRegional
|
|
1357
1499
|
# change_token: "ChangeToken", # required
|
1358
1500
|
# tags: [
|
1359
1501
|
# {
|
1360
|
-
# key: "TagKey",
|
1361
|
-
# value: "TagValue",
|
1502
|
+
# key: "TagKey", # required
|
1503
|
+
# value: "TagValue", # required
|
1362
1504
|
# },
|
1363
1505
|
# ],
|
1364
1506
|
# })
|
@@ -1389,6 +1531,82 @@ module Aws::WAFRegional
|
|
1389
1531
|
req.send_request(options)
|
1390
1532
|
end
|
1391
1533
|
|
1534
|
+
# Creates an AWS CloudFormation WAFV2 template for the specified web ACL
|
1535
|
+
# in the specified Amazon S3 bucket. Then, in CloudFormation, you create
|
1536
|
+
# a stack from the template, to create the web ACL and its resources in
|
1537
|
+
# AWS WAFV2. Use this to migrate your AWS WAF Classic web ACL to the
|
1538
|
+
# latest version of AWS WAF.
|
1539
|
+
#
|
1540
|
+
# This is part of a larger migration procedure for web ACLs from AWS WAF
|
1541
|
+
# Classic to the latest version of AWS WAF. For the full procedure,
|
1542
|
+
# including caveats and manual steps to complete the migration and
|
1543
|
+
# switch over to the new web ACL, see [Migrating your AWS WAF Classic
|
1544
|
+
# resources to AWS WAF][1] in the [AWS WAF Developer Guide][2].
|
1545
|
+
#
|
1546
|
+
#
|
1547
|
+
#
|
1548
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-migrating-from-classic.html
|
1549
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1550
|
+
#
|
1551
|
+
# @option params [required, String] :web_acl_id
|
1552
|
+
# The UUID of the WAF Classic web ACL that you want to migrate to WAF
|
1553
|
+
# v2.
|
1554
|
+
#
|
1555
|
+
# @option params [required, String] :s3_bucket_name
|
1556
|
+
# The name of the Amazon S3 bucket to store the CloudFormation template
|
1557
|
+
# in. The S3 bucket must be configured as follows for the migration:
|
1558
|
+
#
|
1559
|
+
# * The bucket name must start with `aws-waf-migration-`. For example,
|
1560
|
+
# `aws-waf-migration-my-web-acl`.
|
1561
|
+
#
|
1562
|
+
# * The bucket must be in the Region where you are deploying the
|
1563
|
+
# template. For example, for a web ACL in us-west-2, you must use an
|
1564
|
+
# Amazon S3 bucket in us-west-2 and you must deploy the template stack
|
1565
|
+
# to us-west-2.
|
1566
|
+
#
|
1567
|
+
# * The bucket policies must permit the migration process to write data.
|
1568
|
+
# For listings of the bucket policies, see the Examples section.
|
1569
|
+
#
|
1570
|
+
# @option params [required, Boolean] :ignore_unsupported_type
|
1571
|
+
# Indicates whether to exclude entities that can't be migrated or to
|
1572
|
+
# stop the migration. Set this to true to ignore unsupported entities in
|
1573
|
+
# the web ACL during the migration. Otherwise, if AWS WAF encounters
|
1574
|
+
# unsupported entities, it stops the process and throws an exception.
|
1575
|
+
#
|
1576
|
+
# @return [Types::CreateWebACLMigrationStackResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1577
|
+
#
|
1578
|
+
# * {Types::CreateWebACLMigrationStackResponse#s3_object_url #s3_object_url} => String
|
1579
|
+
#
|
1580
|
+
# @example Request syntax with placeholder values
|
1581
|
+
#
|
1582
|
+
# resp = client.create_web_acl_migration_stack({
|
1583
|
+
# web_acl_id: "ResourceId", # required
|
1584
|
+
# s3_bucket_name: "S3BucketName", # required
|
1585
|
+
# ignore_unsupported_type: false, # required
|
1586
|
+
# })
|
1587
|
+
#
|
1588
|
+
# @example Response structure
|
1589
|
+
#
|
1590
|
+
# resp.s3_object_url #=> String
|
1591
|
+
#
|
1592
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateWebACLMigrationStack AWS API Documentation
|
1593
|
+
#
|
1594
|
+
# @overload create_web_acl_migration_stack(params = {})
|
1595
|
+
# @param [Hash] params ({})
|
1596
|
+
def create_web_acl_migration_stack(params = {}, options = {})
|
1597
|
+
req = build_request(:create_web_acl_migration_stack, params)
|
1598
|
+
req.send_request(options)
|
1599
|
+
end
|
1600
|
+
|
1601
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1602
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1603
|
+
#
|
1604
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1605
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1606
|
+
# a single set of endpoints for regional and global use.
|
1607
|
+
#
|
1608
|
+
# </note>
|
1609
|
+
#
|
1392
1610
|
# Creates an XssMatchSet, which you use to allow, block, or count
|
1393
1611
|
# requests that contain cross-site scripting attacks in the specified
|
1394
1612
|
# part of web requests. AWS WAF searches for character sequences that
|
@@ -1409,11 +1627,13 @@ module Aws::WAFRegional
|
|
1409
1627
|
# scripting attacks.
|
1410
1628
|
#
|
1411
1629
|
# For more information about how to use the AWS WAF API to allow or
|
1412
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
1630
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
1413
1631
|
#
|
1414
1632
|
#
|
1415
1633
|
#
|
1416
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1634
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1635
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1636
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1417
1637
|
#
|
1418
1638
|
# @option params [required, String] :name
|
1419
1639
|
# A friendly name or description for the XssMatchSet that you're
|
@@ -1480,6 +1700,15 @@ module Aws::WAFRegional
|
|
1480
1700
|
req.send_request(options)
|
1481
1701
|
end
|
1482
1702
|
|
1703
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1704
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1705
|
+
#
|
1706
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1707
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1708
|
+
# a single set of endpoints for regional and global use.
|
1709
|
+
#
|
1710
|
+
# </note>
|
1711
|
+
#
|
1483
1712
|
# Permanently deletes a ByteMatchSet. You can't delete a `ByteMatchSet`
|
1484
1713
|
# if it's still used in any `Rules` or if it still includes any
|
1485
1714
|
# ByteMatchTuple objects (any filters).
|
@@ -1497,6 +1726,11 @@ module Aws::WAFRegional
|
|
1497
1726
|
#
|
1498
1727
|
# 3. Submit a `DeleteByteMatchSet` request.
|
1499
1728
|
#
|
1729
|
+
#
|
1730
|
+
#
|
1731
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1732
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1733
|
+
#
|
1500
1734
|
# @option params [required, String] :byte_match_set_id
|
1501
1735
|
# The `ByteMatchSetId` of the ByteMatchSet that you want to delete.
|
1502
1736
|
# `ByteMatchSetId` is returned by CreateByteMatchSet and by
|
@@ -1544,6 +1778,15 @@ module Aws::WAFRegional
|
|
1544
1778
|
req.send_request(options)
|
1545
1779
|
end
|
1546
1780
|
|
1781
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1782
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1783
|
+
#
|
1784
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1785
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1786
|
+
# a single set of endpoints for regional and global use.
|
1787
|
+
#
|
1788
|
+
# </note>
|
1789
|
+
#
|
1547
1790
|
# Permanently deletes a GeoMatchSet. You can't delete a `GeoMatchSet`
|
1548
1791
|
# if it's still used in any `Rules` or if it still includes any
|
1549
1792
|
# countries.
|
@@ -1562,6 +1805,11 @@ module Aws::WAFRegional
|
|
1562
1805
|
#
|
1563
1806
|
# 3. Submit a `DeleteGeoMatchSet` request.
|
1564
1807
|
#
|
1808
|
+
#
|
1809
|
+
#
|
1810
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1811
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1812
|
+
#
|
1565
1813
|
# @option params [required, String] :geo_match_set_id
|
1566
1814
|
# The `GeoMatchSetID` of the GeoMatchSet that you want to delete.
|
1567
1815
|
# `GeoMatchSetId` is returned by CreateGeoMatchSet and by
|
@@ -1594,6 +1842,15 @@ module Aws::WAFRegional
|
|
1594
1842
|
req.send_request(options)
|
1595
1843
|
end
|
1596
1844
|
|
1845
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1846
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1847
|
+
#
|
1848
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1849
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1850
|
+
# a single set of endpoints for regional and global use.
|
1851
|
+
#
|
1852
|
+
# </note>
|
1853
|
+
#
|
1597
1854
|
# Permanently deletes an IPSet. You can't delete an `IPSet` if it's
|
1598
1855
|
# still used in any `Rules` or if it still includes any IP addresses.
|
1599
1856
|
#
|
@@ -1610,6 +1867,11 @@ module Aws::WAFRegional
|
|
1610
1867
|
#
|
1611
1868
|
# 3. Submit a `DeleteIPSet` request.
|
1612
1869
|
#
|
1870
|
+
#
|
1871
|
+
#
|
1872
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1873
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1874
|
+
#
|
1613
1875
|
# @option params [required, String] :ip_set_id
|
1614
1876
|
# The `IPSetId` of the IPSet that you want to delete. `IPSetId` is
|
1615
1877
|
# returned by CreateIPSet and by ListIPSets.
|
@@ -1656,9 +1918,23 @@ module Aws::WAFRegional
|
|
1656
1918
|
req.send_request(options)
|
1657
1919
|
end
|
1658
1920
|
|
1921
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1922
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1923
|
+
#
|
1924
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1925
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1926
|
+
# a single set of endpoints for regional and global use.
|
1927
|
+
#
|
1928
|
+
# </note>
|
1929
|
+
#
|
1659
1930
|
# Permanently deletes the LoggingConfiguration from the specified web
|
1660
1931
|
# ACL.
|
1661
1932
|
#
|
1933
|
+
#
|
1934
|
+
#
|
1935
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1936
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1937
|
+
#
|
1662
1938
|
# @option params [required, String] :resource_arn
|
1663
1939
|
# The Amazon Resource Name (ARN) of the web ACL from which you want to
|
1664
1940
|
# delete the LoggingConfiguration.
|
@@ -1680,10 +1956,24 @@ module Aws::WAFRegional
|
|
1680
1956
|
req.send_request(options)
|
1681
1957
|
end
|
1682
1958
|
|
1959
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1960
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1961
|
+
#
|
1962
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1963
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1964
|
+
# a single set of endpoints for regional and global use.
|
1965
|
+
#
|
1966
|
+
# </note>
|
1967
|
+
#
|
1683
1968
|
# Permanently deletes an IAM policy from the specified RuleGroup.
|
1684
1969
|
#
|
1685
1970
|
# The user making the request must be the owner of the RuleGroup.
|
1686
1971
|
#
|
1972
|
+
#
|
1973
|
+
#
|
1974
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1975
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1976
|
+
#
|
1687
1977
|
# @option params [required, String] :resource_arn
|
1688
1978
|
# The Amazon Resource Name (ARN) of the RuleGroup from which you want to
|
1689
1979
|
# delete the policy.
|
@@ -1707,6 +1997,15 @@ module Aws::WAFRegional
|
|
1707
1997
|
req.send_request(options)
|
1708
1998
|
end
|
1709
1999
|
|
2000
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2001
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2002
|
+
#
|
2003
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2004
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2005
|
+
# a single set of endpoints for regional and global use.
|
2006
|
+
#
|
2007
|
+
# </note>
|
2008
|
+
#
|
1710
2009
|
# Permanently deletes a RateBasedRule. You can't delete a rule if it's
|
1711
2010
|
# still used in any `WebACL` objects or if it still includes any
|
1712
2011
|
# predicates, such as `ByteMatchSet` objects.
|
@@ -1724,6 +2023,11 @@ module Aws::WAFRegional
|
|
1724
2023
|
#
|
1725
2024
|
# 3. Submit a `DeleteRateBasedRule` request.
|
1726
2025
|
#
|
2026
|
+
#
|
2027
|
+
#
|
2028
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2029
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2030
|
+
#
|
1727
2031
|
# @option params [required, String] :rule_id
|
1728
2032
|
# The `RuleId` of the RateBasedRule that you want to delete. `RuleId` is
|
1729
2033
|
# returned by CreateRateBasedRule and by ListRateBasedRules.
|
@@ -1755,6 +2059,15 @@ module Aws::WAFRegional
|
|
1755
2059
|
req.send_request(options)
|
1756
2060
|
end
|
1757
2061
|
|
2062
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2063
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2064
|
+
#
|
2065
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2066
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2067
|
+
# a single set of endpoints for regional and global use.
|
2068
|
+
#
|
2069
|
+
# </note>
|
2070
|
+
#
|
1758
2071
|
# Permanently deletes a RegexMatchSet. You can't delete a
|
1759
2072
|
# `RegexMatchSet` if it's still used in any `Rules` or if it still
|
1760
2073
|
# includes any `RegexMatchTuples` objects (any filters).
|
@@ -1772,6 +2085,11 @@ module Aws::WAFRegional
|
|
1772
2085
|
#
|
1773
2086
|
# 3. Submit a `DeleteRegexMatchSet` request.
|
1774
2087
|
#
|
2088
|
+
#
|
2089
|
+
#
|
2090
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2091
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2092
|
+
#
|
1775
2093
|
# @option params [required, String] :regex_match_set_id
|
1776
2094
|
# The `RegexMatchSetId` of the RegexMatchSet that you want to delete.
|
1777
2095
|
# `RegexMatchSetId` is returned by CreateRegexMatchSet and by
|
@@ -1804,10 +2122,24 @@ module Aws::WAFRegional
|
|
1804
2122
|
req.send_request(options)
|
1805
2123
|
end
|
1806
2124
|
|
2125
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2126
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2127
|
+
#
|
2128
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2129
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2130
|
+
# a single set of endpoints for regional and global use.
|
2131
|
+
#
|
2132
|
+
# </note>
|
2133
|
+
#
|
1807
2134
|
# Permanently deletes a RegexPatternSet. You can't delete a
|
1808
2135
|
# `RegexPatternSet` if it's still used in any `RegexMatchSet` or if the
|
1809
2136
|
# `RegexPatternSet` is not empty.
|
1810
2137
|
#
|
2138
|
+
#
|
2139
|
+
#
|
2140
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2141
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2142
|
+
#
|
1811
2143
|
# @option params [required, String] :regex_pattern_set_id
|
1812
2144
|
# The `RegexPatternSetId` of the RegexPatternSet that you want to
|
1813
2145
|
# delete. `RegexPatternSetId` is returned by CreateRegexPatternSet and
|
@@ -1840,6 +2172,15 @@ module Aws::WAFRegional
|
|
1840
2172
|
req.send_request(options)
|
1841
2173
|
end
|
1842
2174
|
|
2175
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2176
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2177
|
+
#
|
2178
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2179
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2180
|
+
# a single set of endpoints for regional and global use.
|
2181
|
+
#
|
2182
|
+
# </note>
|
2183
|
+
#
|
1843
2184
|
# Permanently deletes a Rule. You can't delete a `Rule` if it's still
|
1844
2185
|
# used in any `WebACL` objects or if it still includes any predicates,
|
1845
2186
|
# such as `ByteMatchSet` objects.
|
@@ -1857,6 +2198,11 @@ module Aws::WAFRegional
|
|
1857
2198
|
#
|
1858
2199
|
# 3. Submit a `DeleteRule` request.
|
1859
2200
|
#
|
2201
|
+
#
|
2202
|
+
#
|
2203
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2204
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2205
|
+
#
|
1860
2206
|
# @option params [required, String] :rule_id
|
1861
2207
|
# The `RuleId` of the Rule that you want to delete. `RuleId` is returned
|
1862
2208
|
# by CreateRule and by ListRules.
|
@@ -1903,6 +2249,15 @@ module Aws::WAFRegional
|
|
1903
2249
|
req.send_request(options)
|
1904
2250
|
end
|
1905
2251
|
|
2252
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2253
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2254
|
+
#
|
2255
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2256
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2257
|
+
# a single set of endpoints for regional and global use.
|
2258
|
+
#
|
2259
|
+
# </note>
|
2260
|
+
#
|
1906
2261
|
# Permanently deletes a RuleGroup. You can't delete a `RuleGroup` if
|
1907
2262
|
# it's still used in any `WebACL` objects or if it still includes any
|
1908
2263
|
# rules.
|
@@ -1921,6 +2276,11 @@ module Aws::WAFRegional
|
|
1921
2276
|
#
|
1922
2277
|
# 3. Submit a `DeleteRuleGroup` request.
|
1923
2278
|
#
|
2279
|
+
#
|
2280
|
+
#
|
2281
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2282
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2283
|
+
#
|
1924
2284
|
# @option params [required, String] :rule_group_id
|
1925
2285
|
# The `RuleGroupId` of the RuleGroup that you want to delete.
|
1926
2286
|
# `RuleGroupId` is returned by CreateRuleGroup and by ListRuleGroups.
|
@@ -1952,6 +2312,15 @@ module Aws::WAFRegional
|
|
1952
2312
|
req.send_request(options)
|
1953
2313
|
end
|
1954
2314
|
|
2315
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2316
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2317
|
+
#
|
2318
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2319
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2320
|
+
# a single set of endpoints for regional and global use.
|
2321
|
+
#
|
2322
|
+
# </note>
|
2323
|
+
#
|
1955
2324
|
# Permanently deletes a SizeConstraintSet. You can't delete a
|
1956
2325
|
# `SizeConstraintSet` if it's still used in any `Rules` or if it still
|
1957
2326
|
# includes any SizeConstraint objects (any filters).
|
@@ -1970,6 +2339,11 @@ module Aws::WAFRegional
|
|
1970
2339
|
#
|
1971
2340
|
# 3. Submit a `DeleteSizeConstraintSet` request.
|
1972
2341
|
#
|
2342
|
+
#
|
2343
|
+
#
|
2344
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2345
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2346
|
+
#
|
1973
2347
|
# @option params [required, String] :size_constraint_set_id
|
1974
2348
|
# The `SizeConstraintSetId` of the SizeConstraintSet that you want to
|
1975
2349
|
# delete. `SizeConstraintSetId` is returned by CreateSizeConstraintSet
|
@@ -2017,6 +2391,15 @@ module Aws::WAFRegional
|
|
2017
2391
|
req.send_request(options)
|
2018
2392
|
end
|
2019
2393
|
|
2394
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2395
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2396
|
+
#
|
2397
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2398
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2399
|
+
# a single set of endpoints for regional and global use.
|
2400
|
+
#
|
2401
|
+
# </note>
|
2402
|
+
#
|
2020
2403
|
# Permanently deletes a SqlInjectionMatchSet. You can't delete a
|
2021
2404
|
# `SqlInjectionMatchSet` if it's still used in any `Rules` or if it
|
2022
2405
|
# still contains any SqlInjectionMatchTuple objects.
|
@@ -2035,6 +2418,11 @@ module Aws::WAFRegional
|
|
2035
2418
|
#
|
2036
2419
|
# 3. Submit a `DeleteSqlInjectionMatchSet` request.
|
2037
2420
|
#
|
2421
|
+
#
|
2422
|
+
#
|
2423
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2424
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2425
|
+
#
|
2038
2426
|
# @option params [required, String] :sql_injection_match_set_id
|
2039
2427
|
# The `SqlInjectionMatchSetId` of the SqlInjectionMatchSet that you want
|
2040
2428
|
# to delete. `SqlInjectionMatchSetId` is returned by
|
@@ -2082,6 +2470,15 @@ module Aws::WAFRegional
|
|
2082
2470
|
req.send_request(options)
|
2083
2471
|
end
|
2084
2472
|
|
2473
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2474
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2475
|
+
#
|
2476
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2477
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2478
|
+
# a single set of endpoints for regional and global use.
|
2479
|
+
#
|
2480
|
+
# </note>
|
2481
|
+
#
|
2085
2482
|
# Permanently deletes a WebACL. You can't delete a `WebACL` if it still
|
2086
2483
|
# contains any `Rules`.
|
2087
2484
|
#
|
@@ -2095,6 +2492,11 @@ module Aws::WAFRegional
|
|
2095
2492
|
#
|
2096
2493
|
# 3. Submit a `DeleteWebACL` request.
|
2097
2494
|
#
|
2495
|
+
#
|
2496
|
+
#
|
2497
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2498
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2499
|
+
#
|
2098
2500
|
# @option params [required, String] :web_acl_id
|
2099
2501
|
# The `WebACLId` of the WebACL that you want to delete. `WebACLId` is
|
2100
2502
|
# returned by CreateWebACL and by ListWebACLs.
|
@@ -2141,6 +2543,15 @@ module Aws::WAFRegional
|
|
2141
2543
|
req.send_request(options)
|
2142
2544
|
end
|
2143
2545
|
|
2546
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2547
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2548
|
+
#
|
2549
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2550
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2551
|
+
# a single set of endpoints for regional and global use.
|
2552
|
+
#
|
2553
|
+
# </note>
|
2554
|
+
#
|
2144
2555
|
# Permanently deletes an XssMatchSet. You can't delete an `XssMatchSet`
|
2145
2556
|
# if it's still used in any `Rules` or if it still contains any
|
2146
2557
|
# XssMatchTuple objects.
|
@@ -2159,6 +2570,11 @@ module Aws::WAFRegional
|
|
2159
2570
|
#
|
2160
2571
|
# 3. Submit a `DeleteXssMatchSet` request.
|
2161
2572
|
#
|
2573
|
+
#
|
2574
|
+
#
|
2575
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2576
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2577
|
+
#
|
2162
2578
|
# @option params [required, String] :xss_match_set_id
|
2163
2579
|
# The `XssMatchSetId` of the XssMatchSet that you want to delete.
|
2164
2580
|
# `XssMatchSetId` is returned by CreateXssMatchSet and by
|
@@ -2206,9 +2622,23 @@ module Aws::WAFRegional
|
|
2206
2622
|
req.send_request(options)
|
2207
2623
|
end
|
2208
2624
|
|
2625
|
+
# <note markdown="1"> This is **AWS WAF Classic Regional** documentation. For more
|
2626
|
+
# information, see [AWS WAF Classic][1] in the developer guide.
|
2627
|
+
#
|
2628
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2629
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2630
|
+
# a single set of endpoints for regional and global use.
|
2631
|
+
#
|
2632
|
+
# </note>
|
2633
|
+
#
|
2209
2634
|
# Removes a web ACL from the specified resource, either an application
|
2210
2635
|
# load balancer or Amazon API Gateway stage.
|
2211
2636
|
#
|
2637
|
+
#
|
2638
|
+
#
|
2639
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2640
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2641
|
+
#
|
2212
2642
|
# @option params [required, String] :resource_arn
|
2213
2643
|
# The ARN (Amazon Resource Name) of the resource from which the web ACL
|
2214
2644
|
# is being removed, either an application load balancer or Amazon API
|
@@ -2240,8 +2670,22 @@ module Aws::WAFRegional
|
|
2240
2670
|
req.send_request(options)
|
2241
2671
|
end
|
2242
2672
|
|
2673
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2674
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2675
|
+
#
|
2676
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2677
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2678
|
+
# a single set of endpoints for regional and global use.
|
2679
|
+
#
|
2680
|
+
# </note>
|
2681
|
+
#
|
2243
2682
|
# Returns the ByteMatchSet specified by `ByteMatchSetId`.
|
2244
2683
|
#
|
2684
|
+
#
|
2685
|
+
#
|
2686
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2687
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2688
|
+
#
|
2245
2689
|
# @option params [required, String] :byte_match_set_id
|
2246
2690
|
# The `ByteMatchSetId` of the ByteMatchSet that you want to get.
|
2247
2691
|
# `ByteMatchSetId` is returned by CreateByteMatchSet and by
|
@@ -2305,6 +2749,15 @@ module Aws::WAFRegional
|
|
2305
2749
|
req.send_request(options)
|
2306
2750
|
end
|
2307
2751
|
|
2752
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2753
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2754
|
+
#
|
2755
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2756
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2757
|
+
# a single set of endpoints for regional and global use.
|
2758
|
+
#
|
2759
|
+
# </note>
|
2760
|
+
#
|
2308
2761
|
# When you want to create, update, or delete AWS WAF objects, get a
|
2309
2762
|
# change token and include the change token in the create, update, or
|
2310
2763
|
# delete request. Change tokens ensure that your application doesn't
|
@@ -2321,6 +2774,11 @@ module Aws::WAFRegional
|
|
2321
2774
|
# that AWS WAF is propagating the change to all AWS WAF servers. Use
|
2322
2775
|
# `GetChangeTokenStatus` to determine the status of your change token.
|
2323
2776
|
#
|
2777
|
+
#
|
2778
|
+
#
|
2779
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2780
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2781
|
+
#
|
2324
2782
|
# @return [Types::GetChangeTokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2325
2783
|
#
|
2326
2784
|
# * {Types::GetChangeTokenResponse#change_token #change_token} => String
|
@@ -2351,6 +2809,15 @@ module Aws::WAFRegional
|
|
2351
2809
|
req.send_request(options)
|
2352
2810
|
end
|
2353
2811
|
|
2812
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2813
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2814
|
+
#
|
2815
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2816
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2817
|
+
# a single set of endpoints for regional and global use.
|
2818
|
+
#
|
2819
|
+
# </note>
|
2820
|
+
#
|
2354
2821
|
# Returns the status of a `ChangeToken` that you got by calling
|
2355
2822
|
# GetChangeToken. `ChangeTokenStatus` is one of the following values:
|
2356
2823
|
#
|
@@ -2363,6 +2830,11 @@ module Aws::WAFRegional
|
|
2363
2830
|
#
|
2364
2831
|
# * `INSYNC`\: Propagation is complete.
|
2365
2832
|
#
|
2833
|
+
#
|
2834
|
+
#
|
2835
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2836
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2837
|
+
#
|
2366
2838
|
# @option params [required, String] :change_token
|
2367
2839
|
# The change token for which you want to get the status. This change
|
2368
2840
|
# token was previously returned in the `GetChangeToken` response.
|
@@ -2404,8 +2876,22 @@ module Aws::WAFRegional
|
|
2404
2876
|
req.send_request(options)
|
2405
2877
|
end
|
2406
2878
|
|
2879
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2880
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2881
|
+
#
|
2882
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2883
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2884
|
+
# a single set of endpoints for regional and global use.
|
2885
|
+
#
|
2886
|
+
# </note>
|
2887
|
+
#
|
2407
2888
|
# Returns the GeoMatchSet that is specified by `GeoMatchSetId`.
|
2408
2889
|
#
|
2890
|
+
#
|
2891
|
+
#
|
2892
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2893
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2894
|
+
#
|
2409
2895
|
# @option params [required, String] :geo_match_set_id
|
2410
2896
|
# The `GeoMatchSetId` of the GeoMatchSet that you want to get.
|
2411
2897
|
# `GeoMatchSetId` is returned by CreateGeoMatchSet and by
|
@@ -2438,8 +2924,22 @@ module Aws::WAFRegional
|
|
2438
2924
|
req.send_request(options)
|
2439
2925
|
end
|
2440
2926
|
|
2927
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2928
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2929
|
+
#
|
2930
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2931
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2932
|
+
# a single set of endpoints for regional and global use.
|
2933
|
+
#
|
2934
|
+
# </note>
|
2935
|
+
#
|
2441
2936
|
# Returns the IPSet that is specified by `IPSetId`.
|
2442
2937
|
#
|
2938
|
+
#
|
2939
|
+
#
|
2940
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2941
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2942
|
+
#
|
2443
2943
|
# @option params [required, String] :ip_set_id
|
2444
2944
|
# The `IPSetId` of the IPSet that you want to get. `IPSetId` is returned
|
2445
2945
|
# by CreateIPSet and by ListIPSets.
|
@@ -2494,8 +2994,22 @@ module Aws::WAFRegional
|
|
2494
2994
|
req.send_request(options)
|
2495
2995
|
end
|
2496
2996
|
|
2997
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2998
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2999
|
+
#
|
3000
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3001
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3002
|
+
# a single set of endpoints for regional and global use.
|
3003
|
+
#
|
3004
|
+
# </note>
|
3005
|
+
#
|
2497
3006
|
# Returns the LoggingConfiguration for the specified web ACL.
|
2498
3007
|
#
|
3008
|
+
#
|
3009
|
+
#
|
3010
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3011
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3012
|
+
#
|
2499
3013
|
# @option params [required, String] :resource_arn
|
2500
3014
|
# The Amazon Resource Name (ARN) of the web ACL for which you want to
|
2501
3015
|
# get the LoggingConfiguration.
|
@@ -2528,8 +3042,22 @@ module Aws::WAFRegional
|
|
2528
3042
|
req.send_request(options)
|
2529
3043
|
end
|
2530
3044
|
|
3045
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3046
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3047
|
+
#
|
3048
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3049
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3050
|
+
# a single set of endpoints for regional and global use.
|
3051
|
+
#
|
3052
|
+
# </note>
|
3053
|
+
#
|
2531
3054
|
# Returns the IAM policy attached to the RuleGroup.
|
2532
3055
|
#
|
3056
|
+
#
|
3057
|
+
#
|
3058
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3059
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3060
|
+
#
|
2533
3061
|
# @option params [required, String] :resource_arn
|
2534
3062
|
# The Amazon Resource Name (ARN) of the RuleGroup for which you want to
|
2535
3063
|
# get the policy.
|
@@ -2557,9 +3085,23 @@ module Aws::WAFRegional
|
|
2557
3085
|
req.send_request(options)
|
2558
3086
|
end
|
2559
3087
|
|
3088
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3089
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3090
|
+
#
|
3091
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3092
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3093
|
+
# a single set of endpoints for regional and global use.
|
3094
|
+
#
|
3095
|
+
# </note>
|
3096
|
+
#
|
2560
3097
|
# Returns the RateBasedRule that is specified by the `RuleId` that you
|
2561
3098
|
# included in the `GetRateBasedRule` request.
|
2562
3099
|
#
|
3100
|
+
#
|
3101
|
+
#
|
3102
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3103
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3104
|
+
#
|
2563
3105
|
# @option params [required, String] :rule_id
|
2564
3106
|
# The `RuleId` of the RateBasedRule that you want to get. `RuleId` is
|
2565
3107
|
# returned by CreateRateBasedRule and by ListRateBasedRules.
|
@@ -2595,12 +3137,26 @@ module Aws::WAFRegional
|
|
2595
3137
|
req.send_request(options)
|
2596
3138
|
end
|
2597
3139
|
|
3140
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3141
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3142
|
+
#
|
3143
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3144
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3145
|
+
# a single set of endpoints for regional and global use.
|
3146
|
+
#
|
3147
|
+
# </note>
|
3148
|
+
#
|
2598
3149
|
# Returns an array of IP addresses currently being blocked by the
|
2599
3150
|
# RateBasedRule that is specified by the `RuleId`. The maximum number of
|
2600
3151
|
# managed keys that will be blocked is 10,000. If more than 10,000
|
2601
3152
|
# addresses exceed the rate limit, the 10,000 addresses with the highest
|
2602
3153
|
# rates will be blocked.
|
2603
3154
|
#
|
3155
|
+
#
|
3156
|
+
#
|
3157
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3158
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3159
|
+
#
|
2604
3160
|
# @option params [required, String] :rule_id
|
2605
3161
|
# The `RuleId` of the RateBasedRule for which you want to get a list of
|
2606
3162
|
# `ManagedKeys`. `RuleId` is returned by CreateRateBasedRule and by
|
@@ -2637,8 +3193,22 @@ module Aws::WAFRegional
|
|
2637
3193
|
req.send_request(options)
|
2638
3194
|
end
|
2639
3195
|
|
3196
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3197
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3198
|
+
#
|
3199
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3200
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3201
|
+
# a single set of endpoints for regional and global use.
|
3202
|
+
#
|
3203
|
+
# </note>
|
3204
|
+
#
|
2640
3205
|
# Returns the RegexMatchSet specified by `RegexMatchSetId`.
|
2641
3206
|
#
|
3207
|
+
#
|
3208
|
+
#
|
3209
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3210
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3211
|
+
#
|
2642
3212
|
# @option params [required, String] :regex_match_set_id
|
2643
3213
|
# The `RegexMatchSetId` of the RegexMatchSet that you want to get.
|
2644
3214
|
# `RegexMatchSetId` is returned by CreateRegexMatchSet and by
|
@@ -2673,8 +3243,22 @@ module Aws::WAFRegional
|
|
2673
3243
|
req.send_request(options)
|
2674
3244
|
end
|
2675
3245
|
|
3246
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3247
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3248
|
+
#
|
3249
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3250
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3251
|
+
# a single set of endpoints for regional and global use.
|
3252
|
+
#
|
3253
|
+
# </note>
|
3254
|
+
#
|
2676
3255
|
# Returns the RegexPatternSet specified by `RegexPatternSetId`.
|
2677
3256
|
#
|
3257
|
+
#
|
3258
|
+
#
|
3259
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3260
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3261
|
+
#
|
2678
3262
|
# @option params [required, String] :regex_pattern_set_id
|
2679
3263
|
# The `RegexPatternSetId` of the RegexPatternSet that you want to get.
|
2680
3264
|
# `RegexPatternSetId` is returned by CreateRegexPatternSet and by
|
@@ -2706,9 +3290,23 @@ module Aws::WAFRegional
|
|
2706
3290
|
req.send_request(options)
|
2707
3291
|
end
|
2708
3292
|
|
3293
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3294
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3295
|
+
#
|
3296
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3297
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3298
|
+
# a single set of endpoints for regional and global use.
|
3299
|
+
#
|
3300
|
+
# </note>
|
3301
|
+
#
|
2709
3302
|
# Returns the Rule that is specified by the `RuleId` that you included
|
2710
3303
|
# in the `GetRule` request.
|
2711
3304
|
#
|
3305
|
+
#
|
3306
|
+
#
|
3307
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3308
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3309
|
+
#
|
2712
3310
|
# @option params [required, String] :rule_id
|
2713
3311
|
# The `RuleId` of the Rule that you want to get. `RuleId` is returned by
|
2714
3312
|
# CreateRule and by ListRules.
|
@@ -2767,11 +3365,25 @@ module Aws::WAFRegional
|
|
2767
3365
|
req.send_request(options)
|
2768
3366
|
end
|
2769
3367
|
|
3368
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3369
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3370
|
+
#
|
3371
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3372
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3373
|
+
# a single set of endpoints for regional and global use.
|
3374
|
+
#
|
3375
|
+
# </note>
|
3376
|
+
#
|
2770
3377
|
# Returns the RuleGroup that is specified by the `RuleGroupId` that you
|
2771
3378
|
# included in the `GetRuleGroup` request.
|
2772
3379
|
#
|
2773
3380
|
# To view the rules in a rule group, use ListActivatedRulesInRuleGroup.
|
2774
3381
|
#
|
3382
|
+
#
|
3383
|
+
#
|
3384
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3385
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3386
|
+
#
|
2775
3387
|
# @option params [required, String] :rule_group_id
|
2776
3388
|
# The `RuleGroupId` of the RuleGroup that you want to get. `RuleGroupId`
|
2777
3389
|
# is returned by CreateRuleGroup and by ListRuleGroups.
|
@@ -2801,6 +3413,15 @@ module Aws::WAFRegional
|
|
2801
3413
|
req.send_request(options)
|
2802
3414
|
end
|
2803
3415
|
|
3416
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3417
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3418
|
+
#
|
3419
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3420
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3421
|
+
# a single set of endpoints for regional and global use.
|
3422
|
+
#
|
3423
|
+
# </note>
|
3424
|
+
#
|
2804
3425
|
# Gets detailed information about a specified number of requests--a
|
2805
3426
|
# sample--that AWS WAF randomly selects from among the first 5,000
|
2806
3427
|
# requests that your AWS resource received during a time range that you
|
@@ -2814,6 +3435,11 @@ module Aws::WAFRegional
|
|
2814
3435
|
# range. This new time range indicates the actual period during which
|
2815
3436
|
# AWS WAF selected the requests in the sample.
|
2816
3437
|
#
|
3438
|
+
#
|
3439
|
+
#
|
3440
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3441
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3442
|
+
#
|
2817
3443
|
# @option params [required, String] :web_acl_id
|
2818
3444
|
# The `WebACLId` of the `WebACL` for which you want `GetSampledRequests`
|
2819
3445
|
# to return a sample of requests.
|
@@ -2832,7 +3458,8 @@ module Aws::WAFRegional
|
|
2832
3458
|
# @option params [required, Types::TimeWindow] :time_window
|
2833
3459
|
# The start date and time and the end date and time of the range for
|
2834
3460
|
# which you want `GetSampledRequests` to return a sample of requests.
|
2835
|
-
#
|
3461
|
+
# You must specify the times in Coordinated Universal Time (UTC) format.
|
3462
|
+
# UTC format includes the special designator, `Z`. For example,
|
2836
3463
|
# `"2016-09-27T14:50Z"`. You can specify any time range in the previous
|
2837
3464
|
# three hours.
|
2838
3465
|
#
|
@@ -2934,8 +3561,22 @@ module Aws::WAFRegional
|
|
2934
3561
|
req.send_request(options)
|
2935
3562
|
end
|
2936
3563
|
|
3564
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3565
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3566
|
+
#
|
3567
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3568
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3569
|
+
# a single set of endpoints for regional and global use.
|
3570
|
+
#
|
3571
|
+
# </note>
|
3572
|
+
#
|
2937
3573
|
# Returns the SizeConstraintSet specified by `SizeConstraintSetId`.
|
2938
3574
|
#
|
3575
|
+
#
|
3576
|
+
#
|
3577
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3578
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3579
|
+
#
|
2939
3580
|
# @option params [required, String] :size_constraint_set_id
|
2940
3581
|
# The `SizeConstraintSetId` of the SizeConstraintSet that you want to
|
2941
3582
|
# get. `SizeConstraintSetId` is returned by CreateSizeConstraintSet and
|
@@ -2999,9 +3640,23 @@ module Aws::WAFRegional
|
|
2999
3640
|
req.send_request(options)
|
3000
3641
|
end
|
3001
3642
|
|
3643
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3644
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3645
|
+
#
|
3646
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3647
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3648
|
+
# a single set of endpoints for regional and global use.
|
3649
|
+
#
|
3650
|
+
# </note>
|
3651
|
+
#
|
3002
3652
|
# Returns the SqlInjectionMatchSet that is specified by
|
3003
3653
|
# `SqlInjectionMatchSetId`.
|
3004
3654
|
#
|
3655
|
+
#
|
3656
|
+
#
|
3657
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3658
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3659
|
+
#
|
3005
3660
|
# @option params [required, String] :sql_injection_match_set_id
|
3006
3661
|
# The `SqlInjectionMatchSetId` of the SqlInjectionMatchSet that you want
|
3007
3662
|
# to get. `SqlInjectionMatchSetId` is returned by
|
@@ -3061,8 +3716,22 @@ module Aws::WAFRegional
|
|
3061
3716
|
req.send_request(options)
|
3062
3717
|
end
|
3063
3718
|
|
3719
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3720
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3721
|
+
#
|
3722
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3723
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3724
|
+
# a single set of endpoints for regional and global use.
|
3725
|
+
#
|
3726
|
+
# </note>
|
3727
|
+
#
|
3064
3728
|
# Returns the WebACL that is specified by `WebACLId`.
|
3065
3729
|
#
|
3730
|
+
#
|
3731
|
+
#
|
3732
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3733
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3734
|
+
#
|
3066
3735
|
# @option params [required, String] :web_acl_id
|
3067
3736
|
# The `WebACLId` of the WebACL that you want to get. `WebACLId` is
|
3068
3737
|
# returned by CreateWebACL and by ListWebACLs.
|
@@ -3132,9 +3801,23 @@ module Aws::WAFRegional
|
|
3132
3801
|
req.send_request(options)
|
3133
3802
|
end
|
3134
3803
|
|
3804
|
+
# <note markdown="1"> This is **AWS WAF Classic Regional** documentation. For more
|
3805
|
+
# information, see [AWS WAF Classic][1] in the developer guide.
|
3806
|
+
#
|
3807
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3808
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3809
|
+
# a single set of endpoints for regional and global use.
|
3810
|
+
#
|
3811
|
+
# </note>
|
3812
|
+
#
|
3135
3813
|
# Returns the web ACL for the specified resource, either an application
|
3136
3814
|
# load balancer or Amazon API Gateway stage.
|
3137
3815
|
#
|
3816
|
+
#
|
3817
|
+
#
|
3818
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3819
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3820
|
+
#
|
3138
3821
|
# @option params [required, String] :resource_arn
|
3139
3822
|
# The ARN (Amazon Resource Name) of the resource for which to get the
|
3140
3823
|
# web ACL, either an application load balancer or Amazon API Gateway
|
@@ -3173,8 +3856,22 @@ module Aws::WAFRegional
|
|
3173
3856
|
req.send_request(options)
|
3174
3857
|
end
|
3175
3858
|
|
3859
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3860
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3861
|
+
#
|
3862
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3863
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3864
|
+
# a single set of endpoints for regional and global use.
|
3865
|
+
#
|
3866
|
+
# </note>
|
3867
|
+
#
|
3176
3868
|
# Returns the XssMatchSet that is specified by `XssMatchSetId`.
|
3177
3869
|
#
|
3870
|
+
#
|
3871
|
+
#
|
3872
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3873
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3874
|
+
#
|
3178
3875
|
# @option params [required, String] :xss_match_set_id
|
3179
3876
|
# The `XssMatchSetId` of the XssMatchSet that you want to get.
|
3180
3877
|
# `XssMatchSetId` is returned by CreateXssMatchSet and by
|
@@ -3233,8 +3930,22 @@ module Aws::WAFRegional
|
|
3233
3930
|
req.send_request(options)
|
3234
3931
|
end
|
3235
3932
|
|
3933
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3934
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3935
|
+
#
|
3936
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3937
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3938
|
+
# a single set of endpoints for regional and global use.
|
3939
|
+
#
|
3940
|
+
# </note>
|
3941
|
+
#
|
3236
3942
|
# Returns an array of ActivatedRule objects.
|
3237
3943
|
#
|
3944
|
+
#
|
3945
|
+
#
|
3946
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3947
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3948
|
+
#
|
3238
3949
|
# @option params [String] :rule_group_id
|
3239
3950
|
# The `RuleGroupId` of the RuleGroup for which you want to get a list of
|
3240
3951
|
# ActivatedRule objects.
|
@@ -3288,8 +3999,22 @@ module Aws::WAFRegional
|
|
3288
3999
|
req.send_request(options)
|
3289
4000
|
end
|
3290
4001
|
|
4002
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4003
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4004
|
+
#
|
4005
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4006
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4007
|
+
# a single set of endpoints for regional and global use.
|
4008
|
+
#
|
4009
|
+
# </note>
|
4010
|
+
#
|
3291
4011
|
# Returns an array of ByteMatchSetSummary objects.
|
3292
4012
|
#
|
4013
|
+
#
|
4014
|
+
#
|
4015
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4016
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4017
|
+
#
|
3293
4018
|
# @option params [String] :next_marker
|
3294
4019
|
# If you specify a value for `Limit` and you have more `ByteMatchSets`
|
3295
4020
|
# than the value of `Limit`, AWS WAF returns a `NextMarker` value in the
|
@@ -3333,8 +4058,22 @@ module Aws::WAFRegional
|
|
3333
4058
|
req.send_request(options)
|
3334
4059
|
end
|
3335
4060
|
|
4061
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4062
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4063
|
+
#
|
4064
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4065
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4066
|
+
# a single set of endpoints for regional and global use.
|
4067
|
+
#
|
4068
|
+
# </note>
|
4069
|
+
#
|
3336
4070
|
# Returns an array of GeoMatchSetSummary objects in the response.
|
3337
4071
|
#
|
4072
|
+
#
|
4073
|
+
#
|
4074
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4075
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4076
|
+
#
|
3338
4077
|
# @option params [String] :next_marker
|
3339
4078
|
# If you specify a value for `Limit` and you have more `GeoMatchSet`s
|
3340
4079
|
# than the value of `Limit`, AWS WAF returns a `NextMarker` value in the
|
@@ -3378,8 +4117,22 @@ module Aws::WAFRegional
|
|
3378
4117
|
req.send_request(options)
|
3379
4118
|
end
|
3380
4119
|
|
4120
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4121
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4122
|
+
#
|
4123
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4124
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4125
|
+
# a single set of endpoints for regional and global use.
|
4126
|
+
#
|
4127
|
+
# </note>
|
4128
|
+
#
|
3381
4129
|
# Returns an array of IPSetSummary objects in the response.
|
3382
4130
|
#
|
4131
|
+
#
|
4132
|
+
#
|
4133
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4134
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4135
|
+
#
|
3383
4136
|
# @option params [String] :next_marker
|
3384
4137
|
# AWS WAF returns a `NextMarker` value in the response that allows you
|
3385
4138
|
# to list another group of `IPSets`. For the second and subsequent
|
@@ -3439,8 +4192,22 @@ module Aws::WAFRegional
|
|
3439
4192
|
req.send_request(options)
|
3440
4193
|
end
|
3441
4194
|
|
4195
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4196
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4197
|
+
#
|
4198
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4199
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4200
|
+
# a single set of endpoints for regional and global use.
|
4201
|
+
#
|
4202
|
+
# </note>
|
4203
|
+
#
|
3442
4204
|
# Returns an array of LoggingConfiguration objects.
|
3443
4205
|
#
|
4206
|
+
#
|
4207
|
+
#
|
4208
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4209
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4210
|
+
#
|
3444
4211
|
# @option params [String] :next_marker
|
3445
4212
|
# If you specify a value for `Limit` and you have more
|
3446
4213
|
# `LoggingConfigurations` than the value of `Limit`, AWS WAF returns a
|
@@ -3489,8 +4256,22 @@ module Aws::WAFRegional
|
|
3489
4256
|
req.send_request(options)
|
3490
4257
|
end
|
3491
4258
|
|
4259
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4260
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4261
|
+
#
|
4262
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4263
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4264
|
+
# a single set of endpoints for regional and global use.
|
4265
|
+
#
|
4266
|
+
# </note>
|
4267
|
+
#
|
3492
4268
|
# Returns an array of RuleSummary objects.
|
3493
4269
|
#
|
4270
|
+
#
|
4271
|
+
#
|
4272
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4273
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4274
|
+
#
|
3494
4275
|
# @option params [String] :next_marker
|
3495
4276
|
# If you specify a value for `Limit` and you have more `Rules` than the
|
3496
4277
|
# value of `Limit`, AWS WAF returns a `NextMarker` value in the response
|
@@ -3533,8 +4314,22 @@ module Aws::WAFRegional
|
|
3533
4314
|
req.send_request(options)
|
3534
4315
|
end
|
3535
4316
|
|
4317
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4318
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4319
|
+
#
|
4320
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4321
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4322
|
+
# a single set of endpoints for regional and global use.
|
4323
|
+
#
|
4324
|
+
# </note>
|
4325
|
+
#
|
3536
4326
|
# Returns an array of RegexMatchSetSummary objects.
|
3537
4327
|
#
|
4328
|
+
#
|
4329
|
+
#
|
4330
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4331
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4332
|
+
#
|
3538
4333
|
# @option params [String] :next_marker
|
3539
4334
|
# If you specify a value for `Limit` and you have more `RegexMatchSet`
|
3540
4335
|
# objects than the value of `Limit`, AWS WAF returns a `NextMarker`
|
@@ -3578,8 +4373,22 @@ module Aws::WAFRegional
|
|
3578
4373
|
req.send_request(options)
|
3579
4374
|
end
|
3580
4375
|
|
4376
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4377
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4378
|
+
#
|
4379
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4380
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4381
|
+
# a single set of endpoints for regional and global use.
|
4382
|
+
#
|
4383
|
+
# </note>
|
4384
|
+
#
|
3581
4385
|
# Returns an array of RegexPatternSetSummary objects.
|
3582
4386
|
#
|
4387
|
+
#
|
4388
|
+
#
|
4389
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4390
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4391
|
+
#
|
3583
4392
|
# @option params [String] :next_marker
|
3584
4393
|
# If you specify a value for `Limit` and you have more `RegexPatternSet`
|
3585
4394
|
# objects than the value of `Limit`, AWS WAF returns a `NextMarker`
|
@@ -3624,8 +4433,22 @@ module Aws::WAFRegional
|
|
3624
4433
|
req.send_request(options)
|
3625
4434
|
end
|
3626
4435
|
|
4436
|
+
# <note markdown="1"> This is **AWS WAF Classic Regional** documentation. For more
|
4437
|
+
# information, see [AWS WAF Classic][1] in the developer guide.
|
4438
|
+
#
|
4439
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4440
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4441
|
+
# a single set of endpoints for regional and global use.
|
4442
|
+
#
|
4443
|
+
# </note>
|
4444
|
+
#
|
3627
4445
|
# Returns an array of resources associated with the specified web ACL.
|
3628
4446
|
#
|
4447
|
+
#
|
4448
|
+
#
|
4449
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4450
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4451
|
+
#
|
3629
4452
|
# @option params [required, String] :web_acl_id
|
3630
4453
|
# The unique identifier (ID) of the web ACL for which to list the
|
3631
4454
|
# associated resources.
|
@@ -3659,8 +4482,22 @@ module Aws::WAFRegional
|
|
3659
4482
|
req.send_request(options)
|
3660
4483
|
end
|
3661
4484
|
|
4485
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4486
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4487
|
+
#
|
4488
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4489
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4490
|
+
# a single set of endpoints for regional and global use.
|
4491
|
+
#
|
4492
|
+
# </note>
|
4493
|
+
#
|
3662
4494
|
# Returns an array of RuleGroup objects.
|
3663
4495
|
#
|
4496
|
+
#
|
4497
|
+
#
|
4498
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4499
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4500
|
+
#
|
3664
4501
|
# @option params [String] :next_marker
|
3665
4502
|
# If you specify a value for `Limit` and you have more `RuleGroups` than
|
3666
4503
|
# the value of `Limit`, AWS WAF returns a `NextMarker` value in the
|
@@ -3703,8 +4540,22 @@ module Aws::WAFRegional
|
|
3703
4540
|
req.send_request(options)
|
3704
4541
|
end
|
3705
4542
|
|
4543
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4544
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4545
|
+
#
|
4546
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4547
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4548
|
+
# a single set of endpoints for regional and global use.
|
4549
|
+
#
|
4550
|
+
# </note>
|
4551
|
+
#
|
3706
4552
|
# Returns an array of RuleSummary objects.
|
3707
4553
|
#
|
4554
|
+
#
|
4555
|
+
#
|
4556
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4557
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4558
|
+
#
|
3708
4559
|
# @option params [String] :next_marker
|
3709
4560
|
# If you specify a value for `Limit` and you have more `Rules` than the
|
3710
4561
|
# value of `Limit`, AWS WAF returns a `NextMarker` value in the response
|
@@ -3766,8 +4617,22 @@ module Aws::WAFRegional
|
|
3766
4617
|
req.send_request(options)
|
3767
4618
|
end
|
3768
4619
|
|
4620
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4621
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4622
|
+
#
|
4623
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4624
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4625
|
+
# a single set of endpoints for regional and global use.
|
4626
|
+
#
|
4627
|
+
# </note>
|
4628
|
+
#
|
3769
4629
|
# Returns an array of SizeConstraintSetSummary objects.
|
3770
4630
|
#
|
4631
|
+
#
|
4632
|
+
#
|
4633
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4634
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4635
|
+
#
|
3771
4636
|
# @option params [String] :next_marker
|
3772
4637
|
# If you specify a value for `Limit` and you have more
|
3773
4638
|
# `SizeConstraintSets` than the value of `Limit`, AWS WAF returns a
|
@@ -3831,8 +4696,22 @@ module Aws::WAFRegional
|
|
3831
4696
|
req.send_request(options)
|
3832
4697
|
end
|
3833
4698
|
|
4699
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4700
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4701
|
+
#
|
4702
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4703
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4704
|
+
# a single set of endpoints for regional and global use.
|
4705
|
+
#
|
4706
|
+
# </note>
|
4707
|
+
#
|
3834
4708
|
# Returns an array of SqlInjectionMatchSet objects.
|
3835
4709
|
#
|
4710
|
+
#
|
4711
|
+
#
|
4712
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4713
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4714
|
+
#
|
3836
4715
|
# @option params [String] :next_marker
|
3837
4716
|
# If you specify a value for `Limit` and you have more
|
3838
4717
|
# SqlInjectionMatchSet objects than the value of `Limit`, AWS WAF
|
@@ -3896,8 +4775,22 @@ module Aws::WAFRegional
|
|
3896
4775
|
req.send_request(options)
|
3897
4776
|
end
|
3898
4777
|
|
4778
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4779
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4780
|
+
#
|
4781
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4782
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4783
|
+
# a single set of endpoints for regional and global use.
|
4784
|
+
#
|
4785
|
+
# </note>
|
4786
|
+
#
|
3899
4787
|
# Returns an array of RuleGroup objects that you are subscribed to.
|
3900
4788
|
#
|
4789
|
+
#
|
4790
|
+
#
|
4791
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4792
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4793
|
+
#
|
3901
4794
|
# @option params [String] :next_marker
|
3902
4795
|
# If you specify a value for `Limit` and you have more
|
3903
4796
|
# `ByteMatchSets`subscribed rule groups than the value of `Limit`, AWS
|
@@ -3942,6 +4835,32 @@ module Aws::WAFRegional
|
|
3942
4835
|
req.send_request(options)
|
3943
4836
|
end
|
3944
4837
|
|
4838
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4839
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4840
|
+
#
|
4841
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4842
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4843
|
+
# a single set of endpoints for regional and global use.
|
4844
|
+
#
|
4845
|
+
# </note>
|
4846
|
+
#
|
4847
|
+
# Retrieves the tags associated with the specified AWS resource. Tags
|
4848
|
+
# are key:value pairs that you can use to categorize and manage your
|
4849
|
+
# resources, for purposes like billing. For example, you might set the
|
4850
|
+
# tag key to "customer" and the value to the customer name or ID. You
|
4851
|
+
# can specify one or more tags to add to each AWS resource, up to 50
|
4852
|
+
# tags for a resource.
|
4853
|
+
#
|
4854
|
+
# Tagging is only available through the API, SDKs, and CLI. You can't
|
4855
|
+
# manage or view tags through the AWS WAF Classic console. You can tag
|
4856
|
+
# the AWS resources that you manage through AWS WAF Classic: web ACLs,
|
4857
|
+
# rule groups, and rules.
|
4858
|
+
#
|
4859
|
+
#
|
4860
|
+
#
|
4861
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4862
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4863
|
+
#
|
3945
4864
|
# @option params [String] :next_marker
|
3946
4865
|
#
|
3947
4866
|
# @option params [Integer] :limit
|
@@ -3978,8 +4897,22 @@ module Aws::WAFRegional
|
|
3978
4897
|
req.send_request(options)
|
3979
4898
|
end
|
3980
4899
|
|
4900
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4901
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4902
|
+
#
|
4903
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4904
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4905
|
+
# a single set of endpoints for regional and global use.
|
4906
|
+
#
|
4907
|
+
# </note>
|
4908
|
+
#
|
3981
4909
|
# Returns an array of WebACLSummary objects in the response.
|
3982
4910
|
#
|
4911
|
+
#
|
4912
|
+
#
|
4913
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4914
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4915
|
+
#
|
3983
4916
|
# @option params [String] :next_marker
|
3984
4917
|
# If you specify a value for `Limit` and you have more `WebACL` objects
|
3985
4918
|
# than the number that you specify for `Limit`, AWS WAF returns a
|
@@ -4042,8 +4975,22 @@ module Aws::WAFRegional
|
|
4042
4975
|
req.send_request(options)
|
4043
4976
|
end
|
4044
4977
|
|
4978
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4979
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4980
|
+
#
|
4981
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4982
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4983
|
+
# a single set of endpoints for regional and global use.
|
4984
|
+
#
|
4985
|
+
# </note>
|
4986
|
+
#
|
4045
4987
|
# Returns an array of XssMatchSet objects.
|
4046
4988
|
#
|
4989
|
+
#
|
4990
|
+
#
|
4991
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4992
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4993
|
+
#
|
4047
4994
|
# @option params [String] :next_marker
|
4048
4995
|
# If you specify a value for `Limit` and you have more XssMatchSet
|
4049
4996
|
# objects than the value of `Limit`, AWS WAF returns a `NextMarker`
|
@@ -4105,6 +5052,15 @@ module Aws::WAFRegional
|
|
4105
5052
|
req.send_request(options)
|
4106
5053
|
end
|
4107
5054
|
|
5055
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5056
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5057
|
+
#
|
5058
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5059
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5060
|
+
# a single set of endpoints for regional and global use.
|
5061
|
+
#
|
5062
|
+
# </note>
|
5063
|
+
#
|
4108
5064
|
# Associates a LoggingConfiguration with a specified web ACL.
|
4109
5065
|
#
|
4110
5066
|
# You can access information about all traffic that AWS WAF inspects
|
@@ -4127,12 +5083,14 @@ module Aws::WAFRegional
|
|
4127
5083
|
# When you successfully enable logging using a `PutLoggingConfiguration`
|
4128
5084
|
# request, AWS WAF will create a service linked role with the necessary
|
4129
5085
|
# permissions to write logs to the Amazon Kinesis Data Firehose. For
|
4130
|
-
# more information, see [Logging Web ACL Traffic Information][
|
5086
|
+
# more information, see [Logging Web ACL Traffic Information][3] in the
|
4131
5087
|
# *AWS WAF Developer Guide*.
|
4132
5088
|
#
|
4133
5089
|
#
|
4134
5090
|
#
|
4135
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5091
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5092
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5093
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/logging.html
|
4136
5094
|
#
|
4137
5095
|
# @option params [required, Types::LoggingConfiguration] :logging_configuration
|
4138
5096
|
# The Amazon Kinesis Data Firehose that contains the inspected traffic
|
@@ -4181,7 +5139,16 @@ module Aws::WAFRegional
|
|
4181
5139
|
req.send_request(options)
|
4182
5140
|
end
|
4183
5141
|
|
4184
|
-
#
|
5142
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5143
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5144
|
+
#
|
5145
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5146
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5147
|
+
# a single set of endpoints for regional and global use.
|
5148
|
+
#
|
5149
|
+
# </note>
|
5150
|
+
#
|
5151
|
+
# Attaches an IAM policy to the specified resource. The only supported
|
4185
5152
|
# use for this action is to share a RuleGroup across accounts.
|
4186
5153
|
#
|
4187
5154
|
# The `PutPermissionPolicy` is subject to the following restrictions:
|
@@ -4207,14 +5174,16 @@ module Aws::WAFRegional
|
|
4207
5174
|
#
|
4208
5175
|
# * Your policy must be composed using IAM Policy version 2012-10-17.
|
4209
5176
|
#
|
4210
|
-
# For more information, see [IAM Policies][
|
5177
|
+
# For more information, see [IAM Policies][3].
|
4211
5178
|
#
|
4212
5179
|
# An example of a valid policy parameter is shown in the Examples
|
4213
5180
|
# section below.
|
4214
5181
|
#
|
4215
5182
|
#
|
4216
5183
|
#
|
4217
|
-
# [1]: https://docs.aws.amazon.com/
|
5184
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5185
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5186
|
+
# [3]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html
|
4218
5187
|
#
|
4219
5188
|
# @option params [required, String] :resource_arn
|
4220
5189
|
# The Amazon Resource Name (ARN) of the RuleGroup to which you want to
|
@@ -4241,6 +5210,32 @@ module Aws::WAFRegional
|
|
4241
5210
|
req.send_request(options)
|
4242
5211
|
end
|
4243
5212
|
|
5213
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5214
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5215
|
+
#
|
5216
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5217
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5218
|
+
# a single set of endpoints for regional and global use.
|
5219
|
+
#
|
5220
|
+
# </note>
|
5221
|
+
#
|
5222
|
+
# Associates tags with the specified AWS resource. Tags are key:value
|
5223
|
+
# pairs that you can use to categorize and manage your resources, for
|
5224
|
+
# purposes like billing. For example, you might set the tag key to
|
5225
|
+
# "customer" and the value to the customer name or ID. You can specify
|
5226
|
+
# one or more tags to add to each AWS resource, up to 50 tags for a
|
5227
|
+
# resource.
|
5228
|
+
#
|
5229
|
+
# Tagging is only available through the API, SDKs, and CLI. You can't
|
5230
|
+
# manage or view tags through the AWS WAF Classic console. You can use
|
5231
|
+
# this action to tag the AWS resources that you manage through AWS WAF
|
5232
|
+
# Classic: web ACLs, rule groups, and rules.
|
5233
|
+
#
|
5234
|
+
#
|
5235
|
+
#
|
5236
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5237
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5238
|
+
#
|
4244
5239
|
# @option params [required, String] :resource_arn
|
4245
5240
|
#
|
4246
5241
|
# @option params [required, Array<Types::Tag>] :tags
|
@@ -4253,8 +5248,8 @@ module Aws::WAFRegional
|
|
4253
5248
|
# resource_arn: "ResourceArn", # required
|
4254
5249
|
# tags: [ # required
|
4255
5250
|
# {
|
4256
|
-
# key: "TagKey",
|
4257
|
-
# value: "TagValue",
|
5251
|
+
# key: "TagKey", # required
|
5252
|
+
# value: "TagValue", # required
|
4258
5253
|
# },
|
4259
5254
|
# ],
|
4260
5255
|
# })
|
@@ -4268,6 +5263,22 @@ module Aws::WAFRegional
|
|
4268
5263
|
req.send_request(options)
|
4269
5264
|
end
|
4270
5265
|
|
5266
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5267
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5268
|
+
#
|
5269
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5270
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5271
|
+
# a single set of endpoints for regional and global use.
|
5272
|
+
#
|
5273
|
+
# </note>
|
5274
|
+
#
|
5275
|
+
#
|
5276
|
+
#
|
5277
|
+
#
|
5278
|
+
#
|
5279
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5280
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5281
|
+
#
|
4271
5282
|
# @option params [required, String] :resource_arn
|
4272
5283
|
#
|
4273
5284
|
# @option params [required, Array<String>] :tag_keys
|
@@ -4290,6 +5301,15 @@ module Aws::WAFRegional
|
|
4290
5301
|
req.send_request(options)
|
4291
5302
|
end
|
4292
5303
|
|
5304
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5305
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5306
|
+
#
|
5307
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5308
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5309
|
+
# a single set of endpoints for regional and global use.
|
5310
|
+
#
|
5311
|
+
# </note>
|
5312
|
+
#
|
4293
5313
|
# Inserts or deletes ByteMatchTuple objects (filters) in a ByteMatchSet.
|
4294
5314
|
# For each `ByteMatchTuple` object, you specify the following values:
|
4295
5315
|
#
|
@@ -4329,11 +5349,13 @@ module Aws::WAFRegional
|
|
4329
5349
|
# or the URI) and the value that you want AWS WAF to watch for.
|
4330
5350
|
#
|
4331
5351
|
# For more information about how to use the AWS WAF API to allow or
|
4332
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5352
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4333
5353
|
#
|
4334
5354
|
#
|
4335
5355
|
#
|
4336
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5356
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5357
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5358
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4337
5359
|
#
|
4338
5360
|
# @option params [required, String] :byte_match_set_id
|
4339
5361
|
# The `ByteMatchSetId` of the ByteMatchSet that you want to update.
|
@@ -4423,6 +5445,15 @@ module Aws::WAFRegional
|
|
4423
5445
|
req.send_request(options)
|
4424
5446
|
end
|
4425
5447
|
|
5448
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5449
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5450
|
+
#
|
5451
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5452
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5453
|
+
# a single set of endpoints for regional and global use.
|
5454
|
+
#
|
5455
|
+
# </note>
|
5456
|
+
#
|
4426
5457
|
# Inserts or deletes GeoMatchConstraint objects in an `GeoMatchSet`. For
|
4427
5458
|
# each `GeoMatchConstraint` object, you specify the following values:
|
4428
5459
|
#
|
@@ -4451,11 +5482,13 @@ module Aws::WAFRegional
|
|
4451
5482
|
# change a country, you delete the existing country and add the new one.
|
4452
5483
|
#
|
4453
5484
|
# For more information about how to use the AWS WAF API to allow or
|
4454
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5485
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4455
5486
|
#
|
4456
5487
|
#
|
4457
5488
|
#
|
4458
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5489
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5490
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5491
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4459
5492
|
#
|
4460
5493
|
# @option params [required, String] :geo_match_set_id
|
4461
5494
|
# The `GeoMatchSetId` of the GeoMatchSet that you want to update.
|
@@ -4511,6 +5544,15 @@ module Aws::WAFRegional
|
|
4511
5544
|
req.send_request(options)
|
4512
5545
|
end
|
4513
5546
|
|
5547
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5548
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5549
|
+
#
|
5550
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5551
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5552
|
+
# a single set of endpoints for regional and global use.
|
5553
|
+
#
|
5554
|
+
# </note>
|
5555
|
+
#
|
4514
5556
|
# Inserts or deletes IPSetDescriptor objects in an `IPSet`. For each
|
4515
5557
|
# `IPSetDescriptor` object, you specify the following values:
|
4516
5558
|
#
|
@@ -4527,7 +5569,7 @@ module Aws::WAFRegional
|
|
4527
5569
|
# AWS WAF supports IPv4 address ranges: /8 and any range between /16
|
4528
5570
|
# through /32. AWS WAF supports IPv6 address ranges: /24, /32, /48, /56,
|
4529
5571
|
# /64, and /128. For more information about CIDR notation, see the
|
4530
|
-
# Wikipedia entry [Classless Inter-Domain Routing][
|
5572
|
+
# Wikipedia entry [Classless Inter-Domain Routing][3].
|
4531
5573
|
#
|
4532
5574
|
# IPv6 addresses can be represented using any of the following formats:
|
4533
5575
|
#
|
@@ -4564,12 +5606,14 @@ module Aws::WAFRegional
|
|
4564
5606
|
# You can insert a maximum of 1000 addresses in a single request.
|
4565
5607
|
#
|
4566
5608
|
# For more information about how to use the AWS WAF API to allow or
|
4567
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5609
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][4].
|
4568
5610
|
#
|
4569
5611
|
#
|
4570
5612
|
#
|
4571
|
-
# [1]: https://
|
4572
|
-
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5613
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5614
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5615
|
+
# [3]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
|
5616
|
+
# [4]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4573
5617
|
#
|
4574
5618
|
# @option params [required, String] :ip_set_id
|
4575
5619
|
# The `IPSetId` of the IPSet that you want to update. `IPSetId` is
|
@@ -4647,6 +5691,15 @@ module Aws::WAFRegional
|
|
4647
5691
|
req.send_request(options)
|
4648
5692
|
end
|
4649
5693
|
|
5694
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5695
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5696
|
+
#
|
5697
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5698
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5699
|
+
# a single set of endpoints for regional and global use.
|
5700
|
+
#
|
5701
|
+
# </note>
|
5702
|
+
#
|
4650
5703
|
# Inserts or deletes Predicate objects in a rule and updates the
|
4651
5704
|
# `RateLimit` in the rule.
|
4652
5705
|
#
|
@@ -4664,14 +5717,14 @@ module Aws::WAFRegional
|
|
4664
5717
|
#
|
4665
5718
|
# * A `ByteMatchSet` that matches `BadBot` in the `User-Agent` header
|
4666
5719
|
#
|
4667
|
-
# Further, you specify a `RateLimit` of
|
5720
|
+
# Further, you specify a `RateLimit` of 1,000.
|
4668
5721
|
#
|
4669
5722
|
# You then add the `RateBasedRule` to a `WebACL` and specify that you
|
4670
5723
|
# want to block requests that satisfy the rule. For a request to be
|
4671
5724
|
# blocked, it must come from the IP address 192.0.2.44 *and* the
|
4672
5725
|
# `User-Agent` header in the request must contain the value `BadBot`.
|
4673
5726
|
# Further, requests that match these two conditions much be received at
|
4674
|
-
# a rate of more than
|
5727
|
+
# a rate of more than 1,000 every five minutes. If the rate drops below
|
4675
5728
|
# this limit, AWS WAF no longer blocks the requests.
|
4676
5729
|
#
|
4677
5730
|
# As a second example, suppose you want to limit requests to a
|
@@ -4684,11 +5737,16 @@ module Aws::WAFRegional
|
|
4684
5737
|
#
|
4685
5738
|
# * A `TargetString` of `login`
|
4686
5739
|
#
|
4687
|
-
# Further, you specify a `RateLimit` of
|
5740
|
+
# Further, you specify a `RateLimit` of 1,000.
|
4688
5741
|
#
|
4689
5742
|
# By adding this `RateBasedRule` to a `WebACL`, you could limit requests
|
4690
5743
|
# to your login page without affecting the rest of your site.
|
4691
5744
|
#
|
5745
|
+
#
|
5746
|
+
#
|
5747
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5748
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5749
|
+
#
|
4692
5750
|
# @option params [required, String] :rule_id
|
4693
5751
|
# The `RuleId` of the `RateBasedRule` that you want to update. `RuleId`
|
4694
5752
|
# is returned by `CreateRateBasedRule` and by ListRateBasedRules.
|
@@ -4742,6 +5800,15 @@ module Aws::WAFRegional
|
|
4742
5800
|
req.send_request(options)
|
4743
5801
|
end
|
4744
5802
|
|
5803
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5804
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5805
|
+
#
|
5806
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5807
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5808
|
+
# a single set of endpoints for regional and global use.
|
5809
|
+
#
|
5810
|
+
# </note>
|
5811
|
+
#
|
4745
5812
|
# Inserts or deletes RegexMatchTuple objects (filters) in a
|
4746
5813
|
# RegexMatchSet. For each `RegexMatchSetUpdate` object, you specify the
|
4747
5814
|
# following values:
|
@@ -4781,11 +5848,13 @@ module Aws::WAFRegional
|
|
4781
5848
|
# for.
|
4782
5849
|
#
|
4783
5850
|
# For more information about how to use the AWS WAF API to allow or
|
4784
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5851
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4785
5852
|
#
|
4786
5853
|
#
|
4787
5854
|
#
|
4788
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5855
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5856
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5857
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4789
5858
|
#
|
4790
5859
|
# @option params [required, String] :regex_match_set_id
|
4791
5860
|
# The `RegexMatchSetId` of the RegexMatchSet that you want to update.
|
@@ -4837,6 +5906,15 @@ module Aws::WAFRegional
|
|
4837
5906
|
req.send_request(options)
|
4838
5907
|
end
|
4839
5908
|
|
5909
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5910
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5911
|
+
#
|
5912
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5913
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5914
|
+
# a single set of endpoints for regional and global use.
|
5915
|
+
#
|
5916
|
+
# </note>
|
5917
|
+
#
|
4840
5918
|
# Inserts or deletes `RegexPatternString` objects in a RegexPatternSet.
|
4841
5919
|
# For each `RegexPatternString` object, you specify the following
|
4842
5920
|
# values:
|
@@ -4870,11 +5948,13 @@ module Aws::WAFRegional
|
|
4870
5948
|
# expression pattern that you want AWS WAF to watch for.
|
4871
5949
|
#
|
4872
5950
|
# For more information about how to use the AWS WAF API to allow or
|
4873
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5951
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4874
5952
|
#
|
4875
5953
|
#
|
4876
5954
|
#
|
4877
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5955
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5956
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5957
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4878
5958
|
#
|
4879
5959
|
# @option params [required, String] :regex_pattern_set_id
|
4880
5960
|
# The `RegexPatternSetId` of the RegexPatternSet that you want to
|
@@ -4918,6 +5998,15 @@ module Aws::WAFRegional
|
|
4918
5998
|
req.send_request(options)
|
4919
5999
|
end
|
4920
6000
|
|
6001
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
6002
|
+
# [AWS WAF Classic][1] in the developer guide.
|
6003
|
+
#
|
6004
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
6005
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
6006
|
+
# a single set of endpoints for regional and global use.
|
6007
|
+
#
|
6008
|
+
# </note>
|
6009
|
+
#
|
4921
6010
|
# Inserts or deletes Predicate objects in a `Rule`. Each `Predicate`
|
4922
6011
|
# object identifies a predicate, such as a ByteMatchSet or an IPSet,
|
4923
6012
|
# that specifies the web requests that you want to allow, block, or
|
@@ -4954,11 +6043,13 @@ module Aws::WAFRegional
|
|
4954
6043
|
# delete the existing one and add the new one.
|
4955
6044
|
#
|
4956
6045
|
# For more information about how to use the AWS WAF API to allow or
|
4957
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
6046
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4958
6047
|
#
|
4959
6048
|
#
|
4960
6049
|
#
|
4961
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
6050
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6051
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6052
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4962
6053
|
#
|
4963
6054
|
# @option params [required, String] :rule_id
|
4964
6055
|
# The `RuleId` of the `Rule` that you want to update. `RuleId` is
|
@@ -5037,6 +6128,15 @@ module Aws::WAFRegional
|
|
5037
6128
|
req.send_request(options)
|
5038
6129
|
end
|
5039
6130
|
|
6131
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
6132
|
+
# [AWS WAF Classic][1] in the developer guide.
|
6133
|
+
#
|
6134
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
6135
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
6136
|
+
# a single set of endpoints for regional and global use.
|
6137
|
+
#
|
6138
|
+
# </note>
|
6139
|
+
#
|
5040
6140
|
# Inserts or deletes ActivatedRule objects in a `RuleGroup`.
|
5041
6141
|
#
|
5042
6142
|
# You can only insert `REGULAR` rules into a rule group.
|
@@ -5061,11 +6161,13 @@ module Aws::WAFRegional
|
|
5061
6161
|
# existing one and add the new one.
|
5062
6162
|
#
|
5063
6163
|
# For more information about how to use the AWS WAF API to allow or
|
5064
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
6164
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
5065
6165
|
#
|
5066
6166
|
#
|
5067
6167
|
#
|
5068
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
6168
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6169
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6170
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5069
6171
|
#
|
5070
6172
|
# @option params [required, String] :rule_group_id
|
5071
6173
|
# The `RuleGroupId` of the RuleGroup that you want to update.
|
@@ -5131,6 +6233,15 @@ module Aws::WAFRegional
|
|
5131
6233
|
req.send_request(options)
|
5132
6234
|
end
|
5133
6235
|
|
6236
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
6237
|
+
# [AWS WAF Classic][1] in the developer guide.
|
6238
|
+
#
|
6239
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
6240
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
6241
|
+
# a single set of endpoints for regional and global use.
|
6242
|
+
#
|
6243
|
+
# </note>
|
6244
|
+
#
|
5134
6245
|
# Inserts or deletes SizeConstraint objects (filters) in a
|
5135
6246
|
# SizeConstraintSet. For each `SizeConstraint` object, you specify the
|
5136
6247
|
# following values:
|
@@ -5179,11 +6290,13 @@ module Aws::WAFRegional
|
|
5179
6290
|
# for.
|
5180
6291
|
#
|
5181
6292
|
# For more information about how to use the AWS WAF API to allow or
|
5182
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
6293
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
5183
6294
|
#
|
5184
6295
|
#
|
5185
6296
|
#
|
5186
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
6297
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6298
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6299
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5187
6300
|
#
|
5188
6301
|
# @option params [required, String] :size_constraint_set_id
|
5189
6302
|
# The `SizeConstraintSetId` of the SizeConstraintSet that you want to
|
@@ -5272,6 +6385,15 @@ module Aws::WAFRegional
|
|
5272
6385
|
req.send_request(options)
|
5273
6386
|
end
|
5274
6387
|
|
6388
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
6389
|
+
# [AWS WAF Classic][1] in the developer guide.
|
6390
|
+
#
|
6391
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
6392
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
6393
|
+
# a single set of endpoints for regional and global use.
|
6394
|
+
#
|
6395
|
+
# </note>
|
6396
|
+
#
|
5275
6397
|
# Inserts or deletes SqlInjectionMatchTuple objects (filters) in a
|
5276
6398
|
# SqlInjectionMatchSet. For each `SqlInjectionMatchTuple` object, you
|
5277
6399
|
# specify the following values:
|
@@ -5310,11 +6432,13 @@ module Aws::WAFRegional
|
|
5310
6432
|
# snippets of SQL code.
|
5311
6433
|
#
|
5312
6434
|
# For more information about how to use the AWS WAF API to allow or
|
5313
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
6435
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
5314
6436
|
#
|
5315
6437
|
#
|
5316
6438
|
#
|
5317
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
6439
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6440
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6441
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5318
6442
|
#
|
5319
6443
|
# @option params [required, String] :sql_injection_match_set_id
|
5320
6444
|
# The `SqlInjectionMatchSetId` of the `SqlInjectionMatchSet` that you
|
@@ -5400,6 +6524,15 @@ module Aws::WAFRegional
|
|
5400
6524
|
req.send_request(options)
|
5401
6525
|
end
|
5402
6526
|
|
6527
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
6528
|
+
# [AWS WAF Classic][1] in the developer guide.
|
6529
|
+
#
|
6530
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
6531
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
6532
|
+
# a single set of endpoints for regional and global use.
|
6533
|
+
#
|
6534
|
+
# </note>
|
6535
|
+
#
|
5403
6536
|
# Inserts or deletes ActivatedRule objects in a `WebACL`. Each `Rule`
|
5404
6537
|
# identifies web requests that you want to allow, block, or count. When
|
5405
6538
|
# you update a `WebACL`, you specify the following values:
|
@@ -5445,14 +6578,14 @@ module Aws::WAFRegional
|
|
5445
6578
|
# and to associate the `WebACL` with a CloudFront distribution.
|
5446
6579
|
#
|
5447
6580
|
# The `ActivatedRule` can be a rule group. If you specify a rule
|
5448
|
-
# group as your `ActivatedRule
|
5449
|
-
# that rule group.
|
6581
|
+
# group as your `ActivatedRule` , you can exclude specific rules
|
6582
|
+
# from that rule group.
|
5450
6583
|
#
|
5451
6584
|
# If you already have a rule group associated with a web ACL and
|
5452
6585
|
# want to submit an `UpdateWebACL` request to exclude certain rules
|
5453
6586
|
# from that rule group, you must first remove the rule group from
|
5454
6587
|
# the web ACL, the re-insert it again, specifying the excluded
|
5455
|
-
# rules. For details, see ActivatedRule$ExcludedRules.
|
6588
|
+
# rules. For details, see ActivatedRule$ExcludedRules .
|
5456
6589
|
#
|
5457
6590
|
# Be aware that if you try to add a RATE\_BASED rule to a web ACL
|
5458
6591
|
# without setting the rule type when first creating the rule, the
|
@@ -5461,11 +6594,13 @@ module Aws::WAFRegional
|
|
5461
6594
|
# not exist.
|
5462
6595
|
#
|
5463
6596
|
# For more information about how to use the AWS WAF API to allow or
|
5464
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
6597
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
5465
6598
|
#
|
5466
6599
|
#
|
5467
6600
|
#
|
5468
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
6601
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6602
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6603
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5469
6604
|
#
|
5470
6605
|
# @option params [required, String] :web_acl_id
|
5471
6606
|
# The `WebACLId` of the WebACL that you want to update. `WebACLId` is
|
@@ -5575,6 +6710,15 @@ module Aws::WAFRegional
|
|
5575
6710
|
req.send_request(options)
|
5576
6711
|
end
|
5577
6712
|
|
6713
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
6714
|
+
# [AWS WAF Classic][1] in the developer guide.
|
6715
|
+
#
|
6716
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
6717
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
6718
|
+
# a single set of endpoints for regional and global use.
|
6719
|
+
#
|
6720
|
+
# </note>
|
6721
|
+
#
|
5578
6722
|
# Inserts or deletes XssMatchTuple objects (filters) in an XssMatchSet.
|
5579
6723
|
# For each `XssMatchTuple` object, you specify the following values:
|
5580
6724
|
#
|
@@ -5611,11 +6755,13 @@ module Aws::WAFRegional
|
|
5611
6755
|
# attacks.
|
5612
6756
|
#
|
5613
6757
|
# For more information about how to use the AWS WAF API to allow or
|
5614
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
6758
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
5615
6759
|
#
|
5616
6760
|
#
|
5617
6761
|
#
|
5618
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
6762
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6763
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6764
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5619
6765
|
#
|
5620
6766
|
# @option params [required, String] :xss_match_set_id
|
5621
6767
|
# The `XssMatchSetId` of the `XssMatchSet` that you want to update.
|
@@ -5712,7 +6858,7 @@ module Aws::WAFRegional
|
|
5712
6858
|
params: params,
|
5713
6859
|
config: config)
|
5714
6860
|
context[:gem_name] = 'aws-sdk-wafregional'
|
5715
|
-
context[:gem_version] = '1.
|
6861
|
+
context[:gem_version] = '1.33.0'
|
5716
6862
|
Seahorse::Client::Request.new(handlers, context)
|
5717
6863
|
end
|
5718
6864
|
|