aws-sdk-wafv2 1.11.0 → 1.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-wafv2.rb +2 -1
- data/lib/aws-sdk-wafv2/client.rb +393 -449
- data/lib/aws-sdk-wafv2/client_api.rb +21 -0
- data/lib/aws-sdk-wafv2/types.rb +989 -679
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a728bec8f9b85cf39b9802873686f5bcb7ab6724cf33ccfb717c13b1f0308ad
|
4
|
+
data.tar.gz: fac2047f25163a12e0353030719e5e4a8e63453240e4b5d2856c3922470e392d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b764fa8b76f49a71211c013642a9222cb2d556d8a3fa6afd1e07353e70596033fe362ad5c1172a0e9221ebf4ba058cccb15d7962a2ea910a1cf3177c0c293e3f
|
7
|
+
data.tar.gz: 6a52ef2c7507e9a38021eb1189f17b32d3d86132eb318fa0e0df260fc590e887377d48e1a09c5f667aa69095956e3900ac88e5cd7ed003715b9be99164cfc2e8
|
data/lib/aws-sdk-wafv2.rb
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-wafv2/customizations'
|
|
47
48
|
# @!group service
|
48
49
|
module Aws::WAFV2
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.16.0'
|
51
52
|
|
52
53
|
end
|
data/lib/aws-sdk-wafv2/client.rb
CHANGED
@@ -337,27 +337,19 @@ module Aws::WAFV2
|
|
337
337
|
|
338
338
|
# @!group API Operations
|
339
339
|
|
340
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
341
|
-
# in November, 2019. For information, including how to migrate your AWS
|
342
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
343
|
-
# Guide][1].
|
344
|
-
#
|
345
|
-
# </note>
|
346
|
-
#
|
347
340
|
# Associates a Web ACL with a regional application resource, to protect
|
348
341
|
# the resource. A regional application can be an Application Load
|
349
|
-
# Balancer (ALB)
|
342
|
+
# Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API.
|
350
343
|
#
|
351
344
|
# For AWS CloudFront, don't use this call. Instead, use your CloudFront
|
352
345
|
# distribution configuration. To associate a Web ACL, in the CloudFront
|
353
346
|
# call `UpdateDistribution`, set the web ACL ID to the Amazon Resource
|
354
347
|
# Name (ARN) of the Web ACL. For information, see
|
355
|
-
# [UpdateDistribution][
|
348
|
+
# [UpdateDistribution][1].
|
356
349
|
#
|
357
350
|
#
|
358
351
|
#
|
359
|
-
# [1]: https://docs.aws.amazon.com/
|
360
|
-
# [2]: https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html
|
352
|
+
# [1]: https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html
|
361
353
|
#
|
362
354
|
# @option params [required, String] :web_acl_arn
|
363
355
|
# The Amazon Resource Name (ARN) of the Web ACL that you want to
|
@@ -373,9 +365,12 @@ module Aws::WAFV2
|
|
373
365
|
# `arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id
|
374
366
|
# `
|
375
367
|
#
|
376
|
-
# * For an
|
368
|
+
# * For an API Gateway REST API:
|
377
369
|
# `arn:aws:apigateway:region::/restapis/api-id/stages/stage-name `
|
378
370
|
#
|
371
|
+
# * For an AppSync GraphQL API:
|
372
|
+
# `arn:aws:appsync:region:account-id:apis/GraphQLApiId `
|
373
|
+
#
|
379
374
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
380
375
|
#
|
381
376
|
# @example Request syntax with placeholder values
|
@@ -394,13 +389,6 @@ module Aws::WAFV2
|
|
394
389
|
req.send_request(options)
|
395
390
|
end
|
396
391
|
|
397
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
398
|
-
# in November, 2019. For information, including how to migrate your AWS
|
399
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
400
|
-
# Guide][1].
|
401
|
-
#
|
402
|
-
# </note>
|
403
|
-
#
|
404
392
|
# Returns the web ACL capacity unit (WCU) requirements for a specified
|
405
393
|
# scope and set of rules. You can use this to check the capacity
|
406
394
|
# requirements for the rules you want to use in a RuleGroup or WebACL.
|
@@ -414,14 +402,11 @@ module Aws::WAFV2
|
|
414
402
|
# web ACL WCU usage when they use a rule group. The WCU limit for web
|
415
403
|
# ACLs is 1,500.
|
416
404
|
#
|
417
|
-
#
|
418
|
-
#
|
419
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
420
|
-
#
|
421
405
|
# @option params [required, String] :scope
|
422
406
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
423
407
|
# regional application. A regional application can be an Application
|
424
|
-
# Load Balancer (ALB)
|
408
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
409
|
+
# API.
|
425
410
|
#
|
426
411
|
# To work with CloudFront, you must also specify the Region US East (N.
|
427
412
|
# Virginia) as follows:
|
@@ -467,6 +452,15 @@ module Aws::WAFV2
|
|
467
452
|
# },
|
468
453
|
# method: {
|
469
454
|
# },
|
455
|
+
# json_body: {
|
456
|
+
# match_pattern: { # required
|
457
|
+
# all: {
|
458
|
+
# },
|
459
|
+
# included_paths: ["JsonPointerPath"],
|
460
|
+
# },
|
461
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
462
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
463
|
+
# },
|
470
464
|
# },
|
471
465
|
# text_transformations: [ # required
|
472
466
|
# {
|
@@ -494,6 +488,15 @@ module Aws::WAFV2
|
|
494
488
|
# },
|
495
489
|
# method: {
|
496
490
|
# },
|
491
|
+
# json_body: {
|
492
|
+
# match_pattern: { # required
|
493
|
+
# all: {
|
494
|
+
# },
|
495
|
+
# included_paths: ["JsonPointerPath"],
|
496
|
+
# },
|
497
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
498
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
499
|
+
# },
|
497
500
|
# },
|
498
501
|
# text_transformations: [ # required
|
499
502
|
# {
|
@@ -520,6 +523,15 @@ module Aws::WAFV2
|
|
520
523
|
# },
|
521
524
|
# method: {
|
522
525
|
# },
|
526
|
+
# json_body: {
|
527
|
+
# match_pattern: { # required
|
528
|
+
# all: {
|
529
|
+
# },
|
530
|
+
# included_paths: ["JsonPointerPath"],
|
531
|
+
# },
|
532
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
533
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
534
|
+
# },
|
523
535
|
# },
|
524
536
|
# text_transformations: [ # required
|
525
537
|
# {
|
@@ -546,6 +558,15 @@ module Aws::WAFV2
|
|
546
558
|
# },
|
547
559
|
# method: {
|
548
560
|
# },
|
561
|
+
# json_body: {
|
562
|
+
# match_pattern: { # required
|
563
|
+
# all: {
|
564
|
+
# },
|
565
|
+
# included_paths: ["JsonPointerPath"],
|
566
|
+
# },
|
567
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
568
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
569
|
+
# },
|
549
570
|
# },
|
550
571
|
# comparison_operator: "EQ", # required, accepts EQ, NE, LE, LT, GE, GT
|
551
572
|
# size: 1, # required
|
@@ -598,6 +619,15 @@ module Aws::WAFV2
|
|
598
619
|
# },
|
599
620
|
# method: {
|
600
621
|
# },
|
622
|
+
# json_body: {
|
623
|
+
# match_pattern: { # required
|
624
|
+
# all: {
|
625
|
+
# },
|
626
|
+
# included_paths: ["JsonPointerPath"],
|
627
|
+
# },
|
628
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
629
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
630
|
+
# },
|
601
631
|
# },
|
602
632
|
# text_transformations: [ # required
|
603
633
|
# {
|
@@ -682,23 +712,12 @@ module Aws::WAFV2
|
|
682
712
|
req.send_request(options)
|
683
713
|
end
|
684
714
|
|
685
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
686
|
-
# in November, 2019. For information, including how to migrate your AWS
|
687
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
688
|
-
# Guide][1].
|
689
|
-
#
|
690
|
-
# </note>
|
691
|
-
#
|
692
715
|
# Creates an IPSet, which you use to identify web requests that
|
693
716
|
# originate from specific IP addresses or ranges of IP addresses. For
|
694
717
|
# example, if you're receiving a lot of requests from a ranges of IP
|
695
718
|
# addresses, you can configure AWS WAF to block them using an IPSet that
|
696
719
|
# lists those IP addresses.
|
697
720
|
#
|
698
|
-
#
|
699
|
-
#
|
700
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
701
|
-
#
|
702
721
|
# @option params [required, String] :name
|
703
722
|
# The name of the IP set. You cannot change the name of an `IPSet` after
|
704
723
|
# you create it.
|
@@ -706,7 +725,8 @@ module Aws::WAFV2
|
|
706
725
|
# @option params [required, String] :scope
|
707
726
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
708
727
|
# regional application. A regional application can be an Application
|
709
|
-
# Load Balancer (ALB)
|
728
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
729
|
+
# API.
|
710
730
|
#
|
711
731
|
# To work with CloudFront, you must also specify the Region US East (N.
|
712
732
|
# Virginia) as follows:
|
@@ -717,8 +737,7 @@ module Aws::WAFV2
|
|
717
737
|
# * API and SDKs - For all calls, use the Region endpoint us-east-1.
|
718
738
|
#
|
719
739
|
# @option params [String] :description
|
720
|
-
# A description of the IP set that helps with identification.
|
721
|
-
# change the description of an IP set after you create it.
|
740
|
+
# A description of the IP set that helps with identification.
|
722
741
|
#
|
723
742
|
# @option params [required, String] :ip_address_version
|
724
743
|
# Specify IPV4 or IPV6.
|
@@ -795,21 +814,10 @@ module Aws::WAFV2
|
|
795
814
|
req.send_request(options)
|
796
815
|
end
|
797
816
|
|
798
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
799
|
-
# in November, 2019. For information, including how to migrate your AWS
|
800
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
801
|
-
# Guide][1].
|
802
|
-
#
|
803
|
-
# </note>
|
804
|
-
#
|
805
817
|
# Creates a RegexPatternSet, which you reference in a
|
806
818
|
# RegexPatternSetReferenceStatement, to have AWS WAF inspect a web
|
807
819
|
# request component for the specified patterns.
|
808
820
|
#
|
809
|
-
#
|
810
|
-
#
|
811
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
812
|
-
#
|
813
821
|
# @option params [required, String] :name
|
814
822
|
# The name of the set. You cannot change the name after you create the
|
815
823
|
# set.
|
@@ -817,7 +825,8 @@ module Aws::WAFV2
|
|
817
825
|
# @option params [required, String] :scope
|
818
826
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
819
827
|
# regional application. A regional application can be an Application
|
820
|
-
# Load Balancer (ALB)
|
828
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
829
|
+
# API.
|
821
830
|
#
|
822
831
|
# To work with CloudFront, you must also specify the Region US East (N.
|
823
832
|
# Virginia) as follows:
|
@@ -828,8 +837,7 @@ module Aws::WAFV2
|
|
828
837
|
# * API and SDKs - For all calls, use the Region endpoint us-east-1.
|
829
838
|
#
|
830
839
|
# @option params [String] :description
|
831
|
-
# A description of the set that helps with identification.
|
832
|
-
# change the description of a set after you create it.
|
840
|
+
# A description of the set that helps with identification.
|
833
841
|
#
|
834
842
|
# @option params [required, Array<Types::Regex>] :regular_expression_list
|
835
843
|
# Array of regular expression strings.
|
@@ -877,13 +885,6 @@ module Aws::WAFV2
|
|
877
885
|
req.send_request(options)
|
878
886
|
end
|
879
887
|
|
880
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
881
|
-
# in November, 2019. For information, including how to migrate your AWS
|
882
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
883
|
-
# Guide][1].
|
884
|
-
#
|
885
|
-
# </note>
|
886
|
-
#
|
887
888
|
# Creates a RuleGroup per the specifications provided.
|
888
889
|
#
|
889
890
|
# A rule group defines a collection of rules to inspect and control web
|
@@ -892,10 +893,6 @@ module Aws::WAFV2
|
|
892
893
|
# you must stay within the capacity. This allows others to reuse the
|
893
894
|
# rule group with confidence in its capacity requirements.
|
894
895
|
#
|
895
|
-
#
|
896
|
-
#
|
897
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
898
|
-
#
|
899
896
|
# @option params [required, String] :name
|
900
897
|
# The name of the rule group. You cannot change the name of a rule group
|
901
898
|
# after you create it.
|
@@ -903,7 +900,8 @@ module Aws::WAFV2
|
|
903
900
|
# @option params [required, String] :scope
|
904
901
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
905
902
|
# regional application. A regional application can be an Application
|
906
|
-
# Load Balancer (ALB)
|
903
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
904
|
+
# API.
|
907
905
|
#
|
908
906
|
# To work with CloudFront, you must also specify the Region US East (N.
|
909
907
|
# Virginia) as follows:
|
@@ -931,8 +929,7 @@ module Aws::WAFV2
|
|
931
929
|
# ACLs is 1,500.
|
932
930
|
#
|
933
931
|
# @option params [String] :description
|
934
|
-
# A description of the rule group that helps with identification.
|
935
|
-
# cannot change the description of a rule group after you create it.
|
932
|
+
# A description of the rule group that helps with identification.
|
936
933
|
#
|
937
934
|
# @option params [Array<Types::Rule>] :rules
|
938
935
|
# The Rule statements used to identify the web requests that you want to
|
@@ -982,6 +979,15 @@ module Aws::WAFV2
|
|
982
979
|
# },
|
983
980
|
# method: {
|
984
981
|
# },
|
982
|
+
# json_body: {
|
983
|
+
# match_pattern: { # required
|
984
|
+
# all: {
|
985
|
+
# },
|
986
|
+
# included_paths: ["JsonPointerPath"],
|
987
|
+
# },
|
988
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
989
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
990
|
+
# },
|
985
991
|
# },
|
986
992
|
# text_transformations: [ # required
|
987
993
|
# {
|
@@ -1009,6 +1015,15 @@ module Aws::WAFV2
|
|
1009
1015
|
# },
|
1010
1016
|
# method: {
|
1011
1017
|
# },
|
1018
|
+
# json_body: {
|
1019
|
+
# match_pattern: { # required
|
1020
|
+
# all: {
|
1021
|
+
# },
|
1022
|
+
# included_paths: ["JsonPointerPath"],
|
1023
|
+
# },
|
1024
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
1025
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
1026
|
+
# },
|
1012
1027
|
# },
|
1013
1028
|
# text_transformations: [ # required
|
1014
1029
|
# {
|
@@ -1035,6 +1050,15 @@ module Aws::WAFV2
|
|
1035
1050
|
# },
|
1036
1051
|
# method: {
|
1037
1052
|
# },
|
1053
|
+
# json_body: {
|
1054
|
+
# match_pattern: { # required
|
1055
|
+
# all: {
|
1056
|
+
# },
|
1057
|
+
# included_paths: ["JsonPointerPath"],
|
1058
|
+
# },
|
1059
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
1060
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
1061
|
+
# },
|
1038
1062
|
# },
|
1039
1063
|
# text_transformations: [ # required
|
1040
1064
|
# {
|
@@ -1061,6 +1085,15 @@ module Aws::WAFV2
|
|
1061
1085
|
# },
|
1062
1086
|
# method: {
|
1063
1087
|
# },
|
1088
|
+
# json_body: {
|
1089
|
+
# match_pattern: { # required
|
1090
|
+
# all: {
|
1091
|
+
# },
|
1092
|
+
# included_paths: ["JsonPointerPath"],
|
1093
|
+
# },
|
1094
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
1095
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
1096
|
+
# },
|
1064
1097
|
# },
|
1065
1098
|
# comparison_operator: "EQ", # required, accepts EQ, NE, LE, LT, GE, GT
|
1066
1099
|
# size: 1, # required
|
@@ -1113,6 +1146,15 @@ module Aws::WAFV2
|
|
1113
1146
|
# },
|
1114
1147
|
# method: {
|
1115
1148
|
# },
|
1149
|
+
# json_body: {
|
1150
|
+
# match_pattern: { # required
|
1151
|
+
# all: {
|
1152
|
+
# },
|
1153
|
+
# included_paths: ["JsonPointerPath"],
|
1154
|
+
# },
|
1155
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
1156
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
1157
|
+
# },
|
1116
1158
|
# },
|
1117
1159
|
# text_transformations: [ # required
|
1118
1160
|
# {
|
@@ -1212,13 +1254,6 @@ module Aws::WAFV2
|
|
1212
1254
|
req.send_request(options)
|
1213
1255
|
end
|
1214
1256
|
|
1215
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
1216
|
-
# in November, 2019. For information, including how to migrate your AWS
|
1217
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
1218
|
-
# Guide][1].
|
1219
|
-
#
|
1220
|
-
# </note>
|
1221
|
-
#
|
1222
1257
|
# Creates a WebACL per the specifications provided.
|
1223
1258
|
#
|
1224
1259
|
# A Web ACL defines a collection of rules to use to inspect and control
|
@@ -1228,12 +1263,8 @@ module Aws::WAFV2
|
|
1228
1263
|
# does not match any of the rules. The rules in a Web ACL can be a
|
1229
1264
|
# combination of the types Rule, RuleGroup, and managed rule group. You
|
1230
1265
|
# can associate a Web ACL with one or more AWS resources to protect. The
|
1231
|
-
# resources can be Amazon CloudFront, an Amazon API Gateway API,
|
1232
|
-
# Application Load Balancer.
|
1233
|
-
#
|
1234
|
-
#
|
1235
|
-
#
|
1236
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1266
|
+
# resources can be Amazon CloudFront, an Amazon API Gateway REST API, an
|
1267
|
+
# Application Load Balancer, or an AWS AppSync GraphQL API.
|
1237
1268
|
#
|
1238
1269
|
# @option params [required, String] :name
|
1239
1270
|
# The name of the Web ACL. You cannot change the name of a Web ACL after
|
@@ -1242,7 +1273,8 @@ module Aws::WAFV2
|
|
1242
1273
|
# @option params [required, String] :scope
|
1243
1274
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
1244
1275
|
# regional application. A regional application can be an Application
|
1245
|
-
# Load Balancer (ALB)
|
1276
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
1277
|
+
# API.
|
1246
1278
|
#
|
1247
1279
|
# To work with CloudFront, you must also specify the Region US East (N.
|
1248
1280
|
# Virginia) as follows:
|
@@ -1257,8 +1289,7 @@ module Aws::WAFV2
|
|
1257
1289
|
# match.
|
1258
1290
|
#
|
1259
1291
|
# @option params [String] :description
|
1260
|
-
# A description of the Web ACL that helps with identification.
|
1261
|
-
# cannot change the description of a Web ACL after you create it.
|
1292
|
+
# A description of the Web ACL that helps with identification.
|
1262
1293
|
#
|
1263
1294
|
# @option params [Array<Types::Rule>] :rules
|
1264
1295
|
# The Rule statements used to identify the web requests that you want to
|
@@ -1313,6 +1344,15 @@ module Aws::WAFV2
|
|
1313
1344
|
# },
|
1314
1345
|
# method: {
|
1315
1346
|
# },
|
1347
|
+
# json_body: {
|
1348
|
+
# match_pattern: { # required
|
1349
|
+
# all: {
|
1350
|
+
# },
|
1351
|
+
# included_paths: ["JsonPointerPath"],
|
1352
|
+
# },
|
1353
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
1354
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
1355
|
+
# },
|
1316
1356
|
# },
|
1317
1357
|
# text_transformations: [ # required
|
1318
1358
|
# {
|
@@ -1340,6 +1380,15 @@ module Aws::WAFV2
|
|
1340
1380
|
# },
|
1341
1381
|
# method: {
|
1342
1382
|
# },
|
1383
|
+
# json_body: {
|
1384
|
+
# match_pattern: { # required
|
1385
|
+
# all: {
|
1386
|
+
# },
|
1387
|
+
# included_paths: ["JsonPointerPath"],
|
1388
|
+
# },
|
1389
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
1390
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
1391
|
+
# },
|
1343
1392
|
# },
|
1344
1393
|
# text_transformations: [ # required
|
1345
1394
|
# {
|
@@ -1366,6 +1415,15 @@ module Aws::WAFV2
|
|
1366
1415
|
# },
|
1367
1416
|
# method: {
|
1368
1417
|
# },
|
1418
|
+
# json_body: {
|
1419
|
+
# match_pattern: { # required
|
1420
|
+
# all: {
|
1421
|
+
# },
|
1422
|
+
# included_paths: ["JsonPointerPath"],
|
1423
|
+
# },
|
1424
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
1425
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
1426
|
+
# },
|
1369
1427
|
# },
|
1370
1428
|
# text_transformations: [ # required
|
1371
1429
|
# {
|
@@ -1392,6 +1450,15 @@ module Aws::WAFV2
|
|
1392
1450
|
# },
|
1393
1451
|
# method: {
|
1394
1452
|
# },
|
1453
|
+
# json_body: {
|
1454
|
+
# match_pattern: { # required
|
1455
|
+
# all: {
|
1456
|
+
# },
|
1457
|
+
# included_paths: ["JsonPointerPath"],
|
1458
|
+
# },
|
1459
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
1460
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
1461
|
+
# },
|
1395
1462
|
# },
|
1396
1463
|
# comparison_operator: "EQ", # required, accepts EQ, NE, LE, LT, GE, GT
|
1397
1464
|
# size: 1, # required
|
@@ -1444,6 +1511,15 @@ module Aws::WAFV2
|
|
1444
1511
|
# },
|
1445
1512
|
# method: {
|
1446
1513
|
# },
|
1514
|
+
# json_body: {
|
1515
|
+
# match_pattern: { # required
|
1516
|
+
# all: {
|
1517
|
+
# },
|
1518
|
+
# included_paths: ["JsonPointerPath"],
|
1519
|
+
# },
|
1520
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
1521
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
1522
|
+
# },
|
1447
1523
|
# },
|
1448
1524
|
# text_transformations: [ # required
|
1449
1525
|
# {
|
@@ -1586,19 +1662,8 @@ module Aws::WAFV2
|
|
1586
1662
|
req.send_request(options)
|
1587
1663
|
end
|
1588
1664
|
|
1589
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
1590
|
-
# in November, 2019. For information, including how to migrate your AWS
|
1591
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
1592
|
-
# Guide][1].
|
1593
|
-
#
|
1594
|
-
# </note>
|
1595
|
-
#
|
1596
1665
|
# Deletes the specified IPSet.
|
1597
1666
|
#
|
1598
|
-
#
|
1599
|
-
#
|
1600
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1601
|
-
#
|
1602
1667
|
# @option params [required, String] :name
|
1603
1668
|
# The name of the IP set. You cannot change the name of an `IPSet` after
|
1604
1669
|
# you create it.
|
@@ -1606,7 +1671,8 @@ module Aws::WAFV2
|
|
1606
1671
|
# @option params [required, String] :scope
|
1607
1672
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
1608
1673
|
# regional application. A regional application can be an Application
|
1609
|
-
# Load Balancer (ALB)
|
1674
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
1675
|
+
# API.
|
1610
1676
|
#
|
1611
1677
|
# To work with CloudFront, you must also specify the Region US East (N.
|
1612
1678
|
# Virginia) as follows:
|
@@ -1651,19 +1717,8 @@ module Aws::WAFV2
|
|
1651
1717
|
req.send_request(options)
|
1652
1718
|
end
|
1653
1719
|
|
1654
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
1655
|
-
# in November, 2019. For information, including how to migrate your AWS
|
1656
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
1657
|
-
# Guide][1].
|
1658
|
-
#
|
1659
|
-
# </note>
|
1660
|
-
#
|
1661
1720
|
# Deletes the LoggingConfiguration from the specified web ACL.
|
1662
1721
|
#
|
1663
|
-
#
|
1664
|
-
#
|
1665
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1666
|
-
#
|
1667
1722
|
# @option params [required, String] :resource_arn
|
1668
1723
|
# The Amazon Resource Name (ARN) of the web ACL from which you want to
|
1669
1724
|
# delete the LoggingConfiguration.
|
@@ -1712,19 +1767,8 @@ module Aws::WAFV2
|
|
1712
1767
|
req.send_request(options)
|
1713
1768
|
end
|
1714
1769
|
|
1715
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
1716
|
-
# in November, 2019. For information, including how to migrate your AWS
|
1717
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
1718
|
-
# Guide][1].
|
1719
|
-
#
|
1720
|
-
# </note>
|
1721
|
-
#
|
1722
1770
|
# Deletes the specified RegexPatternSet.
|
1723
1771
|
#
|
1724
|
-
#
|
1725
|
-
#
|
1726
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1727
|
-
#
|
1728
1772
|
# @option params [required, String] :name
|
1729
1773
|
# The name of the set. You cannot change the name after you create the
|
1730
1774
|
# set.
|
@@ -1732,7 +1776,8 @@ module Aws::WAFV2
|
|
1732
1776
|
# @option params [required, String] :scope
|
1733
1777
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
1734
1778
|
# regional application. A regional application can be an Application
|
1735
|
-
# Load Balancer (ALB)
|
1779
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
1780
|
+
# API.
|
1736
1781
|
#
|
1737
1782
|
# To work with CloudFront, you must also specify the Region US East (N.
|
1738
1783
|
# Virginia) as follows:
|
@@ -1777,19 +1822,8 @@ module Aws::WAFV2
|
|
1777
1822
|
req.send_request(options)
|
1778
1823
|
end
|
1779
1824
|
|
1780
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
1781
|
-
# in November, 2019. For information, including how to migrate your AWS
|
1782
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
1783
|
-
# Guide][1].
|
1784
|
-
#
|
1785
|
-
# </note>
|
1786
|
-
#
|
1787
1825
|
# Deletes the specified RuleGroup.
|
1788
1826
|
#
|
1789
|
-
#
|
1790
|
-
#
|
1791
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1792
|
-
#
|
1793
1827
|
# @option params [required, String] :name
|
1794
1828
|
# The name of the rule group. You cannot change the name of a rule group
|
1795
1829
|
# after you create it.
|
@@ -1797,7 +1831,8 @@ module Aws::WAFV2
|
|
1797
1831
|
# @option params [required, String] :scope
|
1798
1832
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
1799
1833
|
# regional application. A regional application can be an Application
|
1800
|
-
# Load Balancer (ALB)
|
1834
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
1835
|
+
# API.
|
1801
1836
|
#
|
1802
1837
|
# To work with CloudFront, you must also specify the Region US East (N.
|
1803
1838
|
# Virginia) as follows:
|
@@ -1842,22 +1877,11 @@ module Aws::WAFV2
|
|
1842
1877
|
req.send_request(options)
|
1843
1878
|
end
|
1844
1879
|
|
1845
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
1846
|
-
# in November, 2019. For information, including how to migrate your AWS
|
1847
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
1848
|
-
# Guide][1].
|
1849
|
-
#
|
1850
|
-
# </note>
|
1851
|
-
#
|
1852
1880
|
# Deletes the specified WebACL.
|
1853
1881
|
#
|
1854
1882
|
# You can only use this if `ManagedByFirewallManager` is false in the
|
1855
1883
|
# specified WebACL.
|
1856
1884
|
#
|
1857
|
-
#
|
1858
|
-
#
|
1859
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1860
|
-
#
|
1861
1885
|
# @option params [required, String] :name
|
1862
1886
|
# The name of the Web ACL. You cannot change the name of a Web ACL after
|
1863
1887
|
# you create it.
|
@@ -1865,7 +1889,8 @@ module Aws::WAFV2
|
|
1865
1889
|
# @option params [required, String] :scope
|
1866
1890
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
1867
1891
|
# regional application. A regional application can be an Application
|
1868
|
-
# Load Balancer (ALB)
|
1892
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
1893
|
+
# API.
|
1869
1894
|
#
|
1870
1895
|
# To work with CloudFront, you must also specify the Region US East (N.
|
1871
1896
|
# Virginia) as follows:
|
@@ -1910,20 +1935,9 @@ module Aws::WAFV2
|
|
1910
1935
|
req.send_request(options)
|
1911
1936
|
end
|
1912
1937
|
|
1913
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
1914
|
-
# in November, 2019. For information, including how to migrate your AWS
|
1915
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
1916
|
-
# Guide][1].
|
1917
|
-
#
|
1918
|
-
# </note>
|
1919
|
-
#
|
1920
1938
|
# Provides high-level information for a managed rule group, including
|
1921
1939
|
# descriptions of the rules.
|
1922
1940
|
#
|
1923
|
-
#
|
1924
|
-
#
|
1925
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1926
|
-
#
|
1927
1941
|
# @option params [required, String] :vendor_name
|
1928
1942
|
# The name of the managed rule group vendor. You use this, along with
|
1929
1943
|
# the rule group name, to identify the rule group.
|
@@ -1935,7 +1949,8 @@ module Aws::WAFV2
|
|
1935
1949
|
# @option params [required, String] :scope
|
1936
1950
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
1937
1951
|
# regional application. A regional application can be an Application
|
1938
|
-
# Load Balancer (ALB)
|
1952
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
1953
|
+
# API.
|
1939
1954
|
#
|
1940
1955
|
# To work with CloudFront, you must also specify the Region US East (N.
|
1941
1956
|
# Virginia) as follows:
|
@@ -1973,26 +1988,18 @@ module Aws::WAFV2
|
|
1973
1988
|
req.send_request(options)
|
1974
1989
|
end
|
1975
1990
|
|
1976
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
1977
|
-
# in November, 2019. For information, including how to migrate your AWS
|
1978
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
1979
|
-
# Guide][1].
|
1980
|
-
#
|
1981
|
-
# </note>
|
1982
|
-
#
|
1983
1991
|
# Disassociates a Web ACL from a regional application resource. A
|
1984
|
-
# regional application can be an Application Load Balancer (ALB)
|
1985
|
-
# API
|
1992
|
+
# regional application can be an Application Load Balancer (ALB), an API
|
1993
|
+
# Gateway REST API, or an AppSync GraphQL API.
|
1986
1994
|
#
|
1987
1995
|
# For AWS CloudFront, don't use this call. Instead, use your CloudFront
|
1988
1996
|
# distribution configuration. To disassociate a Web ACL, provide an
|
1989
1997
|
# empty web ACL ID in the CloudFront call `UpdateDistribution`. For
|
1990
|
-
# information, see [UpdateDistribution][
|
1998
|
+
# information, see [UpdateDistribution][1].
|
1991
1999
|
#
|
1992
2000
|
#
|
1993
2001
|
#
|
1994
|
-
# [1]: https://docs.aws.amazon.com/
|
1995
|
-
# [2]: https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html
|
2002
|
+
# [1]: https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html
|
1996
2003
|
#
|
1997
2004
|
# @option params [required, String] :resource_arn
|
1998
2005
|
# The Amazon Resource Name (ARN) of the resource to disassociate from
|
@@ -2004,9 +2011,12 @@ module Aws::WAFV2
|
|
2004
2011
|
# `arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id
|
2005
2012
|
# `
|
2006
2013
|
#
|
2007
|
-
# * For an
|
2014
|
+
# * For an API Gateway REST API:
|
2008
2015
|
# `arn:aws:apigateway:region::/restapis/api-id/stages/stage-name `
|
2009
2016
|
#
|
2017
|
+
# * For an AppSync GraphQL API:
|
2018
|
+
# `arn:aws:appsync:region:account-id:apis/GraphQLApiId `
|
2019
|
+
#
|
2010
2020
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2011
2021
|
#
|
2012
2022
|
# @example Request syntax with placeholder values
|
@@ -2024,19 +2034,8 @@ module Aws::WAFV2
|
|
2024
2034
|
req.send_request(options)
|
2025
2035
|
end
|
2026
2036
|
|
2027
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
2028
|
-
# in November, 2019. For information, including how to migrate your AWS
|
2029
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
2030
|
-
# Guide][1].
|
2031
|
-
#
|
2032
|
-
# </note>
|
2033
|
-
#
|
2034
2037
|
# Retrieves the specified IPSet.
|
2035
2038
|
#
|
2036
|
-
#
|
2037
|
-
#
|
2038
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2039
|
-
#
|
2040
2039
|
# @option params [required, String] :name
|
2041
2040
|
# The name of the IP set. You cannot change the name of an `IPSet` after
|
2042
2041
|
# you create it.
|
@@ -2044,7 +2043,8 @@ module Aws::WAFV2
|
|
2044
2043
|
# @option params [required, String] :scope
|
2045
2044
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
2046
2045
|
# regional application. A regional application can be an Application
|
2047
|
-
# Load Balancer (ALB)
|
2046
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
2047
|
+
# API.
|
2048
2048
|
#
|
2049
2049
|
# To work with CloudFront, you must also specify the Region US East (N.
|
2050
2050
|
# Virginia) as follows:
|
@@ -2092,19 +2092,8 @@ module Aws::WAFV2
|
|
2092
2092
|
req.send_request(options)
|
2093
2093
|
end
|
2094
2094
|
|
2095
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
2096
|
-
# in November, 2019. For information, including how to migrate your AWS
|
2097
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
2098
|
-
# Guide][1].
|
2099
|
-
#
|
2100
|
-
# </note>
|
2101
|
-
#
|
2102
2095
|
# Returns the LoggingConfiguration for the specified web ACL.
|
2103
2096
|
#
|
2104
|
-
#
|
2105
|
-
#
|
2106
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2107
|
-
#
|
2108
2097
|
# @option params [required, String] :resource_arn
|
2109
2098
|
# The Amazon Resource Name (ARN) of the web ACL for which you want to
|
2110
2099
|
# get the LoggingConfiguration.
|
@@ -2127,6 +2116,10 @@ module Aws::WAFV2
|
|
2127
2116
|
# resp.logging_configuration.redacted_fields #=> Array
|
2128
2117
|
# resp.logging_configuration.redacted_fields[0].single_header.name #=> String
|
2129
2118
|
# resp.logging_configuration.redacted_fields[0].single_query_argument.name #=> String
|
2119
|
+
# resp.logging_configuration.redacted_fields[0].json_body.match_pattern.included_paths #=> Array
|
2120
|
+
# resp.logging_configuration.redacted_fields[0].json_body.match_pattern.included_paths[0] #=> String
|
2121
|
+
# resp.logging_configuration.redacted_fields[0].json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
|
2122
|
+
# resp.logging_configuration.redacted_fields[0].json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
|
2130
2123
|
# resp.logging_configuration.managed_by_firewall_manager #=> Boolean
|
2131
2124
|
#
|
2132
2125
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetLoggingConfiguration AWS API Documentation
|
@@ -2169,26 +2162,16 @@ module Aws::WAFV2
|
|
2169
2162
|
req.send_request(options)
|
2170
2163
|
end
|
2171
2164
|
|
2172
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
2173
|
-
# in November, 2019. For information, including how to migrate your AWS
|
2174
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
2175
|
-
# Guide][1].
|
2176
|
-
#
|
2177
|
-
# </note>
|
2178
|
-
#
|
2179
2165
|
# Retrieves the keys that are currently blocked by a rate-based rule.
|
2180
2166
|
# The maximum number of managed keys that can be blocked for a single
|
2181
2167
|
# rate-based rule is 10,000. If more than 10,000 addresses exceed the
|
2182
2168
|
# rate limit, those with the highest rates are blocked.
|
2183
2169
|
#
|
2184
|
-
#
|
2185
|
-
#
|
2186
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2187
|
-
#
|
2188
2170
|
# @option params [required, String] :scope
|
2189
2171
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
2190
2172
|
# regional application. A regional application can be an Application
|
2191
|
-
# Load Balancer (ALB)
|
2173
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
2174
|
+
# API.
|
2192
2175
|
#
|
2193
2176
|
# To work with CloudFront, you must also specify the Region US East (N.
|
2194
2177
|
# Virginia) as follows:
|
@@ -2242,19 +2225,8 @@ module Aws::WAFV2
|
|
2242
2225
|
req.send_request(options)
|
2243
2226
|
end
|
2244
2227
|
|
2245
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
2246
|
-
# in November, 2019. For information, including how to migrate your AWS
|
2247
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
2248
|
-
# Guide][1].
|
2249
|
-
#
|
2250
|
-
# </note>
|
2251
|
-
#
|
2252
2228
|
# Retrieves the specified RegexPatternSet.
|
2253
2229
|
#
|
2254
|
-
#
|
2255
|
-
#
|
2256
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2257
|
-
#
|
2258
2230
|
# @option params [required, String] :name
|
2259
2231
|
# The name of the set. You cannot change the name after you create the
|
2260
2232
|
# set.
|
@@ -2262,7 +2234,8 @@ module Aws::WAFV2
|
|
2262
2234
|
# @option params [required, String] :scope
|
2263
2235
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
2264
2236
|
# regional application. A regional application can be an Application
|
2265
|
-
# Load Balancer (ALB)
|
2237
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
2238
|
+
# API.
|
2266
2239
|
#
|
2267
2240
|
# To work with CloudFront, you must also specify the Region US East (N.
|
2268
2241
|
# Virginia) as follows:
|
@@ -2309,19 +2282,8 @@ module Aws::WAFV2
|
|
2309
2282
|
req.send_request(options)
|
2310
2283
|
end
|
2311
2284
|
|
2312
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
2313
|
-
# in November, 2019. For information, including how to migrate your AWS
|
2314
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
2315
|
-
# Guide][1].
|
2316
|
-
#
|
2317
|
-
# </note>
|
2318
|
-
#
|
2319
2285
|
# Retrieves the specified RuleGroup.
|
2320
2286
|
#
|
2321
|
-
#
|
2322
|
-
#
|
2323
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2324
|
-
#
|
2325
2287
|
# @option params [required, String] :name
|
2326
2288
|
# The name of the rule group. You cannot change the name of a rule group
|
2327
2289
|
# after you create it.
|
@@ -2329,7 +2291,8 @@ module Aws::WAFV2
|
|
2329
2291
|
# @option params [required, String] :scope
|
2330
2292
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
2331
2293
|
# regional application. A regional application can be an Application
|
2332
|
-
# Load Balancer (ALB)
|
2294
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
2295
|
+
# API.
|
2333
2296
|
#
|
2334
2297
|
# To work with CloudFront, you must also specify the Region US East (N.
|
2335
2298
|
# Virginia) as follows:
|
@@ -2370,22 +2333,38 @@ module Aws::WAFV2
|
|
2370
2333
|
# resp.rule_group.rules[0].statement.byte_match_statement.search_string #=> String
|
2371
2334
|
# resp.rule_group.rules[0].statement.byte_match_statement.field_to_match.single_header.name #=> String
|
2372
2335
|
# resp.rule_group.rules[0].statement.byte_match_statement.field_to_match.single_query_argument.name #=> String
|
2336
|
+
# resp.rule_group.rules[0].statement.byte_match_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
|
2337
|
+
# resp.rule_group.rules[0].statement.byte_match_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
|
2338
|
+
# resp.rule_group.rules[0].statement.byte_match_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
|
2339
|
+
# resp.rule_group.rules[0].statement.byte_match_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
|
2373
2340
|
# resp.rule_group.rules[0].statement.byte_match_statement.text_transformations #=> Array
|
2374
2341
|
# resp.rule_group.rules[0].statement.byte_match_statement.text_transformations[0].priority #=> Integer
|
2375
2342
|
# resp.rule_group.rules[0].statement.byte_match_statement.text_transformations[0].type #=> String, one of "NONE", "COMPRESS_WHITE_SPACE", "HTML_ENTITY_DECODE", "LOWERCASE", "CMD_LINE", "URL_DECODE"
|
2376
2343
|
# resp.rule_group.rules[0].statement.byte_match_statement.positional_constraint #=> String, one of "EXACTLY", "STARTS_WITH", "ENDS_WITH", "CONTAINS", "CONTAINS_WORD"
|
2377
2344
|
# resp.rule_group.rules[0].statement.sqli_match_statement.field_to_match.single_header.name #=> String
|
2378
2345
|
# resp.rule_group.rules[0].statement.sqli_match_statement.field_to_match.single_query_argument.name #=> String
|
2346
|
+
# resp.rule_group.rules[0].statement.sqli_match_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
|
2347
|
+
# resp.rule_group.rules[0].statement.sqli_match_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
|
2348
|
+
# resp.rule_group.rules[0].statement.sqli_match_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
|
2349
|
+
# resp.rule_group.rules[0].statement.sqli_match_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
|
2379
2350
|
# resp.rule_group.rules[0].statement.sqli_match_statement.text_transformations #=> Array
|
2380
2351
|
# resp.rule_group.rules[0].statement.sqli_match_statement.text_transformations[0].priority #=> Integer
|
2381
2352
|
# resp.rule_group.rules[0].statement.sqli_match_statement.text_transformations[0].type #=> String, one of "NONE", "COMPRESS_WHITE_SPACE", "HTML_ENTITY_DECODE", "LOWERCASE", "CMD_LINE", "URL_DECODE"
|
2382
2353
|
# resp.rule_group.rules[0].statement.xss_match_statement.field_to_match.single_header.name #=> String
|
2383
2354
|
# resp.rule_group.rules[0].statement.xss_match_statement.field_to_match.single_query_argument.name #=> String
|
2355
|
+
# resp.rule_group.rules[0].statement.xss_match_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
|
2356
|
+
# resp.rule_group.rules[0].statement.xss_match_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
|
2357
|
+
# resp.rule_group.rules[0].statement.xss_match_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
|
2358
|
+
# resp.rule_group.rules[0].statement.xss_match_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
|
2384
2359
|
# resp.rule_group.rules[0].statement.xss_match_statement.text_transformations #=> Array
|
2385
2360
|
# resp.rule_group.rules[0].statement.xss_match_statement.text_transformations[0].priority #=> Integer
|
2386
2361
|
# resp.rule_group.rules[0].statement.xss_match_statement.text_transformations[0].type #=> String, one of "NONE", "COMPRESS_WHITE_SPACE", "HTML_ENTITY_DECODE", "LOWERCASE", "CMD_LINE", "URL_DECODE"
|
2387
2362
|
# resp.rule_group.rules[0].statement.size_constraint_statement.field_to_match.single_header.name #=> String
|
2388
2363
|
# resp.rule_group.rules[0].statement.size_constraint_statement.field_to_match.single_query_argument.name #=> String
|
2364
|
+
# resp.rule_group.rules[0].statement.size_constraint_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
|
2365
|
+
# resp.rule_group.rules[0].statement.size_constraint_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
|
2366
|
+
# resp.rule_group.rules[0].statement.size_constraint_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
|
2367
|
+
# resp.rule_group.rules[0].statement.size_constraint_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
|
2389
2368
|
# resp.rule_group.rules[0].statement.size_constraint_statement.comparison_operator #=> String, one of "EQ", "NE", "LE", "LT", "GE", "GT"
|
2390
2369
|
# resp.rule_group.rules[0].statement.size_constraint_statement.size #=> Integer
|
2391
2370
|
# resp.rule_group.rules[0].statement.size_constraint_statement.text_transformations #=> Array
|
@@ -2405,6 +2384,10 @@ module Aws::WAFV2
|
|
2405
2384
|
# resp.rule_group.rules[0].statement.regex_pattern_set_reference_statement.arn #=> String
|
2406
2385
|
# resp.rule_group.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.single_header.name #=> String
|
2407
2386
|
# resp.rule_group.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.single_query_argument.name #=> String
|
2387
|
+
# resp.rule_group.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
|
2388
|
+
# resp.rule_group.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
|
2389
|
+
# resp.rule_group.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
|
2390
|
+
# resp.rule_group.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
|
2408
2391
|
# resp.rule_group.rules[0].statement.regex_pattern_set_reference_statement.text_transformations #=> Array
|
2409
2392
|
# resp.rule_group.rules[0].statement.regex_pattern_set_reference_statement.text_transformations[0].priority #=> Integer
|
2410
2393
|
# resp.rule_group.rules[0].statement.regex_pattern_set_reference_statement.text_transformations[0].type #=> String, one of "NONE", "COMPRESS_WHITE_SPACE", "HTML_ENTITY_DECODE", "LOWERCASE", "CMD_LINE", "URL_DECODE"
|
@@ -2439,13 +2422,6 @@ module Aws::WAFV2
|
|
2439
2422
|
req.send_request(options)
|
2440
2423
|
end
|
2441
2424
|
|
2442
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
2443
|
-
# in November, 2019. For information, including how to migrate your AWS
|
2444
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
2445
|
-
# Guide][1].
|
2446
|
-
#
|
2447
|
-
# </note>
|
2448
|
-
#
|
2449
2425
|
# Gets detailed information about a specified number of requests--a
|
2450
2426
|
# sample--that AWS WAF randomly selects from among the first 5,000
|
2451
2427
|
# requests that your AWS resource received during a time range that you
|
@@ -2459,10 +2435,6 @@ module Aws::WAFV2
|
|
2459
2435
|
# range. This new time range indicates the actual period during which
|
2460
2436
|
# AWS WAF selected the requests in the sample.
|
2461
2437
|
#
|
2462
|
-
#
|
2463
|
-
#
|
2464
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2465
|
-
#
|
2466
2438
|
# @option params [required, String] :web_acl_arn
|
2467
2439
|
# The Amazon resource name (ARN) of the `WebACL` for which you want a
|
2468
2440
|
# sample of requests.
|
@@ -2474,7 +2446,8 @@ module Aws::WAFV2
|
|
2474
2446
|
# @option params [required, String] :scope
|
2475
2447
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
2476
2448
|
# regional application. A regional application can be an Application
|
2477
|
-
# Load Balancer (ALB)
|
2449
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
2450
|
+
# API.
|
2478
2451
|
#
|
2479
2452
|
# To work with CloudFront, you must also specify the Region US East (N.
|
2480
2453
|
# Virginia) as follows:
|
@@ -2490,7 +2463,8 @@ module Aws::WAFV2
|
|
2490
2463
|
# You must specify the times in Coordinated Universal Time (UTC) format.
|
2491
2464
|
# UTC format includes the special designator, `Z`. For example,
|
2492
2465
|
# `"2016-09-27T14:50Z"`. You can specify any time range in the previous
|
2493
|
-
# three hours.
|
2466
|
+
# three hours. If you specify a start time that's earlier than three
|
2467
|
+
# hours ago, AWS WAF sets it to three hours ago.
|
2494
2468
|
#
|
2495
2469
|
# @option params [required, Integer] :max_items
|
2496
2470
|
# The number of requests that you want AWS WAF to return from among the
|
@@ -2546,19 +2520,8 @@ module Aws::WAFV2
|
|
2546
2520
|
req.send_request(options)
|
2547
2521
|
end
|
2548
2522
|
|
2549
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
2550
|
-
# in November, 2019. For information, including how to migrate your AWS
|
2551
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
2552
|
-
# Guide][1].
|
2553
|
-
#
|
2554
|
-
# </note>
|
2555
|
-
#
|
2556
2523
|
# Retrieves the specified WebACL.
|
2557
2524
|
#
|
2558
|
-
#
|
2559
|
-
#
|
2560
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2561
|
-
#
|
2562
2525
|
# @option params [required, String] :name
|
2563
2526
|
# The name of the Web ACL. You cannot change the name of a Web ACL after
|
2564
2527
|
# you create it.
|
@@ -2566,7 +2529,8 @@ module Aws::WAFV2
|
|
2566
2529
|
# @option params [required, String] :scope
|
2567
2530
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
2568
2531
|
# regional application. A regional application can be an Application
|
2569
|
-
# Load Balancer (ALB)
|
2532
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
2533
|
+
# API.
|
2570
2534
|
#
|
2571
2535
|
# To work with CloudFront, you must also specify the Region US East (N.
|
2572
2536
|
# Virginia) as follows:
|
@@ -2606,22 +2570,38 @@ module Aws::WAFV2
|
|
2606
2570
|
# resp.web_acl.rules[0].statement.byte_match_statement.search_string #=> String
|
2607
2571
|
# resp.web_acl.rules[0].statement.byte_match_statement.field_to_match.single_header.name #=> String
|
2608
2572
|
# resp.web_acl.rules[0].statement.byte_match_statement.field_to_match.single_query_argument.name #=> String
|
2573
|
+
# resp.web_acl.rules[0].statement.byte_match_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
|
2574
|
+
# resp.web_acl.rules[0].statement.byte_match_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
|
2575
|
+
# resp.web_acl.rules[0].statement.byte_match_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
|
2576
|
+
# resp.web_acl.rules[0].statement.byte_match_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
|
2609
2577
|
# resp.web_acl.rules[0].statement.byte_match_statement.text_transformations #=> Array
|
2610
2578
|
# resp.web_acl.rules[0].statement.byte_match_statement.text_transformations[0].priority #=> Integer
|
2611
2579
|
# resp.web_acl.rules[0].statement.byte_match_statement.text_transformations[0].type #=> String, one of "NONE", "COMPRESS_WHITE_SPACE", "HTML_ENTITY_DECODE", "LOWERCASE", "CMD_LINE", "URL_DECODE"
|
2612
2580
|
# resp.web_acl.rules[0].statement.byte_match_statement.positional_constraint #=> String, one of "EXACTLY", "STARTS_WITH", "ENDS_WITH", "CONTAINS", "CONTAINS_WORD"
|
2613
2581
|
# resp.web_acl.rules[0].statement.sqli_match_statement.field_to_match.single_header.name #=> String
|
2614
2582
|
# resp.web_acl.rules[0].statement.sqli_match_statement.field_to_match.single_query_argument.name #=> String
|
2583
|
+
# resp.web_acl.rules[0].statement.sqli_match_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
|
2584
|
+
# resp.web_acl.rules[0].statement.sqli_match_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
|
2585
|
+
# resp.web_acl.rules[0].statement.sqli_match_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
|
2586
|
+
# resp.web_acl.rules[0].statement.sqli_match_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
|
2615
2587
|
# resp.web_acl.rules[0].statement.sqli_match_statement.text_transformations #=> Array
|
2616
2588
|
# resp.web_acl.rules[0].statement.sqli_match_statement.text_transformations[0].priority #=> Integer
|
2617
2589
|
# resp.web_acl.rules[0].statement.sqli_match_statement.text_transformations[0].type #=> String, one of "NONE", "COMPRESS_WHITE_SPACE", "HTML_ENTITY_DECODE", "LOWERCASE", "CMD_LINE", "URL_DECODE"
|
2618
2590
|
# resp.web_acl.rules[0].statement.xss_match_statement.field_to_match.single_header.name #=> String
|
2619
2591
|
# resp.web_acl.rules[0].statement.xss_match_statement.field_to_match.single_query_argument.name #=> String
|
2592
|
+
# resp.web_acl.rules[0].statement.xss_match_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
|
2593
|
+
# resp.web_acl.rules[0].statement.xss_match_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
|
2594
|
+
# resp.web_acl.rules[0].statement.xss_match_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
|
2595
|
+
# resp.web_acl.rules[0].statement.xss_match_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
|
2620
2596
|
# resp.web_acl.rules[0].statement.xss_match_statement.text_transformations #=> Array
|
2621
2597
|
# resp.web_acl.rules[0].statement.xss_match_statement.text_transformations[0].priority #=> Integer
|
2622
2598
|
# resp.web_acl.rules[0].statement.xss_match_statement.text_transformations[0].type #=> String, one of "NONE", "COMPRESS_WHITE_SPACE", "HTML_ENTITY_DECODE", "LOWERCASE", "CMD_LINE", "URL_DECODE"
|
2623
2599
|
# resp.web_acl.rules[0].statement.size_constraint_statement.field_to_match.single_header.name #=> String
|
2624
2600
|
# resp.web_acl.rules[0].statement.size_constraint_statement.field_to_match.single_query_argument.name #=> String
|
2601
|
+
# resp.web_acl.rules[0].statement.size_constraint_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
|
2602
|
+
# resp.web_acl.rules[0].statement.size_constraint_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
|
2603
|
+
# resp.web_acl.rules[0].statement.size_constraint_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
|
2604
|
+
# resp.web_acl.rules[0].statement.size_constraint_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
|
2625
2605
|
# resp.web_acl.rules[0].statement.size_constraint_statement.comparison_operator #=> String, one of "EQ", "NE", "LE", "LT", "GE", "GT"
|
2626
2606
|
# resp.web_acl.rules[0].statement.size_constraint_statement.size #=> Integer
|
2627
2607
|
# resp.web_acl.rules[0].statement.size_constraint_statement.text_transformations #=> Array
|
@@ -2641,6 +2621,10 @@ module Aws::WAFV2
|
|
2641
2621
|
# resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.arn #=> String
|
2642
2622
|
# resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.single_header.name #=> String
|
2643
2623
|
# resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.single_query_argument.name #=> String
|
2624
|
+
# resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
|
2625
|
+
# resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
|
2626
|
+
# resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
|
2627
|
+
# resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
|
2644
2628
|
# resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.text_transformations #=> Array
|
2645
2629
|
# resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.text_transformations[0].priority #=> Integer
|
2646
2630
|
# resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.text_transformations[0].type #=> String, one of "NONE", "COMPRESS_WHITE_SPACE", "HTML_ENTITY_DECODE", "LOWERCASE", "CMD_LINE", "URL_DECODE"
|
@@ -2703,19 +2687,8 @@ module Aws::WAFV2
|
|
2703
2687
|
req.send_request(options)
|
2704
2688
|
end
|
2705
2689
|
|
2706
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
2707
|
-
# in November, 2019. For information, including how to migrate your AWS
|
2708
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
2709
|
-
# Guide][1].
|
2710
|
-
#
|
2711
|
-
# </note>
|
2712
|
-
#
|
2713
2690
|
# Retrieves the WebACL for the specified resource.
|
2714
2691
|
#
|
2715
|
-
#
|
2716
|
-
#
|
2717
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2718
|
-
#
|
2719
2692
|
# @option params [required, String] :resource_arn
|
2720
2693
|
# The ARN (Amazon Resource Name) of the resource.
|
2721
2694
|
#
|
@@ -2741,22 +2714,38 @@ module Aws::WAFV2
|
|
2741
2714
|
# resp.web_acl.rules[0].statement.byte_match_statement.search_string #=> String
|
2742
2715
|
# resp.web_acl.rules[0].statement.byte_match_statement.field_to_match.single_header.name #=> String
|
2743
2716
|
# resp.web_acl.rules[0].statement.byte_match_statement.field_to_match.single_query_argument.name #=> String
|
2717
|
+
# resp.web_acl.rules[0].statement.byte_match_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
|
2718
|
+
# resp.web_acl.rules[0].statement.byte_match_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
|
2719
|
+
# resp.web_acl.rules[0].statement.byte_match_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
|
2720
|
+
# resp.web_acl.rules[0].statement.byte_match_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
|
2744
2721
|
# resp.web_acl.rules[0].statement.byte_match_statement.text_transformations #=> Array
|
2745
2722
|
# resp.web_acl.rules[0].statement.byte_match_statement.text_transformations[0].priority #=> Integer
|
2746
2723
|
# resp.web_acl.rules[0].statement.byte_match_statement.text_transformations[0].type #=> String, one of "NONE", "COMPRESS_WHITE_SPACE", "HTML_ENTITY_DECODE", "LOWERCASE", "CMD_LINE", "URL_DECODE"
|
2747
2724
|
# resp.web_acl.rules[0].statement.byte_match_statement.positional_constraint #=> String, one of "EXACTLY", "STARTS_WITH", "ENDS_WITH", "CONTAINS", "CONTAINS_WORD"
|
2748
2725
|
# resp.web_acl.rules[0].statement.sqli_match_statement.field_to_match.single_header.name #=> String
|
2749
2726
|
# resp.web_acl.rules[0].statement.sqli_match_statement.field_to_match.single_query_argument.name #=> String
|
2727
|
+
# resp.web_acl.rules[0].statement.sqli_match_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
|
2728
|
+
# resp.web_acl.rules[0].statement.sqli_match_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
|
2729
|
+
# resp.web_acl.rules[0].statement.sqli_match_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
|
2730
|
+
# resp.web_acl.rules[0].statement.sqli_match_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
|
2750
2731
|
# resp.web_acl.rules[0].statement.sqli_match_statement.text_transformations #=> Array
|
2751
2732
|
# resp.web_acl.rules[0].statement.sqli_match_statement.text_transformations[0].priority #=> Integer
|
2752
2733
|
# resp.web_acl.rules[0].statement.sqli_match_statement.text_transformations[0].type #=> String, one of "NONE", "COMPRESS_WHITE_SPACE", "HTML_ENTITY_DECODE", "LOWERCASE", "CMD_LINE", "URL_DECODE"
|
2753
2734
|
# resp.web_acl.rules[0].statement.xss_match_statement.field_to_match.single_header.name #=> String
|
2754
2735
|
# resp.web_acl.rules[0].statement.xss_match_statement.field_to_match.single_query_argument.name #=> String
|
2736
|
+
# resp.web_acl.rules[0].statement.xss_match_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
|
2737
|
+
# resp.web_acl.rules[0].statement.xss_match_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
|
2738
|
+
# resp.web_acl.rules[0].statement.xss_match_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
|
2739
|
+
# resp.web_acl.rules[0].statement.xss_match_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
|
2755
2740
|
# resp.web_acl.rules[0].statement.xss_match_statement.text_transformations #=> Array
|
2756
2741
|
# resp.web_acl.rules[0].statement.xss_match_statement.text_transformations[0].priority #=> Integer
|
2757
2742
|
# resp.web_acl.rules[0].statement.xss_match_statement.text_transformations[0].type #=> String, one of "NONE", "COMPRESS_WHITE_SPACE", "HTML_ENTITY_DECODE", "LOWERCASE", "CMD_LINE", "URL_DECODE"
|
2758
2743
|
# resp.web_acl.rules[0].statement.size_constraint_statement.field_to_match.single_header.name #=> String
|
2759
2744
|
# resp.web_acl.rules[0].statement.size_constraint_statement.field_to_match.single_query_argument.name #=> String
|
2745
|
+
# resp.web_acl.rules[0].statement.size_constraint_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
|
2746
|
+
# resp.web_acl.rules[0].statement.size_constraint_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
|
2747
|
+
# resp.web_acl.rules[0].statement.size_constraint_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
|
2748
|
+
# resp.web_acl.rules[0].statement.size_constraint_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
|
2760
2749
|
# resp.web_acl.rules[0].statement.size_constraint_statement.comparison_operator #=> String, one of "EQ", "NE", "LE", "LT", "GE", "GT"
|
2761
2750
|
# resp.web_acl.rules[0].statement.size_constraint_statement.size #=> Integer
|
2762
2751
|
# resp.web_acl.rules[0].statement.size_constraint_statement.text_transformations #=> Array
|
@@ -2776,6 +2765,10 @@ module Aws::WAFV2
|
|
2776
2765
|
# resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.arn #=> String
|
2777
2766
|
# resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.single_header.name #=> String
|
2778
2767
|
# resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.single_query_argument.name #=> String
|
2768
|
+
# resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.json_body.match_pattern.included_paths #=> Array
|
2769
|
+
# resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.json_body.match_pattern.included_paths[0] #=> String
|
2770
|
+
# resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
|
2771
|
+
# resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.field_to_match.json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
|
2779
2772
|
# resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.text_transformations #=> Array
|
2780
2773
|
# resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.text_transformations[0].priority #=> Integer
|
2781
2774
|
# resp.web_acl.rules[0].statement.regex_pattern_set_reference_statement.text_transformations[0].type #=> String, one of "NONE", "COMPRESS_WHITE_SPACE", "HTML_ENTITY_DECODE", "LOWERCASE", "CMD_LINE", "URL_DECODE"
|
@@ -2837,25 +2830,15 @@ module Aws::WAFV2
|
|
2837
2830
|
req.send_request(options)
|
2838
2831
|
end
|
2839
2832
|
|
2840
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
2841
|
-
# in November, 2019. For information, including how to migrate your AWS
|
2842
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
2843
|
-
# Guide][1].
|
2844
|
-
#
|
2845
|
-
# </note>
|
2846
|
-
#
|
2847
2833
|
# Retrieves an array of managed rule groups that are available for you
|
2848
2834
|
# to use. This list includes all AWS Managed Rules rule groups and the
|
2849
2835
|
# AWS Marketplace managed rule groups that you're subscribed to.
|
2850
2836
|
#
|
2851
|
-
#
|
2852
|
-
#
|
2853
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2854
|
-
#
|
2855
2837
|
# @option params [required, String] :scope
|
2856
2838
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
2857
2839
|
# regional application. A regional application can be an Application
|
2858
|
-
# Load Balancer (ALB)
|
2840
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
2841
|
+
# API.
|
2859
2842
|
#
|
2860
2843
|
# To work with CloudFront, you must also specify the Region US East (N.
|
2861
2844
|
# Virginia) as follows:
|
@@ -2908,24 +2891,14 @@ module Aws::WAFV2
|
|
2908
2891
|
req.send_request(options)
|
2909
2892
|
end
|
2910
2893
|
|
2911
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
2912
|
-
# in November, 2019. For information, including how to migrate your AWS
|
2913
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
2914
|
-
# Guide][1].
|
2915
|
-
#
|
2916
|
-
# </note>
|
2917
|
-
#
|
2918
2894
|
# Retrieves an array of IPSetSummary objects for the IP sets that you
|
2919
2895
|
# manage.
|
2920
2896
|
#
|
2921
|
-
#
|
2922
|
-
#
|
2923
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2924
|
-
#
|
2925
2897
|
# @option params [required, String] :scope
|
2926
2898
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
2927
2899
|
# regional application. A regional application can be an Application
|
2928
|
-
# Load Balancer (ALB)
|
2900
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
2901
|
+
# API.
|
2929
2902
|
#
|
2930
2903
|
# To work with CloudFront, you must also specify the Region US East (N.
|
2931
2904
|
# Virginia) as follows:
|
@@ -2980,23 +2953,13 @@ module Aws::WAFV2
|
|
2980
2953
|
req.send_request(options)
|
2981
2954
|
end
|
2982
2955
|
|
2983
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
2984
|
-
# in November, 2019. For information, including how to migrate your AWS
|
2985
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
2986
|
-
# Guide][1].
|
2987
|
-
#
|
2988
|
-
# </note>
|
2989
|
-
#
|
2990
2956
|
# Retrieves an array of your LoggingConfiguration objects.
|
2991
2957
|
#
|
2992
|
-
#
|
2993
|
-
#
|
2994
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2995
|
-
#
|
2996
2958
|
# @option params [String] :scope
|
2997
2959
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
2998
2960
|
# regional application. A regional application can be an Application
|
2999
|
-
# Load Balancer (ALB)
|
2961
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
2962
|
+
# API.
|
3000
2963
|
#
|
3001
2964
|
# To work with CloudFront, you must also specify the Region US East (N.
|
3002
2965
|
# Virginia) as follows:
|
@@ -3041,6 +3004,10 @@ module Aws::WAFV2
|
|
3041
3004
|
# resp.logging_configurations[0].redacted_fields #=> Array
|
3042
3005
|
# resp.logging_configurations[0].redacted_fields[0].single_header.name #=> String
|
3043
3006
|
# resp.logging_configurations[0].redacted_fields[0].single_query_argument.name #=> String
|
3007
|
+
# resp.logging_configurations[0].redacted_fields[0].json_body.match_pattern.included_paths #=> Array
|
3008
|
+
# resp.logging_configurations[0].redacted_fields[0].json_body.match_pattern.included_paths[0] #=> String
|
3009
|
+
# resp.logging_configurations[0].redacted_fields[0].json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
|
3010
|
+
# resp.logging_configurations[0].redacted_fields[0].json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
|
3044
3011
|
# resp.logging_configurations[0].managed_by_firewall_manager #=> Boolean
|
3045
3012
|
# resp.next_marker #=> String
|
3046
3013
|
#
|
@@ -3053,24 +3020,14 @@ module Aws::WAFV2
|
|
3053
3020
|
req.send_request(options)
|
3054
3021
|
end
|
3055
3022
|
|
3056
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
3057
|
-
# in November, 2019. For information, including how to migrate your AWS
|
3058
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
3059
|
-
# Guide][1].
|
3060
|
-
#
|
3061
|
-
# </note>
|
3062
|
-
#
|
3063
3023
|
# Retrieves an array of RegexPatternSetSummary objects for the regex
|
3064
3024
|
# pattern sets that you manage.
|
3065
3025
|
#
|
3066
|
-
#
|
3067
|
-
#
|
3068
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3069
|
-
#
|
3070
3026
|
# @option params [required, String] :scope
|
3071
3027
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
3072
3028
|
# regional application. A regional application can be an Application
|
3073
|
-
# Load Balancer (ALB)
|
3029
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
3030
|
+
# API.
|
3074
3031
|
#
|
3075
3032
|
# To work with CloudFront, you must also specify the Region US East (N.
|
3076
3033
|
# Virginia) as follows:
|
@@ -3125,29 +3082,18 @@ module Aws::WAFV2
|
|
3125
3082
|
req.send_request(options)
|
3126
3083
|
end
|
3127
3084
|
|
3128
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
3129
|
-
# in November, 2019. For information, including how to migrate your AWS
|
3130
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
3131
|
-
# Guide][1].
|
3132
|
-
#
|
3133
|
-
# </note>
|
3134
|
-
#
|
3135
3085
|
# Retrieves an array of the Amazon Resource Names (ARNs) for the
|
3136
3086
|
# regional resources that are associated with the specified web ACL. If
|
3137
3087
|
# you want the list of AWS CloudFront resources, use the AWS CloudFront
|
3138
3088
|
# call `ListDistributionsByWebACLId`.
|
3139
3089
|
#
|
3140
|
-
#
|
3141
|
-
#
|
3142
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3143
|
-
#
|
3144
3090
|
# @option params [required, String] :web_acl_arn
|
3145
3091
|
# The Amazon Resource Name (ARN) of the Web ACL.
|
3146
3092
|
#
|
3147
3093
|
# @option params [String] :resource_type
|
3148
3094
|
# Used for web ACLs that are scoped for regional applications. A
|
3149
|
-
# regional application can be an Application Load Balancer (ALB)
|
3150
|
-
# API
|
3095
|
+
# regional application can be an Application Load Balancer (ALB), an API
|
3096
|
+
# Gateway REST API, or an AppSync GraphQL API.
|
3151
3097
|
#
|
3152
3098
|
# @return [Types::ListResourcesForWebACLResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3153
3099
|
#
|
@@ -3157,7 +3103,7 @@ module Aws::WAFV2
|
|
3157
3103
|
#
|
3158
3104
|
# resp = client.list_resources_for_web_acl({
|
3159
3105
|
# web_acl_arn: "ResourceArn", # required
|
3160
|
-
# resource_type: "APPLICATION_LOAD_BALANCER", # accepts APPLICATION_LOAD_BALANCER, API_GATEWAY
|
3106
|
+
# resource_type: "APPLICATION_LOAD_BALANCER", # accepts APPLICATION_LOAD_BALANCER, API_GATEWAY, APPSYNC
|
3161
3107
|
# })
|
3162
3108
|
#
|
3163
3109
|
# @example Response structure
|
@@ -3174,24 +3120,14 @@ module Aws::WAFV2
|
|
3174
3120
|
req.send_request(options)
|
3175
3121
|
end
|
3176
3122
|
|
3177
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
3178
|
-
# in November, 2019. For information, including how to migrate your AWS
|
3179
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
3180
|
-
# Guide][1].
|
3181
|
-
#
|
3182
|
-
# </note>
|
3183
|
-
#
|
3184
3123
|
# Retrieves an array of RuleGroupSummary objects for the rule groups
|
3185
3124
|
# that you manage.
|
3186
3125
|
#
|
3187
|
-
#
|
3188
|
-
#
|
3189
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3190
|
-
#
|
3191
3126
|
# @option params [required, String] :scope
|
3192
3127
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
3193
3128
|
# regional application. A regional application can be an Application
|
3194
|
-
# Load Balancer (ALB)
|
3129
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
3130
|
+
# API.
|
3195
3131
|
#
|
3196
3132
|
# To work with CloudFront, you must also specify the Region US East (N.
|
3197
3133
|
# Virginia) as follows:
|
@@ -3246,13 +3182,6 @@ module Aws::WAFV2
|
|
3246
3182
|
req.send_request(options)
|
3247
3183
|
end
|
3248
3184
|
|
3249
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
3250
|
-
# in November, 2019. For information, including how to migrate your AWS
|
3251
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
3252
|
-
# Guide][1].
|
3253
|
-
#
|
3254
|
-
# </note>
|
3255
|
-
#
|
3256
3185
|
# Retrieves the TagInfoForResource for the specified resource. Tags are
|
3257
3186
|
# key:value pairs that you can use to categorize and manage your
|
3258
3187
|
# resources, for purposes like billing. For example, you might set the
|
@@ -3264,10 +3193,6 @@ module Aws::WAFV2
|
|
3264
3193
|
# ACLs, rule groups, IP sets, and regex pattern sets. You can't manage
|
3265
3194
|
# or view tags through the AWS WAF console.
|
3266
3195
|
#
|
3267
|
-
#
|
3268
|
-
#
|
3269
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3270
|
-
#
|
3271
3196
|
# @option params [String] :next_marker
|
3272
3197
|
# When you request a list of objects with a `Limit` setting, if the
|
3273
3198
|
# number of objects that are still available for retrieval exceeds the
|
@@ -3314,24 +3239,14 @@ module Aws::WAFV2
|
|
3314
3239
|
req.send_request(options)
|
3315
3240
|
end
|
3316
3241
|
|
3317
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
3318
|
-
# in November, 2019. For information, including how to migrate your AWS
|
3319
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
3320
|
-
# Guide][1].
|
3321
|
-
#
|
3322
|
-
# </note>
|
3323
|
-
#
|
3324
3242
|
# Retrieves an array of WebACLSummary objects for the web ACLs that you
|
3325
3243
|
# manage.
|
3326
3244
|
#
|
3327
|
-
#
|
3328
|
-
#
|
3329
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3330
|
-
#
|
3331
3245
|
# @option params [required, String] :scope
|
3332
3246
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
3333
3247
|
# regional application. A regional application can be an Application
|
3334
|
-
# Load Balancer (ALB)
|
3248
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
3249
|
+
# API.
|
3335
3250
|
#
|
3336
3251
|
# To work with CloudFront, you must also specify the Region US East (N.
|
3337
3252
|
# Virginia) as follows:
|
@@ -3386,13 +3301,6 @@ module Aws::WAFV2
|
|
3386
3301
|
req.send_request(options)
|
3387
3302
|
end
|
3388
3303
|
|
3389
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
3390
|
-
# in November, 2019. For information, including how to migrate your AWS
|
3391
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
3392
|
-
# Guide][1].
|
3393
|
-
#
|
3394
|
-
# </note>
|
3395
|
-
#
|
3396
3304
|
# Enables the specified LoggingConfiguration, to start logging from a
|
3397
3305
|
# web ACL, according to the configuration provided.
|
3398
3306
|
#
|
@@ -3419,13 +3327,12 @@ module Aws::WAFV2
|
|
3419
3327
|
# When you successfully enable logging using a `PutLoggingConfiguration`
|
3420
3328
|
# request, AWS WAF will create a service linked role with the necessary
|
3421
3329
|
# permissions to write logs to the Amazon Kinesis Data Firehose. For
|
3422
|
-
# more information, see [Logging Web ACL Traffic Information][
|
3330
|
+
# more information, see [Logging Web ACL Traffic Information][1] in the
|
3423
3331
|
# *AWS WAF Developer Guide*.
|
3424
3332
|
#
|
3425
3333
|
#
|
3426
3334
|
#
|
3427
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/
|
3428
|
-
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/logging.html
|
3335
|
+
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/logging.html
|
3429
3336
|
#
|
3430
3337
|
# @option params [required, Types::LoggingConfiguration] :logging_configuration
|
3431
3338
|
#
|
@@ -3457,6 +3364,15 @@ module Aws::WAFV2
|
|
3457
3364
|
# },
|
3458
3365
|
# method: {
|
3459
3366
|
# },
|
3367
|
+
# json_body: {
|
3368
|
+
# match_pattern: { # required
|
3369
|
+
# all: {
|
3370
|
+
# },
|
3371
|
+
# included_paths: ["JsonPointerPath"],
|
3372
|
+
# },
|
3373
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
3374
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
3375
|
+
# },
|
3460
3376
|
# },
|
3461
3377
|
# ],
|
3462
3378
|
# managed_by_firewall_manager: false,
|
@@ -3471,6 +3387,10 @@ module Aws::WAFV2
|
|
3471
3387
|
# resp.logging_configuration.redacted_fields #=> Array
|
3472
3388
|
# resp.logging_configuration.redacted_fields[0].single_header.name #=> String
|
3473
3389
|
# resp.logging_configuration.redacted_fields[0].single_query_argument.name #=> String
|
3390
|
+
# resp.logging_configuration.redacted_fields[0].json_body.match_pattern.included_paths #=> Array
|
3391
|
+
# resp.logging_configuration.redacted_fields[0].json_body.match_pattern.included_paths[0] #=> String
|
3392
|
+
# resp.logging_configuration.redacted_fields[0].json_body.match_scope #=> String, one of "ALL", "KEY", "VALUE"
|
3393
|
+
# resp.logging_configuration.redacted_fields[0].json_body.invalid_fallback_behavior #=> String, one of "MATCH", "NO_MATCH", "EVALUATE_AS_STRING"
|
3474
3394
|
# resp.logging_configuration.managed_by_firewall_manager #=> Boolean
|
3475
3395
|
#
|
3476
3396
|
# @see http://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/PutLoggingConfiguration AWS API Documentation
|
@@ -3544,13 +3464,6 @@ module Aws::WAFV2
|
|
3544
3464
|
req.send_request(options)
|
3545
3465
|
end
|
3546
3466
|
|
3547
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
3548
|
-
# in November, 2019. For information, including how to migrate your AWS
|
3549
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
3550
|
-
# Guide][1].
|
3551
|
-
#
|
3552
|
-
# </note>
|
3553
|
-
#
|
3554
3467
|
# Associates tags with the specified AWS resource. Tags are key:value
|
3555
3468
|
# pairs that you can use to categorize and manage your resources, for
|
3556
3469
|
# purposes like billing. For example, you might set the tag key to
|
@@ -3562,10 +3475,6 @@ module Aws::WAFV2
|
|
3562
3475
|
# ACLs, rule groups, IP sets, and regex pattern sets. You can't manage
|
3563
3476
|
# or view tags through the AWS WAF console.
|
3564
3477
|
#
|
3565
|
-
#
|
3566
|
-
#
|
3567
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3568
|
-
#
|
3569
3478
|
# @option params [required, String] :resource_arn
|
3570
3479
|
# The Amazon Resource Name (ARN) of the resource.
|
3571
3480
|
#
|
@@ -3595,23 +3504,12 @@ module Aws::WAFV2
|
|
3595
3504
|
req.send_request(options)
|
3596
3505
|
end
|
3597
3506
|
|
3598
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
3599
|
-
# in November, 2019. For information, including how to migrate your AWS
|
3600
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
3601
|
-
# Guide][1].
|
3602
|
-
#
|
3603
|
-
# </note>
|
3604
|
-
#
|
3605
3507
|
# Disassociates tags from an AWS resource. Tags are key:value pairs that
|
3606
3508
|
# you can associate with AWS resources. For example, the tag key might
|
3607
3509
|
# be "customer" and the tag value might be "companyA." You can
|
3608
3510
|
# specify one or more tags to add to each container. You can add up to
|
3609
3511
|
# 50 tags to each AWS resource.
|
3610
3512
|
#
|
3611
|
-
#
|
3612
|
-
#
|
3613
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3614
|
-
#
|
3615
3513
|
# @option params [required, String] :resource_arn
|
3616
3514
|
# The Amazon Resource Name (ARN) of the resource.
|
3617
3515
|
#
|
@@ -3637,19 +3535,8 @@ module Aws::WAFV2
|
|
3637
3535
|
req.send_request(options)
|
3638
3536
|
end
|
3639
3537
|
|
3640
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
3641
|
-
# in November, 2019. For information, including how to migrate your AWS
|
3642
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
3643
|
-
# Guide][1].
|
3644
|
-
#
|
3645
|
-
# </note>
|
3646
|
-
#
|
3647
3538
|
# Updates the specified IPSet.
|
3648
3539
|
#
|
3649
|
-
#
|
3650
|
-
#
|
3651
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3652
|
-
#
|
3653
3540
|
# @option params [required, String] :name
|
3654
3541
|
# The name of the IP set. You cannot change the name of an `IPSet` after
|
3655
3542
|
# you create it.
|
@@ -3657,7 +3544,8 @@ module Aws::WAFV2
|
|
3657
3544
|
# @option params [required, String] :scope
|
3658
3545
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
3659
3546
|
# regional application. A regional application can be an Application
|
3660
|
-
# Load Balancer (ALB)
|
3547
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
3548
|
+
# API.
|
3661
3549
|
#
|
3662
3550
|
# To work with CloudFront, you must also specify the Region US East (N.
|
3663
3551
|
# Virginia) as follows:
|
@@ -3673,8 +3561,7 @@ module Aws::WAFV2
|
|
3673
3561
|
# and delete.
|
3674
3562
|
#
|
3675
3563
|
# @option params [String] :description
|
3676
|
-
# A description of the IP set that helps with identification.
|
3677
|
-
# change the description of an IP set after you create it.
|
3564
|
+
# A description of the IP set that helps with identification.
|
3678
3565
|
#
|
3679
3566
|
# @option params [required, Array<String>] :addresses
|
3680
3567
|
# Contains an array of strings that specify one or more IP addresses or
|
@@ -3746,19 +3633,8 @@ module Aws::WAFV2
|
|
3746
3633
|
req.send_request(options)
|
3747
3634
|
end
|
3748
3635
|
|
3749
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
3750
|
-
# in November, 2019. For information, including how to migrate your AWS
|
3751
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
3752
|
-
# Guide][1].
|
3753
|
-
#
|
3754
|
-
# </note>
|
3755
|
-
#
|
3756
3636
|
# Updates the specified RegexPatternSet.
|
3757
3637
|
#
|
3758
|
-
#
|
3759
|
-
#
|
3760
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3761
|
-
#
|
3762
3638
|
# @option params [required, String] :name
|
3763
3639
|
# The name of the set. You cannot change the name after you create the
|
3764
3640
|
# set.
|
@@ -3766,7 +3642,8 @@ module Aws::WAFV2
|
|
3766
3642
|
# @option params [required, String] :scope
|
3767
3643
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
3768
3644
|
# regional application. A regional application can be an Application
|
3769
|
-
# Load Balancer (ALB)
|
3645
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
3646
|
+
# API.
|
3770
3647
|
#
|
3771
3648
|
# To work with CloudFront, you must also specify the Region US East (N.
|
3772
3649
|
# Virginia) as follows:
|
@@ -3782,8 +3659,7 @@ module Aws::WAFV2
|
|
3782
3659
|
# and delete.
|
3783
3660
|
#
|
3784
3661
|
# @option params [String] :description
|
3785
|
-
# A description of the set that helps with identification.
|
3786
|
-
# change the description of a set after you create it.
|
3662
|
+
# A description of the set that helps with identification.
|
3787
3663
|
#
|
3788
3664
|
# @option params [required, Array<Types::Regex>] :regular_expression_list
|
3789
3665
|
#
|
@@ -3829,13 +3705,6 @@ module Aws::WAFV2
|
|
3829
3705
|
req.send_request(options)
|
3830
3706
|
end
|
3831
3707
|
|
3832
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
3833
|
-
# in November, 2019. For information, including how to migrate your AWS
|
3834
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
3835
|
-
# Guide][1].
|
3836
|
-
#
|
3837
|
-
# </note>
|
3838
|
-
#
|
3839
3708
|
# Updates the specified RuleGroup.
|
3840
3709
|
#
|
3841
3710
|
# A rule group defines a collection of rules to inspect and control web
|
@@ -3844,10 +3713,6 @@ module Aws::WAFV2
|
|
3844
3713
|
# you must stay within the capacity. This allows others to reuse the
|
3845
3714
|
# rule group with confidence in its capacity requirements.
|
3846
3715
|
#
|
3847
|
-
#
|
3848
|
-
#
|
3849
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3850
|
-
#
|
3851
3716
|
# @option params [required, String] :name
|
3852
3717
|
# The name of the rule group. You cannot change the name of a rule group
|
3853
3718
|
# after you create it.
|
@@ -3855,7 +3720,8 @@ module Aws::WAFV2
|
|
3855
3720
|
# @option params [required, String] :scope
|
3856
3721
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
3857
3722
|
# regional application. A regional application can be an Application
|
3858
|
-
# Load Balancer (ALB)
|
3723
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
3724
|
+
# API.
|
3859
3725
|
#
|
3860
3726
|
# To work with CloudFront, you must also specify the Region US East (N.
|
3861
3727
|
# Virginia) as follows:
|
@@ -3871,8 +3737,7 @@ module Aws::WAFV2
|
|
3871
3737
|
# like update and delete.
|
3872
3738
|
#
|
3873
3739
|
# @option params [String] :description
|
3874
|
-
# A description of the rule group that helps with identification.
|
3875
|
-
# cannot change the description of a rule group after you create it.
|
3740
|
+
# A description of the rule group that helps with identification.
|
3876
3741
|
#
|
3877
3742
|
# @option params [Array<Types::Rule>] :rules
|
3878
3743
|
# The Rule statements used to identify the web requests that you want to
|
@@ -3929,6 +3794,15 @@ module Aws::WAFV2
|
|
3929
3794
|
# },
|
3930
3795
|
# method: {
|
3931
3796
|
# },
|
3797
|
+
# json_body: {
|
3798
|
+
# match_pattern: { # required
|
3799
|
+
# all: {
|
3800
|
+
# },
|
3801
|
+
# included_paths: ["JsonPointerPath"],
|
3802
|
+
# },
|
3803
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
3804
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
3805
|
+
# },
|
3932
3806
|
# },
|
3933
3807
|
# text_transformations: [ # required
|
3934
3808
|
# {
|
@@ -3956,6 +3830,15 @@ module Aws::WAFV2
|
|
3956
3830
|
# },
|
3957
3831
|
# method: {
|
3958
3832
|
# },
|
3833
|
+
# json_body: {
|
3834
|
+
# match_pattern: { # required
|
3835
|
+
# all: {
|
3836
|
+
# },
|
3837
|
+
# included_paths: ["JsonPointerPath"],
|
3838
|
+
# },
|
3839
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
3840
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
3841
|
+
# },
|
3959
3842
|
# },
|
3960
3843
|
# text_transformations: [ # required
|
3961
3844
|
# {
|
@@ -3982,6 +3865,15 @@ module Aws::WAFV2
|
|
3982
3865
|
# },
|
3983
3866
|
# method: {
|
3984
3867
|
# },
|
3868
|
+
# json_body: {
|
3869
|
+
# match_pattern: { # required
|
3870
|
+
# all: {
|
3871
|
+
# },
|
3872
|
+
# included_paths: ["JsonPointerPath"],
|
3873
|
+
# },
|
3874
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
3875
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
3876
|
+
# },
|
3985
3877
|
# },
|
3986
3878
|
# text_transformations: [ # required
|
3987
3879
|
# {
|
@@ -4008,6 +3900,15 @@ module Aws::WAFV2
|
|
4008
3900
|
# },
|
4009
3901
|
# method: {
|
4010
3902
|
# },
|
3903
|
+
# json_body: {
|
3904
|
+
# match_pattern: { # required
|
3905
|
+
# all: {
|
3906
|
+
# },
|
3907
|
+
# included_paths: ["JsonPointerPath"],
|
3908
|
+
# },
|
3909
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
3910
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
3911
|
+
# },
|
4011
3912
|
# },
|
4012
3913
|
# comparison_operator: "EQ", # required, accepts EQ, NE, LE, LT, GE, GT
|
4013
3914
|
# size: 1, # required
|
@@ -4060,6 +3961,15 @@ module Aws::WAFV2
|
|
4060
3961
|
# },
|
4061
3962
|
# method: {
|
4062
3963
|
# },
|
3964
|
+
# json_body: {
|
3965
|
+
# match_pattern: { # required
|
3966
|
+
# all: {
|
3967
|
+
# },
|
3968
|
+
# included_paths: ["JsonPointerPath"],
|
3969
|
+
# },
|
3970
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
3971
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
3972
|
+
# },
|
4063
3973
|
# },
|
4064
3974
|
# text_transformations: [ # required
|
4065
3975
|
# {
|
@@ -4150,13 +4060,6 @@ module Aws::WAFV2
|
|
4150
4060
|
req.send_request(options)
|
4151
4061
|
end
|
4152
4062
|
|
4153
|
-
# <note markdown="1"> This is the latest version of **AWS WAF**, named AWS WAFV2, released
|
4154
|
-
# in November, 2019. For information, including how to migrate your AWS
|
4155
|
-
# WAF resources from the prior release, see the [AWS WAF Developer
|
4156
|
-
# Guide][1].
|
4157
|
-
#
|
4158
|
-
# </note>
|
4159
|
-
#
|
4160
4063
|
# Updates the specified WebACL.
|
4161
4064
|
#
|
4162
4065
|
# A Web ACL defines a collection of rules to use to inspect and control
|
@@ -4166,12 +4069,8 @@ module Aws::WAFV2
|
|
4166
4069
|
# does not match any of the rules. The rules in a Web ACL can be a
|
4167
4070
|
# combination of the types Rule, RuleGroup, and managed rule group. You
|
4168
4071
|
# can associate a Web ACL with one or more AWS resources to protect. The
|
4169
|
-
# resources can be Amazon CloudFront, an Amazon API Gateway API,
|
4170
|
-
# Application Load Balancer.
|
4171
|
-
#
|
4172
|
-
#
|
4173
|
-
#
|
4174
|
-
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4072
|
+
# resources can be Amazon CloudFront, an Amazon API Gateway REST API, an
|
4073
|
+
# Application Load Balancer, or an AWS AppSync GraphQL API.
|
4175
4074
|
#
|
4176
4075
|
# @option params [required, String] :name
|
4177
4076
|
# The name of the Web ACL. You cannot change the name of a Web ACL after
|
@@ -4180,7 +4079,8 @@ module Aws::WAFV2
|
|
4180
4079
|
# @option params [required, String] :scope
|
4181
4080
|
# Specifies whether this is for an AWS CloudFront distribution or for a
|
4182
4081
|
# regional application. A regional application can be an Application
|
4183
|
-
# Load Balancer (ALB)
|
4082
|
+
# Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL
|
4083
|
+
# API.
|
4184
4084
|
#
|
4185
4085
|
# To work with CloudFront, you must also specify the Region US East (N.
|
4186
4086
|
# Virginia) as follows:
|
@@ -4200,8 +4100,7 @@ module Aws::WAFV2
|
|
4200
4100
|
# match.
|
4201
4101
|
#
|
4202
4102
|
# @option params [String] :description
|
4203
|
-
# A description of the Web ACL that helps with identification.
|
4204
|
-
# cannot change the description of a Web ACL after you create it.
|
4103
|
+
# A description of the Web ACL that helps with identification.
|
4205
4104
|
#
|
4206
4105
|
# @option params [Array<Types::Rule>] :rules
|
4207
4106
|
# The Rule statements used to identify the web requests that you want to
|
@@ -4264,6 +4163,15 @@ module Aws::WAFV2
|
|
4264
4163
|
# },
|
4265
4164
|
# method: {
|
4266
4165
|
# },
|
4166
|
+
# json_body: {
|
4167
|
+
# match_pattern: { # required
|
4168
|
+
# all: {
|
4169
|
+
# },
|
4170
|
+
# included_paths: ["JsonPointerPath"],
|
4171
|
+
# },
|
4172
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
4173
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
4174
|
+
# },
|
4267
4175
|
# },
|
4268
4176
|
# text_transformations: [ # required
|
4269
4177
|
# {
|
@@ -4291,6 +4199,15 @@ module Aws::WAFV2
|
|
4291
4199
|
# },
|
4292
4200
|
# method: {
|
4293
4201
|
# },
|
4202
|
+
# json_body: {
|
4203
|
+
# match_pattern: { # required
|
4204
|
+
# all: {
|
4205
|
+
# },
|
4206
|
+
# included_paths: ["JsonPointerPath"],
|
4207
|
+
# },
|
4208
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
4209
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
4210
|
+
# },
|
4294
4211
|
# },
|
4295
4212
|
# text_transformations: [ # required
|
4296
4213
|
# {
|
@@ -4317,6 +4234,15 @@ module Aws::WAFV2
|
|
4317
4234
|
# },
|
4318
4235
|
# method: {
|
4319
4236
|
# },
|
4237
|
+
# json_body: {
|
4238
|
+
# match_pattern: { # required
|
4239
|
+
# all: {
|
4240
|
+
# },
|
4241
|
+
# included_paths: ["JsonPointerPath"],
|
4242
|
+
# },
|
4243
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
4244
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
4245
|
+
# },
|
4320
4246
|
# },
|
4321
4247
|
# text_transformations: [ # required
|
4322
4248
|
# {
|
@@ -4343,6 +4269,15 @@ module Aws::WAFV2
|
|
4343
4269
|
# },
|
4344
4270
|
# method: {
|
4345
4271
|
# },
|
4272
|
+
# json_body: {
|
4273
|
+
# match_pattern: { # required
|
4274
|
+
# all: {
|
4275
|
+
# },
|
4276
|
+
# included_paths: ["JsonPointerPath"],
|
4277
|
+
# },
|
4278
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
4279
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
4280
|
+
# },
|
4346
4281
|
# },
|
4347
4282
|
# comparison_operator: "EQ", # required, accepts EQ, NE, LE, LT, GE, GT
|
4348
4283
|
# size: 1, # required
|
@@ -4395,6 +4330,15 @@ module Aws::WAFV2
|
|
4395
4330
|
# },
|
4396
4331
|
# method: {
|
4397
4332
|
# },
|
4333
|
+
# json_body: {
|
4334
|
+
# match_pattern: { # required
|
4335
|
+
# all: {
|
4336
|
+
# },
|
4337
|
+
# included_paths: ["JsonPointerPath"],
|
4338
|
+
# },
|
4339
|
+
# match_scope: "ALL", # required, accepts ALL, KEY, VALUE
|
4340
|
+
# invalid_fallback_behavior: "MATCH", # accepts MATCH, NO_MATCH, EVALUATE_AS_STRING
|
4341
|
+
# },
|
4398
4342
|
# },
|
4399
4343
|
# text_transformations: [ # required
|
4400
4344
|
# {
|
@@ -4498,7 +4442,7 @@ module Aws::WAFV2
|
|
4498
4442
|
params: params,
|
4499
4443
|
config: config)
|
4500
4444
|
context[:gem_name] = 'aws-sdk-wafv2'
|
4501
|
-
context[:gem_version] = '1.
|
4445
|
+
context[:gem_version] = '1.16.0'
|
4502
4446
|
Seahorse::Client::Request.new(handlers, context)
|
4503
4447
|
end
|
4504
4448
|
|