aws-sdk-waf 1.27.0 → 1.28.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-waf.rb +1 -1
- data/lib/aws-sdk-waf/client.rb +1180 -94
- data/lib/aws-sdk-waf/client_api.rb +36 -2
- data/lib/aws-sdk-waf/errors.rb +26 -0
- data/lib/aws-sdk-waf/resource.rb +1 -7
- data/lib/aws-sdk-waf/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: 8f4fbc57efdf74652290f8250d3b9badb0f3c79d232c8895426f7d9944ffa517
|
4
|
+
data.tar.gz: 90f5cf416af1f2d6048c70cfad7c61f20d1673088d6668898a155cac237b08ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20086a4ddd036461a7de82095966ae6c1e100b1fd03888b56f5af9954d02cc7c79480f3e59a7bcd17de37be3be40ec007678198cee37f83c1bd87cb624bf8805
|
7
|
+
data.tar.gz: 1f85354c117c9ebaff7bb9fea819f6fcb9041984588e3d3d38345f637a76210b629416ad2c73b6b4a9d207d3d84f539168f82987b68911f819b6d6bf2c5d76e6
|
data/lib/aws-sdk-waf.rb
CHANGED
data/lib/aws-sdk-waf/client.rb
CHANGED
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:waf)
|
|
32
32
|
module Aws::WAF
|
33
33
|
# An API client for WAF. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
34
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
35
|
+
# client = Aws::WAF::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::WAF
|
|
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::WAF
|
|
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::WAF
|
|
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,6 +318,15 @@ module Aws::WAF
|
|
315
318
|
|
316
319
|
# @!group API Operations
|
317
320
|
|
321
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
322
|
+
# [AWS WAF Classic][1] in the developer guide.
|
323
|
+
#
|
324
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
325
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
326
|
+
# a single set of endpoints for regional and global use.
|
327
|
+
#
|
328
|
+
# </note>
|
329
|
+
#
|
318
330
|
# Creates a `ByteMatchSet`. You then use UpdateByteMatchSet to identify
|
319
331
|
# the part of a web request that you want AWS WAF to inspect, such as
|
320
332
|
# the values of the `User-Agent` header or the query string. For
|
@@ -337,11 +349,13 @@ module Aws::WAF
|
|
337
349
|
# or the URI) and the value that you want AWS WAF to watch for.
|
338
350
|
#
|
339
351
|
# For more information about how to use the AWS WAF API to allow or
|
340
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
352
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
341
353
|
#
|
342
354
|
#
|
343
355
|
#
|
344
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
356
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
357
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
358
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
345
359
|
#
|
346
360
|
# @option params [required, String] :name
|
347
361
|
# A friendly name or description of the ByteMatchSet. You can't change
|
@@ -383,6 +397,15 @@ module Aws::WAF
|
|
383
397
|
req.send_request(options)
|
384
398
|
end
|
385
399
|
|
400
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
401
|
+
# [AWS WAF Classic][1] in the developer guide.
|
402
|
+
#
|
403
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
404
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
405
|
+
# a single set of endpoints for regional and global use.
|
406
|
+
#
|
407
|
+
# </note>
|
408
|
+
#
|
386
409
|
# Creates an GeoMatchSet, which you use to specify which web requests
|
387
410
|
# you want to allow or block based on the country that the requests
|
388
411
|
# originate from. For example, if you're receiving a lot of requests
|
@@ -404,11 +427,13 @@ module Aws::WAF
|
|
404
427
|
# that you want AWS WAF to watch for.
|
405
428
|
#
|
406
429
|
# For more information about how to use the AWS WAF API to allow or
|
407
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
430
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
408
431
|
#
|
409
432
|
#
|
410
433
|
#
|
411
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
434
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
435
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
436
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
412
437
|
#
|
413
438
|
# @option params [required, String] :name
|
414
439
|
# A friendly name or description of the GeoMatchSet. You can't change
|
@@ -447,6 +472,15 @@ module Aws::WAF
|
|
447
472
|
req.send_request(options)
|
448
473
|
end
|
449
474
|
|
475
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
476
|
+
# [AWS WAF Classic][1] in the developer guide.
|
477
|
+
#
|
478
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
479
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
480
|
+
# a single set of endpoints for regional and global use.
|
481
|
+
#
|
482
|
+
# </note>
|
483
|
+
#
|
450
484
|
# Creates an IPSet, which you use to specify which web requests that you
|
451
485
|
# want to allow or block based on the IP addresses that the requests
|
452
486
|
# originate from. For example, if you're receiving a lot of requests
|
@@ -469,11 +503,13 @@ module Aws::WAF
|
|
469
503
|
# you want AWS WAF to watch for.
|
470
504
|
#
|
471
505
|
# For more information about how to use the AWS WAF API to allow or
|
472
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
506
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
473
507
|
#
|
474
508
|
#
|
475
509
|
#
|
476
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
510
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
511
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
512
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
477
513
|
#
|
478
514
|
# @option params [required, String] :name
|
479
515
|
# A friendly name or description of the IPSet. You can't change `Name`
|
@@ -537,6 +573,15 @@ module Aws::WAF
|
|
537
573
|
req.send_request(options)
|
538
574
|
end
|
539
575
|
|
576
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
577
|
+
# [AWS WAF Classic][1] in the developer guide.
|
578
|
+
#
|
579
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
580
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
581
|
+
# a single set of endpoints for regional and global use.
|
582
|
+
#
|
583
|
+
# </note>
|
584
|
+
#
|
540
585
|
# Creates a RateBasedRule. The `RateBasedRule` contains a `RateLimit`,
|
541
586
|
# which specifies the maximum number of requests that AWS WAF allows
|
542
587
|
# from a specified IP address in a five-minute period. The
|
@@ -546,23 +591,23 @@ module Aws::WAF
|
|
546
591
|
#
|
547
592
|
# If you add more than one predicate to a `RateBasedRule`, a request not
|
548
593
|
# only must exceed the `RateLimit`, but it also must match all the
|
549
|
-
#
|
550
|
-
#
|
594
|
+
# conditions to be counted or blocked. For example, suppose you add the
|
595
|
+
# following to a `RateBasedRule`\:
|
551
596
|
#
|
552
597
|
# * An `IPSet` that matches the IP address `192.0.2.44/32`
|
553
598
|
#
|
554
599
|
# * A `ByteMatchSet` that matches `BadBot` in the `User-Agent` header
|
555
600
|
#
|
556
|
-
# Further, you specify a `RateLimit` of
|
601
|
+
# Further, you specify a `RateLimit` of 1,000.
|
557
602
|
#
|
558
603
|
# You then add the `RateBasedRule` to a `WebACL` and specify that you
|
559
604
|
# want to block requests that meet the conditions in the rule. For a
|
560
605
|
# request to be blocked, it must come from the IP address 192.0.2.44
|
561
606
|
# *and* the `User-Agent` header in the request must contain the value
|
562
607
|
# `BadBot`. Further, requests that match these two conditions must be
|
563
|
-
# received at a rate of more than
|
608
|
+
# received at a rate of more than 1,000 requests every five minutes. If
|
564
609
|
# both conditions are met and the rate is exceeded, AWS WAF blocks the
|
565
|
-
# requests. If the rate drops below
|
610
|
+
# requests. If the rate drops below 1,000 for a five-minute period, AWS
|
566
611
|
# WAF no longer blocks the requests.
|
567
612
|
#
|
568
613
|
# As a second example, suppose you want to limit requests to a
|
@@ -575,7 +620,7 @@ module Aws::WAF
|
|
575
620
|
#
|
576
621
|
# * A `TargetString` of `login`
|
577
622
|
#
|
578
|
-
# Further, you specify a `RateLimit` of
|
623
|
+
# Further, you specify a `RateLimit` of 1,000.
|
579
624
|
#
|
580
625
|
# By adding this `RateBasedRule` to a `WebACL`, you could limit requests
|
581
626
|
# to your login page without affecting the rest of your site.
|
@@ -602,11 +647,13 @@ module Aws::WAF
|
|
602
647
|
# For more information, see CreateWebACL.
|
603
648
|
#
|
604
649
|
# For more information about how to use the AWS WAF API to allow or
|
605
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
650
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
606
651
|
#
|
607
652
|
#
|
608
653
|
#
|
609
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
654
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
655
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
656
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
610
657
|
#
|
611
658
|
# @option params [required, String] :name
|
612
659
|
# A friendly name or description of the RateBasedRule. You can't change
|
@@ -656,8 +703,8 @@ module Aws::WAF
|
|
656
703
|
# change_token: "ChangeToken", # required
|
657
704
|
# tags: [
|
658
705
|
# {
|
659
|
-
# key: "TagKey",
|
660
|
-
# value: "TagValue",
|
706
|
+
# key: "TagKey", # required
|
707
|
+
# value: "TagValue", # required
|
661
708
|
# },
|
662
709
|
# ],
|
663
710
|
# })
|
@@ -684,6 +731,15 @@ module Aws::WAF
|
|
684
731
|
req.send_request(options)
|
685
732
|
end
|
686
733
|
|
734
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
735
|
+
# [AWS WAF Classic][1] in the developer guide.
|
736
|
+
#
|
737
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
738
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
739
|
+
# a single set of endpoints for regional and global use.
|
740
|
+
#
|
741
|
+
# </note>
|
742
|
+
#
|
687
743
|
# Creates a RegexMatchSet. You then use UpdateRegexMatchSet to identify
|
688
744
|
# the part of a web request that you want AWS WAF to inspect, such as
|
689
745
|
# the values of the `User-Agent` header or the query string. For
|
@@ -709,11 +765,13 @@ module Aws::WAF
|
|
709
765
|
# want AWS WAF to watch for.
|
710
766
|
#
|
711
767
|
# For more information about how to use the AWS WAF API to allow or
|
712
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
768
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
713
769
|
#
|
714
770
|
#
|
715
771
|
#
|
716
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
772
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
773
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
774
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
717
775
|
#
|
718
776
|
# @option params [required, String] :name
|
719
777
|
# A friendly name or description of the RegexMatchSet. You can't change
|
@@ -754,6 +812,15 @@ module Aws::WAF
|
|
754
812
|
req.send_request(options)
|
755
813
|
end
|
756
814
|
|
815
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
816
|
+
# [AWS WAF Classic][1] in the developer guide.
|
817
|
+
#
|
818
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
819
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
820
|
+
# a single set of endpoints for regional and global use.
|
821
|
+
#
|
822
|
+
# </note>
|
823
|
+
#
|
757
824
|
# Creates a `RegexPatternSet`. You then use UpdateRegexPatternSet to
|
758
825
|
# specify the regular expression (regex) pattern that you want AWS WAF
|
759
826
|
# to search for, such as `B[a@]dB[o0]t`. You can then configure AWS WAF
|
@@ -774,11 +841,13 @@ module Aws::WAF
|
|
774
841
|
# you want AWS WAF to watch for.
|
775
842
|
#
|
776
843
|
# For more information about how to use the AWS WAF API to allow or
|
777
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
844
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
778
845
|
#
|
779
846
|
#
|
780
847
|
#
|
781
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
848
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
849
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
850
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
782
851
|
#
|
783
852
|
# @option params [required, String] :name
|
784
853
|
# A friendly name or description of the RegexPatternSet. You can't
|
@@ -816,6 +885,15 @@ module Aws::WAF
|
|
816
885
|
req.send_request(options)
|
817
886
|
end
|
818
887
|
|
888
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
889
|
+
# [AWS WAF Classic][1] in the developer guide.
|
890
|
+
#
|
891
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
892
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
893
|
+
# a single set of endpoints for regional and global use.
|
894
|
+
#
|
895
|
+
# </note>
|
896
|
+
#
|
819
897
|
# Creates a `Rule`, which contains the `IPSet` objects, `ByteMatchSet`
|
820
898
|
# objects, and other predicates that identify the requests that you want
|
821
899
|
# to block. If you add more than one predicate to a `Rule`, a request
|
@@ -852,11 +930,13 @@ module Aws::WAF
|
|
852
930
|
# information, see CreateWebACL.
|
853
931
|
#
|
854
932
|
# For more information about how to use the AWS WAF API to allow or
|
855
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
933
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
856
934
|
#
|
857
935
|
#
|
858
936
|
#
|
859
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
937
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
938
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
939
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
860
940
|
#
|
861
941
|
# @option params [required, String] :name
|
862
942
|
# A friendly name or description of the Rule. You can't change the name
|
@@ -916,8 +996,8 @@ module Aws::WAF
|
|
916
996
|
# change_token: "ChangeToken", # required
|
917
997
|
# tags: [
|
918
998
|
# {
|
919
|
-
# key: "TagKey",
|
920
|
-
# value: "TagValue",
|
999
|
+
# key: "TagKey", # required
|
1000
|
+
# value: "TagValue", # required
|
921
1001
|
# },
|
922
1002
|
# ],
|
923
1003
|
# })
|
@@ -942,6 +1022,15 @@ module Aws::WAF
|
|
942
1022
|
req.send_request(options)
|
943
1023
|
end
|
944
1024
|
|
1025
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1026
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1027
|
+
#
|
1028
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1029
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1030
|
+
# a single set of endpoints for regional and global use.
|
1031
|
+
#
|
1032
|
+
# </note>
|
1033
|
+
#
|
945
1034
|
# Creates a `RuleGroup`. A rule group is a collection of predefined
|
946
1035
|
# rules that you add to a web ACL. You use UpdateRuleGroup to add rules
|
947
1036
|
# to the rule group.
|
@@ -956,11 +1045,13 @@ module Aws::WAF
|
|
956
1045
|
# * Ten rules per rule group.
|
957
1046
|
#
|
958
1047
|
# For more information about how to use the AWS WAF API to allow or
|
959
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
1048
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
960
1049
|
#
|
961
1050
|
#
|
962
1051
|
#
|
963
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1052
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1053
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1054
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
964
1055
|
#
|
965
1056
|
# @option params [required, String] :name
|
966
1057
|
# A friendly name or description of the RuleGroup. You can't change
|
@@ -992,8 +1083,8 @@ module Aws::WAF
|
|
992
1083
|
# change_token: "ChangeToken", # required
|
993
1084
|
# tags: [
|
994
1085
|
# {
|
995
|
-
# key: "TagKey",
|
996
|
-
# value: "TagValue",
|
1086
|
+
# key: "TagKey", # required
|
1087
|
+
# value: "TagValue", # required
|
997
1088
|
# },
|
998
1089
|
# ],
|
999
1090
|
# })
|
@@ -1014,6 +1105,15 @@ module Aws::WAF
|
|
1014
1105
|
req.send_request(options)
|
1015
1106
|
end
|
1016
1107
|
|
1108
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1109
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1110
|
+
#
|
1111
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1112
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1113
|
+
# a single set of endpoints for regional and global use.
|
1114
|
+
#
|
1115
|
+
# </note>
|
1116
|
+
#
|
1017
1117
|
# Creates a `SizeConstraintSet`. You then use UpdateSizeConstraintSet to
|
1018
1118
|
# identify the part of a web request that you want AWS WAF to check for
|
1019
1119
|
# length, such as the length of the `User-Agent` header or the length of
|
@@ -1039,11 +1139,13 @@ module Aws::WAF
|
|
1039
1139
|
# for.
|
1040
1140
|
#
|
1041
1141
|
# For more information about how to use the AWS WAF API to allow or
|
1042
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
1142
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
1043
1143
|
#
|
1044
1144
|
#
|
1045
1145
|
#
|
1046
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1146
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1147
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1148
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1047
1149
|
#
|
1048
1150
|
# @option params [required, String] :name
|
1049
1151
|
# A friendly name or description of the SizeConstraintSet. You can't
|
@@ -1114,6 +1216,15 @@ module Aws::WAF
|
|
1114
1216
|
req.send_request(options)
|
1115
1217
|
end
|
1116
1218
|
|
1219
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1220
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1221
|
+
#
|
1222
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1223
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1224
|
+
# a single set of endpoints for regional and global use.
|
1225
|
+
#
|
1226
|
+
# </note>
|
1227
|
+
#
|
1117
1228
|
# Creates a SqlInjectionMatchSet, which you use to allow, block, or
|
1118
1229
|
# count requests that contain snippets of SQL code in a specified part
|
1119
1230
|
# of web requests. AWS WAF searches for character sequences that are
|
@@ -1136,11 +1247,13 @@ module Aws::WAF
|
|
1136
1247
|
# malicious SQL code.
|
1137
1248
|
#
|
1138
1249
|
# For more information about how to use the AWS WAF API to allow or
|
1139
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
1250
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
1140
1251
|
#
|
1141
1252
|
#
|
1142
1253
|
#
|
1143
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1254
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1255
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1256
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1144
1257
|
#
|
1145
1258
|
# @option params [required, String] :name
|
1146
1259
|
# A friendly name or description for the SqlInjectionMatchSet that
|
@@ -1208,6 +1321,15 @@ module Aws::WAF
|
|
1208
1321
|
req.send_request(options)
|
1209
1322
|
end
|
1210
1323
|
|
1324
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1325
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1326
|
+
#
|
1327
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1328
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1329
|
+
# a single set of endpoints for regional and global use.
|
1330
|
+
#
|
1331
|
+
# </note>
|
1332
|
+
#
|
1211
1333
|
# Creates a `WebACL`, which contains the `Rules` that identify the
|
1212
1334
|
# CloudFront web requests that you want to allow, block, or count. AWS
|
1213
1335
|
# WAF evaluates `Rules` in order based on the value of `Priority` for
|
@@ -1240,11 +1362,13 @@ module Aws::WAF
|
|
1240
1362
|
# and to associate the `WebACL` with a CloudFront distribution.
|
1241
1363
|
#
|
1242
1364
|
# For more information about how to use the AWS WAF API, see the [AWS
|
1243
|
-
# WAF Developer Guide][
|
1365
|
+
# WAF Developer Guide][3].
|
1244
1366
|
#
|
1245
1367
|
#
|
1246
1368
|
#
|
1247
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1369
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1370
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1371
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1248
1372
|
#
|
1249
1373
|
# @option params [required, String] :name
|
1250
1374
|
# A friendly name or description of the WebACL. You can't change `Name`
|
@@ -1320,8 +1444,8 @@ module Aws::WAF
|
|
1320
1444
|
# change_token: "ChangeToken", # required
|
1321
1445
|
# tags: [
|
1322
1446
|
# {
|
1323
|
-
# key: "TagKey",
|
1324
|
-
# value: "TagValue",
|
1447
|
+
# key: "TagKey", # required
|
1448
|
+
# value: "TagValue", # required
|
1325
1449
|
# },
|
1326
1450
|
# ],
|
1327
1451
|
# })
|
@@ -1352,6 +1476,82 @@ module Aws::WAF
|
|
1352
1476
|
req.send_request(options)
|
1353
1477
|
end
|
1354
1478
|
|
1479
|
+
# Creates an AWS CloudFormation WAFV2 template for the specified web ACL
|
1480
|
+
# in the specified Amazon S3 bucket. Then, in CloudFormation, you create
|
1481
|
+
# a stack from the template, to create the web ACL and its resources in
|
1482
|
+
# AWS WAFV2. Use this to migrate your AWS WAF Classic web ACL to the
|
1483
|
+
# latest version of AWS WAF.
|
1484
|
+
#
|
1485
|
+
# This is part of a larger migration procedure for web ACLs from AWS WAF
|
1486
|
+
# Classic to the latest version of AWS WAF. For the full procedure,
|
1487
|
+
# including caveats and manual steps to complete the migration and
|
1488
|
+
# switch over to the new web ACL, see [Migrating your AWS WAF Classic
|
1489
|
+
# resources to AWS WAF][1] in the [AWS WAF Developer Guide][2].
|
1490
|
+
#
|
1491
|
+
#
|
1492
|
+
#
|
1493
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-migrating-from-classic.html
|
1494
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1495
|
+
#
|
1496
|
+
# @option params [required, String] :web_acl_id
|
1497
|
+
# The UUID of the WAF Classic web ACL that you want to migrate to WAF
|
1498
|
+
# v2.
|
1499
|
+
#
|
1500
|
+
# @option params [required, String] :s3_bucket_name
|
1501
|
+
# The name of the Amazon S3 bucket to store the CloudFormation template
|
1502
|
+
# in. The S3 bucket must be configured as follows for the migration:
|
1503
|
+
#
|
1504
|
+
# * The bucket name must start with `aws-waf-migration-`. For example,
|
1505
|
+
# `aws-waf-migration-my-web-acl`.
|
1506
|
+
#
|
1507
|
+
# * The bucket must be in the Region where you are deploying the
|
1508
|
+
# template. For example, for a web ACL in us-west-2, you must use an
|
1509
|
+
# Amazon S3 bucket in us-west-2 and you must deploy the template stack
|
1510
|
+
# to us-west-2.
|
1511
|
+
#
|
1512
|
+
# * The bucket policies must permit the migration process to write data.
|
1513
|
+
# For listings of the bucket policies, see the Examples section.
|
1514
|
+
#
|
1515
|
+
# @option params [required, Boolean] :ignore_unsupported_type
|
1516
|
+
# Indicates whether to exclude entities that can't be migrated or to
|
1517
|
+
# stop the migration. Set this to true to ignore unsupported entities in
|
1518
|
+
# the web ACL during the migration. Otherwise, if AWS WAF encounters
|
1519
|
+
# unsupported entities, it stops the process and throws an exception.
|
1520
|
+
#
|
1521
|
+
# @return [Types::CreateWebACLMigrationStackResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1522
|
+
#
|
1523
|
+
# * {Types::CreateWebACLMigrationStackResponse#s3_object_url #s3_object_url} => String
|
1524
|
+
#
|
1525
|
+
# @example Request syntax with placeholder values
|
1526
|
+
#
|
1527
|
+
# resp = client.create_web_acl_migration_stack({
|
1528
|
+
# web_acl_id: "ResourceId", # required
|
1529
|
+
# s3_bucket_name: "S3BucketName", # required
|
1530
|
+
# ignore_unsupported_type: false, # required
|
1531
|
+
# })
|
1532
|
+
#
|
1533
|
+
# @example Response structure
|
1534
|
+
#
|
1535
|
+
# resp.s3_object_url #=> String
|
1536
|
+
#
|
1537
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateWebACLMigrationStack AWS API Documentation
|
1538
|
+
#
|
1539
|
+
# @overload create_web_acl_migration_stack(params = {})
|
1540
|
+
# @param [Hash] params ({})
|
1541
|
+
def create_web_acl_migration_stack(params = {}, options = {})
|
1542
|
+
req = build_request(:create_web_acl_migration_stack, params)
|
1543
|
+
req.send_request(options)
|
1544
|
+
end
|
1545
|
+
|
1546
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1547
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1548
|
+
#
|
1549
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1550
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1551
|
+
# a single set of endpoints for regional and global use.
|
1552
|
+
#
|
1553
|
+
# </note>
|
1554
|
+
#
|
1355
1555
|
# Creates an XssMatchSet, which you use to allow, block, or count
|
1356
1556
|
# requests that contain cross-site scripting attacks in the specified
|
1357
1557
|
# part of web requests. AWS WAF searches for character sequences that
|
@@ -1372,11 +1572,13 @@ module Aws::WAF
|
|
1372
1572
|
# scripting attacks.
|
1373
1573
|
#
|
1374
1574
|
# For more information about how to use the AWS WAF API to allow or
|
1375
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
1575
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
1376
1576
|
#
|
1377
1577
|
#
|
1378
1578
|
#
|
1379
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1579
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1580
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1581
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
1380
1582
|
#
|
1381
1583
|
# @option params [required, String] :name
|
1382
1584
|
# A friendly name or description for the XssMatchSet that you're
|
@@ -1443,6 +1645,15 @@ module Aws::WAF
|
|
1443
1645
|
req.send_request(options)
|
1444
1646
|
end
|
1445
1647
|
|
1648
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1649
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1650
|
+
#
|
1651
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1652
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1653
|
+
# a single set of endpoints for regional and global use.
|
1654
|
+
#
|
1655
|
+
# </note>
|
1656
|
+
#
|
1446
1657
|
# Permanently deletes a ByteMatchSet. You can't delete a `ByteMatchSet`
|
1447
1658
|
# if it's still used in any `Rules` or if it still includes any
|
1448
1659
|
# ByteMatchTuple objects (any filters).
|
@@ -1460,6 +1671,11 @@ module Aws::WAF
|
|
1460
1671
|
#
|
1461
1672
|
# 3. Submit a `DeleteByteMatchSet` request.
|
1462
1673
|
#
|
1674
|
+
#
|
1675
|
+
#
|
1676
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1677
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1678
|
+
#
|
1463
1679
|
# @option params [required, String] :byte_match_set_id
|
1464
1680
|
# The `ByteMatchSetId` of the ByteMatchSet that you want to delete.
|
1465
1681
|
# `ByteMatchSetId` is returned by CreateByteMatchSet and by
|
@@ -1507,6 +1723,15 @@ module Aws::WAF
|
|
1507
1723
|
req.send_request(options)
|
1508
1724
|
end
|
1509
1725
|
|
1726
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1727
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1728
|
+
#
|
1729
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1730
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1731
|
+
# a single set of endpoints for regional and global use.
|
1732
|
+
#
|
1733
|
+
# </note>
|
1734
|
+
#
|
1510
1735
|
# Permanently deletes a GeoMatchSet. You can't delete a `GeoMatchSet`
|
1511
1736
|
# if it's still used in any `Rules` or if it still includes any
|
1512
1737
|
# countries.
|
@@ -1525,6 +1750,11 @@ module Aws::WAF
|
|
1525
1750
|
#
|
1526
1751
|
# 3. Submit a `DeleteGeoMatchSet` request.
|
1527
1752
|
#
|
1753
|
+
#
|
1754
|
+
#
|
1755
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1756
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1757
|
+
#
|
1528
1758
|
# @option params [required, String] :geo_match_set_id
|
1529
1759
|
# The `GeoMatchSetID` of the GeoMatchSet that you want to delete.
|
1530
1760
|
# `GeoMatchSetId` is returned by CreateGeoMatchSet and by
|
@@ -1557,6 +1787,15 @@ module Aws::WAF
|
|
1557
1787
|
req.send_request(options)
|
1558
1788
|
end
|
1559
1789
|
|
1790
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1791
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1792
|
+
#
|
1793
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1794
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1795
|
+
# a single set of endpoints for regional and global use.
|
1796
|
+
#
|
1797
|
+
# </note>
|
1798
|
+
#
|
1560
1799
|
# Permanently deletes an IPSet. You can't delete an `IPSet` if it's
|
1561
1800
|
# still used in any `Rules` or if it still includes any IP addresses.
|
1562
1801
|
#
|
@@ -1573,6 +1812,11 @@ module Aws::WAF
|
|
1573
1812
|
#
|
1574
1813
|
# 3. Submit a `DeleteIPSet` request.
|
1575
1814
|
#
|
1815
|
+
#
|
1816
|
+
#
|
1817
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1818
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1819
|
+
#
|
1576
1820
|
# @option params [required, String] :ip_set_id
|
1577
1821
|
# The `IPSetId` of the IPSet that you want to delete. `IPSetId` is
|
1578
1822
|
# returned by CreateIPSet and by ListIPSets.
|
@@ -1619,9 +1863,23 @@ module Aws::WAF
|
|
1619
1863
|
req.send_request(options)
|
1620
1864
|
end
|
1621
1865
|
|
1866
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1867
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1868
|
+
#
|
1869
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1870
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1871
|
+
# a single set of endpoints for regional and global use.
|
1872
|
+
#
|
1873
|
+
# </note>
|
1874
|
+
#
|
1622
1875
|
# Permanently deletes the LoggingConfiguration from the specified web
|
1623
1876
|
# ACL.
|
1624
1877
|
#
|
1878
|
+
#
|
1879
|
+
#
|
1880
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1881
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1882
|
+
#
|
1625
1883
|
# @option params [required, String] :resource_arn
|
1626
1884
|
# The Amazon Resource Name (ARN) of the web ACL from which you want to
|
1627
1885
|
# delete the LoggingConfiguration.
|
@@ -1643,10 +1901,24 @@ module Aws::WAF
|
|
1643
1901
|
req.send_request(options)
|
1644
1902
|
end
|
1645
1903
|
|
1904
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1905
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1906
|
+
#
|
1907
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1908
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1909
|
+
# a single set of endpoints for regional and global use.
|
1910
|
+
#
|
1911
|
+
# </note>
|
1912
|
+
#
|
1646
1913
|
# Permanently deletes an IAM policy from the specified RuleGroup.
|
1647
1914
|
#
|
1648
1915
|
# The user making the request must be the owner of the RuleGroup.
|
1649
1916
|
#
|
1917
|
+
#
|
1918
|
+
#
|
1919
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1920
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1921
|
+
#
|
1650
1922
|
# @option params [required, String] :resource_arn
|
1651
1923
|
# The Amazon Resource Name (ARN) of the RuleGroup from which you want to
|
1652
1924
|
# delete the policy.
|
@@ -1670,6 +1942,15 @@ module Aws::WAF
|
|
1670
1942
|
req.send_request(options)
|
1671
1943
|
end
|
1672
1944
|
|
1945
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
1946
|
+
# [AWS WAF Classic][1] in the developer guide.
|
1947
|
+
#
|
1948
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
1949
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
1950
|
+
# a single set of endpoints for regional and global use.
|
1951
|
+
#
|
1952
|
+
# </note>
|
1953
|
+
#
|
1673
1954
|
# Permanently deletes a RateBasedRule. You can't delete a rule if it's
|
1674
1955
|
# still used in any `WebACL` objects or if it still includes any
|
1675
1956
|
# predicates, such as `ByteMatchSet` objects.
|
@@ -1687,6 +1968,11 @@ module Aws::WAF
|
|
1687
1968
|
#
|
1688
1969
|
# 3. Submit a `DeleteRateBasedRule` request.
|
1689
1970
|
#
|
1971
|
+
#
|
1972
|
+
#
|
1973
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1974
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1975
|
+
#
|
1690
1976
|
# @option params [required, String] :rule_id
|
1691
1977
|
# The `RuleId` of the RateBasedRule that you want to delete. `RuleId` is
|
1692
1978
|
# returned by CreateRateBasedRule and by ListRateBasedRules.
|
@@ -1718,6 +2004,15 @@ module Aws::WAF
|
|
1718
2004
|
req.send_request(options)
|
1719
2005
|
end
|
1720
2006
|
|
2007
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2008
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2009
|
+
#
|
2010
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2011
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2012
|
+
# a single set of endpoints for regional and global use.
|
2013
|
+
#
|
2014
|
+
# </note>
|
2015
|
+
#
|
1721
2016
|
# Permanently deletes a RegexMatchSet. You can't delete a
|
1722
2017
|
# `RegexMatchSet` if it's still used in any `Rules` or if it still
|
1723
2018
|
# includes any `RegexMatchTuples` objects (any filters).
|
@@ -1735,6 +2030,11 @@ module Aws::WAF
|
|
1735
2030
|
#
|
1736
2031
|
# 3. Submit a `DeleteRegexMatchSet` request.
|
1737
2032
|
#
|
2033
|
+
#
|
2034
|
+
#
|
2035
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2036
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2037
|
+
#
|
1738
2038
|
# @option params [required, String] :regex_match_set_id
|
1739
2039
|
# The `RegexMatchSetId` of the RegexMatchSet that you want to delete.
|
1740
2040
|
# `RegexMatchSetId` is returned by CreateRegexMatchSet and by
|
@@ -1767,10 +2067,24 @@ module Aws::WAF
|
|
1767
2067
|
req.send_request(options)
|
1768
2068
|
end
|
1769
2069
|
|
2070
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2071
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2072
|
+
#
|
2073
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2074
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2075
|
+
# a single set of endpoints for regional and global use.
|
2076
|
+
#
|
2077
|
+
# </note>
|
2078
|
+
#
|
1770
2079
|
# Permanently deletes a RegexPatternSet. You can't delete a
|
1771
2080
|
# `RegexPatternSet` if it's still used in any `RegexMatchSet` or if the
|
1772
2081
|
# `RegexPatternSet` is not empty.
|
1773
2082
|
#
|
2083
|
+
#
|
2084
|
+
#
|
2085
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2086
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2087
|
+
#
|
1774
2088
|
# @option params [required, String] :regex_pattern_set_id
|
1775
2089
|
# The `RegexPatternSetId` of the RegexPatternSet that you want to
|
1776
2090
|
# delete. `RegexPatternSetId` is returned by CreateRegexPatternSet and
|
@@ -1803,6 +2117,15 @@ module Aws::WAF
|
|
1803
2117
|
req.send_request(options)
|
1804
2118
|
end
|
1805
2119
|
|
2120
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2121
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2122
|
+
#
|
2123
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2124
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2125
|
+
# a single set of endpoints for regional and global use.
|
2126
|
+
#
|
2127
|
+
# </note>
|
2128
|
+
#
|
1806
2129
|
# Permanently deletes a Rule. You can't delete a `Rule` if it's still
|
1807
2130
|
# used in any `WebACL` objects or if it still includes any predicates,
|
1808
2131
|
# such as `ByteMatchSet` objects.
|
@@ -1820,6 +2143,11 @@ module Aws::WAF
|
|
1820
2143
|
#
|
1821
2144
|
# 3. Submit a `DeleteRule` request.
|
1822
2145
|
#
|
2146
|
+
#
|
2147
|
+
#
|
2148
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2149
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2150
|
+
#
|
1823
2151
|
# @option params [required, String] :rule_id
|
1824
2152
|
# The `RuleId` of the Rule that you want to delete. `RuleId` is returned
|
1825
2153
|
# by CreateRule and by ListRules.
|
@@ -1866,6 +2194,15 @@ module Aws::WAF
|
|
1866
2194
|
req.send_request(options)
|
1867
2195
|
end
|
1868
2196
|
|
2197
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2198
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2199
|
+
#
|
2200
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2201
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2202
|
+
# a single set of endpoints for regional and global use.
|
2203
|
+
#
|
2204
|
+
# </note>
|
2205
|
+
#
|
1869
2206
|
# Permanently deletes a RuleGroup. You can't delete a `RuleGroup` if
|
1870
2207
|
# it's still used in any `WebACL` objects or if it still includes any
|
1871
2208
|
# rules.
|
@@ -1884,6 +2221,11 @@ module Aws::WAF
|
|
1884
2221
|
#
|
1885
2222
|
# 3. Submit a `DeleteRuleGroup` request.
|
1886
2223
|
#
|
2224
|
+
#
|
2225
|
+
#
|
2226
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2227
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2228
|
+
#
|
1887
2229
|
# @option params [required, String] :rule_group_id
|
1888
2230
|
# The `RuleGroupId` of the RuleGroup that you want to delete.
|
1889
2231
|
# `RuleGroupId` is returned by CreateRuleGroup and by ListRuleGroups.
|
@@ -1915,6 +2257,15 @@ module Aws::WAF
|
|
1915
2257
|
req.send_request(options)
|
1916
2258
|
end
|
1917
2259
|
|
2260
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2261
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2262
|
+
#
|
2263
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2264
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2265
|
+
# a single set of endpoints for regional and global use.
|
2266
|
+
#
|
2267
|
+
# </note>
|
2268
|
+
#
|
1918
2269
|
# Permanently deletes a SizeConstraintSet. You can't delete a
|
1919
2270
|
# `SizeConstraintSet` if it's still used in any `Rules` or if it still
|
1920
2271
|
# includes any SizeConstraint objects (any filters).
|
@@ -1933,6 +2284,11 @@ module Aws::WAF
|
|
1933
2284
|
#
|
1934
2285
|
# 3. Submit a `DeleteSizeConstraintSet` request.
|
1935
2286
|
#
|
2287
|
+
#
|
2288
|
+
#
|
2289
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2290
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2291
|
+
#
|
1936
2292
|
# @option params [required, String] :size_constraint_set_id
|
1937
2293
|
# The `SizeConstraintSetId` of the SizeConstraintSet that you want to
|
1938
2294
|
# delete. `SizeConstraintSetId` is returned by CreateSizeConstraintSet
|
@@ -1980,6 +2336,15 @@ module Aws::WAF
|
|
1980
2336
|
req.send_request(options)
|
1981
2337
|
end
|
1982
2338
|
|
2339
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2340
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2341
|
+
#
|
2342
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2343
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2344
|
+
# a single set of endpoints for regional and global use.
|
2345
|
+
#
|
2346
|
+
# </note>
|
2347
|
+
#
|
1983
2348
|
# Permanently deletes a SqlInjectionMatchSet. You can't delete a
|
1984
2349
|
# `SqlInjectionMatchSet` if it's still used in any `Rules` or if it
|
1985
2350
|
# still contains any SqlInjectionMatchTuple objects.
|
@@ -1998,6 +2363,11 @@ module Aws::WAF
|
|
1998
2363
|
#
|
1999
2364
|
# 3. Submit a `DeleteSqlInjectionMatchSet` request.
|
2000
2365
|
#
|
2366
|
+
#
|
2367
|
+
#
|
2368
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2369
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2370
|
+
#
|
2001
2371
|
# @option params [required, String] :sql_injection_match_set_id
|
2002
2372
|
# The `SqlInjectionMatchSetId` of the SqlInjectionMatchSet that you want
|
2003
2373
|
# to delete. `SqlInjectionMatchSetId` is returned by
|
@@ -2045,6 +2415,15 @@ module Aws::WAF
|
|
2045
2415
|
req.send_request(options)
|
2046
2416
|
end
|
2047
2417
|
|
2418
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2419
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2420
|
+
#
|
2421
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2422
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2423
|
+
# a single set of endpoints for regional and global use.
|
2424
|
+
#
|
2425
|
+
# </note>
|
2426
|
+
#
|
2048
2427
|
# Permanently deletes a WebACL. You can't delete a `WebACL` if it still
|
2049
2428
|
# contains any `Rules`.
|
2050
2429
|
#
|
@@ -2058,6 +2437,11 @@ module Aws::WAF
|
|
2058
2437
|
#
|
2059
2438
|
# 3. Submit a `DeleteWebACL` request.
|
2060
2439
|
#
|
2440
|
+
#
|
2441
|
+
#
|
2442
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2443
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2444
|
+
#
|
2061
2445
|
# @option params [required, String] :web_acl_id
|
2062
2446
|
# The `WebACLId` of the WebACL that you want to delete. `WebACLId` is
|
2063
2447
|
# returned by CreateWebACL and by ListWebACLs.
|
@@ -2104,6 +2488,15 @@ module Aws::WAF
|
|
2104
2488
|
req.send_request(options)
|
2105
2489
|
end
|
2106
2490
|
|
2491
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2492
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2493
|
+
#
|
2494
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2495
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2496
|
+
# a single set of endpoints for regional and global use.
|
2497
|
+
#
|
2498
|
+
# </note>
|
2499
|
+
#
|
2107
2500
|
# Permanently deletes an XssMatchSet. You can't delete an `XssMatchSet`
|
2108
2501
|
# if it's still used in any `Rules` or if it still contains any
|
2109
2502
|
# XssMatchTuple objects.
|
@@ -2122,6 +2515,11 @@ module Aws::WAF
|
|
2122
2515
|
#
|
2123
2516
|
# 3. Submit a `DeleteXssMatchSet` request.
|
2124
2517
|
#
|
2518
|
+
#
|
2519
|
+
#
|
2520
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2521
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2522
|
+
#
|
2125
2523
|
# @option params [required, String] :xss_match_set_id
|
2126
2524
|
# The `XssMatchSetId` of the XssMatchSet that you want to delete.
|
2127
2525
|
# `XssMatchSetId` is returned by CreateXssMatchSet and by
|
@@ -2169,8 +2567,22 @@ module Aws::WAF
|
|
2169
2567
|
req.send_request(options)
|
2170
2568
|
end
|
2171
2569
|
|
2570
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2571
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2572
|
+
#
|
2573
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2574
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2575
|
+
# a single set of endpoints for regional and global use.
|
2576
|
+
#
|
2577
|
+
# </note>
|
2578
|
+
#
|
2172
2579
|
# Returns the ByteMatchSet specified by `ByteMatchSetId`.
|
2173
2580
|
#
|
2581
|
+
#
|
2582
|
+
#
|
2583
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2584
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2585
|
+
#
|
2174
2586
|
# @option params [required, String] :byte_match_set_id
|
2175
2587
|
# The `ByteMatchSetId` of the ByteMatchSet that you want to get.
|
2176
2588
|
# `ByteMatchSetId` is returned by CreateByteMatchSet and by
|
@@ -2234,6 +2646,15 @@ module Aws::WAF
|
|
2234
2646
|
req.send_request(options)
|
2235
2647
|
end
|
2236
2648
|
|
2649
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2650
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2651
|
+
#
|
2652
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2653
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2654
|
+
# a single set of endpoints for regional and global use.
|
2655
|
+
#
|
2656
|
+
# </note>
|
2657
|
+
#
|
2237
2658
|
# When you want to create, update, or delete AWS WAF objects, get a
|
2238
2659
|
# change token and include the change token in the create, update, or
|
2239
2660
|
# delete request. Change tokens ensure that your application doesn't
|
@@ -2250,6 +2671,11 @@ module Aws::WAF
|
|
2250
2671
|
# that AWS WAF is propagating the change to all AWS WAF servers. Use
|
2251
2672
|
# `GetChangeTokenStatus` to determine the status of your change token.
|
2252
2673
|
#
|
2674
|
+
#
|
2675
|
+
#
|
2676
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2677
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2678
|
+
#
|
2253
2679
|
# @return [Types::GetChangeTokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2254
2680
|
#
|
2255
2681
|
# * {Types::GetChangeTokenResponse#change_token #change_token} => String
|
@@ -2280,6 +2706,15 @@ module Aws::WAF
|
|
2280
2706
|
req.send_request(options)
|
2281
2707
|
end
|
2282
2708
|
|
2709
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2710
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2711
|
+
#
|
2712
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2713
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2714
|
+
# a single set of endpoints for regional and global use.
|
2715
|
+
#
|
2716
|
+
# </note>
|
2717
|
+
#
|
2283
2718
|
# Returns the status of a `ChangeToken` that you got by calling
|
2284
2719
|
# GetChangeToken. `ChangeTokenStatus` is one of the following values:
|
2285
2720
|
#
|
@@ -2292,6 +2727,11 @@ module Aws::WAF
|
|
2292
2727
|
#
|
2293
2728
|
# * `INSYNC`\: Propagation is complete.
|
2294
2729
|
#
|
2730
|
+
#
|
2731
|
+
#
|
2732
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2733
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2734
|
+
#
|
2295
2735
|
# @option params [required, String] :change_token
|
2296
2736
|
# The change token for which you want to get the status. This change
|
2297
2737
|
# token was previously returned in the `GetChangeToken` response.
|
@@ -2333,8 +2773,22 @@ module Aws::WAF
|
|
2333
2773
|
req.send_request(options)
|
2334
2774
|
end
|
2335
2775
|
|
2776
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2777
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2778
|
+
#
|
2779
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2780
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2781
|
+
# a single set of endpoints for regional and global use.
|
2782
|
+
#
|
2783
|
+
# </note>
|
2784
|
+
#
|
2336
2785
|
# Returns the GeoMatchSet that is specified by `GeoMatchSetId`.
|
2337
2786
|
#
|
2787
|
+
#
|
2788
|
+
#
|
2789
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2790
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2791
|
+
#
|
2338
2792
|
# @option params [required, String] :geo_match_set_id
|
2339
2793
|
# The `GeoMatchSetId` of the GeoMatchSet that you want to get.
|
2340
2794
|
# `GeoMatchSetId` is returned by CreateGeoMatchSet and by
|
@@ -2367,8 +2821,22 @@ module Aws::WAF
|
|
2367
2821
|
req.send_request(options)
|
2368
2822
|
end
|
2369
2823
|
|
2824
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2825
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2826
|
+
#
|
2827
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2828
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2829
|
+
# a single set of endpoints for regional and global use.
|
2830
|
+
#
|
2831
|
+
# </note>
|
2832
|
+
#
|
2370
2833
|
# Returns the IPSet that is specified by `IPSetId`.
|
2371
2834
|
#
|
2835
|
+
#
|
2836
|
+
#
|
2837
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2838
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2839
|
+
#
|
2372
2840
|
# @option params [required, String] :ip_set_id
|
2373
2841
|
# The `IPSetId` of the IPSet that you want to get. `IPSetId` is returned
|
2374
2842
|
# by CreateIPSet and by ListIPSets.
|
@@ -2423,8 +2891,22 @@ module Aws::WAF
|
|
2423
2891
|
req.send_request(options)
|
2424
2892
|
end
|
2425
2893
|
|
2894
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2895
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2896
|
+
#
|
2897
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2898
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2899
|
+
# a single set of endpoints for regional and global use.
|
2900
|
+
#
|
2901
|
+
# </note>
|
2902
|
+
#
|
2426
2903
|
# Returns the LoggingConfiguration for the specified web ACL.
|
2427
2904
|
#
|
2905
|
+
#
|
2906
|
+
#
|
2907
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2908
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2909
|
+
#
|
2428
2910
|
# @option params [required, String] :resource_arn
|
2429
2911
|
# The Amazon Resource Name (ARN) of the web ACL for which you want to
|
2430
2912
|
# get the LoggingConfiguration.
|
@@ -2457,8 +2939,22 @@ module Aws::WAF
|
|
2457
2939
|
req.send_request(options)
|
2458
2940
|
end
|
2459
2941
|
|
2942
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2943
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2944
|
+
#
|
2945
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2946
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2947
|
+
# a single set of endpoints for regional and global use.
|
2948
|
+
#
|
2949
|
+
# </note>
|
2950
|
+
#
|
2460
2951
|
# Returns the IAM policy attached to the RuleGroup.
|
2461
2952
|
#
|
2953
|
+
#
|
2954
|
+
#
|
2955
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2956
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2957
|
+
#
|
2462
2958
|
# @option params [required, String] :resource_arn
|
2463
2959
|
# The Amazon Resource Name (ARN) of the RuleGroup for which you want to
|
2464
2960
|
# get the policy.
|
@@ -2486,9 +2982,23 @@ module Aws::WAF
|
|
2486
2982
|
req.send_request(options)
|
2487
2983
|
end
|
2488
2984
|
|
2985
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
2986
|
+
# [AWS WAF Classic][1] in the developer guide.
|
2987
|
+
#
|
2988
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
2989
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
2990
|
+
# a single set of endpoints for regional and global use.
|
2991
|
+
#
|
2992
|
+
# </note>
|
2993
|
+
#
|
2489
2994
|
# Returns the RateBasedRule that is specified by the `RuleId` that you
|
2490
2995
|
# included in the `GetRateBasedRule` request.
|
2491
2996
|
#
|
2997
|
+
#
|
2998
|
+
#
|
2999
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3000
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3001
|
+
#
|
2492
3002
|
# @option params [required, String] :rule_id
|
2493
3003
|
# The `RuleId` of the RateBasedRule that you want to get. `RuleId` is
|
2494
3004
|
# returned by CreateRateBasedRule and by ListRateBasedRules.
|
@@ -2524,12 +3034,26 @@ module Aws::WAF
|
|
2524
3034
|
req.send_request(options)
|
2525
3035
|
end
|
2526
3036
|
|
3037
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3038
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3039
|
+
#
|
3040
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3041
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3042
|
+
# a single set of endpoints for regional and global use.
|
3043
|
+
#
|
3044
|
+
# </note>
|
3045
|
+
#
|
2527
3046
|
# Returns an array of IP addresses currently being blocked by the
|
2528
3047
|
# RateBasedRule that is specified by the `RuleId`. The maximum number of
|
2529
3048
|
# managed keys that will be blocked is 10,000. If more than 10,000
|
2530
3049
|
# addresses exceed the rate limit, the 10,000 addresses with the highest
|
2531
3050
|
# rates will be blocked.
|
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] :rule_id
|
2534
3058
|
# The `RuleId` of the RateBasedRule for which you want to get a list of
|
2535
3059
|
# `ManagedKeys`. `RuleId` is returned by CreateRateBasedRule and by
|
@@ -2566,8 +3090,22 @@ module Aws::WAF
|
|
2566
3090
|
req.send_request(options)
|
2567
3091
|
end
|
2568
3092
|
|
3093
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3094
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3095
|
+
#
|
3096
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3097
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3098
|
+
# a single set of endpoints for regional and global use.
|
3099
|
+
#
|
3100
|
+
# </note>
|
3101
|
+
#
|
2569
3102
|
# Returns the RegexMatchSet specified by `RegexMatchSetId`.
|
2570
3103
|
#
|
3104
|
+
#
|
3105
|
+
#
|
3106
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3107
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3108
|
+
#
|
2571
3109
|
# @option params [required, String] :regex_match_set_id
|
2572
3110
|
# The `RegexMatchSetId` of the RegexMatchSet that you want to get.
|
2573
3111
|
# `RegexMatchSetId` is returned by CreateRegexMatchSet and by
|
@@ -2602,8 +3140,22 @@ module Aws::WAF
|
|
2602
3140
|
req.send_request(options)
|
2603
3141
|
end
|
2604
3142
|
|
3143
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3144
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3145
|
+
#
|
3146
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3147
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3148
|
+
# a single set of endpoints for regional and global use.
|
3149
|
+
#
|
3150
|
+
# </note>
|
3151
|
+
#
|
2605
3152
|
# Returns the RegexPatternSet specified by `RegexPatternSetId`.
|
2606
3153
|
#
|
3154
|
+
#
|
3155
|
+
#
|
3156
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3157
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3158
|
+
#
|
2607
3159
|
# @option params [required, String] :regex_pattern_set_id
|
2608
3160
|
# The `RegexPatternSetId` of the RegexPatternSet that you want to get.
|
2609
3161
|
# `RegexPatternSetId` is returned by CreateRegexPatternSet and by
|
@@ -2635,9 +3187,23 @@ module Aws::WAF
|
|
2635
3187
|
req.send_request(options)
|
2636
3188
|
end
|
2637
3189
|
|
3190
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3191
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3192
|
+
#
|
3193
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3194
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3195
|
+
# a single set of endpoints for regional and global use.
|
3196
|
+
#
|
3197
|
+
# </note>
|
3198
|
+
#
|
2638
3199
|
# Returns the Rule that is specified by the `RuleId` that you included
|
2639
3200
|
# in the `GetRule` request.
|
2640
3201
|
#
|
3202
|
+
#
|
3203
|
+
#
|
3204
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3205
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3206
|
+
#
|
2641
3207
|
# @option params [required, String] :rule_id
|
2642
3208
|
# The `RuleId` of the Rule that you want to get. `RuleId` is returned by
|
2643
3209
|
# CreateRule and by ListRules.
|
@@ -2696,11 +3262,25 @@ module Aws::WAF
|
|
2696
3262
|
req.send_request(options)
|
2697
3263
|
end
|
2698
3264
|
|
3265
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3266
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3267
|
+
#
|
3268
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3269
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3270
|
+
# a single set of endpoints for regional and global use.
|
3271
|
+
#
|
3272
|
+
# </note>
|
3273
|
+
#
|
2699
3274
|
# Returns the RuleGroup that is specified by the `RuleGroupId` that you
|
2700
3275
|
# included in the `GetRuleGroup` request.
|
2701
3276
|
#
|
2702
3277
|
# To view the rules in a rule group, use ListActivatedRulesInRuleGroup.
|
2703
3278
|
#
|
3279
|
+
#
|
3280
|
+
#
|
3281
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3282
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3283
|
+
#
|
2704
3284
|
# @option params [required, String] :rule_group_id
|
2705
3285
|
# The `RuleGroupId` of the RuleGroup that you want to get. `RuleGroupId`
|
2706
3286
|
# is returned by CreateRuleGroup and by ListRuleGroups.
|
@@ -2730,6 +3310,15 @@ module Aws::WAF
|
|
2730
3310
|
req.send_request(options)
|
2731
3311
|
end
|
2732
3312
|
|
3313
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3314
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3315
|
+
#
|
3316
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3317
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3318
|
+
# a single set of endpoints for regional and global use.
|
3319
|
+
#
|
3320
|
+
# </note>
|
3321
|
+
#
|
2733
3322
|
# Gets detailed information about a specified number of requests--a
|
2734
3323
|
# sample--that AWS WAF randomly selects from among the first 5,000
|
2735
3324
|
# requests that your AWS resource received during a time range that you
|
@@ -2743,6 +3332,11 @@ module Aws::WAF
|
|
2743
3332
|
# range. This new time range indicates the actual period during which
|
2744
3333
|
# AWS WAF selected the requests in the sample.
|
2745
3334
|
#
|
3335
|
+
#
|
3336
|
+
#
|
3337
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3338
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3339
|
+
#
|
2746
3340
|
# @option params [required, String] :web_acl_id
|
2747
3341
|
# The `WebACLId` of the `WebACL` for which you want `GetSampledRequests`
|
2748
3342
|
# to return a sample of requests.
|
@@ -2761,7 +3355,8 @@ module Aws::WAF
|
|
2761
3355
|
# @option params [required, Types::TimeWindow] :time_window
|
2762
3356
|
# The start date and time and the end date and time of the range for
|
2763
3357
|
# which you want `GetSampledRequests` to return a sample of requests.
|
2764
|
-
#
|
3358
|
+
# You must specify the times in Coordinated Universal Time (UTC) format.
|
3359
|
+
# UTC format includes the special designator, `Z`. For example,
|
2765
3360
|
# `"2016-09-27T14:50Z"`. You can specify any time range in the previous
|
2766
3361
|
# three hours.
|
2767
3362
|
#
|
@@ -2863,8 +3458,22 @@ module Aws::WAF
|
|
2863
3458
|
req.send_request(options)
|
2864
3459
|
end
|
2865
3460
|
|
3461
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3462
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3463
|
+
#
|
3464
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3465
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3466
|
+
# a single set of endpoints for regional and global use.
|
3467
|
+
#
|
3468
|
+
# </note>
|
3469
|
+
#
|
2866
3470
|
# Returns the SizeConstraintSet specified by `SizeConstraintSetId`.
|
2867
3471
|
#
|
3472
|
+
#
|
3473
|
+
#
|
3474
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3475
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3476
|
+
#
|
2868
3477
|
# @option params [required, String] :size_constraint_set_id
|
2869
3478
|
# The `SizeConstraintSetId` of the SizeConstraintSet that you want to
|
2870
3479
|
# get. `SizeConstraintSetId` is returned by CreateSizeConstraintSet and
|
@@ -2928,9 +3537,23 @@ module Aws::WAF
|
|
2928
3537
|
req.send_request(options)
|
2929
3538
|
end
|
2930
3539
|
|
3540
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3541
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3542
|
+
#
|
3543
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3544
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3545
|
+
# a single set of endpoints for regional and global use.
|
3546
|
+
#
|
3547
|
+
# </note>
|
3548
|
+
#
|
2931
3549
|
# Returns the SqlInjectionMatchSet that is specified by
|
2932
3550
|
# `SqlInjectionMatchSetId`.
|
2933
3551
|
#
|
3552
|
+
#
|
3553
|
+
#
|
3554
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3555
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3556
|
+
#
|
2934
3557
|
# @option params [required, String] :sql_injection_match_set_id
|
2935
3558
|
# The `SqlInjectionMatchSetId` of the SqlInjectionMatchSet that you want
|
2936
3559
|
# to get. `SqlInjectionMatchSetId` is returned by
|
@@ -2990,8 +3613,22 @@ module Aws::WAF
|
|
2990
3613
|
req.send_request(options)
|
2991
3614
|
end
|
2992
3615
|
|
3616
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3617
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3618
|
+
#
|
3619
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3620
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3621
|
+
# a single set of endpoints for regional and global use.
|
3622
|
+
#
|
3623
|
+
# </note>
|
3624
|
+
#
|
2993
3625
|
# Returns the WebACL that is specified by `WebACLId`.
|
2994
3626
|
#
|
3627
|
+
#
|
3628
|
+
#
|
3629
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3630
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3631
|
+
#
|
2995
3632
|
# @option params [required, String] :web_acl_id
|
2996
3633
|
# The `WebACLId` of the WebACL that you want to get. `WebACLId` is
|
2997
3634
|
# returned by CreateWebACL and by ListWebACLs.
|
@@ -3061,8 +3698,22 @@ module Aws::WAF
|
|
3061
3698
|
req.send_request(options)
|
3062
3699
|
end
|
3063
3700
|
|
3701
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3702
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3703
|
+
#
|
3704
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3705
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3706
|
+
# a single set of endpoints for regional and global use.
|
3707
|
+
#
|
3708
|
+
# </note>
|
3709
|
+
#
|
3064
3710
|
# Returns the XssMatchSet that is specified by `XssMatchSetId`.
|
3065
3711
|
#
|
3712
|
+
#
|
3713
|
+
#
|
3714
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3715
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3716
|
+
#
|
3066
3717
|
# @option params [required, String] :xss_match_set_id
|
3067
3718
|
# The `XssMatchSetId` of the XssMatchSet that you want to get.
|
3068
3719
|
# `XssMatchSetId` is returned by CreateXssMatchSet and by
|
@@ -3121,8 +3772,22 @@ module Aws::WAF
|
|
3121
3772
|
req.send_request(options)
|
3122
3773
|
end
|
3123
3774
|
|
3775
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3776
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3777
|
+
#
|
3778
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3779
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3780
|
+
# a single set of endpoints for regional and global use.
|
3781
|
+
#
|
3782
|
+
# </note>
|
3783
|
+
#
|
3124
3784
|
# Returns an array of ActivatedRule objects.
|
3125
3785
|
#
|
3786
|
+
#
|
3787
|
+
#
|
3788
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3789
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3790
|
+
#
|
3126
3791
|
# @option params [String] :rule_group_id
|
3127
3792
|
# The `RuleGroupId` of the RuleGroup for which you want to get a list of
|
3128
3793
|
# ActivatedRule objects.
|
@@ -3176,8 +3841,22 @@ module Aws::WAF
|
|
3176
3841
|
req.send_request(options)
|
3177
3842
|
end
|
3178
3843
|
|
3844
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3845
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3846
|
+
#
|
3847
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3848
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3849
|
+
# a single set of endpoints for regional and global use.
|
3850
|
+
#
|
3851
|
+
# </note>
|
3852
|
+
#
|
3179
3853
|
# Returns an array of ByteMatchSetSummary objects.
|
3180
3854
|
#
|
3855
|
+
#
|
3856
|
+
#
|
3857
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3858
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3859
|
+
#
|
3181
3860
|
# @option params [String] :next_marker
|
3182
3861
|
# If you specify a value for `Limit` and you have more `ByteMatchSets`
|
3183
3862
|
# than the value of `Limit`, AWS WAF returns a `NextMarker` value in the
|
@@ -3221,8 +3900,22 @@ module Aws::WAF
|
|
3221
3900
|
req.send_request(options)
|
3222
3901
|
end
|
3223
3902
|
|
3903
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3904
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3905
|
+
#
|
3906
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3907
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3908
|
+
# a single set of endpoints for regional and global use.
|
3909
|
+
#
|
3910
|
+
# </note>
|
3911
|
+
#
|
3224
3912
|
# Returns an array of GeoMatchSetSummary objects in the response.
|
3225
3913
|
#
|
3914
|
+
#
|
3915
|
+
#
|
3916
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3917
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3918
|
+
#
|
3226
3919
|
# @option params [String] :next_marker
|
3227
3920
|
# If you specify a value for `Limit` and you have more `GeoMatchSet`s
|
3228
3921
|
# than the value of `Limit`, AWS WAF returns a `NextMarker` value in the
|
@@ -3266,8 +3959,22 @@ module Aws::WAF
|
|
3266
3959
|
req.send_request(options)
|
3267
3960
|
end
|
3268
3961
|
|
3962
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
3963
|
+
# [AWS WAF Classic][1] in the developer guide.
|
3964
|
+
#
|
3965
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
3966
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
3967
|
+
# a single set of endpoints for regional and global use.
|
3968
|
+
#
|
3969
|
+
# </note>
|
3970
|
+
#
|
3269
3971
|
# Returns an array of IPSetSummary objects in the response.
|
3270
3972
|
#
|
3973
|
+
#
|
3974
|
+
#
|
3975
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3976
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3977
|
+
#
|
3271
3978
|
# @option params [String] :next_marker
|
3272
3979
|
# AWS WAF returns a `NextMarker` value in the response that allows you
|
3273
3980
|
# to list another group of `IPSets`. For the second and subsequent
|
@@ -3327,8 +4034,22 @@ module Aws::WAF
|
|
3327
4034
|
req.send_request(options)
|
3328
4035
|
end
|
3329
4036
|
|
4037
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4038
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4039
|
+
#
|
4040
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4041
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4042
|
+
# a single set of endpoints for regional and global use.
|
4043
|
+
#
|
4044
|
+
# </note>
|
4045
|
+
#
|
3330
4046
|
# Returns an array of LoggingConfiguration objects.
|
3331
4047
|
#
|
4048
|
+
#
|
4049
|
+
#
|
4050
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4051
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4052
|
+
#
|
3332
4053
|
# @option params [String] :next_marker
|
3333
4054
|
# If you specify a value for `Limit` and you have more
|
3334
4055
|
# `LoggingConfigurations` than the value of `Limit`, AWS WAF returns a
|
@@ -3377,8 +4098,22 @@ module Aws::WAF
|
|
3377
4098
|
req.send_request(options)
|
3378
4099
|
end
|
3379
4100
|
|
4101
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4102
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4103
|
+
#
|
4104
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4105
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4106
|
+
# a single set of endpoints for regional and global use.
|
4107
|
+
#
|
4108
|
+
# </note>
|
4109
|
+
#
|
3380
4110
|
# Returns an array of RuleSummary objects.
|
3381
4111
|
#
|
4112
|
+
#
|
4113
|
+
#
|
4114
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4115
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4116
|
+
#
|
3382
4117
|
# @option params [String] :next_marker
|
3383
4118
|
# If you specify a value for `Limit` and you have more `Rules` than the
|
3384
4119
|
# value of `Limit`, AWS WAF returns a `NextMarker` value in the response
|
@@ -3421,8 +4156,22 @@ module Aws::WAF
|
|
3421
4156
|
req.send_request(options)
|
3422
4157
|
end
|
3423
4158
|
|
4159
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4160
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4161
|
+
#
|
4162
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4163
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4164
|
+
# a single set of endpoints for regional and global use.
|
4165
|
+
#
|
4166
|
+
# </note>
|
4167
|
+
#
|
3424
4168
|
# Returns an array of RegexMatchSetSummary objects.
|
3425
4169
|
#
|
4170
|
+
#
|
4171
|
+
#
|
4172
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4173
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4174
|
+
#
|
3426
4175
|
# @option params [String] :next_marker
|
3427
4176
|
# If you specify a value for `Limit` and you have more `RegexMatchSet`
|
3428
4177
|
# objects than the value of `Limit`, AWS WAF returns a `NextMarker`
|
@@ -3466,8 +4215,22 @@ module Aws::WAF
|
|
3466
4215
|
req.send_request(options)
|
3467
4216
|
end
|
3468
4217
|
|
4218
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4219
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4220
|
+
#
|
4221
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4222
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4223
|
+
# a single set of endpoints for regional and global use.
|
4224
|
+
#
|
4225
|
+
# </note>
|
4226
|
+
#
|
3469
4227
|
# Returns an array of RegexPatternSetSummary objects.
|
3470
4228
|
#
|
4229
|
+
#
|
4230
|
+
#
|
4231
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4232
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4233
|
+
#
|
3471
4234
|
# @option params [String] :next_marker
|
3472
4235
|
# If you specify a value for `Limit` and you have more `RegexPatternSet`
|
3473
4236
|
# objects than the value of `Limit`, AWS WAF returns a `NextMarker`
|
@@ -3512,8 +4275,22 @@ module Aws::WAF
|
|
3512
4275
|
req.send_request(options)
|
3513
4276
|
end
|
3514
4277
|
|
4278
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4279
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4280
|
+
#
|
4281
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4282
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4283
|
+
# a single set of endpoints for regional and global use.
|
4284
|
+
#
|
4285
|
+
# </note>
|
4286
|
+
#
|
3515
4287
|
# Returns an array of RuleGroup objects.
|
3516
4288
|
#
|
4289
|
+
#
|
4290
|
+
#
|
4291
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4292
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4293
|
+
#
|
3517
4294
|
# @option params [String] :next_marker
|
3518
4295
|
# If you specify a value for `Limit` and you have more `RuleGroups` than
|
3519
4296
|
# the value of `Limit`, AWS WAF returns a `NextMarker` value in the
|
@@ -3556,8 +4333,22 @@ module Aws::WAF
|
|
3556
4333
|
req.send_request(options)
|
3557
4334
|
end
|
3558
4335
|
|
4336
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4337
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4338
|
+
#
|
4339
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4340
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4341
|
+
# a single set of endpoints for regional and global use.
|
4342
|
+
#
|
4343
|
+
# </note>
|
4344
|
+
#
|
3559
4345
|
# Returns an array of RuleSummary objects.
|
3560
4346
|
#
|
4347
|
+
#
|
4348
|
+
#
|
4349
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4350
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4351
|
+
#
|
3561
4352
|
# @option params [String] :next_marker
|
3562
4353
|
# If you specify a value for `Limit` and you have more `Rules` than the
|
3563
4354
|
# value of `Limit`, AWS WAF returns a `NextMarker` value in the response
|
@@ -3619,8 +4410,22 @@ module Aws::WAF
|
|
3619
4410
|
req.send_request(options)
|
3620
4411
|
end
|
3621
4412
|
|
4413
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4414
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4415
|
+
#
|
4416
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4417
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4418
|
+
# a single set of endpoints for regional and global use.
|
4419
|
+
#
|
4420
|
+
# </note>
|
4421
|
+
#
|
3622
4422
|
# Returns an array of SizeConstraintSetSummary objects.
|
3623
4423
|
#
|
4424
|
+
#
|
4425
|
+
#
|
4426
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4427
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4428
|
+
#
|
3624
4429
|
# @option params [String] :next_marker
|
3625
4430
|
# If you specify a value for `Limit` and you have more
|
3626
4431
|
# `SizeConstraintSets` than the value of `Limit`, AWS WAF returns a
|
@@ -3684,8 +4489,22 @@ module Aws::WAF
|
|
3684
4489
|
req.send_request(options)
|
3685
4490
|
end
|
3686
4491
|
|
4492
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4493
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4494
|
+
#
|
4495
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4496
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4497
|
+
# a single set of endpoints for regional and global use.
|
4498
|
+
#
|
4499
|
+
# </note>
|
4500
|
+
#
|
3687
4501
|
# Returns an array of SqlInjectionMatchSet objects.
|
3688
4502
|
#
|
4503
|
+
#
|
4504
|
+
#
|
4505
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4506
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4507
|
+
#
|
3689
4508
|
# @option params [String] :next_marker
|
3690
4509
|
# If you specify a value for `Limit` and you have more
|
3691
4510
|
# SqlInjectionMatchSet objects than the value of `Limit`, AWS WAF
|
@@ -3749,8 +4568,22 @@ module Aws::WAF
|
|
3749
4568
|
req.send_request(options)
|
3750
4569
|
end
|
3751
4570
|
|
4571
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4572
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4573
|
+
#
|
4574
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4575
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4576
|
+
# a single set of endpoints for regional and global use.
|
4577
|
+
#
|
4578
|
+
# </note>
|
4579
|
+
#
|
3752
4580
|
# Returns an array of RuleGroup objects that you are subscribed to.
|
3753
4581
|
#
|
4582
|
+
#
|
4583
|
+
#
|
4584
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4585
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4586
|
+
#
|
3754
4587
|
# @option params [String] :next_marker
|
3755
4588
|
# If you specify a value for `Limit` and you have more
|
3756
4589
|
# `ByteMatchSets`subscribed rule groups than the value of `Limit`, AWS
|
@@ -3795,6 +4628,32 @@ module Aws::WAF
|
|
3795
4628
|
req.send_request(options)
|
3796
4629
|
end
|
3797
4630
|
|
4631
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4632
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4633
|
+
#
|
4634
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4635
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4636
|
+
# a single set of endpoints for regional and global use.
|
4637
|
+
#
|
4638
|
+
# </note>
|
4639
|
+
#
|
4640
|
+
# Retrieves the tags associated with the specified AWS resource. Tags
|
4641
|
+
# are key:value pairs that you can use to categorize and manage your
|
4642
|
+
# resources, for purposes like billing. For example, you might set the
|
4643
|
+
# tag key to "customer" and the value to the customer name or ID. You
|
4644
|
+
# can specify one or more tags to add to each AWS resource, up to 50
|
4645
|
+
# tags for a resource.
|
4646
|
+
#
|
4647
|
+
# Tagging is only available through the API, SDKs, and CLI. You can't
|
4648
|
+
# manage or view tags through the AWS WAF Classic console. You can tag
|
4649
|
+
# the AWS resources that you manage through AWS WAF Classic: web ACLs,
|
4650
|
+
# rule groups, and rules.
|
4651
|
+
#
|
4652
|
+
#
|
4653
|
+
#
|
4654
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4655
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4656
|
+
#
|
3798
4657
|
# @option params [String] :next_marker
|
3799
4658
|
#
|
3800
4659
|
# @option params [Integer] :limit
|
@@ -3831,8 +4690,22 @@ module Aws::WAF
|
|
3831
4690
|
req.send_request(options)
|
3832
4691
|
end
|
3833
4692
|
|
4693
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4694
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4695
|
+
#
|
4696
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4697
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4698
|
+
# a single set of endpoints for regional and global use.
|
4699
|
+
#
|
4700
|
+
# </note>
|
4701
|
+
#
|
3834
4702
|
# Returns an array of WebACLSummary objects in the response.
|
3835
4703
|
#
|
4704
|
+
#
|
4705
|
+
#
|
4706
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4707
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4708
|
+
#
|
3836
4709
|
# @option params [String] :next_marker
|
3837
4710
|
# If you specify a value for `Limit` and you have more `WebACL` objects
|
3838
4711
|
# than the number that you specify for `Limit`, AWS WAF returns a
|
@@ -3895,8 +4768,22 @@ module Aws::WAF
|
|
3895
4768
|
req.send_request(options)
|
3896
4769
|
end
|
3897
4770
|
|
4771
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4772
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4773
|
+
#
|
4774
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4775
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4776
|
+
# a single set of endpoints for regional and global use.
|
4777
|
+
#
|
4778
|
+
# </note>
|
4779
|
+
#
|
3898
4780
|
# Returns an array of XssMatchSet objects.
|
3899
4781
|
#
|
4782
|
+
#
|
4783
|
+
#
|
4784
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4785
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4786
|
+
#
|
3900
4787
|
# @option params [String] :next_marker
|
3901
4788
|
# If you specify a value for `Limit` and you have more XssMatchSet
|
3902
4789
|
# objects than the value of `Limit`, AWS WAF returns a `NextMarker`
|
@@ -3958,6 +4845,15 @@ module Aws::WAF
|
|
3958
4845
|
req.send_request(options)
|
3959
4846
|
end
|
3960
4847
|
|
4848
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4849
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4850
|
+
#
|
4851
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4852
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4853
|
+
# a single set of endpoints for regional and global use.
|
4854
|
+
#
|
4855
|
+
# </note>
|
4856
|
+
#
|
3961
4857
|
# Associates a LoggingConfiguration with a specified web ACL.
|
3962
4858
|
#
|
3963
4859
|
# You can access information about all traffic that AWS WAF inspects
|
@@ -3980,12 +4876,14 @@ module Aws::WAF
|
|
3980
4876
|
# When you successfully enable logging using a `PutLoggingConfiguration`
|
3981
4877
|
# request, AWS WAF will create a service linked role with the necessary
|
3982
4878
|
# permissions to write logs to the Amazon Kinesis Data Firehose. For
|
3983
|
-
# more information, see [Logging Web ACL Traffic Information][
|
4879
|
+
# more information, see [Logging Web ACL Traffic Information][3] in the
|
3984
4880
|
# *AWS WAF Developer Guide*.
|
3985
4881
|
#
|
3986
4882
|
#
|
3987
4883
|
#
|
3988
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4884
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4885
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4886
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/logging.html
|
3989
4887
|
#
|
3990
4888
|
# @option params [required, Types::LoggingConfiguration] :logging_configuration
|
3991
4889
|
# The Amazon Kinesis Data Firehose that contains the inspected traffic
|
@@ -4034,7 +4932,16 @@ module Aws::WAF
|
|
4034
4932
|
req.send_request(options)
|
4035
4933
|
end
|
4036
4934
|
|
4037
|
-
#
|
4935
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
4936
|
+
# [AWS WAF Classic][1] in the developer guide.
|
4937
|
+
#
|
4938
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
4939
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
4940
|
+
# a single set of endpoints for regional and global use.
|
4941
|
+
#
|
4942
|
+
# </note>
|
4943
|
+
#
|
4944
|
+
# Attaches an IAM policy to the specified resource. The only supported
|
4038
4945
|
# use for this action is to share a RuleGroup across accounts.
|
4039
4946
|
#
|
4040
4947
|
# The `PutPermissionPolicy` is subject to the following restrictions:
|
@@ -4060,14 +4967,16 @@ module Aws::WAF
|
|
4060
4967
|
#
|
4061
4968
|
# * Your policy must be composed using IAM Policy version 2012-10-17.
|
4062
4969
|
#
|
4063
|
-
# For more information, see [IAM Policies][
|
4970
|
+
# For more information, see [IAM Policies][3].
|
4064
4971
|
#
|
4065
4972
|
# An example of a valid policy parameter is shown in the Examples
|
4066
4973
|
# section below.
|
4067
4974
|
#
|
4068
4975
|
#
|
4069
4976
|
#
|
4070
|
-
# [1]: https://docs.aws.amazon.com/
|
4977
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4978
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4979
|
+
# [3]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html
|
4071
4980
|
#
|
4072
4981
|
# @option params [required, String] :resource_arn
|
4073
4982
|
# The Amazon Resource Name (ARN) of the RuleGroup to which you want to
|
@@ -4094,6 +5003,32 @@ module Aws::WAF
|
|
4094
5003
|
req.send_request(options)
|
4095
5004
|
end
|
4096
5005
|
|
5006
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5007
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5008
|
+
#
|
5009
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5010
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5011
|
+
# a single set of endpoints for regional and global use.
|
5012
|
+
#
|
5013
|
+
# </note>
|
5014
|
+
#
|
5015
|
+
# Associates tags with the specified AWS resource. Tags are key:value
|
5016
|
+
# pairs that you can use to categorize and manage your resources, for
|
5017
|
+
# purposes like billing. For example, you might set the tag key to
|
5018
|
+
# "customer" and the value to the customer name or ID. You can specify
|
5019
|
+
# one or more tags to add to each AWS resource, up to 50 tags for a
|
5020
|
+
# resource.
|
5021
|
+
#
|
5022
|
+
# Tagging is only available through the API, SDKs, and CLI. You can't
|
5023
|
+
# manage or view tags through the AWS WAF Classic console. You can use
|
5024
|
+
# this action to tag the AWS resources that you manage through AWS WAF
|
5025
|
+
# Classic: web ACLs, rule groups, and rules.
|
5026
|
+
#
|
5027
|
+
#
|
5028
|
+
#
|
5029
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5030
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5031
|
+
#
|
4097
5032
|
# @option params [required, String] :resource_arn
|
4098
5033
|
#
|
4099
5034
|
# @option params [required, Array<Types::Tag>] :tags
|
@@ -4106,8 +5041,8 @@ module Aws::WAF
|
|
4106
5041
|
# resource_arn: "ResourceArn", # required
|
4107
5042
|
# tags: [ # required
|
4108
5043
|
# {
|
4109
|
-
# key: "TagKey",
|
4110
|
-
# value: "TagValue",
|
5044
|
+
# key: "TagKey", # required
|
5045
|
+
# value: "TagValue", # required
|
4111
5046
|
# },
|
4112
5047
|
# ],
|
4113
5048
|
# })
|
@@ -4121,6 +5056,22 @@ module Aws::WAF
|
|
4121
5056
|
req.send_request(options)
|
4122
5057
|
end
|
4123
5058
|
|
5059
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5060
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5061
|
+
#
|
5062
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5063
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5064
|
+
# a single set of endpoints for regional and global use.
|
5065
|
+
#
|
5066
|
+
# </note>
|
5067
|
+
#
|
5068
|
+
#
|
5069
|
+
#
|
5070
|
+
#
|
5071
|
+
#
|
5072
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5073
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5074
|
+
#
|
4124
5075
|
# @option params [required, String] :resource_arn
|
4125
5076
|
#
|
4126
5077
|
# @option params [required, Array<String>] :tag_keys
|
@@ -4143,6 +5094,15 @@ module Aws::WAF
|
|
4143
5094
|
req.send_request(options)
|
4144
5095
|
end
|
4145
5096
|
|
5097
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5098
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5099
|
+
#
|
5100
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5101
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5102
|
+
# a single set of endpoints for regional and global use.
|
5103
|
+
#
|
5104
|
+
# </note>
|
5105
|
+
#
|
4146
5106
|
# Inserts or deletes ByteMatchTuple objects (filters) in a ByteMatchSet.
|
4147
5107
|
# For each `ByteMatchTuple` object, you specify the following values:
|
4148
5108
|
#
|
@@ -4182,11 +5142,13 @@ module Aws::WAF
|
|
4182
5142
|
# or the URI) and the value that you want AWS WAF to watch for.
|
4183
5143
|
#
|
4184
5144
|
# For more information about how to use the AWS WAF API to allow or
|
4185
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5145
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4186
5146
|
#
|
4187
5147
|
#
|
4188
5148
|
#
|
4189
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5149
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5150
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5151
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4190
5152
|
#
|
4191
5153
|
# @option params [required, String] :byte_match_set_id
|
4192
5154
|
# The `ByteMatchSetId` of the ByteMatchSet that you want to update.
|
@@ -4276,6 +5238,15 @@ module Aws::WAF
|
|
4276
5238
|
req.send_request(options)
|
4277
5239
|
end
|
4278
5240
|
|
5241
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5242
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5243
|
+
#
|
5244
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5245
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5246
|
+
# a single set of endpoints for regional and global use.
|
5247
|
+
#
|
5248
|
+
# </note>
|
5249
|
+
#
|
4279
5250
|
# Inserts or deletes GeoMatchConstraint objects in an `GeoMatchSet`. For
|
4280
5251
|
# each `GeoMatchConstraint` object, you specify the following values:
|
4281
5252
|
#
|
@@ -4304,11 +5275,13 @@ module Aws::WAF
|
|
4304
5275
|
# change a country, you delete the existing country and add the new one.
|
4305
5276
|
#
|
4306
5277
|
# For more information about how to use the AWS WAF API to allow or
|
4307
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5278
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4308
5279
|
#
|
4309
5280
|
#
|
4310
5281
|
#
|
4311
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5282
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5283
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5284
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4312
5285
|
#
|
4313
5286
|
# @option params [required, String] :geo_match_set_id
|
4314
5287
|
# The `GeoMatchSetId` of the GeoMatchSet that you want to update.
|
@@ -4364,6 +5337,15 @@ module Aws::WAF
|
|
4364
5337
|
req.send_request(options)
|
4365
5338
|
end
|
4366
5339
|
|
5340
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5341
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5342
|
+
#
|
5343
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5344
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5345
|
+
# a single set of endpoints for regional and global use.
|
5346
|
+
#
|
5347
|
+
# </note>
|
5348
|
+
#
|
4367
5349
|
# Inserts or deletes IPSetDescriptor objects in an `IPSet`. For each
|
4368
5350
|
# `IPSetDescriptor` object, you specify the following values:
|
4369
5351
|
#
|
@@ -4380,7 +5362,7 @@ module Aws::WAF
|
|
4380
5362
|
# AWS WAF supports IPv4 address ranges: /8 and any range between /16
|
4381
5363
|
# through /32. AWS WAF supports IPv6 address ranges: /24, /32, /48, /56,
|
4382
5364
|
# /64, and /128. For more information about CIDR notation, see the
|
4383
|
-
# Wikipedia entry [Classless Inter-Domain Routing][
|
5365
|
+
# Wikipedia entry [Classless Inter-Domain Routing][3].
|
4384
5366
|
#
|
4385
5367
|
# IPv6 addresses can be represented using any of the following formats:
|
4386
5368
|
#
|
@@ -4417,12 +5399,14 @@ module Aws::WAF
|
|
4417
5399
|
# You can insert a maximum of 1000 addresses in a single request.
|
4418
5400
|
#
|
4419
5401
|
# For more information about how to use the AWS WAF API to allow or
|
4420
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5402
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][4].
|
4421
5403
|
#
|
4422
5404
|
#
|
4423
5405
|
#
|
4424
|
-
# [1]: https://
|
4425
|
-
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5406
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5407
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5408
|
+
# [3]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
|
5409
|
+
# [4]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4426
5410
|
#
|
4427
5411
|
# @option params [required, String] :ip_set_id
|
4428
5412
|
# The `IPSetId` of the IPSet that you want to update. `IPSetId` is
|
@@ -4500,6 +5484,15 @@ module Aws::WAF
|
|
4500
5484
|
req.send_request(options)
|
4501
5485
|
end
|
4502
5486
|
|
5487
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5488
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5489
|
+
#
|
5490
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5491
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5492
|
+
# a single set of endpoints for regional and global use.
|
5493
|
+
#
|
5494
|
+
# </note>
|
5495
|
+
#
|
4503
5496
|
# Inserts or deletes Predicate objects in a rule and updates the
|
4504
5497
|
# `RateLimit` in the rule.
|
4505
5498
|
#
|
@@ -4517,14 +5510,14 @@ module Aws::WAF
|
|
4517
5510
|
#
|
4518
5511
|
# * A `ByteMatchSet` that matches `BadBot` in the `User-Agent` header
|
4519
5512
|
#
|
4520
|
-
# Further, you specify a `RateLimit` of
|
5513
|
+
# Further, you specify a `RateLimit` of 1,000.
|
4521
5514
|
#
|
4522
5515
|
# You then add the `RateBasedRule` to a `WebACL` and specify that you
|
4523
5516
|
# want to block requests that satisfy the rule. For a request to be
|
4524
5517
|
# blocked, it must come from the IP address 192.0.2.44 *and* the
|
4525
5518
|
# `User-Agent` header in the request must contain the value `BadBot`.
|
4526
5519
|
# Further, requests that match these two conditions much be received at
|
4527
|
-
# a rate of more than
|
5520
|
+
# a rate of more than 1,000 every five minutes. If the rate drops below
|
4528
5521
|
# this limit, AWS WAF no longer blocks the requests.
|
4529
5522
|
#
|
4530
5523
|
# As a second example, suppose you want to limit requests to a
|
@@ -4537,11 +5530,16 @@ module Aws::WAF
|
|
4537
5530
|
#
|
4538
5531
|
# * A `TargetString` of `login`
|
4539
5532
|
#
|
4540
|
-
# Further, you specify a `RateLimit` of
|
5533
|
+
# Further, you specify a `RateLimit` of 1,000.
|
4541
5534
|
#
|
4542
5535
|
# By adding this `RateBasedRule` to a `WebACL`, you could limit requests
|
4543
5536
|
# to your login page without affecting the rest of your site.
|
4544
5537
|
#
|
5538
|
+
#
|
5539
|
+
#
|
5540
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5541
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5542
|
+
#
|
4545
5543
|
# @option params [required, String] :rule_id
|
4546
5544
|
# The `RuleId` of the `RateBasedRule` that you want to update. `RuleId`
|
4547
5545
|
# is returned by `CreateRateBasedRule` and by ListRateBasedRules.
|
@@ -4595,6 +5593,15 @@ module Aws::WAF
|
|
4595
5593
|
req.send_request(options)
|
4596
5594
|
end
|
4597
5595
|
|
5596
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5597
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5598
|
+
#
|
5599
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5600
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5601
|
+
# a single set of endpoints for regional and global use.
|
5602
|
+
#
|
5603
|
+
# </note>
|
5604
|
+
#
|
4598
5605
|
# Inserts or deletes RegexMatchTuple objects (filters) in a
|
4599
5606
|
# RegexMatchSet. For each `RegexMatchSetUpdate` object, you specify the
|
4600
5607
|
# following values:
|
@@ -4634,11 +5641,13 @@ module Aws::WAF
|
|
4634
5641
|
# for.
|
4635
5642
|
#
|
4636
5643
|
# For more information about how to use the AWS WAF API to allow or
|
4637
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5644
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4638
5645
|
#
|
4639
5646
|
#
|
4640
5647
|
#
|
4641
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5648
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5649
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5650
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4642
5651
|
#
|
4643
5652
|
# @option params [required, String] :regex_match_set_id
|
4644
5653
|
# The `RegexMatchSetId` of the RegexMatchSet that you want to update.
|
@@ -4690,6 +5699,15 @@ module Aws::WAF
|
|
4690
5699
|
req.send_request(options)
|
4691
5700
|
end
|
4692
5701
|
|
5702
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5703
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5704
|
+
#
|
5705
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5706
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5707
|
+
# a single set of endpoints for regional and global use.
|
5708
|
+
#
|
5709
|
+
# </note>
|
5710
|
+
#
|
4693
5711
|
# Inserts or deletes `RegexPatternString` objects in a RegexPatternSet.
|
4694
5712
|
# For each `RegexPatternString` object, you specify the following
|
4695
5713
|
# values:
|
@@ -4723,11 +5741,13 @@ module Aws::WAF
|
|
4723
5741
|
# expression pattern that you want AWS WAF to watch for.
|
4724
5742
|
#
|
4725
5743
|
# For more information about how to use the AWS WAF API to allow or
|
4726
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5744
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4727
5745
|
#
|
4728
5746
|
#
|
4729
5747
|
#
|
4730
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5748
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5749
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5750
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4731
5751
|
#
|
4732
5752
|
# @option params [required, String] :regex_pattern_set_id
|
4733
5753
|
# The `RegexPatternSetId` of the RegexPatternSet that you want to
|
@@ -4771,6 +5791,15 @@ module Aws::WAF
|
|
4771
5791
|
req.send_request(options)
|
4772
5792
|
end
|
4773
5793
|
|
5794
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5795
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5796
|
+
#
|
5797
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5798
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5799
|
+
# a single set of endpoints for regional and global use.
|
5800
|
+
#
|
5801
|
+
# </note>
|
5802
|
+
#
|
4774
5803
|
# Inserts or deletes Predicate objects in a `Rule`. Each `Predicate`
|
4775
5804
|
# object identifies a predicate, such as a ByteMatchSet or an IPSet,
|
4776
5805
|
# that specifies the web requests that you want to allow, block, or
|
@@ -4807,11 +5836,13 @@ module Aws::WAF
|
|
4807
5836
|
# delete the existing one and add the new one.
|
4808
5837
|
#
|
4809
5838
|
# For more information about how to use the AWS WAF API to allow or
|
4810
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5839
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4811
5840
|
#
|
4812
5841
|
#
|
4813
5842
|
#
|
4814
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5843
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5844
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5845
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4815
5846
|
#
|
4816
5847
|
# @option params [required, String] :rule_id
|
4817
5848
|
# The `RuleId` of the `Rule` that you want to update. `RuleId` is
|
@@ -4890,6 +5921,15 @@ module Aws::WAF
|
|
4890
5921
|
req.send_request(options)
|
4891
5922
|
end
|
4892
5923
|
|
5924
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
5925
|
+
# [AWS WAF Classic][1] in the developer guide.
|
5926
|
+
#
|
5927
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
5928
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
5929
|
+
# a single set of endpoints for regional and global use.
|
5930
|
+
#
|
5931
|
+
# </note>
|
5932
|
+
#
|
4893
5933
|
# Inserts or deletes ActivatedRule objects in a `RuleGroup`.
|
4894
5934
|
#
|
4895
5935
|
# You can only insert `REGULAR` rules into a rule group.
|
@@ -4914,11 +5954,13 @@ module Aws::WAF
|
|
4914
5954
|
# existing one and add the new one.
|
4915
5955
|
#
|
4916
5956
|
# For more information about how to use the AWS WAF API to allow or
|
4917
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
5957
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
4918
5958
|
#
|
4919
5959
|
#
|
4920
5960
|
#
|
4921
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5961
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5962
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5963
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
4922
5964
|
#
|
4923
5965
|
# @option params [required, String] :rule_group_id
|
4924
5966
|
# The `RuleGroupId` of the RuleGroup that you want to update.
|
@@ -4984,6 +6026,15 @@ module Aws::WAF
|
|
4984
6026
|
req.send_request(options)
|
4985
6027
|
end
|
4986
6028
|
|
6029
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
6030
|
+
# [AWS WAF Classic][1] in the developer guide.
|
6031
|
+
#
|
6032
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
6033
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
6034
|
+
# a single set of endpoints for regional and global use.
|
6035
|
+
#
|
6036
|
+
# </note>
|
6037
|
+
#
|
4987
6038
|
# Inserts or deletes SizeConstraint objects (filters) in a
|
4988
6039
|
# SizeConstraintSet. For each `SizeConstraint` object, you specify the
|
4989
6040
|
# following values:
|
@@ -5032,11 +6083,13 @@ module Aws::WAF
|
|
5032
6083
|
# for.
|
5033
6084
|
#
|
5034
6085
|
# For more information about how to use the AWS WAF API to allow or
|
5035
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
6086
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
5036
6087
|
#
|
5037
6088
|
#
|
5038
6089
|
#
|
5039
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
6090
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6091
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6092
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5040
6093
|
#
|
5041
6094
|
# @option params [required, String] :size_constraint_set_id
|
5042
6095
|
# The `SizeConstraintSetId` of the SizeConstraintSet that you want to
|
@@ -5125,6 +6178,15 @@ module Aws::WAF
|
|
5125
6178
|
req.send_request(options)
|
5126
6179
|
end
|
5127
6180
|
|
6181
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
6182
|
+
# [AWS WAF Classic][1] in the developer guide.
|
6183
|
+
#
|
6184
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
6185
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
6186
|
+
# a single set of endpoints for regional and global use.
|
6187
|
+
#
|
6188
|
+
# </note>
|
6189
|
+
#
|
5128
6190
|
# Inserts or deletes SqlInjectionMatchTuple objects (filters) in a
|
5129
6191
|
# SqlInjectionMatchSet. For each `SqlInjectionMatchTuple` object, you
|
5130
6192
|
# specify the following values:
|
@@ -5163,11 +6225,13 @@ module Aws::WAF
|
|
5163
6225
|
# snippets of SQL code.
|
5164
6226
|
#
|
5165
6227
|
# For more information about how to use the AWS WAF API to allow or
|
5166
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
6228
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
5167
6229
|
#
|
5168
6230
|
#
|
5169
6231
|
#
|
5170
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
6232
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6233
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6234
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5171
6235
|
#
|
5172
6236
|
# @option params [required, String] :sql_injection_match_set_id
|
5173
6237
|
# The `SqlInjectionMatchSetId` of the `SqlInjectionMatchSet` that you
|
@@ -5253,6 +6317,15 @@ module Aws::WAF
|
|
5253
6317
|
req.send_request(options)
|
5254
6318
|
end
|
5255
6319
|
|
6320
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
6321
|
+
# [AWS WAF Classic][1] in the developer guide.
|
6322
|
+
#
|
6323
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
6324
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
6325
|
+
# a single set of endpoints for regional and global use.
|
6326
|
+
#
|
6327
|
+
# </note>
|
6328
|
+
#
|
5256
6329
|
# Inserts or deletes ActivatedRule objects in a `WebACL`. Each `Rule`
|
5257
6330
|
# identifies web requests that you want to allow, block, or count. When
|
5258
6331
|
# you update a `WebACL`, you specify the following values:
|
@@ -5298,14 +6371,14 @@ module Aws::WAF
|
|
5298
6371
|
# and to associate the `WebACL` with a CloudFront distribution.
|
5299
6372
|
#
|
5300
6373
|
# The `ActivatedRule` can be a rule group. If you specify a rule
|
5301
|
-
# group as your `ActivatedRule
|
5302
|
-
# that rule group.
|
6374
|
+
# group as your `ActivatedRule` , you can exclude specific rules
|
6375
|
+
# from that rule group.
|
5303
6376
|
#
|
5304
6377
|
# If you already have a rule group associated with a web ACL and
|
5305
6378
|
# want to submit an `UpdateWebACL` request to exclude certain rules
|
5306
6379
|
# from that rule group, you must first remove the rule group from
|
5307
6380
|
# the web ACL, the re-insert it again, specifying the excluded
|
5308
|
-
# rules. For details, see ActivatedRule$ExcludedRules.
|
6381
|
+
# rules. For details, see ActivatedRule$ExcludedRules .
|
5309
6382
|
#
|
5310
6383
|
# Be aware that if you try to add a RATE\_BASED rule to a web ACL
|
5311
6384
|
# without setting the rule type when first creating the rule, the
|
@@ -5314,11 +6387,13 @@ module Aws::WAF
|
|
5314
6387
|
# not exist.
|
5315
6388
|
#
|
5316
6389
|
# For more information about how to use the AWS WAF API to allow or
|
5317
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
6390
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
5318
6391
|
#
|
5319
6392
|
#
|
5320
6393
|
#
|
5321
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
6394
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6395
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6396
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5322
6397
|
#
|
5323
6398
|
# @option params [required, String] :web_acl_id
|
5324
6399
|
# The `WebACLId` of the WebACL that you want to update. `WebACLId` is
|
@@ -5428,6 +6503,15 @@ module Aws::WAF
|
|
5428
6503
|
req.send_request(options)
|
5429
6504
|
end
|
5430
6505
|
|
6506
|
+
# <note markdown="1"> This is **AWS WAF Classic** documentation. For more information, see
|
6507
|
+
# [AWS WAF Classic][1] in the developer guide.
|
6508
|
+
#
|
6509
|
+
# **For the latest version of AWS WAF**, use the AWS WAFV2 API and see
|
6510
|
+
# the [AWS WAF Developer Guide][2]. With the latest version, AWS WAF has
|
6511
|
+
# a single set of endpoints for regional and global use.
|
6512
|
+
#
|
6513
|
+
# </note>
|
6514
|
+
#
|
5431
6515
|
# Inserts or deletes XssMatchTuple objects (filters) in an XssMatchSet.
|
5432
6516
|
# For each `XssMatchTuple` object, you specify the following values:
|
5433
6517
|
#
|
@@ -5464,11 +6548,13 @@ module Aws::WAF
|
|
5464
6548
|
# attacks.
|
5465
6549
|
#
|
5466
6550
|
# For more information about how to use the AWS WAF API to allow or
|
5467
|
-
# block HTTP requests, see the [AWS WAF Developer Guide][
|
6551
|
+
# block HTTP requests, see the [AWS WAF Developer Guide][3].
|
5468
6552
|
#
|
5469
6553
|
#
|
5470
6554
|
#
|
5471
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
6555
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6556
|
+
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6557
|
+
# [3]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
5472
6558
|
#
|
5473
6559
|
# @option params [required, String] :xss_match_set_id
|
5474
6560
|
# The `XssMatchSetId` of the `XssMatchSet` that you want to update.
|
@@ -5565,7 +6651,7 @@ module Aws::WAF
|
|
5565
6651
|
params: params,
|
5566
6652
|
config: config)
|
5567
6653
|
context[:gem_name] = 'aws-sdk-waf'
|
5568
|
-
context[:gem_version] = '1.
|
6654
|
+
context[:gem_version] = '1.28.0'
|
5569
6655
|
Seahorse::Client::Request.new(handlers, context)
|
5570
6656
|
end
|
5571
6657
|
|