aws-sdk-wafregional 1.28.0 → 1.29.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 +1 -1
- data/lib/aws-sdk-wafregional/client.rb +1236 -94
- data/lib/aws-sdk-wafregional/client_api.rb +36 -2
- data/lib/aws-sdk-wafregional/errors.rb +26 -0
- data/lib/aws-sdk-wafregional/resource.rb +1 -7
- data/lib/aws-sdk-wafregional/types.rb +928 -30
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c2be401160b4bb5df4a048d71e899d86e0b17c678ebdc8ec16bfe0bc223d2334
|
4
|
+
data.tar.gz: 3059a11d49bba21c18dd321e8f3e8be7aea864b06500764b55c0b897e6b77902
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f4e685075109f9382813f969735478f8e6ff7edcfe7f9162c8364b4b4f89c46222b3e121aabadc36ff0de4854efbc1b79a161622b54ece98c7f555216493b44
|
7
|
+
data.tar.gz: a0654034a31d20197615dae248a991b127c5e8a969437a0d8eab50d97ad47cfc0cc07b9b7df0419bb9e75e73667bc946dc41488beabd64a80130727f020edbc2
|
data/lib/aws-sdk-wafregional.rb
CHANGED
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:wafregional)
|
|
32
32
|
module Aws::WAFRegional
|
33
33
|
# An API client for WAFRegional. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
34
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
35
|
+
# client = Aws::WAFRegional::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
40
|
#
|
41
41
|
# For details on configuring region and credentials see
|
42
42
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -229,15 +229,19 @@ module Aws::WAFRegional
|
|
229
229
|
#
|
230
230
|
# @option options [String] :retry_mode ("legacy")
|
231
231
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
241
245
|
#
|
242
246
|
# @option options [String] :secret_access_key
|
243
247
|
#
|
@@ -275,8 +279,7 @@ module Aws::WAFRegional
|
|
275
279
|
#
|
276
280
|
# @option options [Integer] :http_read_timeout (60) The default
|
277
281
|
# 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}.
|
282
|
+
# safely be set per-request on the session.
|
280
283
|
#
|
281
284
|
# @option options [Float] :http_idle_timeout (5) The number of
|
282
285
|
# seconds a connection is allowed to sit idle before it is
|
@@ -288,7 +291,7 @@ module Aws::WAFRegional
|
|
288
291
|
# request body. This option has no effect unless the request has
|
289
292
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
290
293
|
# disables this behaviour. This value can safely be set per
|
291
|
-
# request on the session
|
294
|
+
# request on the session.
|
292
295
|
#
|
293
296
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
294
297
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -315,9 +318,23 @@ module Aws::WAFRegional
|
|
315
318
|
|
316
319
|
# @!group API Operations
|
317
320
|
|
321
|
+
# <note markdown="1"> This is **AWS WAF Classic Regional** documentation. For more
|
322
|
+
# information, see [AWS WAF Classic][1] in the developer guide.
|
323
|
+
#
|
324
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
325
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
326
|
+
# a single set of endpoints for regional and global use.
|
327
|
+
#
|
328
|
+
# </note>
|
329
|
+
#
|
318
330
|
# Associates a web ACL with a resource, either an application load
|
319
331
|
# balancer or Amazon API Gateway stage.
|
320
332
|
#
|
333
|
+
#
|
334
|
+
#
|
335
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
336
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
337
|
+
#
|
321
338
|
# @option params [required, String] :web_acl_id
|
322
339
|
# A unique identifier (ID) for the web ACL.
|
323
340
|
#
|
@@ -352,6 +369,15 @@ module Aws::WAFRegional
|
|
352
369
|
req.send_request(options)
|
353
370
|
end
|
354
371
|
|
372
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
373
|
+
# [AWS WAF Classic][1] in the developer guide.
|
374
|
+
#
|
375
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
376
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
377
|
+
# a single set of endpoints for regional and global use.
|
378
|
+
#
|
379
|
+
# </note>
|
380
|
+
#
|
355
381
|
# Creates a `ByteMatchSet`. You then use UpdateByteMatchSet to identify
|
356
382
|
# the part of a web request that you want AWS WAF to inspect, such as
|
357
383
|
# the values of the `User-Agent` header or the query string. For
|
@@ -374,11 +400,13 @@ module Aws::WAFRegional
|
|
374
400
|
# or the URI) and the value that you want AWS WAF to watch for.
|
375
401
|
#
|
376
402
|
# For more information about how to use the AWS WAF API to allow or
|
377
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
403
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
378
404
|
#
|
379
405
|
#
|
380
406
|
#
|
381
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
407
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
408
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
409
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
382
410
|
#
|
383
411
|
# @option params [required, String] :name
|
384
412
|
# A friendly name or description of the ByteMatchSet. You can't change
|
@@ -420,6 +448,15 @@ module Aws::WAFRegional
|
|
420
448
|
req.send_request(options)
|
421
449
|
end
|
422
450
|
|
451
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
452
|
+
# [AWS WAF Classic][1] in the developer guide.
|
453
|
+
#
|
454
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
455
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
456
|
+
# a single set of endpoints for regional and global use.
|
457
|
+
#
|
458
|
+
# </note>
|
459
|
+
#
|
423
460
|
# Creates an GeoMatchSet, which you use to specify which web requests
|
424
461
|
# you want to allow or block based on the country that the requests
|
425
462
|
# originate from. For example, if you're receiving a lot of requests
|
@@ -441,11 +478,13 @@ module Aws::WAFRegional
|
|
441
478
|
# that you want AWS WAF to watch for.
|
442
479
|
#
|
443
480
|
# For more information about how to use the AWS WAF API to allow or
|
444
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
481
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
445
482
|
#
|
446
483
|
#
|
447
484
|
#
|
448
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
485
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
486
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
487
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
449
488
|
#
|
450
489
|
# @option params [required, String] :name
|
451
490
|
# A friendly name or description of the GeoMatchSet. You can't change
|
@@ -484,6 +523,15 @@ module Aws::WAFRegional
|
|
484
523
|
req.send_request(options)
|
485
524
|
end
|
486
525
|
|
526
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
527
|
+
# [AWS WAF Classic][1] in the developer guide.
|
528
|
+
#
|
529
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
530
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
531
|
+
# a single set of endpoints for regional and global use.
|
532
|
+
#
|
533
|
+
# </note>
|
534
|
+
#
|
487
535
|
# Creates an IPSet, which you use to specify which web requests that you
|
488
536
|
# want to allow or block based on the IP addresses that the requests
|
489
537
|
# originate from. For example, if you're receiving a lot of requests
|
@@ -506,11 +554,13 @@ module Aws::WAFRegional
|
|
506
554
|
# you want AWS WAF to watch for.
|
507
555
|
#
|
508
556
|
# For more information about how to use the AWS WAF API to allow or
|
509
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
557
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
510
558
|
#
|
511
559
|
#
|
512
560
|
#
|
513
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
561
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
562
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
563
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
514
564
|
#
|
515
565
|
# @option params [required, String] :name
|
516
566
|
# A friendly name or description of the IPSet. You can't change `Name`
|
@@ -574,6 +624,15 @@ module Aws::WAFRegional
|
|
574
624
|
req.send_request(options)
|
575
625
|
end
|
576
626
|
|
627
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
628
|
+
# [AWS WAF Classic][1] in the developer guide.
|
629
|
+
#
|
630
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
631
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
632
|
+
# a single set of endpoints for regional and global use.
|
633
|
+
#
|
634
|
+
# </note>
|
635
|
+
#
|
577
636
|
# Creates a RateBasedRule. The `RateBasedRule` contains a `RateLimit`,
|
578
637
|
# which specifies the maximum number of requests that AWS WAF allows
|
579
638
|
# from a specified IP address in a five-minute period. The
|
@@ -583,23 +642,23 @@ module Aws::WAFRegional
|
|
583
642
|
#
|
584
643
|
# If you add more than one predicate to a `RateBasedRule`, a request not
|
585
644
|
# only must exceed the `RateLimit`, but it also must match all the
|
586
|
-
#
|
587
|
-
#
|
645
|
+
# conditions to be counted or blocked. For example, suppose you add the
|
646
|
+
# following to a `RateBasedRule`\:
|
588
647
|
#
|
589
648
|
# * An `IPSet` that matches the IP address `192.0.2.44/32`
|
590
649
|
#
|
591
650
|
# * A `ByteMatchSet` that matches `BadBot` in the `User-Agent` header
|
592
651
|
#
|
593
|
-
# Further, you specify a `RateLimit` of
|
652
|
+
# Further, you specify a `RateLimit` of 1,000.
|
594
653
|
#
|
595
654
|
# You then add the `RateBasedRule` to a `WebACL` and specify that you
|
596
655
|
# want to block requests that meet the conditions in the rule. For a
|
597
656
|
# request to be blocked, it must come from the IP address 192.0.2.44
|
598
657
|
# *and* the `User-Agent` header in the request must contain the value
|
599
658
|
# `BadBot`. Further, requests that match these two conditions must be
|
600
|
-
# received at a rate of more than
|
659
|
+
# received at a rate of more than 1,000 requests every five minutes. If
|
601
660
|
# both conditions are met and the rate is exceeded, AWS WAF blocks the
|
602
|
-
# requests. If the rate drops below
|
661
|
+
# requests. If the rate drops below 1,000 for a five-minute period, AWS
|
603
662
|
# WAF no longer blocks the requests.
|
604
663
|
#
|
605
664
|
# As a second example, suppose you want to limit requests to a
|
@@ -612,7 +671,7 @@ module Aws::WAFRegional
|
|
612
671
|
#
|
613
672
|
# * A `TargetString` of `login`
|
614
673
|
#
|
615
|
-
# Further, you specify a `RateLimit` of
|
674
|
+
# Further, you specify a `RateLimit` of 1,000.
|
616
675
|
#
|
617
676
|
# By adding this `RateBasedRule` to a `WebACL`, you could limit requests
|
618
677
|
# to your login page without affecting the rest of your site.
|
@@ -639,11 +698,13 @@ module Aws::WAFRegional
|
|
639
698
|
# For more information, see CreateWebACL.
|
640
699
|
#
|
641
700
|
# For more information about how to use the AWS WAF API to allow or
|
642
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
701
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
643
702
|
#
|
644
703
|
#
|
645
704
|
#
|
646
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
705
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
706
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
707
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
647
708
|
#
|
648
709
|
# @option params [required, String] :name
|
649
710
|
# A friendly name or description of the RateBasedRule. You can't change
|
@@ -693,8 +754,8 @@ module Aws::WAFRegional
|
|
693
754
|
# change_token: "ChangeToken", # required
|
694
755
|
# tags: [
|
695
756
|
# {
|
696
|
-
# key: "TagKey",
|
697
|
-
# value: "TagValue",
|
757
|
+
# key: "TagKey", # required
|
758
|
+
# value: "TagValue", # required
|
698
759
|
# },
|
699
760
|
# ],
|
700
761
|
# })
|
@@ -721,6 +782,15 @@ module Aws::WAFRegional
|
|
721
782
|
req.send_request(options)
|
722
783
|
end
|
723
784
|
|
785
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
786
|
+
# [AWS WAF Classic][1] in the developer guide.
|
787
|
+
#
|
788
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
789
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
790
|
+
# a single set of endpoints for regional and global use.
|
791
|
+
#
|
792
|
+
# </note>
|
793
|
+
#
|
724
794
|
# Creates a RegexMatchSet. You then use UpdateRegexMatchSet to identify
|
725
795
|
# the part of a web request that you want AWS WAF to inspect, such as
|
726
796
|
# the values of the `User-Agent` header or the query string. For
|
@@ -746,11 +816,13 @@ module Aws::WAFRegional
|
|
746
816
|
# want AWS WAF to watch for.
|
747
817
|
#
|
748
818
|
# For more information about how to use the AWS WAF API to allow or
|
749
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
819
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
750
820
|
#
|
751
821
|
#
|
752
822
|
#
|
753
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
823
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
824
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
825
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
754
826
|
#
|
755
827
|
# @option params [required, String] :name
|
756
828
|
# A friendly name or description of the RegexMatchSet. You can't change
|
@@ -791,6 +863,15 @@ module Aws::WAFRegional
|
|
791
863
|
req.send_request(options)
|
792
864
|
end
|
793
865
|
|
866
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
867
|
+
# [AWS WAF Classic][1] in the developer guide.
|
868
|
+
#
|
869
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
870
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
871
|
+
# a single set of endpoints for regional and global use.
|
872
|
+
#
|
873
|
+
# </note>
|
874
|
+
#
|
794
875
|
# Creates a `RegexPatternSet`. You then use UpdateRegexPatternSet to
|
795
876
|
# specify the regular expression (regex) pattern that you want AWS WAF
|
796
877
|
# to search for, such as `B[a@]dB[o0]t`. You can then configure AWS WAF
|
@@ -811,11 +892,13 @@ module Aws::WAFRegional
|
|
811
892
|
# you want AWS WAF to watch for.
|
812
893
|
#
|
813
894
|
# For more information about how to use the AWS WAF API to allow or
|
814
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
895
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
815
896
|
#
|
816
897
|
#
|
817
898
|
#
|
818
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
899
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
900
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
901
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
819
902
|
#
|
820
903
|
# @option params [required, String] :name
|
821
904
|
# A friendly name or description of the RegexPatternSet. You can't
|
@@ -853,6 +936,15 @@ module Aws::WAFRegional
|
|
853
936
|
req.send_request(options)
|
854
937
|
end
|
855
938
|
|
939
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
940
|
+
# [AWS WAF Classic][1] in the developer guide.
|
941
|
+
#
|
942
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
943
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
944
|
+
# a single set of endpoints for regional and global use.
|
945
|
+
#
|
946
|
+
# </note>
|
947
|
+
#
|
856
948
|
# Creates a `Rule`, which contains the `IPSet` objects, `ByteMatchSet`
|
857
949
|
# objects, and other predicates that identify the requests that you want
|
858
950
|
# to block. If you add more than one predicate to a `Rule`, a request
|
@@ -889,11 +981,13 @@ module Aws::WAFRegional
|
|
889
981
|
# information, see CreateWebACL.
|
890
982
|
#
|
891
983
|
# For more information about how to use the AWS WAF API to allow or
|
892
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
984
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
893
985
|
#
|
894
986
|
#
|
895
987
|
#
|
896
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
988
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
989
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
990
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
897
991
|
#
|
898
992
|
# @option params [required, String] :name
|
899
993
|
# A friendly name or description of the Rule. You can't change the name
|
@@ -953,8 +1047,8 @@ module Aws::WAFRegional
|
|
953
1047
|
# change_token: "ChangeToken", # required
|
954
1048
|
# tags: [
|
955
1049
|
# {
|
956
|
-
# key: "TagKey",
|
957
|
-
# value: "TagValue",
|
1050
|
+
# key: "TagKey", # required
|
1051
|
+
# value: "TagValue", # required
|
958
1052
|
# },
|
959
1053
|
# ],
|
960
1054
|
# })
|
@@ -979,6 +1073,15 @@ module Aws::WAFRegional
|
|
979
1073
|
req.send_request(options)
|
980
1074
|
end
|
981
1075
|
|
1076
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1077
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1078
|
+
#
|
1079
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1080
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1081
|
+
# a single set of endpoints for regional and global use.
|
1082
|
+
#
|
1083
|
+
# </note>
|
1084
|
+
#
|
982
1085
|
# Creates a `RuleGroup`. A rule group is a collection of predefined
|
983
1086
|
# rules that you add to a web ACL. You use UpdateRuleGroup to add rules
|
984
1087
|
# to the rule group.
|
@@ -993,11 +1096,13 @@ module Aws::WAFRegional
|
|
993
1096
|
# * Ten rules per rule group.
|
994
1097
|
#
|
995
1098
|
# For more information about how to use the AWS WAF API to allow or
|
996
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
1099
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
997
1100
|
#
|
998
1101
|
#
|
999
1102
|
#
|
1000
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1103
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1104
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1105
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1001
1106
|
#
|
1002
1107
|
# @option params [required, String] :name
|
1003
1108
|
# A friendly name or description of the RuleGroup. You can't change
|
@@ -1029,8 +1134,8 @@ module Aws::WAFRegional
|
|
1029
1134
|
# change_token: "ChangeToken", # required
|
1030
1135
|
# tags: [
|
1031
1136
|
# {
|
1032
|
-
# key: "TagKey",
|
1033
|
-
# value: "TagValue",
|
1137
|
+
# key: "TagKey", # required
|
1138
|
+
# value: "TagValue", # required
|
1034
1139
|
# },
|
1035
1140
|
# ],
|
1036
1141
|
# })
|
@@ -1051,6 +1156,15 @@ module Aws::WAFRegional
|
|
1051
1156
|
req.send_request(options)
|
1052
1157
|
end
|
1053
1158
|
|
1159
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1160
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1161
|
+
#
|
1162
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1163
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1164
|
+
# a single set of endpoints for regional and global use.
|
1165
|
+
#
|
1166
|
+
# </note>
|
1167
|
+
#
|
1054
1168
|
# Creates a `SizeConstraintSet`. You then use UpdateSizeConstraintSet to
|
1055
1169
|
# identify the part of a web request that you want AWS WAF to check for
|
1056
1170
|
# length, such as the length of the `User-Agent` header or the length of
|
@@ -1076,11 +1190,13 @@ module Aws::WAFRegional
|
|
1076
1190
|
# for.
|
1077
1191
|
#
|
1078
1192
|
# For more information about how to use the AWS WAF API to allow or
|
1079
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
1193
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
1080
1194
|
#
|
1081
1195
|
#
|
1082
1196
|
#
|
1083
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1197
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1198
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1199
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1084
1200
|
#
|
1085
1201
|
# @option params [required, String] :name
|
1086
1202
|
# A friendly name or description of the SizeConstraintSet. You can't
|
@@ -1151,6 +1267,15 @@ module Aws::WAFRegional
|
|
1151
1267
|
req.send_request(options)
|
1152
1268
|
end
|
1153
1269
|
|
1270
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1271
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1272
|
+
#
|
1273
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1274
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1275
|
+
# a single set of endpoints for regional and global use.
|
1276
|
+
#
|
1277
|
+
# </note>
|
1278
|
+
#
|
1154
1279
|
# Creates a SqlInjectionMatchSet, which you use to allow, block, or
|
1155
1280
|
# count requests that contain snippets of SQL code in a specified part
|
1156
1281
|
# of web requests. AWS WAF searches for character sequences that are
|
@@ -1173,11 +1298,13 @@ module Aws::WAFRegional
|
|
1173
1298
|
# malicious SQL code.
|
1174
1299
|
#
|
1175
1300
|
# For more information about how to use the AWS WAF API to allow or
|
1176
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
1301
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
1177
1302
|
#
|
1178
1303
|
#
|
1179
1304
|
#
|
1180
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1305
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1306
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1307
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1181
1308
|
#
|
1182
1309
|
# @option params [required, String] :name
|
1183
1310
|
# A friendly name or description for the SqlInjectionMatchSet that
|
@@ -1245,6 +1372,15 @@ module Aws::WAFRegional
|
|
1245
1372
|
req.send_request(options)
|
1246
1373
|
end
|
1247
1374
|
|
1375
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1376
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1377
|
+
#
|
1378
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1379
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1380
|
+
# a single set of endpoints for regional and global use.
|
1381
|
+
#
|
1382
|
+
# </note>
|
1383
|
+
#
|
1248
1384
|
# Creates a `WebACL`, which contains the `Rules` that identify the
|
1249
1385
|
# CloudFront web requests that you want to allow, block, or count. AWS
|
1250
1386
|
# WAF evaluates `Rules` in order based on the value of `Priority` for
|
@@ -1277,11 +1413,13 @@ module Aws::WAFRegional
|
|
1277
1413
|
# and to associate the `WebACL` with a CloudFront distribution.
|
1278
1414
|
#
|
1279
1415
|
# For more information about how to use the AWS WAF API, see the [AWS
|
1280
|
-
# WAF Developer Guide][
|
1416
|
+
# WAF Developer Guide][3].
|
1281
1417
|
#
|
1282
1418
|
#
|
1283
1419
|
#
|
1284
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1420
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1421
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1422
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1285
1423
|
#
|
1286
1424
|
# @option params [required, String] :name
|
1287
1425
|
# A friendly name or description of the WebACL. You can't change `Name`
|
@@ -1357,8 +1495,8 @@ module Aws::WAFRegional
|
|
1357
1495
|
# change_token: "ChangeToken", # required
|
1358
1496
|
# tags: [
|
1359
1497
|
# {
|
1360
|
-
# key: "TagKey",
|
1361
|
-
# value: "TagValue",
|
1498
|
+
# key: "TagKey", # required
|
1499
|
+
# value: "TagValue", # required
|
1362
1500
|
# },
|
1363
1501
|
# ],
|
1364
1502
|
# })
|
@@ -1389,6 +1527,82 @@ module Aws::WAFRegional
|
|
1389
1527
|
req.send_request(options)
|
1390
1528
|
end
|
1391
1529
|
|
1530
|
+
# Creates an AWS CloudFormation WAFV2 template for the specified web ACL
|
1531
|
+
# in the specified Amazon S3 bucket. Then, in CloudFormation, you create
|
1532
|
+
# a stack from the template, to create the web ACL and its resources in
|
1533
|
+
# AWS WAFV2. Use this to migrate your AWS WAF Classic web ACL to the
|
1534
|
+
# latest version of AWS WAF.
|
1535
|
+
#
|
1536
|
+
# This is part of a larger migration procedure for web ACLs from AWS WAF
|
1537
|
+
# Classic to the latest version of AWS WAF. For the full procedure,
|
1538
|
+
# including caveats and manual steps to complete the migration and
|
1539
|
+
# switch over to the new web ACL, see [Migrating your AWS WAF Classic
|
1540
|
+
# resources to AWS WAF][1] in the [AWS WAF Developer Guide][2].
|
1541
|
+
#
|
1542
|
+
#
|
1543
|
+
#
|
1544
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-migrating-from-classic.html
|
1545
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1546
|
+
#
|
1547
|
+
# @option params [required, String] :web_acl_id
|
1548
|
+
# The UUID of the WAF Classic web ACL that you want to migrate to WAF
|
1549
|
+
# v2.
|
1550
|
+
#
|
1551
|
+
# @option params [required, String] :s3_bucket_name
|
1552
|
+
# The name of the Amazon S3 bucket to store the CloudFormation template
|
1553
|
+
# in. The S3 bucket must be configured as follows for the migration:
|
1554
|
+
#
|
1555
|
+
# * The bucket name must start with `aws-waf-migration-`. For example,
|
1556
|
+
# `aws-waf-migration-my-web-acl`.
|
1557
|
+
#
|
1558
|
+
# * The bucket must be in the Region where you are deploying the
|
1559
|
+
# template. For example, for a web ACL in us-west-2, you must use an
|
1560
|
+
# Amazon S3 bucket in us-west-2 and you must deploy the template stack
|
1561
|
+
# to us-west-2.
|
1562
|
+
#
|
1563
|
+
# * The bucket policies must permit the migration process to write data.
|
1564
|
+
# For listings of the bucket policies, see the Examples section.
|
1565
|
+
#
|
1566
|
+
# @option params [required, Boolean] :ignore_unsupported_type
|
1567
|
+
# Indicates whether to exclude entities that can't be migrated or to
|
1568
|
+
# stop the migration. Set this to true to ignore unsupported entities in
|
1569
|
+
# the web ACL during the migration. Otherwise, if AWS WAF encounters
|
1570
|
+
# unsupported entities, it stops the process and throws an exception.
|
1571
|
+
#
|
1572
|
+
# @return [Types::CreateWebACLMigrationStackResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1573
|
+
#
|
1574
|
+
# * {Types::CreateWebACLMigrationStackResponse#s3_object_url #s3_object_url} => String
|
1575
|
+
#
|
1576
|
+
# @example Request syntax with placeholder values
|
1577
|
+
#
|
1578
|
+
# resp = client.create_web_acl_migration_stack({
|
1579
|
+
# web_acl_id: "ResourceId", # required
|
1580
|
+
# s3_bucket_name: "S3BucketName", # required
|
1581
|
+
# ignore_unsupported_type: false, # required
|
1582
|
+
# })
|
1583
|
+
#
|
1584
|
+
# @example Response structure
|
1585
|
+
#
|
1586
|
+
# resp.s3_object_url #=> String
|
1587
|
+
#
|
1588
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateWebACLMigrationStack AWS API Documentation
|
1589
|
+
#
|
1590
|
+
# @overload create_web_acl_migration_stack(params = {})
|
1591
|
+
# @param [Hash] params ({})
|
1592
|
+
def create_web_acl_migration_stack(params = {}, options = {})
|
1593
|
+
req = build_request(:create_web_acl_migration_stack, params)
|
1594
|
+
req.send_request(options)
|
1595
|
+
end
|
1596
|
+
|
1597
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1598
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1599
|
+
#
|
1600
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1601
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1602
|
+
# a single set of endpoints for regional and global use.
|
1603
|
+
#
|
1604
|
+
# </note>
|
1605
|
+
#
|
1392
1606
|
# Creates an XssMatchSet, which you use to allow, block, or count
|
1393
1607
|
# requests that contain cross-site scripting attacks in the specified
|
1394
1608
|
# part of web requests. AWS WAF searches for character sequences that
|
@@ -1409,11 +1623,13 @@ module Aws::WAFRegional
|
|
1409
1623
|
# scripting attacks.
|
1410
1624
|
#
|
1411
1625
|
# For more information about how to use the AWS WAF API to allow or
|
1412
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
1626
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
1413
1627
|
#
|
1414
1628
|
#
|
1415
1629
|
#
|
1416
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1630
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1631
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1632
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1417
1633
|
#
|
1418
1634
|
# @option params [required, String] :name
|
1419
1635
|
# A friendly name or description for the XssMatchSet that you're
|
@@ -1480,6 +1696,15 @@ module Aws::WAFRegional
|
|
1480
1696
|
req.send_request(options)
|
1481
1697
|
end
|
1482
1698
|
|
1699
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1700
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1701
|
+
#
|
1702
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1703
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1704
|
+
# a single set of endpoints for regional and global use.
|
1705
|
+
#
|
1706
|
+
# </note>
|
1707
|
+
#
|
1483
1708
|
# Permanently deletes a ByteMatchSet. You can't delete a `ByteMatchSet`
|
1484
1709
|
# if it's still used in any `Rules` or if it still includes any
|
1485
1710
|
# ByteMatchTuple objects (any filters).
|
@@ -1497,6 +1722,11 @@ module Aws::WAFRegional
|
|
1497
1722
|
#
|
1498
1723
|
# 3. Submit a `DeleteByteMatchSet` request.
|
1499
1724
|
#
|
1725
|
+
#
|
1726
|
+
#
|
1727
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1728
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1729
|
+
#
|
1500
1730
|
# @option params [required, String] :byte_match_set_id
|
1501
1731
|
# The `ByteMatchSetId` of the ByteMatchSet that you want to delete.
|
1502
1732
|
# `ByteMatchSetId` is returned by CreateByteMatchSet and by
|
@@ -1544,6 +1774,15 @@ module Aws::WAFRegional
|
|
1544
1774
|
req.send_request(options)
|
1545
1775
|
end
|
1546
1776
|
|
1777
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1778
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1779
|
+
#
|
1780
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1781
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1782
|
+
# a single set of endpoints for regional and global use.
|
1783
|
+
#
|
1784
|
+
# </note>
|
1785
|
+
#
|
1547
1786
|
# Permanently deletes a GeoMatchSet. You can't delete a `GeoMatchSet`
|
1548
1787
|
# if it's still used in any `Rules` or if it still includes any
|
1549
1788
|
# countries.
|
@@ -1562,6 +1801,11 @@ module Aws::WAFRegional
|
|
1562
1801
|
#
|
1563
1802
|
# 3. Submit a `DeleteGeoMatchSet` request.
|
1564
1803
|
#
|
1804
|
+
#
|
1805
|
+
#
|
1806
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1807
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1808
|
+
#
|
1565
1809
|
# @option params [required, String] :geo_match_set_id
|
1566
1810
|
# The `GeoMatchSetID` of the GeoMatchSet that you want to delete.
|
1567
1811
|
# `GeoMatchSetId` is returned by CreateGeoMatchSet and by
|
@@ -1594,6 +1838,15 @@ module Aws::WAFRegional
|
|
1594
1838
|
req.send_request(options)
|
1595
1839
|
end
|
1596
1840
|
|
1841
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1842
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1843
|
+
#
|
1844
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1845
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1846
|
+
# a single set of endpoints for regional and global use.
|
1847
|
+
#
|
1848
|
+
# </note>
|
1849
|
+
#
|
1597
1850
|
# Permanently deletes an IPSet. You can't delete an `IPSet` if it's
|
1598
1851
|
# still used in any `Rules` or if it still includes any IP addresses.
|
1599
1852
|
#
|
@@ -1610,6 +1863,11 @@ module Aws::WAFRegional
|
|
1610
1863
|
#
|
1611
1864
|
# 3. Submit a `DeleteIPSet` request.
|
1612
1865
|
#
|
1866
|
+
#
|
1867
|
+
#
|
1868
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1869
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1870
|
+
#
|
1613
1871
|
# @option params [required, String] :ip_set_id
|
1614
1872
|
# The `IPSetId` of the IPSet that you want to delete. `IPSetId` is
|
1615
1873
|
# returned by CreateIPSet and by ListIPSets.
|
@@ -1656,9 +1914,23 @@ module Aws::WAFRegional
|
|
1656
1914
|
req.send_request(options)
|
1657
1915
|
end
|
1658
1916
|
|
1917
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1918
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1919
|
+
#
|
1920
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1921
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1922
|
+
# a single set of endpoints for regional and global use.
|
1923
|
+
#
|
1924
|
+
# </note>
|
1925
|
+
#
|
1659
1926
|
# Permanently deletes the LoggingConfiguration from the specified web
|
1660
1927
|
# ACL.
|
1661
1928
|
#
|
1929
|
+
#
|
1930
|
+
#
|
1931
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1932
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1933
|
+
#
|
1662
1934
|
# @option params [required, String] :resource_arn
|
1663
1935
|
# The Amazon Resource Name (ARN) of the web ACL from which you want to
|
1664
1936
|
# delete the LoggingConfiguration.
|
@@ -1680,10 +1952,24 @@ module Aws::WAFRegional
|
|
1680
1952
|
req.send_request(options)
|
1681
1953
|
end
|
1682
1954
|
|
1955
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1956
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1957
|
+
#
|
1958
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1959
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1960
|
+
# a single set of endpoints for regional and global use.
|
1961
|
+
#
|
1962
|
+
# </note>
|
1963
|
+
#
|
1683
1964
|
# Permanently deletes an IAM policy from the specified RuleGroup.
|
1684
1965
|
#
|
1685
1966
|
# The user making the request must be the owner of the RuleGroup.
|
1686
1967
|
#
|
1968
|
+
#
|
1969
|
+
#
|
1970
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1971
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1972
|
+
#
|
1687
1973
|
# @option params [required, String] :resource_arn
|
1688
1974
|
# The Amazon Resource Name (ARN) of the RuleGroup from which you want to
|
1689
1975
|
# delete the policy.
|
@@ -1707,6 +1993,15 @@ module Aws::WAFRegional
|
|
1707
1993
|
req.send_request(options)
|
1708
1994
|
end
|
1709
1995
|
|
1996
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1997
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1998
|
+
#
|
1999
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2000
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2001
|
+
# a single set of endpoints for regional and global use.
|
2002
|
+
#
|
2003
|
+
# </note>
|
2004
|
+
#
|
1710
2005
|
# Permanently deletes a RateBasedRule. You can't delete a rule if it's
|
1711
2006
|
# still used in any `WebACL` objects or if it still includes any
|
1712
2007
|
# predicates, such as `ByteMatchSet` objects.
|
@@ -1724,6 +2019,11 @@ module Aws::WAFRegional
|
|
1724
2019
|
#
|
1725
2020
|
# 3. Submit a `DeleteRateBasedRule` request.
|
1726
2021
|
#
|
2022
|
+
#
|
2023
|
+
#
|
2024
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2025
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2026
|
+
#
|
1727
2027
|
# @option params [required, String] :rule_id
|
1728
2028
|
# The `RuleId` of the RateBasedRule that you want to delete. `RuleId` is
|
1729
2029
|
# returned by CreateRateBasedRule and by ListRateBasedRules.
|
@@ -1755,6 +2055,15 @@ module Aws::WAFRegional
|
|
1755
2055
|
req.send_request(options)
|
1756
2056
|
end
|
1757
2057
|
|
2058
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2059
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2060
|
+
#
|
2061
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2062
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2063
|
+
# a single set of endpoints for regional and global use.
|
2064
|
+
#
|
2065
|
+
# </note>
|
2066
|
+
#
|
1758
2067
|
# Permanently deletes a RegexMatchSet. You can't delete a
|
1759
2068
|
# `RegexMatchSet` if it's still used in any `Rules` or if it still
|
1760
2069
|
# includes any `RegexMatchTuples` objects (any filters).
|
@@ -1772,6 +2081,11 @@ module Aws::WAFRegional
|
|
1772
2081
|
#
|
1773
2082
|
# 3. Submit a `DeleteRegexMatchSet` request.
|
1774
2083
|
#
|
2084
|
+
#
|
2085
|
+
#
|
2086
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2087
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2088
|
+
#
|
1775
2089
|
# @option params [required, String] :regex_match_set_id
|
1776
2090
|
# The `RegexMatchSetId` of the RegexMatchSet that you want to delete.
|
1777
2091
|
# `RegexMatchSetId` is returned by CreateRegexMatchSet and by
|
@@ -1804,10 +2118,24 @@ module Aws::WAFRegional
|
|
1804
2118
|
req.send_request(options)
|
1805
2119
|
end
|
1806
2120
|
|
2121
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2122
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2123
|
+
#
|
2124
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2125
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2126
|
+
# a single set of endpoints for regional and global use.
|
2127
|
+
#
|
2128
|
+
# </note>
|
2129
|
+
#
|
1807
2130
|
# Permanently deletes a RegexPatternSet. You can't delete a
|
1808
2131
|
# `RegexPatternSet` if it's still used in any `RegexMatchSet` or if the
|
1809
2132
|
# `RegexPatternSet` is not empty.
|
1810
2133
|
#
|
2134
|
+
#
|
2135
|
+
#
|
2136
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2137
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2138
|
+
#
|
1811
2139
|
# @option params [required, String] :regex_pattern_set_id
|
1812
2140
|
# The `RegexPatternSetId` of the RegexPatternSet that you want to
|
1813
2141
|
# delete. `RegexPatternSetId` is returned by CreateRegexPatternSet and
|
@@ -1840,6 +2168,15 @@ module Aws::WAFRegional
|
|
1840
2168
|
req.send_request(options)
|
1841
2169
|
end
|
1842
2170
|
|
2171
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2172
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2173
|
+
#
|
2174
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2175
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2176
|
+
# a single set of endpoints for regional and global use.
|
2177
|
+
#
|
2178
|
+
# </note>
|
2179
|
+
#
|
1843
2180
|
# Permanently deletes a Rule. You can't delete a `Rule` if it's still
|
1844
2181
|
# used in any `WebACL` objects or if it still includes any predicates,
|
1845
2182
|
# such as `ByteMatchSet` objects.
|
@@ -1857,6 +2194,11 @@ module Aws::WAFRegional
|
|
1857
2194
|
#
|
1858
2195
|
# 3. Submit a `DeleteRule` request.
|
1859
2196
|
#
|
2197
|
+
#
|
2198
|
+
#
|
2199
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2200
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2201
|
+
#
|
1860
2202
|
# @option params [required, String] :rule_id
|
1861
2203
|
# The `RuleId` of the Rule that you want to delete. `RuleId` is returned
|
1862
2204
|
# by CreateRule and by ListRules.
|
@@ -1903,6 +2245,15 @@ module Aws::WAFRegional
|
|
1903
2245
|
req.send_request(options)
|
1904
2246
|
end
|
1905
2247
|
|
2248
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2249
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2250
|
+
#
|
2251
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2252
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2253
|
+
# a single set of endpoints for regional and global use.
|
2254
|
+
#
|
2255
|
+
# </note>
|
2256
|
+
#
|
1906
2257
|
# Permanently deletes a RuleGroup. You can't delete a `RuleGroup` if
|
1907
2258
|
# it's still used in any `WebACL` objects or if it still includes any
|
1908
2259
|
# rules.
|
@@ -1921,6 +2272,11 @@ module Aws::WAFRegional
|
|
1921
2272
|
#
|
1922
2273
|
# 3. Submit a `DeleteRuleGroup` request.
|
1923
2274
|
#
|
2275
|
+
#
|
2276
|
+
#
|
2277
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2278
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2279
|
+
#
|
1924
2280
|
# @option params [required, String] :rule_group_id
|
1925
2281
|
# The `RuleGroupId` of the RuleGroup that you want to delete.
|
1926
2282
|
# `RuleGroupId` is returned by CreateRuleGroup and by ListRuleGroups.
|
@@ -1952,6 +2308,15 @@ module Aws::WAFRegional
|
|
1952
2308
|
req.send_request(options)
|
1953
2309
|
end
|
1954
2310
|
|
2311
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2312
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2313
|
+
#
|
2314
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2315
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2316
|
+
# a single set of endpoints for regional and global use.
|
2317
|
+
#
|
2318
|
+
# </note>
|
2319
|
+
#
|
1955
2320
|
# Permanently deletes a SizeConstraintSet. You can't delete a
|
1956
2321
|
# `SizeConstraintSet` if it's still used in any `Rules` or if it still
|
1957
2322
|
# includes any SizeConstraint objects (any filters).
|
@@ -1970,6 +2335,11 @@ module Aws::WAFRegional
|
|
1970
2335
|
#
|
1971
2336
|
# 3. Submit a `DeleteSizeConstraintSet` request.
|
1972
2337
|
#
|
2338
|
+
#
|
2339
|
+
#
|
2340
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2341
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2342
|
+
#
|
1973
2343
|
# @option params [required, String] :size_constraint_set_id
|
1974
2344
|
# The `SizeConstraintSetId` of the SizeConstraintSet that you want to
|
1975
2345
|
# delete. `SizeConstraintSetId` is returned by CreateSizeConstraintSet
|
@@ -2017,6 +2387,15 @@ module Aws::WAFRegional
|
|
2017
2387
|
req.send_request(options)
|
2018
2388
|
end
|
2019
2389
|
|
2390
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2391
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2392
|
+
#
|
2393
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2394
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2395
|
+
# a single set of endpoints for regional and global use.
|
2396
|
+
#
|
2397
|
+
# </note>
|
2398
|
+
#
|
2020
2399
|
# Permanently deletes a SqlInjectionMatchSet. You can't delete a
|
2021
2400
|
# `SqlInjectionMatchSet` if it's still used in any `Rules` or if it
|
2022
2401
|
# still contains any SqlInjectionMatchTuple objects.
|
@@ -2035,6 +2414,11 @@ module Aws::WAFRegional
|
|
2035
2414
|
#
|
2036
2415
|
# 3. Submit a `DeleteSqlInjectionMatchSet` request.
|
2037
2416
|
#
|
2417
|
+
#
|
2418
|
+
#
|
2419
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2420
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2421
|
+
#
|
2038
2422
|
# @option params [required, String] :sql_injection_match_set_id
|
2039
2423
|
# The `SqlInjectionMatchSetId` of the SqlInjectionMatchSet that you want
|
2040
2424
|
# to delete. `SqlInjectionMatchSetId` is returned by
|
@@ -2082,6 +2466,15 @@ module Aws::WAFRegional
|
|
2082
2466
|
req.send_request(options)
|
2083
2467
|
end
|
2084
2468
|
|
2469
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2470
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2471
|
+
#
|
2472
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2473
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2474
|
+
# a single set of endpoints for regional and global use.
|
2475
|
+
#
|
2476
|
+
# </note>
|
2477
|
+
#
|
2085
2478
|
# Permanently deletes a WebACL. You can't delete a `WebACL` if it still
|
2086
2479
|
# contains any `Rules`.
|
2087
2480
|
#
|
@@ -2095,6 +2488,11 @@ module Aws::WAFRegional
|
|
2095
2488
|
#
|
2096
2489
|
# 3. Submit a `DeleteWebACL` request.
|
2097
2490
|
#
|
2491
|
+
#
|
2492
|
+
#
|
2493
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2494
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2495
|
+
#
|
2098
2496
|
# @option params [required, String] :web_acl_id
|
2099
2497
|
# The `WebACLId` of the WebACL that you want to delete. `WebACLId` is
|
2100
2498
|
# returned by CreateWebACL and by ListWebACLs.
|
@@ -2141,6 +2539,15 @@ module Aws::WAFRegional
|
|
2141
2539
|
req.send_request(options)
|
2142
2540
|
end
|
2143
2541
|
|
2542
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2543
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2544
|
+
#
|
2545
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2546
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2547
|
+
# a single set of endpoints for regional and global use.
|
2548
|
+
#
|
2549
|
+
# </note>
|
2550
|
+
#
|
2144
2551
|
# Permanently deletes an XssMatchSet. You can't delete an `XssMatchSet`
|
2145
2552
|
# if it's still used in any `Rules` or if it still contains any
|
2146
2553
|
# XssMatchTuple objects.
|
@@ -2159,6 +2566,11 @@ module Aws::WAFRegional
|
|
2159
2566
|
#
|
2160
2567
|
# 3. Submit a `DeleteXssMatchSet` request.
|
2161
2568
|
#
|
2569
|
+
#
|
2570
|
+
#
|
2571
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2572
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2573
|
+
#
|
2162
2574
|
# @option params [required, String] :xss_match_set_id
|
2163
2575
|
# The `XssMatchSetId` of the XssMatchSet that you want to delete.
|
2164
2576
|
# `XssMatchSetId` is returned by CreateXssMatchSet and by
|
@@ -2206,9 +2618,23 @@ module Aws::WAFRegional
|
|
2206
2618
|
req.send_request(options)
|
2207
2619
|
end
|
2208
2620
|
|
2621
|
+
# <note markdown="1"> This is **AWS WAF Classic Regional** documentation. For more
|
2622
|
+
# information, see [AWS WAF Classic][1] in the developer guide.
|
2623
|
+
#
|
2624
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2625
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2626
|
+
# a single set of endpoints for regional and global use.
|
2627
|
+
#
|
2628
|
+
# </note>
|
2629
|
+
#
|
2209
2630
|
# Removes a web ACL from the specified resource, either an application
|
2210
2631
|
# load balancer or Amazon API Gateway stage.
|
2211
2632
|
#
|
2633
|
+
#
|
2634
|
+
#
|
2635
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2636
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2637
|
+
#
|
2212
2638
|
# @option params [required, String] :resource_arn
|
2213
2639
|
# The ARN (Amazon Resource Name) of the resource from which the web ACL
|
2214
2640
|
# is being removed, either an application load balancer or Amazon API
|
@@ -2240,8 +2666,22 @@ module Aws::WAFRegional
|
|
2240
2666
|
req.send_request(options)
|
2241
2667
|
end
|
2242
2668
|
|
2669
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2670
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2671
|
+
#
|
2672
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2673
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2674
|
+
# a single set of endpoints for regional and global use.
|
2675
|
+
#
|
2676
|
+
# </note>
|
2677
|
+
#
|
2243
2678
|
# Returns the ByteMatchSet specified by `ByteMatchSetId`.
|
2244
2679
|
#
|
2680
|
+
#
|
2681
|
+
#
|
2682
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2683
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2684
|
+
#
|
2245
2685
|
# @option params [required, String] :byte_match_set_id
|
2246
2686
|
# The `ByteMatchSetId` of the ByteMatchSet that you want to get.
|
2247
2687
|
# `ByteMatchSetId` is returned by CreateByteMatchSet and by
|
@@ -2305,6 +2745,15 @@ module Aws::WAFRegional
|
|
2305
2745
|
req.send_request(options)
|
2306
2746
|
end
|
2307
2747
|
|
2748
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2749
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2750
|
+
#
|
2751
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2752
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2753
|
+
# a single set of endpoints for regional and global use.
|
2754
|
+
#
|
2755
|
+
# </note>
|
2756
|
+
#
|
2308
2757
|
# When you want to create, update, or delete AWS WAF objects, get a
|
2309
2758
|
# change token and include the change token in the create, update, or
|
2310
2759
|
# delete request. Change tokens ensure that your application doesn't
|
@@ -2321,6 +2770,11 @@ module Aws::WAFRegional
|
|
2321
2770
|
# that AWS WAF is propagating the change to all AWS WAF servers. Use
|
2322
2771
|
# `GetChangeTokenStatus` to determine the status of your change token.
|
2323
2772
|
#
|
2773
|
+
#
|
2774
|
+
#
|
2775
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2776
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2777
|
+
#
|
2324
2778
|
# @return [Types::GetChangeTokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2325
2779
|
#
|
2326
2780
|
# * {Types::GetChangeTokenResponse#change_token #change_token} => String
|
@@ -2351,6 +2805,15 @@ module Aws::WAFRegional
|
|
2351
2805
|
req.send_request(options)
|
2352
2806
|
end
|
2353
2807
|
|
2808
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2809
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2810
|
+
#
|
2811
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2812
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2813
|
+
# a single set of endpoints for regional and global use.
|
2814
|
+
#
|
2815
|
+
# </note>
|
2816
|
+
#
|
2354
2817
|
# Returns the status of a `ChangeToken` that you got by calling
|
2355
2818
|
# GetChangeToken. `ChangeTokenStatus` is one of the following values:
|
2356
2819
|
#
|
@@ -2363,6 +2826,11 @@ module Aws::WAFRegional
|
|
2363
2826
|
#
|
2364
2827
|
# * `INSYNC`\: Propagation is complete.
|
2365
2828
|
#
|
2829
|
+
#
|
2830
|
+
#
|
2831
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2832
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2833
|
+
#
|
2366
2834
|
# @option params [required, String] :change_token
|
2367
2835
|
# The change token for which you want to get the status. This change
|
2368
2836
|
# token was previously returned in the `GetChangeToken` response.
|
@@ -2404,8 +2872,22 @@ module Aws::WAFRegional
|
|
2404
2872
|
req.send_request(options)
|
2405
2873
|
end
|
2406
2874
|
|
2875
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2876
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2877
|
+
#
|
2878
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2879
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2880
|
+
# a single set of endpoints for regional and global use.
|
2881
|
+
#
|
2882
|
+
# </note>
|
2883
|
+
#
|
2407
2884
|
# Returns the GeoMatchSet that is specified by `GeoMatchSetId`.
|
2408
2885
|
#
|
2886
|
+
#
|
2887
|
+
#
|
2888
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2889
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2890
|
+
#
|
2409
2891
|
# @option params [required, String] :geo_match_set_id
|
2410
2892
|
# The `GeoMatchSetId` of the GeoMatchSet that you want to get.
|
2411
2893
|
# `GeoMatchSetId` is returned by CreateGeoMatchSet and by
|
@@ -2438,8 +2920,22 @@ module Aws::WAFRegional
|
|
2438
2920
|
req.send_request(options)
|
2439
2921
|
end
|
2440
2922
|
|
2923
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2924
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2925
|
+
#
|
2926
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2927
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2928
|
+
# a single set of endpoints for regional and global use.
|
2929
|
+
#
|
2930
|
+
# </note>
|
2931
|
+
#
|
2441
2932
|
# Returns the IPSet that is specified by `IPSetId`.
|
2442
2933
|
#
|
2934
|
+
#
|
2935
|
+
#
|
2936
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2937
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2938
|
+
#
|
2443
2939
|
# @option params [required, String] :ip_set_id
|
2444
2940
|
# The `IPSetId` of the IPSet that you want to get. `IPSetId` is returned
|
2445
2941
|
# by CreateIPSet and by ListIPSets.
|
@@ -2494,8 +2990,22 @@ module Aws::WAFRegional
|
|
2494
2990
|
req.send_request(options)
|
2495
2991
|
end
|
2496
2992
|
|
2993
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2994
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2995
|
+
#
|
2996
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2997
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2998
|
+
# a single set of endpoints for regional and global use.
|
2999
|
+
#
|
3000
|
+
# </note>
|
3001
|
+
#
|
2497
3002
|
# Returns the LoggingConfiguration for the specified web ACL.
|
2498
3003
|
#
|
3004
|
+
#
|
3005
|
+
#
|
3006
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3007
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3008
|
+
#
|
2499
3009
|
# @option params [required, String] :resource_arn
|
2500
3010
|
# The Amazon Resource Name (ARN) of the web ACL for which you want to
|
2501
3011
|
# get the LoggingConfiguration.
|
@@ -2528,8 +3038,22 @@ module Aws::WAFRegional
|
|
2528
3038
|
req.send_request(options)
|
2529
3039
|
end
|
2530
3040
|
|
3041
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3042
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3043
|
+
#
|
3044
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3045
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3046
|
+
# a single set of endpoints for regional and global use.
|
3047
|
+
#
|
3048
|
+
# </note>
|
3049
|
+
#
|
2531
3050
|
# Returns the IAM policy attached to the RuleGroup.
|
2532
3051
|
#
|
3052
|
+
#
|
3053
|
+
#
|
3054
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3055
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3056
|
+
#
|
2533
3057
|
# @option params [required, String] :resource_arn
|
2534
3058
|
# The Amazon Resource Name (ARN) of the RuleGroup for which you want to
|
2535
3059
|
# get the policy.
|
@@ -2557,9 +3081,23 @@ module Aws::WAFRegional
|
|
2557
3081
|
req.send_request(options)
|
2558
3082
|
end
|
2559
3083
|
|
3084
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3085
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3086
|
+
#
|
3087
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3088
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3089
|
+
# a single set of endpoints for regional and global use.
|
3090
|
+
#
|
3091
|
+
# </note>
|
3092
|
+
#
|
2560
3093
|
# Returns the RateBasedRule that is specified by the `RuleId` that you
|
2561
3094
|
# included in the `GetRateBasedRule` request.
|
2562
3095
|
#
|
3096
|
+
#
|
3097
|
+
#
|
3098
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3099
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3100
|
+
#
|
2563
3101
|
# @option params [required, String] :rule_id
|
2564
3102
|
# The `RuleId` of the RateBasedRule that you want to get. `RuleId` is
|
2565
3103
|
# returned by CreateRateBasedRule and by ListRateBasedRules.
|
@@ -2595,12 +3133,26 @@ module Aws::WAFRegional
|
|
2595
3133
|
req.send_request(options)
|
2596
3134
|
end
|
2597
3135
|
|
3136
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3137
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3138
|
+
#
|
3139
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3140
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3141
|
+
# a single set of endpoints for regional and global use.
|
3142
|
+
#
|
3143
|
+
# </note>
|
3144
|
+
#
|
2598
3145
|
# Returns an array of IP addresses currently being blocked by the
|
2599
3146
|
# RateBasedRule that is specified by the `RuleId`. The maximum number of
|
2600
3147
|
# managed keys that will be blocked is 10,000. If more than 10,000
|
2601
3148
|
# addresses exceed the rate limit, the 10,000 addresses with the highest
|
2602
3149
|
# rates will be blocked.
|
2603
3150
|
#
|
3151
|
+
#
|
3152
|
+
#
|
3153
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3154
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3155
|
+
#
|
2604
3156
|
# @option params [required, String] :rule_id
|
2605
3157
|
# The `RuleId` of the RateBasedRule for which you want to get a list of
|
2606
3158
|
# `ManagedKeys`. `RuleId` is returned by CreateRateBasedRule and by
|
@@ -2637,8 +3189,22 @@ module Aws::WAFRegional
|
|
2637
3189
|
req.send_request(options)
|
2638
3190
|
end
|
2639
3191
|
|
3192
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3193
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3194
|
+
#
|
3195
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3196
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3197
|
+
# a single set of endpoints for regional and global use.
|
3198
|
+
#
|
3199
|
+
# </note>
|
3200
|
+
#
|
2640
3201
|
# Returns the RegexMatchSet specified by `RegexMatchSetId`.
|
2641
3202
|
#
|
3203
|
+
#
|
3204
|
+
#
|
3205
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3206
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3207
|
+
#
|
2642
3208
|
# @option params [required, String] :regex_match_set_id
|
2643
3209
|
# The `RegexMatchSetId` of the RegexMatchSet that you want to get.
|
2644
3210
|
# `RegexMatchSetId` is returned by CreateRegexMatchSet and by
|
@@ -2673,8 +3239,22 @@ module Aws::WAFRegional
|
|
2673
3239
|
req.send_request(options)
|
2674
3240
|
end
|
2675
3241
|
|
3242
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3243
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3244
|
+
#
|
3245
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3246
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3247
|
+
# a single set of endpoints for regional and global use.
|
3248
|
+
#
|
3249
|
+
# </note>
|
3250
|
+
#
|
2676
3251
|
# Returns the RegexPatternSet specified by `RegexPatternSetId`.
|
2677
3252
|
#
|
3253
|
+
#
|
3254
|
+
#
|
3255
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3256
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3257
|
+
#
|
2678
3258
|
# @option params [required, String] :regex_pattern_set_id
|
2679
3259
|
# The `RegexPatternSetId` of the RegexPatternSet that you want to get.
|
2680
3260
|
# `RegexPatternSetId` is returned by CreateRegexPatternSet and by
|
@@ -2706,9 +3286,23 @@ module Aws::WAFRegional
|
|
2706
3286
|
req.send_request(options)
|
2707
3287
|
end
|
2708
3288
|
|
3289
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3290
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3291
|
+
#
|
3292
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3293
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3294
|
+
# a single set of endpoints for regional and global use.
|
3295
|
+
#
|
3296
|
+
# </note>
|
3297
|
+
#
|
2709
3298
|
# Returns the Rule that is specified by the `RuleId` that you included
|
2710
3299
|
# in the `GetRule` request.
|
2711
3300
|
#
|
3301
|
+
#
|
3302
|
+
#
|
3303
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3304
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3305
|
+
#
|
2712
3306
|
# @option params [required, String] :rule_id
|
2713
3307
|
# The `RuleId` of the Rule that you want to get. `RuleId` is returned by
|
2714
3308
|
# CreateRule and by ListRules.
|
@@ -2767,11 +3361,25 @@ module Aws::WAFRegional
|
|
2767
3361
|
req.send_request(options)
|
2768
3362
|
end
|
2769
3363
|
|
3364
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3365
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3366
|
+
#
|
3367
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3368
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3369
|
+
# a single set of endpoints for regional and global use.
|
3370
|
+
#
|
3371
|
+
# </note>
|
3372
|
+
#
|
2770
3373
|
# Returns the RuleGroup that is specified by the `RuleGroupId` that you
|
2771
3374
|
# included in the `GetRuleGroup` request.
|
2772
3375
|
#
|
2773
3376
|
# To view the rules in a rule group, use ListActivatedRulesInRuleGroup.
|
2774
3377
|
#
|
3378
|
+
#
|
3379
|
+
#
|
3380
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3381
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3382
|
+
#
|
2775
3383
|
# @option params [required, String] :rule_group_id
|
2776
3384
|
# The `RuleGroupId` of the RuleGroup that you want to get. `RuleGroupId`
|
2777
3385
|
# is returned by CreateRuleGroup and by ListRuleGroups.
|
@@ -2801,6 +3409,15 @@ module Aws::WAFRegional
|
|
2801
3409
|
req.send_request(options)
|
2802
3410
|
end
|
2803
3411
|
|
3412
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3413
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3414
|
+
#
|
3415
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3416
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3417
|
+
# a single set of endpoints for regional and global use.
|
3418
|
+
#
|
3419
|
+
# </note>
|
3420
|
+
#
|
2804
3421
|
# Gets detailed information about a specified number of requests--a
|
2805
3422
|
# sample--that AWS WAF randomly selects from among the first 5,000
|
2806
3423
|
# requests that your AWS resource received during a time range that you
|
@@ -2814,6 +3431,11 @@ module Aws::WAFRegional
|
|
2814
3431
|
# range. This new time range indicates the actual period during which
|
2815
3432
|
# AWS WAF selected the requests in the sample.
|
2816
3433
|
#
|
3434
|
+
#
|
3435
|
+
#
|
3436
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3437
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3438
|
+
#
|
2817
3439
|
# @option params [required, String] :web_acl_id
|
2818
3440
|
# The `WebACLId` of the `WebACL` for which you want `GetSampledRequests`
|
2819
3441
|
# to return a sample of requests.
|
@@ -2832,7 +3454,8 @@ module Aws::WAFRegional
|
|
2832
3454
|
# @option params [required, Types::TimeWindow] :time_window
|
2833
3455
|
# The start date and time and the end date and time of the range for
|
2834
3456
|
# which you want `GetSampledRequests` to return a sample of requests.
|
2835
|
-
#
|
3457
|
+
# You must specify the times in Coordinated Universal Time (UTC) format.
|
3458
|
+
# UTC format includes the special designator, `Z`. For example,
|
2836
3459
|
# `"2016-09-27T14:50Z"`. You can specify any time range in the previous
|
2837
3460
|
# three hours.
|
2838
3461
|
#
|
@@ -2934,8 +3557,22 @@ module Aws::WAFRegional
|
|
2934
3557
|
req.send_request(options)
|
2935
3558
|
end
|
2936
3559
|
|
3560
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3561
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3562
|
+
#
|
3563
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3564
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3565
|
+
# a single set of endpoints for regional and global use.
|
3566
|
+
#
|
3567
|
+
# </note>
|
3568
|
+
#
|
2937
3569
|
# Returns the SizeConstraintSet specified by `SizeConstraintSetId`.
|
2938
3570
|
#
|
3571
|
+
#
|
3572
|
+
#
|
3573
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3574
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3575
|
+
#
|
2939
3576
|
# @option params [required, String] :size_constraint_set_id
|
2940
3577
|
# The `SizeConstraintSetId` of the SizeConstraintSet that you want to
|
2941
3578
|
# get. `SizeConstraintSetId` is returned by CreateSizeConstraintSet and
|
@@ -2999,9 +3636,23 @@ module Aws::WAFRegional
|
|
2999
3636
|
req.send_request(options)
|
3000
3637
|
end
|
3001
3638
|
|
3639
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3640
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3641
|
+
#
|
3642
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3643
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3644
|
+
# a single set of endpoints for regional and global use.
|
3645
|
+
#
|
3646
|
+
# </note>
|
3647
|
+
#
|
3002
3648
|
# Returns the SqlInjectionMatchSet that is specified by
|
3003
3649
|
# `SqlInjectionMatchSetId`.
|
3004
3650
|
#
|
3651
|
+
#
|
3652
|
+
#
|
3653
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3654
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3655
|
+
#
|
3005
3656
|
# @option params [required, String] :sql_injection_match_set_id
|
3006
3657
|
# The `SqlInjectionMatchSetId` of the SqlInjectionMatchSet that you want
|
3007
3658
|
# to get. `SqlInjectionMatchSetId` is returned by
|
@@ -3061,8 +3712,22 @@ module Aws::WAFRegional
|
|
3061
3712
|
req.send_request(options)
|
3062
3713
|
end
|
3063
3714
|
|
3715
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3716
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3717
|
+
#
|
3718
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3719
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3720
|
+
# a single set of endpoints for regional and global use.
|
3721
|
+
#
|
3722
|
+
# </note>
|
3723
|
+
#
|
3064
3724
|
# Returns the WebACL that is specified by `WebACLId`.
|
3065
3725
|
#
|
3726
|
+
#
|
3727
|
+
#
|
3728
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3729
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3730
|
+
#
|
3066
3731
|
# @option params [required, String] :web_acl_id
|
3067
3732
|
# The `WebACLId` of the WebACL that you want to get. `WebACLId` is
|
3068
3733
|
# returned by CreateWebACL and by ListWebACLs.
|
@@ -3132,9 +3797,23 @@ module Aws::WAFRegional
|
|
3132
3797
|
req.send_request(options)
|
3133
3798
|
end
|
3134
3799
|
|
3800
|
+
# <note markdown="1"> This is **AWS WAF Classic Regional** documentation. For more
|
3801
|
+
# information, see [AWS WAF Classic][1] in the developer guide.
|
3802
|
+
#
|
3803
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3804
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3805
|
+
# a single set of endpoints for regional and global use.
|
3806
|
+
#
|
3807
|
+
# </note>
|
3808
|
+
#
|
3135
3809
|
# Returns the web ACL for the specified resource, either an application
|
3136
3810
|
# load balancer or Amazon API Gateway stage.
|
3137
3811
|
#
|
3812
|
+
#
|
3813
|
+
#
|
3814
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3815
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3816
|
+
#
|
3138
3817
|
# @option params [required, String] :resource_arn
|
3139
3818
|
# The ARN (Amazon Resource Name) of the resource for which to get the
|
3140
3819
|
# web ACL, either an application load balancer or Amazon API Gateway
|
@@ -3173,8 +3852,22 @@ module Aws::WAFRegional
|
|
3173
3852
|
req.send_request(options)
|
3174
3853
|
end
|
3175
3854
|
|
3855
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3856
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3857
|
+
#
|
3858
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3859
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3860
|
+
# a single set of endpoints for regional and global use.
|
3861
|
+
#
|
3862
|
+
# </note>
|
3863
|
+
#
|
3176
3864
|
# Returns the XssMatchSet that is specified by `XssMatchSetId`.
|
3177
3865
|
#
|
3866
|
+
#
|
3867
|
+
#
|
3868
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3869
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3870
|
+
#
|
3178
3871
|
# @option params [required, String] :xss_match_set_id
|
3179
3872
|
# The `XssMatchSetId` of the XssMatchSet that you want to get.
|
3180
3873
|
# `XssMatchSetId` is returned by CreateXssMatchSet and by
|
@@ -3233,8 +3926,22 @@ module Aws::WAFRegional
|
|
3233
3926
|
req.send_request(options)
|
3234
3927
|
end
|
3235
3928
|
|
3929
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3930
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3931
|
+
#
|
3932
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3933
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3934
|
+
# a single set of endpoints for regional and global use.
|
3935
|
+
#
|
3936
|
+
# </note>
|
3937
|
+
#
|
3236
3938
|
# Returns an array of ActivatedRule objects.
|
3237
3939
|
#
|
3940
|
+
#
|
3941
|
+
#
|
3942
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3943
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3944
|
+
#
|
3238
3945
|
# @option params [String] :rule_group_id
|
3239
3946
|
# The `RuleGroupId` of the RuleGroup for which you want to get a list of
|
3240
3947
|
# ActivatedRule objects.
|
@@ -3288,8 +3995,22 @@ module Aws::WAFRegional
|
|
3288
3995
|
req.send_request(options)
|
3289
3996
|
end
|
3290
3997
|
|
3998
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3999
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4000
|
+
#
|
4001
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4002
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4003
|
+
# a single set of endpoints for regional and global use.
|
4004
|
+
#
|
4005
|
+
# </note>
|
4006
|
+
#
|
3291
4007
|
# Returns an array of ByteMatchSetSummary objects.
|
3292
4008
|
#
|
4009
|
+
#
|
4010
|
+
#
|
4011
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4012
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4013
|
+
#
|
3293
4014
|
# @option params [String] :next_marker
|
3294
4015
|
# If you specify a value for `Limit` and you have more `ByteMatchSets`
|
3295
4016
|
# than the value of `Limit`, AWS WAF returns a `NextMarker` value in the
|
@@ -3333,8 +4054,22 @@ module Aws::WAFRegional
|
|
3333
4054
|
req.send_request(options)
|
3334
4055
|
end
|
3335
4056
|
|
4057
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4058
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4059
|
+
#
|
4060
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4061
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4062
|
+
# a single set of endpoints for regional and global use.
|
4063
|
+
#
|
4064
|
+
# </note>
|
4065
|
+
#
|
3336
4066
|
# Returns an array of GeoMatchSetSummary objects in the response.
|
3337
4067
|
#
|
4068
|
+
#
|
4069
|
+
#
|
4070
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4071
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4072
|
+
#
|
3338
4073
|
# @option params [String] :next_marker
|
3339
4074
|
# If you specify a value for `Limit` and you have more `GeoMatchSet`s
|
3340
4075
|
# than the value of `Limit`, AWS WAF returns a `NextMarker` value in the
|
@@ -3378,8 +4113,22 @@ module Aws::WAFRegional
|
|
3378
4113
|
req.send_request(options)
|
3379
4114
|
end
|
3380
4115
|
|
4116
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4117
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4118
|
+
#
|
4119
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4120
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4121
|
+
# a single set of endpoints for regional and global use.
|
4122
|
+
#
|
4123
|
+
# </note>
|
4124
|
+
#
|
3381
4125
|
# Returns an array of IPSetSummary objects in the response.
|
3382
4126
|
#
|
4127
|
+
#
|
4128
|
+
#
|
4129
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4130
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4131
|
+
#
|
3383
4132
|
# @option params [String] :next_marker
|
3384
4133
|
# AWS WAF returns a `NextMarker` value in the response that allows you
|
3385
4134
|
# to list another group of `IPSets`. For the second and subsequent
|
@@ -3439,8 +4188,22 @@ module Aws::WAFRegional
|
|
3439
4188
|
req.send_request(options)
|
3440
4189
|
end
|
3441
4190
|
|
4191
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4192
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4193
|
+
#
|
4194
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4195
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4196
|
+
# a single set of endpoints for regional and global use.
|
4197
|
+
#
|
4198
|
+
# </note>
|
4199
|
+
#
|
3442
4200
|
# Returns an array of LoggingConfiguration objects.
|
3443
4201
|
#
|
4202
|
+
#
|
4203
|
+
#
|
4204
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4205
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4206
|
+
#
|
3444
4207
|
# @option params [String] :next_marker
|
3445
4208
|
# If you specify a value for `Limit` and you have more
|
3446
4209
|
# `LoggingConfigurations` than the value of `Limit`, AWS WAF returns a
|
@@ -3489,8 +4252,22 @@ module Aws::WAFRegional
|
|
3489
4252
|
req.send_request(options)
|
3490
4253
|
end
|
3491
4254
|
|
4255
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4256
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4257
|
+
#
|
4258
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4259
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4260
|
+
# a single set of endpoints for regional and global use.
|
4261
|
+
#
|
4262
|
+
# </note>
|
4263
|
+
#
|
3492
4264
|
# Returns an array of RuleSummary objects.
|
3493
4265
|
#
|
4266
|
+
#
|
4267
|
+
#
|
4268
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4269
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4270
|
+
#
|
3494
4271
|
# @option params [String] :next_marker
|
3495
4272
|
# If you specify a value for `Limit` and you have more `Rules` than the
|
3496
4273
|
# value of `Limit`, AWS WAF returns a `NextMarker` value in the response
|
@@ -3533,8 +4310,22 @@ module Aws::WAFRegional
|
|
3533
4310
|
req.send_request(options)
|
3534
4311
|
end
|
3535
4312
|
|
4313
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4314
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4315
|
+
#
|
4316
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4317
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4318
|
+
# a single set of endpoints for regional and global use.
|
4319
|
+
#
|
4320
|
+
# </note>
|
4321
|
+
#
|
3536
4322
|
# Returns an array of RegexMatchSetSummary objects.
|
3537
4323
|
#
|
4324
|
+
#
|
4325
|
+
#
|
4326
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4327
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4328
|
+
#
|
3538
4329
|
# @option params [String] :next_marker
|
3539
4330
|
# If you specify a value for `Limit` and you have more `RegexMatchSet`
|
3540
4331
|
# objects than the value of `Limit`, AWS WAF returns a `NextMarker`
|
@@ -3578,8 +4369,22 @@ module Aws::WAFRegional
|
|
3578
4369
|
req.send_request(options)
|
3579
4370
|
end
|
3580
4371
|
|
4372
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4373
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4374
|
+
#
|
4375
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4376
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4377
|
+
# a single set of endpoints for regional and global use.
|
4378
|
+
#
|
4379
|
+
# </note>
|
4380
|
+
#
|
3581
4381
|
# Returns an array of RegexPatternSetSummary objects.
|
3582
4382
|
#
|
4383
|
+
#
|
4384
|
+
#
|
4385
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4386
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4387
|
+
#
|
3583
4388
|
# @option params [String] :next_marker
|
3584
4389
|
# If you specify a value for `Limit` and you have more `RegexPatternSet`
|
3585
4390
|
# objects than the value of `Limit`, AWS WAF returns a `NextMarker`
|
@@ -3624,8 +4429,22 @@ module Aws::WAFRegional
|
|
3624
4429
|
req.send_request(options)
|
3625
4430
|
end
|
3626
4431
|
|
4432
|
+
# <note markdown="1"> This is **AWS WAF Classic Regional** documentation. For more
|
4433
|
+
# information, see [AWS WAF Classic][1] in the developer guide.
|
4434
|
+
#
|
4435
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4436
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4437
|
+
# a single set of endpoints for regional and global use.
|
4438
|
+
#
|
4439
|
+
# </note>
|
4440
|
+
#
|
3627
4441
|
# Returns an array of resources associated with the specified web ACL.
|
3628
4442
|
#
|
4443
|
+
#
|
4444
|
+
#
|
4445
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4446
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4447
|
+
#
|
3629
4448
|
# @option params [required, String] :web_acl_id
|
3630
4449
|
# The unique identifier (ID) of the web ACL for which to list the
|
3631
4450
|
# associated resources.
|
@@ -3659,8 +4478,22 @@ module Aws::WAFRegional
|
|
3659
4478
|
req.send_request(options)
|
3660
4479
|
end
|
3661
4480
|
|
4481
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4482
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4483
|
+
#
|
4484
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4485
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4486
|
+
# a single set of endpoints for regional and global use.
|
4487
|
+
#
|
4488
|
+
# </note>
|
4489
|
+
#
|
3662
4490
|
# Returns an array of RuleGroup objects.
|
3663
4491
|
#
|
4492
|
+
#
|
4493
|
+
#
|
4494
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4495
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4496
|
+
#
|
3664
4497
|
# @option params [String] :next_marker
|
3665
4498
|
# If you specify a value for `Limit` and you have more `RuleGroups` than
|
3666
4499
|
# the value of `Limit`, AWS WAF returns a `NextMarker` value in the
|
@@ -3703,8 +4536,22 @@ module Aws::WAFRegional
|
|
3703
4536
|
req.send_request(options)
|
3704
4537
|
end
|
3705
4538
|
|
4539
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4540
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4541
|
+
#
|
4542
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4543
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4544
|
+
# a single set of endpoints for regional and global use.
|
4545
|
+
#
|
4546
|
+
# </note>
|
4547
|
+
#
|
3706
4548
|
# Returns an array of RuleSummary objects.
|
3707
4549
|
#
|
4550
|
+
#
|
4551
|
+
#
|
4552
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4553
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4554
|
+
#
|
3708
4555
|
# @option params [String] :next_marker
|
3709
4556
|
# If you specify a value for `Limit` and you have more `Rules` than the
|
3710
4557
|
# value of `Limit`, AWS WAF returns a `NextMarker` value in the response
|
@@ -3766,8 +4613,22 @@ module Aws::WAFRegional
|
|
3766
4613
|
req.send_request(options)
|
3767
4614
|
end
|
3768
4615
|
|
4616
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4617
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4618
|
+
#
|
4619
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4620
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4621
|
+
# a single set of endpoints for regional and global use.
|
4622
|
+
#
|
4623
|
+
# </note>
|
4624
|
+
#
|
3769
4625
|
# Returns an array of SizeConstraintSetSummary objects.
|
3770
4626
|
#
|
4627
|
+
#
|
4628
|
+
#
|
4629
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4630
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4631
|
+
#
|
3771
4632
|
# @option params [String] :next_marker
|
3772
4633
|
# If you specify a value for `Limit` and you have more
|
3773
4634
|
# `SizeConstraintSets` than the value of `Limit`, AWS WAF returns a
|
@@ -3831,8 +4692,22 @@ module Aws::WAFRegional
|
|
3831
4692
|
req.send_request(options)
|
3832
4693
|
end
|
3833
4694
|
|
4695
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4696
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4697
|
+
#
|
4698
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4699
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4700
|
+
# a single set of endpoints for regional and global use.
|
4701
|
+
#
|
4702
|
+
# </note>
|
4703
|
+
#
|
3834
4704
|
# Returns an array of SqlInjectionMatchSet objects.
|
3835
4705
|
#
|
4706
|
+
#
|
4707
|
+
#
|
4708
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4709
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4710
|
+
#
|
3836
4711
|
# @option params [String] :next_marker
|
3837
4712
|
# If you specify a value for `Limit` and you have more
|
3838
4713
|
# SqlInjectionMatchSet objects than the value of `Limit`, AWS WAF
|
@@ -3896,8 +4771,22 @@ module Aws::WAFRegional
|
|
3896
4771
|
req.send_request(options)
|
3897
4772
|
end
|
3898
4773
|
|
4774
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4775
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4776
|
+
#
|
4777
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4778
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4779
|
+
# a single set of endpoints for regional and global use.
|
4780
|
+
#
|
4781
|
+
# </note>
|
4782
|
+
#
|
3899
4783
|
# Returns an array of RuleGroup objects that you are subscribed to.
|
3900
4784
|
#
|
4785
|
+
#
|
4786
|
+
#
|
4787
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4788
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4789
|
+
#
|
3901
4790
|
# @option params [String] :next_marker
|
3902
4791
|
# If you specify a value for `Limit` and you have more
|
3903
4792
|
# `ByteMatchSets`subscribed rule groups than the value of `Limit`, AWS
|
@@ -3942,6 +4831,32 @@ module Aws::WAFRegional
|
|
3942
4831
|
req.send_request(options)
|
3943
4832
|
end
|
3944
4833
|
|
4834
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4835
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4836
|
+
#
|
4837
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4838
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4839
|
+
# a single set of endpoints for regional and global use.
|
4840
|
+
#
|
4841
|
+
# </note>
|
4842
|
+
#
|
4843
|
+
# Retrieves the tags associated with the specified AWS resource. Tags
|
4844
|
+
# are key:value pairs that you can use to categorize and manage your
|
4845
|
+
# resources, for purposes like billing. For example, you might set the
|
4846
|
+
# tag key to "customer" and the value to the customer name or ID. You
|
4847
|
+
# can specify one or more tags to add to each AWS resource, up to 50
|
4848
|
+
# tags for a resource.
|
4849
|
+
#
|
4850
|
+
# Tagging is only available through the API, SDKs, and CLI. You can't
|
4851
|
+
# manage or view tags through the AWS WAF Classic console. You can tag
|
4852
|
+
# the AWS resources that you manage through AWS WAF Classic: web ACLs,
|
4853
|
+
# rule groups, and rules.
|
4854
|
+
#
|
4855
|
+
#
|
4856
|
+
#
|
4857
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4858
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4859
|
+
#
|
3945
4860
|
# @option params [String] :next_marker
|
3946
4861
|
#
|
3947
4862
|
# @option params [Integer] :limit
|
@@ -3978,8 +4893,22 @@ module Aws::WAFRegional
|
|
3978
4893
|
req.send_request(options)
|
3979
4894
|
end
|
3980
4895
|
|
4896
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4897
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4898
|
+
#
|
4899
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4900
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4901
|
+
# a single set of endpoints for regional and global use.
|
4902
|
+
#
|
4903
|
+
# </note>
|
4904
|
+
#
|
3981
4905
|
# Returns an array of WebACLSummary objects in the response.
|
3982
4906
|
#
|
4907
|
+
#
|
4908
|
+
#
|
4909
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4910
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4911
|
+
#
|
3983
4912
|
# @option params [String] :next_marker
|
3984
4913
|
# If you specify a value for `Limit` and you have more `WebACL` objects
|
3985
4914
|
# than the number that you specify for `Limit`, AWS WAF returns a
|
@@ -4042,8 +4971,22 @@ module Aws::WAFRegional
|
|
4042
4971
|
req.send_request(options)
|
4043
4972
|
end
|
4044
4973
|
|
4974
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4975
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4976
|
+
#
|
4977
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4978
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4979
|
+
# a single set of endpoints for regional and global use.
|
4980
|
+
#
|
4981
|
+
# </note>
|
4982
|
+
#
|
4045
4983
|
# Returns an array of XssMatchSet objects.
|
4046
4984
|
#
|
4985
|
+
#
|
4986
|
+
#
|
4987
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4988
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4989
|
+
#
|
4047
4990
|
# @option params [String] :next_marker
|
4048
4991
|
# If you specify a value for `Limit` and you have more XssMatchSet
|
4049
4992
|
# objects than the value of `Limit`, AWS WAF returns a `NextMarker`
|
@@ -4105,6 +5048,15 @@ module Aws::WAFRegional
|
|
4105
5048
|
req.send_request(options)
|
4106
5049
|
end
|
4107
5050
|
|
5051
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5052
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5053
|
+
#
|
5054
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5055
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5056
|
+
# a single set of endpoints for regional and global use.
|
5057
|
+
#
|
5058
|
+
# </note>
|
5059
|
+
#
|
4108
5060
|
# Associates a LoggingConfiguration with a specified web ACL.
|
4109
5061
|
#
|
4110
5062
|
# You can access information about all traffic that AWS WAF inspects
|
@@ -4127,12 +5079,14 @@ module Aws::WAFRegional
|
|
4127
5079
|
# When you successfully enable logging using a `PutLoggingConfiguration`
|
4128
5080
|
# request, AWS WAF will create a service linked role with the necessary
|
4129
5081
|
# permissions to write logs to the Amazon Kinesis Data Firehose. For
|
4130
|
-
# more information, see [Logging Web ACL Traffic Information][
|
5082
|
+
# more information, see [Logging Web ACL Traffic Information][3] in the
|
4131
5083
|
# *AWS WAF Developer Guide*.
|
4132
5084
|
#
|
4133
5085
|
#
|
4134
5086
|
#
|
4135
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5087
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5088
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5089
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/logging.html
|
4136
5090
|
#
|
4137
5091
|
# @option params [required, Types::LoggingConfiguration] :logging_configuration
|
4138
5092
|
# The Amazon Kinesis Data Firehose that contains the inspected traffic
|
@@ -4181,7 +5135,16 @@ module Aws::WAFRegional
|
|
4181
5135
|
req.send_request(options)
|
4182
5136
|
end
|
4183
5137
|
|
4184
|
-
#
|
5138
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5139
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5140
|
+
#
|
5141
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5142
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5143
|
+
# a single set of endpoints for regional and global use.
|
5144
|
+
#
|
5145
|
+
# </note>
|
5146
|
+
#
|
5147
|
+
# Attaches an IAM policy to the specified resource. The only supported
|
4185
5148
|
# use for this action is to share a RuleGroup across accounts.
|
4186
5149
|
#
|
4187
5150
|
# The `PutPermissionPolicy` is subject to the following restrictions:
|
@@ -4207,14 +5170,16 @@ module Aws::WAFRegional
|
|
4207
5170
|
#
|
4208
5171
|
# * Your policy must be composed using IAM Policy version 2012-10-17.
|
4209
5172
|
#
|
4210
|
-
# For more information, see [IAM Policies][
|
5173
|
+
# For more information, see [IAM Policies][3].
|
4211
5174
|
#
|
4212
5175
|
# An example of a valid policy parameter is shown in the Examples
|
4213
5176
|
# section below.
|
4214
5177
|
#
|
4215
5178
|
#
|
4216
5179
|
#
|
4217
|
-
# [1]: https://docs.aws.amazon.com/
|
5180
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5181
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5182
|
+
# [3]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html
|
4218
5183
|
#
|
4219
5184
|
# @option params [required, String] :resource_arn
|
4220
5185
|
# The Amazon Resource Name (ARN) of the RuleGroup to which you want to
|
@@ -4241,6 +5206,32 @@ module Aws::WAFRegional
|
|
4241
5206
|
req.send_request(options)
|
4242
5207
|
end
|
4243
5208
|
|
5209
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5210
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5211
|
+
#
|
5212
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5213
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5214
|
+
# a single set of endpoints for regional and global use.
|
5215
|
+
#
|
5216
|
+
# </note>
|
5217
|
+
#
|
5218
|
+
# Associates tags with the specified AWS resource. Tags are key:value
|
5219
|
+
# pairs that you can use to categorize and manage your resources, for
|
5220
|
+
# purposes like billing. For example, you might set the tag key to
|
5221
|
+
# "customer" and the value to the customer name or ID. You can specify
|
5222
|
+
# one or more tags to add to each AWS resource, up to 50 tags for a
|
5223
|
+
# resource.
|
5224
|
+
#
|
5225
|
+
# Tagging is only available through the API, SDKs, and CLI. You can't
|
5226
|
+
# manage or view tags through the AWS WAF Classic console. You can use
|
5227
|
+
# this action to tag the AWS resources that you manage through AWS WAF
|
5228
|
+
# Classic: web ACLs, rule groups, and rules.
|
5229
|
+
#
|
5230
|
+
#
|
5231
|
+
#
|
5232
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5233
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5234
|
+
#
|
4244
5235
|
# @option params [required, String] :resource_arn
|
4245
5236
|
#
|
4246
5237
|
# @option params [required, Array<Types::Tag>] :tags
|
@@ -4253,8 +5244,8 @@ module Aws::WAFRegional
|
|
4253
5244
|
# resource_arn: "ResourceArn", # required
|
4254
5245
|
# tags: [ # required
|
4255
5246
|
# {
|
4256
|
-
# key: "TagKey",
|
4257
|
-
# value: "TagValue",
|
5247
|
+
# key: "TagKey", # required
|
5248
|
+
# value: "TagValue", # required
|
4258
5249
|
# },
|
4259
5250
|
# ],
|
4260
5251
|
# })
|
@@ -4268,6 +5259,22 @@ module Aws::WAFRegional
|
|
4268
5259
|
req.send_request(options)
|
4269
5260
|
end
|
4270
5261
|
|
5262
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5263
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5264
|
+
#
|
5265
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5266
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5267
|
+
# a single set of endpoints for regional and global use.
|
5268
|
+
#
|
5269
|
+
# </note>
|
5270
|
+
#
|
5271
|
+
#
|
5272
|
+
#
|
5273
|
+
#
|
5274
|
+
#
|
5275
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5276
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5277
|
+
#
|
4271
5278
|
# @option params [required, String] :resource_arn
|
4272
5279
|
#
|
4273
5280
|
# @option params [required, Array<String>] :tag_keys
|
@@ -4290,6 +5297,15 @@ module Aws::WAFRegional
|
|
4290
5297
|
req.send_request(options)
|
4291
5298
|
end
|
4292
5299
|
|
5300
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5301
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5302
|
+
#
|
5303
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5304
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5305
|
+
# a single set of endpoints for regional and global use.
|
5306
|
+
#
|
5307
|
+
# </note>
|
5308
|
+
#
|
4293
5309
|
# Inserts or deletes ByteMatchTuple objects (filters) in a ByteMatchSet.
|
4294
5310
|
# For each `ByteMatchTuple` object, you specify the following values:
|
4295
5311
|
#
|
@@ -4329,11 +5345,13 @@ module Aws::WAFRegional
|
|
4329
5345
|
# or the URI) and the value that you want AWS WAF to watch for.
|
4330
5346
|
#
|
4331
5347
|
# For more information about how to use the AWS WAF API to allow or
|
4332
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5348
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4333
5349
|
#
|
4334
5350
|
#
|
4335
5351
|
#
|
4336
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5352
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5353
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5354
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4337
5355
|
#
|
4338
5356
|
# @option params [required, String] :byte_match_set_id
|
4339
5357
|
# The `ByteMatchSetId` of the ByteMatchSet that you want to update.
|
@@ -4423,6 +5441,15 @@ module Aws::WAFRegional
|
|
4423
5441
|
req.send_request(options)
|
4424
5442
|
end
|
4425
5443
|
|
5444
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5445
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5446
|
+
#
|
5447
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5448
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5449
|
+
# a single set of endpoints for regional and global use.
|
5450
|
+
#
|
5451
|
+
# </note>
|
5452
|
+
#
|
4426
5453
|
# Inserts or deletes GeoMatchConstraint objects in an `GeoMatchSet`. For
|
4427
5454
|
# each `GeoMatchConstraint` object, you specify the following values:
|
4428
5455
|
#
|
@@ -4451,11 +5478,13 @@ module Aws::WAFRegional
|
|
4451
5478
|
# change a country, you delete the existing country and add the new one.
|
4452
5479
|
#
|
4453
5480
|
# For more information about how to use the AWS WAF API to allow or
|
4454
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5481
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4455
5482
|
#
|
4456
5483
|
#
|
4457
5484
|
#
|
4458
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5485
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5486
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5487
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4459
5488
|
#
|
4460
5489
|
# @option params [required, String] :geo_match_set_id
|
4461
5490
|
# The `GeoMatchSetId` of the GeoMatchSet that you want to update.
|
@@ -4511,6 +5540,15 @@ module Aws::WAFRegional
|
|
4511
5540
|
req.send_request(options)
|
4512
5541
|
end
|
4513
5542
|
|
5543
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5544
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5545
|
+
#
|
5546
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5547
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5548
|
+
# a single set of endpoints for regional and global use.
|
5549
|
+
#
|
5550
|
+
# </note>
|
5551
|
+
#
|
4514
5552
|
# Inserts or deletes IPSetDescriptor objects in an `IPSet`. For each
|
4515
5553
|
# `IPSetDescriptor` object, you specify the following values:
|
4516
5554
|
#
|
@@ -4527,7 +5565,7 @@ module Aws::WAFRegional
|
|
4527
5565
|
# AWS WAF supports IPv4 address ranges: /8 and any range between /16
|
4528
5566
|
# through /32. AWS WAF supports IPv6 address ranges: /24, /32, /48, /56,
|
4529
5567
|
# /64, and /128. For more information about CIDR notation, see the
|
4530
|
-
# Wikipedia entry [Classless Inter-Domain Routing][
|
5568
|
+
# Wikipedia entry [Classless Inter-Domain Routing][3].
|
4531
5569
|
#
|
4532
5570
|
# IPv6 addresses can be represented using any of the following formats:
|
4533
5571
|
#
|
@@ -4564,12 +5602,14 @@ module Aws::WAFRegional
|
|
4564
5602
|
# You can insert a maximum of 1000 addresses in a single request.
|
4565
5603
|
#
|
4566
5604
|
# For more information about how to use the AWS WAF API to allow or
|
4567
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5605
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][4].
|
4568
5606
|
#
|
4569
5607
|
#
|
4570
5608
|
#
|
4571
|
-
# [1]: https://
|
4572
|
-
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5609
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5610
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5611
|
+
# [3]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
|
5612
|
+
# [4]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4573
5613
|
#
|
4574
5614
|
# @option params [required, String] :ip_set_id
|
4575
5615
|
# The `IPSetId` of the IPSet that you want to update. `IPSetId` is
|
@@ -4647,6 +5687,15 @@ module Aws::WAFRegional
|
|
4647
5687
|
req.send_request(options)
|
4648
5688
|
end
|
4649
5689
|
|
5690
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5691
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5692
|
+
#
|
5693
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5694
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5695
|
+
# a single set of endpoints for regional and global use.
|
5696
|
+
#
|
5697
|
+
# </note>
|
5698
|
+
#
|
4650
5699
|
# Inserts or deletes Predicate objects in a rule and updates the
|
4651
5700
|
# `RateLimit` in the rule.
|
4652
5701
|
#
|
@@ -4664,14 +5713,14 @@ module Aws::WAFRegional
|
|
4664
5713
|
#
|
4665
5714
|
# * A `ByteMatchSet` that matches `BadBot` in the `User-Agent` header
|
4666
5715
|
#
|
4667
|
-
# Further, you specify a `RateLimit` of
|
5716
|
+
# Further, you specify a `RateLimit` of 1,000.
|
4668
5717
|
#
|
4669
5718
|
# You then add the `RateBasedRule` to a `WebACL` and specify that you
|
4670
5719
|
# want to block requests that satisfy the rule. For a request to be
|
4671
5720
|
# blocked, it must come from the IP address 192.0.2.44 *and* the
|
4672
5721
|
# `User-Agent` header in the request must contain the value `BadBot`.
|
4673
5722
|
# Further, requests that match these two conditions much be received at
|
4674
|
-
# a rate of more than
|
5723
|
+
# a rate of more than 1,000 every five minutes. If the rate drops below
|
4675
5724
|
# this limit, AWS WAF no longer blocks the requests.
|
4676
5725
|
#
|
4677
5726
|
# As a second example, suppose you want to limit requests to a
|
@@ -4684,11 +5733,16 @@ module Aws::WAFRegional
|
|
4684
5733
|
#
|
4685
5734
|
# * A `TargetString` of `login`
|
4686
5735
|
#
|
4687
|
-
# Further, you specify a `RateLimit` of
|
5736
|
+
# Further, you specify a `RateLimit` of 1,000.
|
4688
5737
|
#
|
4689
5738
|
# By adding this `RateBasedRule` to a `WebACL`, you could limit requests
|
4690
5739
|
# to your login page without affecting the rest of your site.
|
4691
5740
|
#
|
5741
|
+
#
|
5742
|
+
#
|
5743
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5744
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5745
|
+
#
|
4692
5746
|
# @option params [required, String] :rule_id
|
4693
5747
|
# The `RuleId` of the `RateBasedRule` that you want to update. `RuleId`
|
4694
5748
|
# is returned by `CreateRateBasedRule` and by ListRateBasedRules.
|
@@ -4742,6 +5796,15 @@ module Aws::WAFRegional
|
|
4742
5796
|
req.send_request(options)
|
4743
5797
|
end
|
4744
5798
|
|
5799
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5800
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5801
|
+
#
|
5802
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5803
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5804
|
+
# a single set of endpoints for regional and global use.
|
5805
|
+
#
|
5806
|
+
# </note>
|
5807
|
+
#
|
4745
5808
|
# Inserts or deletes RegexMatchTuple objects (filters) in a
|
4746
5809
|
# RegexMatchSet. For each `RegexMatchSetUpdate` object, you specify the
|
4747
5810
|
# following values:
|
@@ -4781,11 +5844,13 @@ module Aws::WAFRegional
|
|
4781
5844
|
# for.
|
4782
5845
|
#
|
4783
5846
|
# For more information about how to use the AWS WAF API to allow or
|
4784
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5847
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4785
5848
|
#
|
4786
5849
|
#
|
4787
5850
|
#
|
4788
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5851
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5852
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5853
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4789
5854
|
#
|
4790
5855
|
# @option params [required, String] :regex_match_set_id
|
4791
5856
|
# The `RegexMatchSetId` of the RegexMatchSet that you want to update.
|
@@ -4837,6 +5902,15 @@ module Aws::WAFRegional
|
|
4837
5902
|
req.send_request(options)
|
4838
5903
|
end
|
4839
5904
|
|
5905
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5906
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5907
|
+
#
|
5908
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5909
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5910
|
+
# a single set of endpoints for regional and global use.
|
5911
|
+
#
|
5912
|
+
# </note>
|
5913
|
+
#
|
4840
5914
|
# Inserts or deletes `RegexPatternString` objects in a RegexPatternSet.
|
4841
5915
|
# For each `RegexPatternString` object, you specify the following
|
4842
5916
|
# values:
|
@@ -4870,11 +5944,13 @@ module Aws::WAFRegional
|
|
4870
5944
|
# expression pattern that you want AWS WAF to watch for.
|
4871
5945
|
#
|
4872
5946
|
# For more information about how to use the AWS WAF API to allow or
|
4873
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5947
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4874
5948
|
#
|
4875
5949
|
#
|
4876
5950
|
#
|
4877
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5951
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5952
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5953
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4878
5954
|
#
|
4879
5955
|
# @option params [required, String] :regex_pattern_set_id
|
4880
5956
|
# The `RegexPatternSetId` of the RegexPatternSet that you want to
|
@@ -4918,6 +5994,15 @@ module Aws::WAFRegional
|
|
4918
5994
|
req.send_request(options)
|
4919
5995
|
end
|
4920
5996
|
|
5997
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5998
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5999
|
+
#
|
6000
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
6001
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
6002
|
+
# a single set of endpoints for regional and global use.
|
6003
|
+
#
|
6004
|
+
# </note>
|
6005
|
+
#
|
4921
6006
|
# Inserts or deletes Predicate objects in a `Rule`. Each `Predicate`
|
4922
6007
|
# object identifies a predicate, such as a ByteMatchSet or an IPSet,
|
4923
6008
|
# that specifies the web requests that you want to allow, block, or
|
@@ -4954,11 +6039,13 @@ module Aws::WAFRegional
|
|
4954
6039
|
# delete the existing one and add the new one.
|
4955
6040
|
#
|
4956
6041
|
# For more information about how to use the AWS WAF API to allow or
|
4957
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
6042
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4958
6043
|
#
|
4959
6044
|
#
|
4960
6045
|
#
|
4961
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
6046
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6047
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6048
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4962
6049
|
#
|
4963
6050
|
# @option params [required, String] :rule_id
|
4964
6051
|
# The `RuleId` of the `Rule` that you want to update. `RuleId` is
|
@@ -5037,6 +6124,15 @@ module Aws::WAFRegional
|
|
5037
6124
|
req.send_request(options)
|
5038
6125
|
end
|
5039
6126
|
|
6127
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
6128
|
+
# [AWS WAF Classic][1] in the developer guide.
|
6129
|
+
#
|
6130
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
6131
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
6132
|
+
# a single set of endpoints for regional and global use.
|
6133
|
+
#
|
6134
|
+
# </note>
|
6135
|
+
#
|
5040
6136
|
# Inserts or deletes ActivatedRule objects in a `RuleGroup`.
|
5041
6137
|
#
|
5042
6138
|
# You can only insert `REGULAR` rules into a rule group.
|
@@ -5061,11 +6157,13 @@ module Aws::WAFRegional
|
|
5061
6157
|
# existing one and add the new one.
|
5062
6158
|
#
|
5063
6159
|
# For more information about how to use the AWS WAF API to allow or
|
5064
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
6160
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
5065
6161
|
#
|
5066
6162
|
#
|
5067
6163
|
#
|
5068
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
6164
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6165
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6166
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5069
6167
|
#
|
5070
6168
|
# @option params [required, String] :rule_group_id
|
5071
6169
|
# The `RuleGroupId` of the RuleGroup that you want to update.
|
@@ -5131,6 +6229,15 @@ module Aws::WAFRegional
|
|
5131
6229
|
req.send_request(options)
|
5132
6230
|
end
|
5133
6231
|
|
6232
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
6233
|
+
# [AWS WAF Classic][1] in the developer guide.
|
6234
|
+
#
|
6235
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
6236
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
6237
|
+
# a single set of endpoints for regional and global use.
|
6238
|
+
#
|
6239
|
+
# </note>
|
6240
|
+
#
|
5134
6241
|
# Inserts or deletes SizeConstraint objects (filters) in a
|
5135
6242
|
# SizeConstraintSet. For each `SizeConstraint` object, you specify the
|
5136
6243
|
# following values:
|
@@ -5179,11 +6286,13 @@ module Aws::WAFRegional
|
|
5179
6286
|
# for.
|
5180
6287
|
#
|
5181
6288
|
# For more information about how to use the AWS WAF API to allow or
|
5182
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
6289
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
5183
6290
|
#
|
5184
6291
|
#
|
5185
6292
|
#
|
5186
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
6293
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6294
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6295
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5187
6296
|
#
|
5188
6297
|
# @option params [required, String] :size_constraint_set_id
|
5189
6298
|
# The `SizeConstraintSetId` of the SizeConstraintSet that you want to
|
@@ -5272,6 +6381,15 @@ module Aws::WAFRegional
|
|
5272
6381
|
req.send_request(options)
|
5273
6382
|
end
|
5274
6383
|
|
6384
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
6385
|
+
# [AWS WAF Classic][1] in the developer guide.
|
6386
|
+
#
|
6387
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
6388
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
6389
|
+
# a single set of endpoints for regional and global use.
|
6390
|
+
#
|
6391
|
+
# </note>
|
6392
|
+
#
|
5275
6393
|
# Inserts or deletes SqlInjectionMatchTuple objects (filters) in a
|
5276
6394
|
# SqlInjectionMatchSet. For each `SqlInjectionMatchTuple` object, you
|
5277
6395
|
# specify the following values:
|
@@ -5310,11 +6428,13 @@ module Aws::WAFRegional
|
|
5310
6428
|
# snippets of SQL code.
|
5311
6429
|
#
|
5312
6430
|
# For more information about how to use the AWS WAF API to allow or
|
5313
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
6431
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
5314
6432
|
#
|
5315
6433
|
#
|
5316
6434
|
#
|
5317
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
6435
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6436
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6437
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5318
6438
|
#
|
5319
6439
|
# @option params [required, String] :sql_injection_match_set_id
|
5320
6440
|
# The `SqlInjectionMatchSetId` of the `SqlInjectionMatchSet` that you
|
@@ -5400,6 +6520,15 @@ module Aws::WAFRegional
|
|
5400
6520
|
req.send_request(options)
|
5401
6521
|
end
|
5402
6522
|
|
6523
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
6524
|
+
# [AWS WAF Classic][1] in the developer guide.
|
6525
|
+
#
|
6526
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
6527
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
6528
|
+
# a single set of endpoints for regional and global use.
|
6529
|
+
#
|
6530
|
+
# </note>
|
6531
|
+
#
|
5403
6532
|
# Inserts or deletes ActivatedRule objects in a `WebACL`. Each `Rule`
|
5404
6533
|
# identifies web requests that you want to allow, block, or count. When
|
5405
6534
|
# you update a `WebACL`, you specify the following values:
|
@@ -5445,14 +6574,14 @@ module Aws::WAFRegional
|
|
5445
6574
|
# and to associate the `WebACL` with a CloudFront distribution.
|
5446
6575
|
#
|
5447
6576
|
# The `ActivatedRule` can be a rule group. If you specify a rule
|
5448
|
-
# group as your `ActivatedRule
|
5449
|
-
# that rule group.
|
6577
|
+
# group as your `ActivatedRule` , you can exclude specific rules
|
6578
|
+
# from that rule group.
|
5450
6579
|
#
|
5451
6580
|
# If you already have a rule group associated with a web ACL and
|
5452
6581
|
# want to submit an `UpdateWebACL` request to exclude certain rules
|
5453
6582
|
# from that rule group, you must first remove the rule group from
|
5454
6583
|
# the web ACL, the re-insert it again, specifying the excluded
|
5455
|
-
# rules. For details, see ActivatedRule$ExcludedRules.
|
6584
|
+
# rules. For details, see ActivatedRule$ExcludedRules .
|
5456
6585
|
#
|
5457
6586
|
# Be aware that if you try to add a RATE\_BASED rule to a web ACL
|
5458
6587
|
# without setting the rule type when first creating the rule, the
|
@@ -5461,11 +6590,13 @@ module Aws::WAFRegional
|
|
5461
6590
|
# not exist.
|
5462
6591
|
#
|
5463
6592
|
# For more information about how to use the AWS WAF API to allow or
|
5464
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
6593
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
5465
6594
|
#
|
5466
6595
|
#
|
5467
6596
|
#
|
5468
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
6597
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6598
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6599
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5469
6600
|
#
|
5470
6601
|
# @option params [required, String] :web_acl_id
|
5471
6602
|
# The `WebACLId` of the WebACL that you want to update. `WebACLId` is
|
@@ -5575,6 +6706,15 @@ module Aws::WAFRegional
|
|
5575
6706
|
req.send_request(options)
|
5576
6707
|
end
|
5577
6708
|
|
6709
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
6710
|
+
# [AWS WAF Classic][1] in the developer guide.
|
6711
|
+
#
|
6712
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
6713
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
6714
|
+
# a single set of endpoints for regional and global use.
|
6715
|
+
#
|
6716
|
+
# </note>
|
6717
|
+
#
|
5578
6718
|
# Inserts or deletes XssMatchTuple objects (filters) in an XssMatchSet.
|
5579
6719
|
# For each `XssMatchTuple` object, you specify the following values:
|
5580
6720
|
#
|
@@ -5611,11 +6751,13 @@ module Aws::WAFRegional
|
|
5611
6751
|
# attacks.
|
5612
6752
|
#
|
5613
6753
|
# For more information about how to use the AWS WAF API to allow or
|
5614
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
6754
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
5615
6755
|
#
|
5616
6756
|
#
|
5617
6757
|
#
|
5618
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
6758
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6759
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6760
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5619
6761
|
#
|
5620
6762
|
# @option params [required, String] :xss_match_set_id
|
5621
6763
|
# The `XssMatchSetId` of the `XssMatchSet` that you want to update.
|
@@ -5712,7 +6854,7 @@ module Aws::WAFRegional
|
|
5712
6854
|
params: params,
|
5713
6855
|
config: config)
|
5714
6856
|
context[:gem_name] = 'aws-sdk-wafregional'
|
5715
|
-
context[:gem_version] = '1.
|
6857
|
+
context[:gem_version] = '1.29.0'
|
5716
6858
|
Seahorse::Client::Request.new(handlers, context)
|
5717
6859
|
end
|
5718
6860
|
|