aws-sdk-wafregional 1.49.0 → 1.50.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-wafregional/client.rb +1 -1
- data/lib/aws-sdk-wafregional/endpoint_provider.rb +35 -96
- data/lib/aws-sdk-wafregional/types.rb +0 -1157
- data/lib/aws-sdk-wafregional.rb +1 -1
- metadata +2 -2
@@ -32,26 +32,6 @@ module Aws::WAFRegional
|
|
32
32
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
33
33
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
34
34
|
#
|
35
|
-
# @note When making an API call, you may pass ActivatedRule
|
36
|
-
# data as a hash:
|
37
|
-
#
|
38
|
-
# {
|
39
|
-
# priority: 1, # required
|
40
|
-
# rule_id: "ResourceId", # required
|
41
|
-
# action: {
|
42
|
-
# type: "BLOCK", # required, accepts BLOCK, ALLOW, COUNT
|
43
|
-
# },
|
44
|
-
# override_action: {
|
45
|
-
# type: "NONE", # required, accepts NONE, COUNT
|
46
|
-
# },
|
47
|
-
# type: "REGULAR", # accepts REGULAR, RATE_BASED, GROUP
|
48
|
-
# excluded_rules: [
|
49
|
-
# {
|
50
|
-
# rule_id: "ResourceId", # required
|
51
|
-
# },
|
52
|
-
# ],
|
53
|
-
# }
|
54
|
-
#
|
55
35
|
# @!attribute [rw] priority
|
56
36
|
# Specifies the order in which the `Rules` in a `WebACL` are
|
57
37
|
# evaluated. Rules with a lower value for `Priority` are evaluated
|
@@ -178,14 +158,6 @@ module Aws::WAFRegional
|
|
178
158
|
include Aws::Structure
|
179
159
|
end
|
180
160
|
|
181
|
-
# @note When making an API call, you may pass AssociateWebACLRequest
|
182
|
-
# data as a hash:
|
183
|
-
#
|
184
|
-
# {
|
185
|
-
# web_acl_id: "ResourceId", # required
|
186
|
-
# resource_arn: "ResourceArn", # required
|
187
|
-
# }
|
188
|
-
#
|
189
161
|
# @!attribute [rw] web_acl_id
|
190
162
|
# A unique identifier (ID) for the web ACL.
|
191
163
|
# @return [String]
|
@@ -335,22 +307,6 @@ module Aws::WAFRegional
|
|
335
307
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
336
308
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
337
309
|
#
|
338
|
-
# @note When making an API call, you may pass ByteMatchSetUpdate
|
339
|
-
# data as a hash:
|
340
|
-
#
|
341
|
-
# {
|
342
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
343
|
-
# byte_match_tuple: { # required
|
344
|
-
# field_to_match: { # required
|
345
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
346
|
-
# data: "MatchFieldData",
|
347
|
-
# },
|
348
|
-
# target_string: "data", # required
|
349
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
350
|
-
# positional_constraint: "EXACTLY", # required, accepts EXACTLY, STARTS_WITH, ENDS_WITH, CONTAINS, CONTAINS_WORD
|
351
|
-
# },
|
352
|
-
# }
|
353
|
-
#
|
354
310
|
# @!attribute [rw] action
|
355
311
|
# Specifies whether to insert or delete a ByteMatchTuple.
|
356
312
|
# @return [String]
|
@@ -390,19 +346,6 @@ module Aws::WAFRegional
|
|
390
346
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
391
347
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
392
348
|
#
|
393
|
-
# @note When making an API call, you may pass ByteMatchTuple
|
394
|
-
# data as a hash:
|
395
|
-
#
|
396
|
-
# {
|
397
|
-
# field_to_match: { # required
|
398
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
399
|
-
# data: "MatchFieldData",
|
400
|
-
# },
|
401
|
-
# target_string: "data", # required
|
402
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
403
|
-
# positional_constraint: "EXACTLY", # required, accepts EXACTLY, STARTS_WITH, ENDS_WITH, CONTAINS, CONTAINS_WORD
|
404
|
-
# }
|
405
|
-
#
|
406
349
|
# @!attribute [rw] field_to_match
|
407
350
|
# The part of a web request that you want AWS WAF to search, such as a
|
408
351
|
# specified header or a query string. For more information, see
|
@@ -610,14 +553,6 @@ module Aws::WAFRegional
|
|
610
553
|
include Aws::Structure
|
611
554
|
end
|
612
555
|
|
613
|
-
# @note When making an API call, you may pass CreateByteMatchSetRequest
|
614
|
-
# data as a hash:
|
615
|
-
#
|
616
|
-
# {
|
617
|
-
# name: "ResourceName", # required
|
618
|
-
# change_token: "ChangeToken", # required
|
619
|
-
# }
|
620
|
-
#
|
621
556
|
# @!attribute [rw] name
|
622
557
|
# A friendly name or description of the ByteMatchSet. You can't
|
623
558
|
# change `Name` after you create a `ByteMatchSet`.
|
@@ -655,14 +590,6 @@ module Aws::WAFRegional
|
|
655
590
|
include Aws::Structure
|
656
591
|
end
|
657
592
|
|
658
|
-
# @note When making an API call, you may pass CreateGeoMatchSetRequest
|
659
|
-
# data as a hash:
|
660
|
-
#
|
661
|
-
# {
|
662
|
-
# name: "ResourceName", # required
|
663
|
-
# change_token: "ChangeToken", # required
|
664
|
-
# }
|
665
|
-
#
|
666
593
|
# @!attribute [rw] name
|
667
594
|
# A friendly name or description of the GeoMatchSet. You can't change
|
668
595
|
# `Name` after you create the `GeoMatchSet`.
|
@@ -701,14 +628,6 @@ module Aws::WAFRegional
|
|
701
628
|
include Aws::Structure
|
702
629
|
end
|
703
630
|
|
704
|
-
# @note When making an API call, you may pass CreateIPSetRequest
|
705
|
-
# data as a hash:
|
706
|
-
#
|
707
|
-
# {
|
708
|
-
# name: "ResourceName", # required
|
709
|
-
# change_token: "ChangeToken", # required
|
710
|
-
# }
|
711
|
-
#
|
712
631
|
# @!attribute [rw] name
|
713
632
|
# A friendly name or description of the IPSet. You can't change
|
714
633
|
# `Name` after you create the `IPSet`.
|
@@ -746,23 +665,6 @@ module Aws::WAFRegional
|
|
746
665
|
include Aws::Structure
|
747
666
|
end
|
748
667
|
|
749
|
-
# @note When making an API call, you may pass CreateRateBasedRuleRequest
|
750
|
-
# data as a hash:
|
751
|
-
#
|
752
|
-
# {
|
753
|
-
# name: "ResourceName", # required
|
754
|
-
# metric_name: "MetricName", # required
|
755
|
-
# rate_key: "IP", # required, accepts IP
|
756
|
-
# rate_limit: 1, # required
|
757
|
-
# change_token: "ChangeToken", # required
|
758
|
-
# tags: [
|
759
|
-
# {
|
760
|
-
# key: "TagKey", # required
|
761
|
-
# value: "TagValue", # required
|
762
|
-
# },
|
763
|
-
# ],
|
764
|
-
# }
|
765
|
-
#
|
766
668
|
# @!attribute [rw] name
|
767
669
|
# A friendly name or description of the RateBasedRule. You can't
|
768
670
|
# change the name of a `RateBasedRule` after you create it.
|
@@ -835,14 +737,6 @@ module Aws::WAFRegional
|
|
835
737
|
include Aws::Structure
|
836
738
|
end
|
837
739
|
|
838
|
-
# @note When making an API call, you may pass CreateRegexMatchSetRequest
|
839
|
-
# data as a hash:
|
840
|
-
#
|
841
|
-
# {
|
842
|
-
# name: "ResourceName", # required
|
843
|
-
# change_token: "ChangeToken", # required
|
844
|
-
# }
|
845
|
-
#
|
846
740
|
# @!attribute [rw] name
|
847
741
|
# A friendly name or description of the RegexMatchSet. You can't
|
848
742
|
# change `Name` after you create a `RegexMatchSet`.
|
@@ -880,14 +774,6 @@ module Aws::WAFRegional
|
|
880
774
|
include Aws::Structure
|
881
775
|
end
|
882
776
|
|
883
|
-
# @note When making an API call, you may pass CreateRegexPatternSetRequest
|
884
|
-
# data as a hash:
|
885
|
-
#
|
886
|
-
# {
|
887
|
-
# name: "ResourceName", # required
|
888
|
-
# change_token: "ChangeToken", # required
|
889
|
-
# }
|
890
|
-
#
|
891
777
|
# @!attribute [rw] name
|
892
778
|
# A friendly name or description of the RegexPatternSet. You can't
|
893
779
|
# change `Name` after you create a `RegexPatternSet`.
|
@@ -926,21 +812,6 @@ module Aws::WAFRegional
|
|
926
812
|
include Aws::Structure
|
927
813
|
end
|
928
814
|
|
929
|
-
# @note When making an API call, you may pass CreateRuleGroupRequest
|
930
|
-
# data as a hash:
|
931
|
-
#
|
932
|
-
# {
|
933
|
-
# name: "ResourceName", # required
|
934
|
-
# metric_name: "MetricName", # required
|
935
|
-
# change_token: "ChangeToken", # required
|
936
|
-
# tags: [
|
937
|
-
# {
|
938
|
-
# key: "TagKey", # required
|
939
|
-
# value: "TagValue", # required
|
940
|
-
# },
|
941
|
-
# ],
|
942
|
-
# }
|
943
|
-
#
|
944
815
|
# @!attribute [rw] name
|
945
816
|
# A friendly name or description of the RuleGroup. You can't change
|
946
817
|
# `Name` after you create a `RuleGroup`.
|
@@ -992,21 +863,6 @@ module Aws::WAFRegional
|
|
992
863
|
include Aws::Structure
|
993
864
|
end
|
994
865
|
|
995
|
-
# @note When making an API call, you may pass CreateRuleRequest
|
996
|
-
# data as a hash:
|
997
|
-
#
|
998
|
-
# {
|
999
|
-
# name: "ResourceName", # required
|
1000
|
-
# metric_name: "MetricName", # required
|
1001
|
-
# change_token: "ChangeToken", # required
|
1002
|
-
# tags: [
|
1003
|
-
# {
|
1004
|
-
# key: "TagKey", # required
|
1005
|
-
# value: "TagValue", # required
|
1006
|
-
# },
|
1007
|
-
# ],
|
1008
|
-
# }
|
1009
|
-
#
|
1010
866
|
# @!attribute [rw] name
|
1011
867
|
# A friendly name or description of the Rule. You can't change the
|
1012
868
|
# name of a `Rule` after you create it.
|
@@ -1058,14 +914,6 @@ module Aws::WAFRegional
|
|
1058
914
|
include Aws::Structure
|
1059
915
|
end
|
1060
916
|
|
1061
|
-
# @note When making an API call, you may pass CreateSizeConstraintSetRequest
|
1062
|
-
# data as a hash:
|
1063
|
-
#
|
1064
|
-
# {
|
1065
|
-
# name: "ResourceName", # required
|
1066
|
-
# change_token: "ChangeToken", # required
|
1067
|
-
# }
|
1068
|
-
#
|
1069
917
|
# @!attribute [rw] name
|
1070
918
|
# A friendly name or description of the SizeConstraintSet. You can't
|
1071
919
|
# change `Name` after you create a `SizeConstraintSet`.
|
@@ -1106,14 +954,6 @@ module Aws::WAFRegional
|
|
1106
954
|
|
1107
955
|
# A request to create a SqlInjectionMatchSet.
|
1108
956
|
#
|
1109
|
-
# @note When making an API call, you may pass CreateSqlInjectionMatchSetRequest
|
1110
|
-
# data as a hash:
|
1111
|
-
#
|
1112
|
-
# {
|
1113
|
-
# name: "ResourceName", # required
|
1114
|
-
# change_token: "ChangeToken", # required
|
1115
|
-
# }
|
1116
|
-
#
|
1117
957
|
# @!attribute [rw] name
|
1118
958
|
# A friendly name or description for the SqlInjectionMatchSet that
|
1119
959
|
# you're creating. You can't change `Name` after you create the
|
@@ -1155,15 +995,6 @@ module Aws::WAFRegional
|
|
1155
995
|
include Aws::Structure
|
1156
996
|
end
|
1157
997
|
|
1158
|
-
# @note When making an API call, you may pass CreateWebACLMigrationStackRequest
|
1159
|
-
# data as a hash:
|
1160
|
-
#
|
1161
|
-
# {
|
1162
|
-
# web_acl_id: "ResourceId", # required
|
1163
|
-
# s3_bucket_name: "S3BucketName", # required
|
1164
|
-
# ignore_unsupported_type: false, # required
|
1165
|
-
# }
|
1166
|
-
#
|
1167
998
|
# @!attribute [rw] web_acl_id
|
1168
999
|
# The UUID of the WAF Classic web ACL that you want to migrate to WAF
|
1169
1000
|
# v2.
|
@@ -1217,24 +1048,6 @@ module Aws::WAFRegional
|
|
1217
1048
|
include Aws::Structure
|
1218
1049
|
end
|
1219
1050
|
|
1220
|
-
# @note When making an API call, you may pass CreateWebACLRequest
|
1221
|
-
# data as a hash:
|
1222
|
-
#
|
1223
|
-
# {
|
1224
|
-
# name: "ResourceName", # required
|
1225
|
-
# metric_name: "MetricName", # required
|
1226
|
-
# default_action: { # required
|
1227
|
-
# type: "BLOCK", # required, accepts BLOCK, ALLOW, COUNT
|
1228
|
-
# },
|
1229
|
-
# change_token: "ChangeToken", # required
|
1230
|
-
# tags: [
|
1231
|
-
# {
|
1232
|
-
# key: "TagKey", # required
|
1233
|
-
# value: "TagValue", # required
|
1234
|
-
# },
|
1235
|
-
# ],
|
1236
|
-
# }
|
1237
|
-
#
|
1238
1051
|
# @!attribute [rw] name
|
1239
1052
|
# A friendly name or description of the WebACL. You can't change
|
1240
1053
|
# `Name` after you create the `WebACL`.
|
@@ -1295,14 +1108,6 @@ module Aws::WAFRegional
|
|
1295
1108
|
|
1296
1109
|
# A request to create an XssMatchSet.
|
1297
1110
|
#
|
1298
|
-
# @note When making an API call, you may pass CreateXssMatchSetRequest
|
1299
|
-
# data as a hash:
|
1300
|
-
#
|
1301
|
-
# {
|
1302
|
-
# name: "ResourceName", # required
|
1303
|
-
# change_token: "ChangeToken", # required
|
1304
|
-
# }
|
1305
|
-
#
|
1306
1111
|
# @!attribute [rw] name
|
1307
1112
|
# A friendly name or description for the XssMatchSet that you're
|
1308
1113
|
# creating. You can't change `Name` after you create the
|
@@ -1343,14 +1148,6 @@ module Aws::WAFRegional
|
|
1343
1148
|
include Aws::Structure
|
1344
1149
|
end
|
1345
1150
|
|
1346
|
-
# @note When making an API call, you may pass DeleteByteMatchSetRequest
|
1347
|
-
# data as a hash:
|
1348
|
-
#
|
1349
|
-
# {
|
1350
|
-
# byte_match_set_id: "ResourceId", # required
|
1351
|
-
# change_token: "ChangeToken", # required
|
1352
|
-
# }
|
1353
|
-
#
|
1354
1151
|
# @!attribute [rw] byte_match_set_id
|
1355
1152
|
# The `ByteMatchSetId` of the ByteMatchSet that you want to delete.
|
1356
1153
|
# `ByteMatchSetId` is returned by CreateByteMatchSet and by
|
@@ -1384,14 +1181,6 @@ module Aws::WAFRegional
|
|
1384
1181
|
include Aws::Structure
|
1385
1182
|
end
|
1386
1183
|
|
1387
|
-
# @note When making an API call, you may pass DeleteGeoMatchSetRequest
|
1388
|
-
# data as a hash:
|
1389
|
-
#
|
1390
|
-
# {
|
1391
|
-
# geo_match_set_id: "ResourceId", # required
|
1392
|
-
# change_token: "ChangeToken", # required
|
1393
|
-
# }
|
1394
|
-
#
|
1395
1184
|
# @!attribute [rw] geo_match_set_id
|
1396
1185
|
# The `GeoMatchSetID` of the GeoMatchSet that you want to delete.
|
1397
1186
|
# `GeoMatchSetId` is returned by CreateGeoMatchSet and by
|
@@ -1425,14 +1214,6 @@ module Aws::WAFRegional
|
|
1425
1214
|
include Aws::Structure
|
1426
1215
|
end
|
1427
1216
|
|
1428
|
-
# @note When making an API call, you may pass DeleteIPSetRequest
|
1429
|
-
# data as a hash:
|
1430
|
-
#
|
1431
|
-
# {
|
1432
|
-
# ip_set_id: "ResourceId", # required
|
1433
|
-
# change_token: "ChangeToken", # required
|
1434
|
-
# }
|
1435
|
-
#
|
1436
1217
|
# @!attribute [rw] ip_set_id
|
1437
1218
|
# The `IPSetId` of the IPSet that you want to delete. `IPSetId` is
|
1438
1219
|
# returned by CreateIPSet and by ListIPSets.
|
@@ -1465,13 +1246,6 @@ module Aws::WAFRegional
|
|
1465
1246
|
include Aws::Structure
|
1466
1247
|
end
|
1467
1248
|
|
1468
|
-
# @note When making an API call, you may pass DeleteLoggingConfigurationRequest
|
1469
|
-
# data as a hash:
|
1470
|
-
#
|
1471
|
-
# {
|
1472
|
-
# resource_arn: "ResourceArn", # required
|
1473
|
-
# }
|
1474
|
-
#
|
1475
1249
|
# @!attribute [rw] resource_arn
|
1476
1250
|
# The Amazon Resource Name (ARN) of the web ACL from which you want to
|
1477
1251
|
# delete the LoggingConfiguration.
|
@@ -1489,13 +1263,6 @@ module Aws::WAFRegional
|
|
1489
1263
|
#
|
1490
1264
|
class DeleteLoggingConfigurationResponse < Aws::EmptyStructure; end
|
1491
1265
|
|
1492
|
-
# @note When making an API call, you may pass DeletePermissionPolicyRequest
|
1493
|
-
# data as a hash:
|
1494
|
-
#
|
1495
|
-
# {
|
1496
|
-
# resource_arn: "ResourceArn", # required
|
1497
|
-
# }
|
1498
|
-
#
|
1499
1266
|
# @!attribute [rw] resource_arn
|
1500
1267
|
# The Amazon Resource Name (ARN) of the RuleGroup from which you want
|
1501
1268
|
# to delete the policy.
|
@@ -1515,14 +1282,6 @@ module Aws::WAFRegional
|
|
1515
1282
|
#
|
1516
1283
|
class DeletePermissionPolicyResponse < Aws::EmptyStructure; end
|
1517
1284
|
|
1518
|
-
# @note When making an API call, you may pass DeleteRateBasedRuleRequest
|
1519
|
-
# data as a hash:
|
1520
|
-
#
|
1521
|
-
# {
|
1522
|
-
# rule_id: "ResourceId", # required
|
1523
|
-
# change_token: "ChangeToken", # required
|
1524
|
-
# }
|
1525
|
-
#
|
1526
1285
|
# @!attribute [rw] rule_id
|
1527
1286
|
# The `RuleId` of the RateBasedRule that you want to delete. `RuleId`
|
1528
1287
|
# is returned by CreateRateBasedRule and by ListRateBasedRules.
|
@@ -1555,14 +1314,6 @@ module Aws::WAFRegional
|
|
1555
1314
|
include Aws::Structure
|
1556
1315
|
end
|
1557
1316
|
|
1558
|
-
# @note When making an API call, you may pass DeleteRegexMatchSetRequest
|
1559
|
-
# data as a hash:
|
1560
|
-
#
|
1561
|
-
# {
|
1562
|
-
# regex_match_set_id: "ResourceId", # required
|
1563
|
-
# change_token: "ChangeToken", # required
|
1564
|
-
# }
|
1565
|
-
#
|
1566
1317
|
# @!attribute [rw] regex_match_set_id
|
1567
1318
|
# The `RegexMatchSetId` of the RegexMatchSet that you want to delete.
|
1568
1319
|
# `RegexMatchSetId` is returned by CreateRegexMatchSet and by
|
@@ -1596,14 +1347,6 @@ module Aws::WAFRegional
|
|
1596
1347
|
include Aws::Structure
|
1597
1348
|
end
|
1598
1349
|
|
1599
|
-
# @note When making an API call, you may pass DeleteRegexPatternSetRequest
|
1600
|
-
# data as a hash:
|
1601
|
-
#
|
1602
|
-
# {
|
1603
|
-
# regex_pattern_set_id: "ResourceId", # required
|
1604
|
-
# change_token: "ChangeToken", # required
|
1605
|
-
# }
|
1606
|
-
#
|
1607
1350
|
# @!attribute [rw] regex_pattern_set_id
|
1608
1351
|
# The `RegexPatternSetId` of the RegexPatternSet that you want to
|
1609
1352
|
# delete. `RegexPatternSetId` is returned by CreateRegexPatternSet and
|
@@ -1638,14 +1381,6 @@ module Aws::WAFRegional
|
|
1638
1381
|
include Aws::Structure
|
1639
1382
|
end
|
1640
1383
|
|
1641
|
-
# @note When making an API call, you may pass DeleteRuleGroupRequest
|
1642
|
-
# data as a hash:
|
1643
|
-
#
|
1644
|
-
# {
|
1645
|
-
# rule_group_id: "ResourceId", # required
|
1646
|
-
# change_token: "ChangeToken", # required
|
1647
|
-
# }
|
1648
|
-
#
|
1649
1384
|
# @!attribute [rw] rule_group_id
|
1650
1385
|
# The `RuleGroupId` of the RuleGroup that you want to delete.
|
1651
1386
|
# `RuleGroupId` is returned by CreateRuleGroup and by ListRuleGroups.
|
@@ -1678,14 +1413,6 @@ module Aws::WAFRegional
|
|
1678
1413
|
include Aws::Structure
|
1679
1414
|
end
|
1680
1415
|
|
1681
|
-
# @note When making an API call, you may pass DeleteRuleRequest
|
1682
|
-
# data as a hash:
|
1683
|
-
#
|
1684
|
-
# {
|
1685
|
-
# rule_id: "ResourceId", # required
|
1686
|
-
# change_token: "ChangeToken", # required
|
1687
|
-
# }
|
1688
|
-
#
|
1689
1416
|
# @!attribute [rw] rule_id
|
1690
1417
|
# The `RuleId` of the Rule that you want to delete. `RuleId` is
|
1691
1418
|
# returned by CreateRule and by ListRules.
|
@@ -1718,14 +1445,6 @@ module Aws::WAFRegional
|
|
1718
1445
|
include Aws::Structure
|
1719
1446
|
end
|
1720
1447
|
|
1721
|
-
# @note When making an API call, you may pass DeleteSizeConstraintSetRequest
|
1722
|
-
# data as a hash:
|
1723
|
-
#
|
1724
|
-
# {
|
1725
|
-
# size_constraint_set_id: "ResourceId", # required
|
1726
|
-
# change_token: "ChangeToken", # required
|
1727
|
-
# }
|
1728
|
-
#
|
1729
1448
|
# @!attribute [rw] size_constraint_set_id
|
1730
1449
|
# The `SizeConstraintSetId` of the SizeConstraintSet that you want to
|
1731
1450
|
# delete. `SizeConstraintSetId` is returned by CreateSizeConstraintSet
|
@@ -1762,14 +1481,6 @@ module Aws::WAFRegional
|
|
1762
1481
|
|
1763
1482
|
# A request to delete a SqlInjectionMatchSet from AWS WAF.
|
1764
1483
|
#
|
1765
|
-
# @note When making an API call, you may pass DeleteSqlInjectionMatchSetRequest
|
1766
|
-
# data as a hash:
|
1767
|
-
#
|
1768
|
-
# {
|
1769
|
-
# sql_injection_match_set_id: "ResourceId", # required
|
1770
|
-
# change_token: "ChangeToken", # required
|
1771
|
-
# }
|
1772
|
-
#
|
1773
1484
|
# @!attribute [rw] sql_injection_match_set_id
|
1774
1485
|
# The `SqlInjectionMatchSetId` of the SqlInjectionMatchSet that you
|
1775
1486
|
# want to delete. `SqlInjectionMatchSetId` is returned by
|
@@ -1807,14 +1518,6 @@ module Aws::WAFRegional
|
|
1807
1518
|
include Aws::Structure
|
1808
1519
|
end
|
1809
1520
|
|
1810
|
-
# @note When making an API call, you may pass DeleteWebACLRequest
|
1811
|
-
# data as a hash:
|
1812
|
-
#
|
1813
|
-
# {
|
1814
|
-
# web_acl_id: "ResourceId", # required
|
1815
|
-
# change_token: "ChangeToken", # required
|
1816
|
-
# }
|
1817
|
-
#
|
1818
1521
|
# @!attribute [rw] web_acl_id
|
1819
1522
|
# The `WebACLId` of the WebACL that you want to delete. `WebACLId` is
|
1820
1523
|
# returned by CreateWebACL and by ListWebACLs.
|
@@ -1849,14 +1552,6 @@ module Aws::WAFRegional
|
|
1849
1552
|
|
1850
1553
|
# A request to delete an XssMatchSet from AWS WAF.
|
1851
1554
|
#
|
1852
|
-
# @note When making an API call, you may pass DeleteXssMatchSetRequest
|
1853
|
-
# data as a hash:
|
1854
|
-
#
|
1855
|
-
# {
|
1856
|
-
# xss_match_set_id: "ResourceId", # required
|
1857
|
-
# change_token: "ChangeToken", # required
|
1858
|
-
# }
|
1859
|
-
#
|
1860
1555
|
# @!attribute [rw] xss_match_set_id
|
1861
1556
|
# The `XssMatchSetId` of the XssMatchSet that you want to delete.
|
1862
1557
|
# `XssMatchSetId` is returned by CreateXssMatchSet and by
|
@@ -1892,13 +1587,6 @@ module Aws::WAFRegional
|
|
1892
1587
|
include Aws::Structure
|
1893
1588
|
end
|
1894
1589
|
|
1895
|
-
# @note When making an API call, you may pass DisassociateWebACLRequest
|
1896
|
-
# data as a hash:
|
1897
|
-
#
|
1898
|
-
# {
|
1899
|
-
# resource_arn: "ResourceArn", # required
|
1900
|
-
# }
|
1901
|
-
#
|
1902
1590
|
# @!attribute [rw] resource_arn
|
1903
1591
|
# The ARN (Amazon Resource Name) of the resource from which the web
|
1904
1592
|
# ACL is being removed, either an application load balancer or Amazon
|
@@ -1944,13 +1632,6 @@ module Aws::WAFRegional
|
|
1944
1632
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1945
1633
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1946
1634
|
#
|
1947
|
-
# @note When making an API call, you may pass ExcludedRule
|
1948
|
-
# data as a hash:
|
1949
|
-
#
|
1950
|
-
# {
|
1951
|
-
# rule_id: "ResourceId", # required
|
1952
|
-
# }
|
1953
|
-
#
|
1954
1635
|
# @!attribute [rw] rule_id
|
1955
1636
|
# The unique identifier for the rule to exclude from the rule group.
|
1956
1637
|
# @return [String]
|
@@ -1979,14 +1660,6 @@ module Aws::WAFRegional
|
|
1979
1660
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1980
1661
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1981
1662
|
#
|
1982
|
-
# @note When making an API call, you may pass FieldToMatch
|
1983
|
-
# data as a hash:
|
1984
|
-
#
|
1985
|
-
# {
|
1986
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
1987
|
-
# data: "MatchFieldData",
|
1988
|
-
# }
|
1989
|
-
#
|
1990
1663
|
# @!attribute [rw] type
|
1991
1664
|
# The part of the web request that you want AWS WAF to search for a
|
1992
1665
|
# specified string. Parts of a request that you can search include the
|
@@ -2065,14 +1738,6 @@ module Aws::WAFRegional
|
|
2065
1738
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2066
1739
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2067
1740
|
#
|
2068
|
-
# @note When making an API call, you may pass GeoMatchConstraint
|
2069
|
-
# data as a hash:
|
2070
|
-
#
|
2071
|
-
# {
|
2072
|
-
# type: "Country", # required, accepts Country
|
2073
|
-
# value: "AF", # required, accepts AF, AX, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BQ, BA, BW, BV, BR, IO, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CD, CK, CR, CI, HR, CU, CW, CY, CZ, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KP, KR, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, NC, NZ, NI, NE, NG, NU, NF, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, GS, SS, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, US, UM, UY, UZ, VU, VE, VN, VG, VI, WF, EH, YE, ZM, ZW
|
2074
|
-
# }
|
2075
|
-
#
|
2076
1741
|
# @!attribute [rw] type
|
2077
1742
|
# The type of geographical area you want AWS WAF to search for.
|
2078
1743
|
# Currently `Country` is the only valid value.
|
@@ -2191,17 +1856,6 @@ module Aws::WAFRegional
|
|
2191
1856
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2192
1857
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2193
1858
|
#
|
2194
|
-
# @note When making an API call, you may pass GeoMatchSetUpdate
|
2195
|
-
# data as a hash:
|
2196
|
-
#
|
2197
|
-
# {
|
2198
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
2199
|
-
# geo_match_constraint: { # required
|
2200
|
-
# type: "Country", # required, accepts Country
|
2201
|
-
# value: "AF", # required, accepts AF, AX, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BQ, BA, BW, BV, BR, IO, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CD, CK, CR, CI, HR, CU, CW, CY, CZ, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KP, KR, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, NC, NZ, NI, NE, NG, NU, NF, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, GS, SS, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, US, UM, UY, UZ, VU, VE, VN, VG, VI, WF, EH, YE, ZM, ZW
|
2202
|
-
# },
|
2203
|
-
# }
|
2204
|
-
#
|
2205
1859
|
# @!attribute [rw] action
|
2206
1860
|
# Specifies whether to insert or delete a country with
|
2207
1861
|
# UpdateGeoMatchSet.
|
@@ -2221,13 +1875,6 @@ module Aws::WAFRegional
|
|
2221
1875
|
include Aws::Structure
|
2222
1876
|
end
|
2223
1877
|
|
2224
|
-
# @note When making an API call, you may pass GetByteMatchSetRequest
|
2225
|
-
# data as a hash:
|
2226
|
-
#
|
2227
|
-
# {
|
2228
|
-
# byte_match_set_id: "ResourceId", # required
|
2229
|
-
# }
|
2230
|
-
#
|
2231
1878
|
# @!attribute [rw] byte_match_set_id
|
2232
1879
|
# The `ByteMatchSetId` of the ByteMatchSet that you want to get.
|
2233
1880
|
# `ByteMatchSetId` is returned by CreateByteMatchSet and by
|
@@ -2285,13 +1932,6 @@ module Aws::WAFRegional
|
|
2285
1932
|
include Aws::Structure
|
2286
1933
|
end
|
2287
1934
|
|
2288
|
-
# @note When making an API call, you may pass GetChangeTokenStatusRequest
|
2289
|
-
# data as a hash:
|
2290
|
-
#
|
2291
|
-
# {
|
2292
|
-
# change_token: "ChangeToken", # required
|
2293
|
-
# }
|
2294
|
-
#
|
2295
1935
|
# @!attribute [rw] change_token
|
2296
1936
|
# The change token for which you want to get the status. This change
|
2297
1937
|
# token was previously returned in the `GetChangeToken` response.
|
@@ -2317,13 +1957,6 @@ module Aws::WAFRegional
|
|
2317
1957
|
include Aws::Structure
|
2318
1958
|
end
|
2319
1959
|
|
2320
|
-
# @note When making an API call, you may pass GetGeoMatchSetRequest
|
2321
|
-
# data as a hash:
|
2322
|
-
#
|
2323
|
-
# {
|
2324
|
-
# geo_match_set_id: "ResourceId", # required
|
2325
|
-
# }
|
2326
|
-
#
|
2327
1960
|
# @!attribute [rw] geo_match_set_id
|
2328
1961
|
# The `GeoMatchSetId` of the GeoMatchSet that you want to get.
|
2329
1962
|
# `GeoMatchSetId` is returned by CreateGeoMatchSet and by
|
@@ -2353,13 +1986,6 @@ module Aws::WAFRegional
|
|
2353
1986
|
include Aws::Structure
|
2354
1987
|
end
|
2355
1988
|
|
2356
|
-
# @note When making an API call, you may pass GetIPSetRequest
|
2357
|
-
# data as a hash:
|
2358
|
-
#
|
2359
|
-
# {
|
2360
|
-
# ip_set_id: "ResourceId", # required
|
2361
|
-
# }
|
2362
|
-
#
|
2363
1989
|
# @!attribute [rw] ip_set_id
|
2364
1990
|
# The `IPSetId` of the IPSet that you want to get. `IPSetId` is
|
2365
1991
|
# returned by CreateIPSet and by ListIPSets.
|
@@ -2391,13 +2017,6 @@ module Aws::WAFRegional
|
|
2391
2017
|
include Aws::Structure
|
2392
2018
|
end
|
2393
2019
|
|
2394
|
-
# @note When making an API call, you may pass GetLoggingConfigurationRequest
|
2395
|
-
# data as a hash:
|
2396
|
-
#
|
2397
|
-
# {
|
2398
|
-
# resource_arn: "ResourceArn", # required
|
2399
|
-
# }
|
2400
|
-
#
|
2401
2020
|
# @!attribute [rw] resource_arn
|
2402
2021
|
# The Amazon Resource Name (ARN) of the web ACL for which you want to
|
2403
2022
|
# get the LoggingConfiguration.
|
@@ -2423,13 +2042,6 @@ module Aws::WAFRegional
|
|
2423
2042
|
include Aws::Structure
|
2424
2043
|
end
|
2425
2044
|
|
2426
|
-
# @note When making an API call, you may pass GetPermissionPolicyRequest
|
2427
|
-
# data as a hash:
|
2428
|
-
#
|
2429
|
-
# {
|
2430
|
-
# resource_arn: "ResourceArn", # required
|
2431
|
-
# }
|
2432
|
-
#
|
2433
2045
|
# @!attribute [rw] resource_arn
|
2434
2046
|
# The Amazon Resource Name (ARN) of the RuleGroup for which you want
|
2435
2047
|
# to get the policy.
|
@@ -2455,14 +2067,6 @@ module Aws::WAFRegional
|
|
2455
2067
|
include Aws::Structure
|
2456
2068
|
end
|
2457
2069
|
|
2458
|
-
# @note When making an API call, you may pass GetRateBasedRuleManagedKeysRequest
|
2459
|
-
# data as a hash:
|
2460
|
-
#
|
2461
|
-
# {
|
2462
|
-
# rule_id: "ResourceId", # required
|
2463
|
-
# next_marker: "NextMarker",
|
2464
|
-
# }
|
2465
|
-
#
|
2466
2070
|
# @!attribute [rw] rule_id
|
2467
2071
|
# The `RuleId` of the RateBasedRule for which you want to get a list
|
2468
2072
|
# of `ManagedKeys`. `RuleId` is returned by CreateRateBasedRule and by
|
@@ -2501,13 +2105,6 @@ module Aws::WAFRegional
|
|
2501
2105
|
include Aws::Structure
|
2502
2106
|
end
|
2503
2107
|
|
2504
|
-
# @note When making an API call, you may pass GetRateBasedRuleRequest
|
2505
|
-
# data as a hash:
|
2506
|
-
#
|
2507
|
-
# {
|
2508
|
-
# rule_id: "ResourceId", # required
|
2509
|
-
# }
|
2510
|
-
#
|
2511
2108
|
# @!attribute [rw] rule_id
|
2512
2109
|
# The `RuleId` of the RateBasedRule that you want to get. `RuleId` is
|
2513
2110
|
# returned by CreateRateBasedRule and by ListRateBasedRules.
|
@@ -2534,13 +2131,6 @@ module Aws::WAFRegional
|
|
2534
2131
|
include Aws::Structure
|
2535
2132
|
end
|
2536
2133
|
|
2537
|
-
# @note When making an API call, you may pass GetRegexMatchSetRequest
|
2538
|
-
# data as a hash:
|
2539
|
-
#
|
2540
|
-
# {
|
2541
|
-
# regex_match_set_id: "ResourceId", # required
|
2542
|
-
# }
|
2543
|
-
#
|
2544
2134
|
# @!attribute [rw] regex_match_set_id
|
2545
2135
|
# The `RegexMatchSetId` of the RegexMatchSet that you want to get.
|
2546
2136
|
# `RegexMatchSetId` is returned by CreateRegexMatchSet and by
|
@@ -2569,13 +2159,6 @@ module Aws::WAFRegional
|
|
2569
2159
|
include Aws::Structure
|
2570
2160
|
end
|
2571
2161
|
|
2572
|
-
# @note When making an API call, you may pass GetRegexPatternSetRequest
|
2573
|
-
# data as a hash:
|
2574
|
-
#
|
2575
|
-
# {
|
2576
|
-
# regex_pattern_set_id: "ResourceId", # required
|
2577
|
-
# }
|
2578
|
-
#
|
2579
2162
|
# @!attribute [rw] regex_pattern_set_id
|
2580
2163
|
# The `RegexPatternSetId` of the RegexPatternSet that you want to get.
|
2581
2164
|
# `RegexPatternSetId` is returned by CreateRegexPatternSet and by
|
@@ -2605,13 +2188,6 @@ module Aws::WAFRegional
|
|
2605
2188
|
include Aws::Structure
|
2606
2189
|
end
|
2607
2190
|
|
2608
|
-
# @note When making an API call, you may pass GetRuleGroupRequest
|
2609
|
-
# data as a hash:
|
2610
|
-
#
|
2611
|
-
# {
|
2612
|
-
# rule_group_id: "ResourceId", # required
|
2613
|
-
# }
|
2614
|
-
#
|
2615
2191
|
# @!attribute [rw] rule_group_id
|
2616
2192
|
# The `RuleGroupId` of the RuleGroup that you want to get.
|
2617
2193
|
# `RuleGroupId` is returned by CreateRuleGroup and by ListRuleGroups.
|
@@ -2638,13 +2214,6 @@ module Aws::WAFRegional
|
|
2638
2214
|
include Aws::Structure
|
2639
2215
|
end
|
2640
2216
|
|
2641
|
-
# @note When making an API call, you may pass GetRuleRequest
|
2642
|
-
# data as a hash:
|
2643
|
-
#
|
2644
|
-
# {
|
2645
|
-
# rule_id: "ResourceId", # required
|
2646
|
-
# }
|
2647
|
-
#
|
2648
2217
|
# @!attribute [rw] rule_id
|
2649
2218
|
# The `RuleId` of the Rule that you want to get. `RuleId` is returned
|
2650
2219
|
# by CreateRule and by ListRules.
|
@@ -2677,19 +2246,6 @@ module Aws::WAFRegional
|
|
2677
2246
|
include Aws::Structure
|
2678
2247
|
end
|
2679
2248
|
|
2680
|
-
# @note When making an API call, you may pass GetSampledRequestsRequest
|
2681
|
-
# data as a hash:
|
2682
|
-
#
|
2683
|
-
# {
|
2684
|
-
# web_acl_id: "ResourceId", # required
|
2685
|
-
# rule_id: "ResourceId", # required
|
2686
|
-
# time_window: { # required
|
2687
|
-
# start_time: Time.now, # required
|
2688
|
-
# end_time: Time.now, # required
|
2689
|
-
# },
|
2690
|
-
# max_items: 1, # required
|
2691
|
-
# }
|
2692
|
-
#
|
2693
2249
|
# @!attribute [rw] web_acl_id
|
2694
2250
|
# The `WebACLId` of the `WebACL` for which you want
|
2695
2251
|
# `GetSampledRequests` to return a sample of requests.
|
@@ -2766,13 +2322,6 @@ module Aws::WAFRegional
|
|
2766
2322
|
include Aws::Structure
|
2767
2323
|
end
|
2768
2324
|
|
2769
|
-
# @note When making an API call, you may pass GetSizeConstraintSetRequest
|
2770
|
-
# data as a hash:
|
2771
|
-
#
|
2772
|
-
# {
|
2773
|
-
# size_constraint_set_id: "ResourceId", # required
|
2774
|
-
# }
|
2775
|
-
#
|
2776
2325
|
# @!attribute [rw] size_constraint_set_id
|
2777
2326
|
# The `SizeConstraintSetId` of the SizeConstraintSet that you want to
|
2778
2327
|
# get. `SizeConstraintSetId` is returned by CreateSizeConstraintSet
|
@@ -2812,13 +2361,6 @@ module Aws::WAFRegional
|
|
2812
2361
|
|
2813
2362
|
# A request to get a SqlInjectionMatchSet.
|
2814
2363
|
#
|
2815
|
-
# @note When making an API call, you may pass GetSqlInjectionMatchSetRequest
|
2816
|
-
# data as a hash:
|
2817
|
-
#
|
2818
|
-
# {
|
2819
|
-
# sql_injection_match_set_id: "ResourceId", # required
|
2820
|
-
# }
|
2821
|
-
#
|
2822
2364
|
# @!attribute [rw] sql_injection_match_set_id
|
2823
2365
|
# The `SqlInjectionMatchSetId` of the SqlInjectionMatchSet that you
|
2824
2366
|
# want to get. `SqlInjectionMatchSetId` is returned by
|
@@ -2857,13 +2399,6 @@ module Aws::WAFRegional
|
|
2857
2399
|
include Aws::Structure
|
2858
2400
|
end
|
2859
2401
|
|
2860
|
-
# @note When making an API call, you may pass GetWebACLForResourceRequest
|
2861
|
-
# data as a hash:
|
2862
|
-
#
|
2863
|
-
# {
|
2864
|
-
# resource_arn: "ResourceArn", # required
|
2865
|
-
# }
|
2866
|
-
#
|
2867
2402
|
# @!attribute [rw] resource_arn
|
2868
2403
|
# The ARN (Amazon Resource Name) of the resource for which to get the
|
2869
2404
|
# web ACL, either an application load balancer or Amazon API Gateway
|
@@ -2901,13 +2436,6 @@ module Aws::WAFRegional
|
|
2901
2436
|
include Aws::Structure
|
2902
2437
|
end
|
2903
2438
|
|
2904
|
-
# @note When making an API call, you may pass GetWebACLRequest
|
2905
|
-
# data as a hash:
|
2906
|
-
#
|
2907
|
-
# {
|
2908
|
-
# web_acl_id: "ResourceId", # required
|
2909
|
-
# }
|
2910
|
-
#
|
2911
2439
|
# @!attribute [rw] web_acl_id
|
2912
2440
|
# The `WebACLId` of the WebACL that you want to get. `WebACLId` is
|
2913
2441
|
# returned by CreateWebACL and by ListWebACLs.
|
@@ -2946,13 +2474,6 @@ module Aws::WAFRegional
|
|
2946
2474
|
|
2947
2475
|
# A request to get an XssMatchSet.
|
2948
2476
|
#
|
2949
|
-
# @note When making an API call, you may pass GetXssMatchSetRequest
|
2950
|
-
# data as a hash:
|
2951
|
-
#
|
2952
|
-
# {
|
2953
|
-
# xss_match_set_id: "ResourceId", # required
|
2954
|
-
# }
|
2955
|
-
#
|
2956
2477
|
# @!attribute [rw] xss_match_set_id
|
2957
2478
|
# The `XssMatchSetId` of the XssMatchSet that you want to get.
|
2958
2479
|
# `XssMatchSetId` is returned by CreateXssMatchSet and by
|
@@ -3181,14 +2702,6 @@ module Aws::WAFRegional
|
|
3181
2702
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3182
2703
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3183
2704
|
#
|
3184
|
-
# @note When making an API call, you may pass IPSetDescriptor
|
3185
|
-
# data as a hash:
|
3186
|
-
#
|
3187
|
-
# {
|
3188
|
-
# type: "IPV4", # required, accepts IPV4, IPV6
|
3189
|
-
# value: "IPSetDescriptorValue", # required
|
3190
|
-
# }
|
3191
|
-
#
|
3192
2705
|
# @!attribute [rw] type
|
3193
2706
|
# Specify `IPV4` or `IPV6`.
|
3194
2707
|
# @return [String]
|
@@ -3285,17 +2798,6 @@ module Aws::WAFRegional
|
|
3285
2798
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3286
2799
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3287
2800
|
#
|
3288
|
-
# @note When making an API call, you may pass IPSetUpdate
|
3289
|
-
# data as a hash:
|
3290
|
-
#
|
3291
|
-
# {
|
3292
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
3293
|
-
# ip_set_descriptor: { # required
|
3294
|
-
# type: "IPV4", # required, accepts IPV4, IPV6
|
3295
|
-
# value: "IPSetDescriptorValue", # required
|
3296
|
-
# },
|
3297
|
-
# }
|
3298
|
-
#
|
3299
2801
|
# @!attribute [rw] action
|
3300
2802
|
# Specifies whether to insert or delete an IP address with
|
3301
2803
|
# UpdateIPSet.
|
@@ -3315,15 +2817,6 @@ module Aws::WAFRegional
|
|
3315
2817
|
include Aws::Structure
|
3316
2818
|
end
|
3317
2819
|
|
3318
|
-
# @note When making an API call, you may pass ListActivatedRulesInRuleGroupRequest
|
3319
|
-
# data as a hash:
|
3320
|
-
#
|
3321
|
-
# {
|
3322
|
-
# rule_group_id: "ResourceId",
|
3323
|
-
# next_marker: "NextMarker",
|
3324
|
-
# limit: 1,
|
3325
|
-
# }
|
3326
|
-
#
|
3327
2820
|
# @!attribute [rw] rule_group_id
|
3328
2821
|
# The `RuleGroupId` of the RuleGroup for which you want to get a list
|
3329
2822
|
# of ActivatedRule objects.
|
@@ -3379,14 +2872,6 @@ module Aws::WAFRegional
|
|
3379
2872
|
include Aws::Structure
|
3380
2873
|
end
|
3381
2874
|
|
3382
|
-
# @note When making an API call, you may pass ListByteMatchSetsRequest
|
3383
|
-
# data as a hash:
|
3384
|
-
#
|
3385
|
-
# {
|
3386
|
-
# next_marker: "NextMarker",
|
3387
|
-
# limit: 1,
|
3388
|
-
# }
|
3389
|
-
#
|
3390
2875
|
# @!attribute [rw] next_marker
|
3391
2876
|
# If you specify a value for `Limit` and you have more `ByteMatchSets`
|
3392
2877
|
# than the value of `Limit`, AWS WAF returns a `NextMarker` value in
|
@@ -3435,14 +2920,6 @@ module Aws::WAFRegional
|
|
3435
2920
|
include Aws::Structure
|
3436
2921
|
end
|
3437
2922
|
|
3438
|
-
# @note When making an API call, you may pass ListGeoMatchSetsRequest
|
3439
|
-
# data as a hash:
|
3440
|
-
#
|
3441
|
-
# {
|
3442
|
-
# next_marker: "NextMarker",
|
3443
|
-
# limit: 1,
|
3444
|
-
# }
|
3445
|
-
#
|
3446
2923
|
# @!attribute [rw] next_marker
|
3447
2924
|
# If you specify a value for `Limit` and you have more `GeoMatchSet`s
|
3448
2925
|
# than the value of `Limit`, AWS WAF returns a `NextMarker` value in
|
@@ -3491,14 +2968,6 @@ module Aws::WAFRegional
|
|
3491
2968
|
include Aws::Structure
|
3492
2969
|
end
|
3493
2970
|
|
3494
|
-
# @note When making an API call, you may pass ListIPSetsRequest
|
3495
|
-
# data as a hash:
|
3496
|
-
#
|
3497
|
-
# {
|
3498
|
-
# next_marker: "NextMarker",
|
3499
|
-
# limit: 1,
|
3500
|
-
# }
|
3501
|
-
#
|
3502
2971
|
# @!attribute [rw] next_marker
|
3503
2972
|
# AWS WAF returns a `NextMarker` value in the response that allows you
|
3504
2973
|
# to list another group of `IPSets`. For the second and subsequent
|
@@ -3542,14 +3011,6 @@ module Aws::WAFRegional
|
|
3542
3011
|
include Aws::Structure
|
3543
3012
|
end
|
3544
3013
|
|
3545
|
-
# @note When making an API call, you may pass ListLoggingConfigurationsRequest
|
3546
|
-
# data as a hash:
|
3547
|
-
#
|
3548
|
-
# {
|
3549
|
-
# next_marker: "NextMarker",
|
3550
|
-
# limit: 1,
|
3551
|
-
# }
|
3552
|
-
#
|
3553
3014
|
# @!attribute [rw] next_marker
|
3554
3015
|
# If you specify a value for `Limit` and you have more
|
3555
3016
|
# `LoggingConfigurations` than the value of `Limit`, AWS WAF returns a
|
@@ -3599,14 +3060,6 @@ module Aws::WAFRegional
|
|
3599
3060
|
include Aws::Structure
|
3600
3061
|
end
|
3601
3062
|
|
3602
|
-
# @note When making an API call, you may pass ListRateBasedRulesRequest
|
3603
|
-
# data as a hash:
|
3604
|
-
#
|
3605
|
-
# {
|
3606
|
-
# next_marker: "NextMarker",
|
3607
|
-
# limit: 1,
|
3608
|
-
# }
|
3609
|
-
#
|
3610
3063
|
# @!attribute [rw] next_marker
|
3611
3064
|
# If you specify a value for `Limit` and you have more `Rules` than
|
3612
3065
|
# the value of `Limit`, AWS WAF returns a `NextMarker` value in the
|
@@ -3653,14 +3106,6 @@ module Aws::WAFRegional
|
|
3653
3106
|
include Aws::Structure
|
3654
3107
|
end
|
3655
3108
|
|
3656
|
-
# @note When making an API call, you may pass ListRegexMatchSetsRequest
|
3657
|
-
# data as a hash:
|
3658
|
-
#
|
3659
|
-
# {
|
3660
|
-
# next_marker: "NextMarker",
|
3661
|
-
# limit: 1,
|
3662
|
-
# }
|
3663
|
-
#
|
3664
3109
|
# @!attribute [rw] next_marker
|
3665
3110
|
# If you specify a value for `Limit` and you have more `RegexMatchSet`
|
3666
3111
|
# objects than the value of `Limit`, AWS WAF returns a `NextMarker`
|
@@ -3710,14 +3155,6 @@ module Aws::WAFRegional
|
|
3710
3155
|
include Aws::Structure
|
3711
3156
|
end
|
3712
3157
|
|
3713
|
-
# @note When making an API call, you may pass ListRegexPatternSetsRequest
|
3714
|
-
# data as a hash:
|
3715
|
-
#
|
3716
|
-
# {
|
3717
|
-
# next_marker: "NextMarker",
|
3718
|
-
# limit: 1,
|
3719
|
-
# }
|
3720
|
-
#
|
3721
3158
|
# @!attribute [rw] next_marker
|
3722
3159
|
# If you specify a value for `Limit` and you have more
|
3723
3160
|
# `RegexPatternSet` objects than the value of `Limit`, AWS WAF returns
|
@@ -3767,14 +3204,6 @@ module Aws::WAFRegional
|
|
3767
3204
|
include Aws::Structure
|
3768
3205
|
end
|
3769
3206
|
|
3770
|
-
# @note When making an API call, you may pass ListResourcesForWebACLRequest
|
3771
|
-
# data as a hash:
|
3772
|
-
#
|
3773
|
-
# {
|
3774
|
-
# web_acl_id: "ResourceId", # required
|
3775
|
-
# resource_type: "APPLICATION_LOAD_BALANCER", # accepts APPLICATION_LOAD_BALANCER, API_GATEWAY
|
3776
|
-
# }
|
3777
|
-
#
|
3778
3207
|
# @!attribute [rw] web_acl_id
|
3779
3208
|
# The unique identifier (ID) of the web ACL for which to list the
|
3780
3209
|
# associated resources.
|
@@ -3808,14 +3237,6 @@ module Aws::WAFRegional
|
|
3808
3237
|
include Aws::Structure
|
3809
3238
|
end
|
3810
3239
|
|
3811
|
-
# @note When making an API call, you may pass ListRuleGroupsRequest
|
3812
|
-
# data as a hash:
|
3813
|
-
#
|
3814
|
-
# {
|
3815
|
-
# next_marker: "NextMarker",
|
3816
|
-
# limit: 1,
|
3817
|
-
# }
|
3818
|
-
#
|
3819
3240
|
# @!attribute [rw] next_marker
|
3820
3241
|
# If you specify a value for `Limit` and you have more `RuleGroups`
|
3821
3242
|
# than the value of `Limit`, AWS WAF returns a `NextMarker` value in
|
@@ -3862,14 +3283,6 @@ module Aws::WAFRegional
|
|
3862
3283
|
include Aws::Structure
|
3863
3284
|
end
|
3864
3285
|
|
3865
|
-
# @note When making an API call, you may pass ListRulesRequest
|
3866
|
-
# data as a hash:
|
3867
|
-
#
|
3868
|
-
# {
|
3869
|
-
# next_marker: "NextMarker",
|
3870
|
-
# limit: 1,
|
3871
|
-
# }
|
3872
|
-
#
|
3873
3286
|
# @!attribute [rw] next_marker
|
3874
3287
|
# If you specify a value for `Limit` and you have more `Rules` than
|
3875
3288
|
# the value of `Limit`, AWS WAF returns a `NextMarker` value in the
|
@@ -3916,14 +3329,6 @@ module Aws::WAFRegional
|
|
3916
3329
|
include Aws::Structure
|
3917
3330
|
end
|
3918
3331
|
|
3919
|
-
# @note When making an API call, you may pass ListSizeConstraintSetsRequest
|
3920
|
-
# data as a hash:
|
3921
|
-
#
|
3922
|
-
# {
|
3923
|
-
# next_marker: "NextMarker",
|
3924
|
-
# limit: 1,
|
3925
|
-
# }
|
3926
|
-
#
|
3927
3332
|
# @!attribute [rw] next_marker
|
3928
3333
|
# If you specify a value for `Limit` and you have more
|
3929
3334
|
# `SizeConstraintSets` than the value of `Limit`, AWS WAF returns a
|
@@ -3976,14 +3381,6 @@ module Aws::WAFRegional
|
|
3976
3381
|
# A request to list the SqlInjectionMatchSet objects created by the
|
3977
3382
|
# current AWS account.
|
3978
3383
|
#
|
3979
|
-
# @note When making an API call, you may pass ListSqlInjectionMatchSetsRequest
|
3980
|
-
# data as a hash:
|
3981
|
-
#
|
3982
|
-
# {
|
3983
|
-
# next_marker: "NextMarker",
|
3984
|
-
# limit: 1,
|
3985
|
-
# }
|
3986
|
-
#
|
3987
3384
|
# @!attribute [rw] next_marker
|
3988
3385
|
# If you specify a value for `Limit` and you have more
|
3989
3386
|
# SqlInjectionMatchSet objects than the value of `Limit`, AWS WAF
|
@@ -4035,14 +3432,6 @@ module Aws::WAFRegional
|
|
4035
3432
|
include Aws::Structure
|
4036
3433
|
end
|
4037
3434
|
|
4038
|
-
# @note When making an API call, you may pass ListSubscribedRuleGroupsRequest
|
4039
|
-
# data as a hash:
|
4040
|
-
#
|
4041
|
-
# {
|
4042
|
-
# next_marker: "NextMarker",
|
4043
|
-
# limit: 1,
|
4044
|
-
# }
|
4045
|
-
#
|
4046
3435
|
# @!attribute [rw] next_marker
|
4047
3436
|
# If you specify a value for `Limit` and you have more
|
4048
3437
|
# `ByteMatchSets`subscribed rule groups than the value of `Limit`, AWS
|
@@ -4090,15 +3479,6 @@ module Aws::WAFRegional
|
|
4090
3479
|
include Aws::Structure
|
4091
3480
|
end
|
4092
3481
|
|
4093
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
4094
|
-
# data as a hash:
|
4095
|
-
#
|
4096
|
-
# {
|
4097
|
-
# next_marker: "NextMarker",
|
4098
|
-
# limit: 1,
|
4099
|
-
# resource_arn: "ResourceArn", # required
|
4100
|
-
# }
|
4101
|
-
#
|
4102
3482
|
# @!attribute [rw] next_marker
|
4103
3483
|
# @return [String]
|
4104
3484
|
#
|
@@ -4133,14 +3513,6 @@ module Aws::WAFRegional
|
|
4133
3513
|
include Aws::Structure
|
4134
3514
|
end
|
4135
3515
|
|
4136
|
-
# @note When making an API call, you may pass ListWebACLsRequest
|
4137
|
-
# data as a hash:
|
4138
|
-
#
|
4139
|
-
# {
|
4140
|
-
# next_marker: "NextMarker",
|
4141
|
-
# limit: 1,
|
4142
|
-
# }
|
4143
|
-
#
|
4144
3516
|
# @!attribute [rw] next_marker
|
4145
3517
|
# If you specify a value for `Limit` and you have more `WebACL`
|
4146
3518
|
# objects than the number that you specify for `Limit`, AWS WAF
|
@@ -4192,14 +3564,6 @@ module Aws::WAFRegional
|
|
4192
3564
|
# A request to list the XssMatchSet objects created by the current AWS
|
4193
3565
|
# account.
|
4194
3566
|
#
|
4195
|
-
# @note When making an API call, you may pass ListXssMatchSetsRequest
|
4196
|
-
# data as a hash:
|
4197
|
-
#
|
4198
|
-
# {
|
4199
|
-
# next_marker: "NextMarker",
|
4200
|
-
# limit: 1,
|
4201
|
-
# }
|
4202
|
-
#
|
4203
3567
|
# @!attribute [rw] next_marker
|
4204
3568
|
# If you specify a value for `Limit` and you have more XssMatchSet
|
4205
3569
|
# objects than the value of `Limit`, AWS WAF returns a `NextMarker`
|
@@ -4266,20 +3630,6 @@ module Aws::WAFRegional
|
|
4266
3630
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4267
3631
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4268
3632
|
#
|
4269
|
-
# @note When making an API call, you may pass LoggingConfiguration
|
4270
|
-
# data as a hash:
|
4271
|
-
#
|
4272
|
-
# {
|
4273
|
-
# resource_arn: "ResourceArn", # required
|
4274
|
-
# log_destination_configs: ["ResourceArn"], # required
|
4275
|
-
# redacted_fields: [
|
4276
|
-
# {
|
4277
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
4278
|
-
# data: "MatchFieldData",
|
4279
|
-
# },
|
4280
|
-
# ],
|
4281
|
-
# }
|
4282
|
-
#
|
4283
3633
|
# @!attribute [rw] resource_arn
|
4284
3634
|
# The Amazon Resource Name (ARN) of the web ACL that you want to
|
4285
3635
|
# associate with `LogDestinationConfigs`.
|
@@ -4325,15 +3675,6 @@ module Aws::WAFRegional
|
|
4325
3675
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4326
3676
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4327
3677
|
#
|
4328
|
-
# @note When making an API call, you may pass Predicate
|
4329
|
-
# data as a hash:
|
4330
|
-
#
|
4331
|
-
# {
|
4332
|
-
# negated: false, # required
|
4333
|
-
# type: "IPMatch", # required, accepts IPMatch, ByteMatch, SqlInjectionMatch, GeoMatch, SizeConstraint, XssMatch, RegexMatch
|
4334
|
-
# data_id: "ResourceId", # required
|
4335
|
-
# }
|
4336
|
-
#
|
4337
3678
|
# @!attribute [rw] negated
|
4338
3679
|
# Set `Negated` to `False` if you want AWS WAF to allow, block, or
|
4339
3680
|
# count requests based on the settings in the specified ByteMatchSet,
|
@@ -4370,22 +3711,6 @@ module Aws::WAFRegional
|
|
4370
3711
|
include Aws::Structure
|
4371
3712
|
end
|
4372
3713
|
|
4373
|
-
# @note When making an API call, you may pass PutLoggingConfigurationRequest
|
4374
|
-
# data as a hash:
|
4375
|
-
#
|
4376
|
-
# {
|
4377
|
-
# logging_configuration: { # required
|
4378
|
-
# resource_arn: "ResourceArn", # required
|
4379
|
-
# log_destination_configs: ["ResourceArn"], # required
|
4380
|
-
# redacted_fields: [
|
4381
|
-
# {
|
4382
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
4383
|
-
# data: "MatchFieldData",
|
4384
|
-
# },
|
4385
|
-
# ],
|
4386
|
-
# },
|
4387
|
-
# }
|
4388
|
-
#
|
4389
3714
|
# @!attribute [rw] logging_configuration
|
4390
3715
|
# The Amazon Kinesis Data Firehose that contains the inspected traffic
|
4391
3716
|
# information, the redacted fields details, and the Amazon Resource
|
@@ -4417,14 +3742,6 @@ module Aws::WAFRegional
|
|
4417
3742
|
include Aws::Structure
|
4418
3743
|
end
|
4419
3744
|
|
4420
|
-
# @note When making an API call, you may pass PutPermissionPolicyRequest
|
4421
|
-
# data as a hash:
|
4422
|
-
#
|
4423
|
-
# {
|
4424
|
-
# resource_arn: "ResourceArn", # required
|
4425
|
-
# policy: "PolicyString", # required
|
4426
|
-
# }
|
4427
|
-
#
|
4428
3745
|
# @!attribute [rw] resource_arn
|
4429
3746
|
# The Amazon Resource Name (ARN) of the RuleGroup to which you want to
|
4430
3747
|
# attach the policy.
|
@@ -4661,21 +3978,6 @@ module Aws::WAFRegional
|
|
4661
3978
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4662
3979
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4663
3980
|
#
|
4664
|
-
# @note When making an API call, you may pass RegexMatchSetUpdate
|
4665
|
-
# data as a hash:
|
4666
|
-
#
|
4667
|
-
# {
|
4668
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
4669
|
-
# regex_match_tuple: { # required
|
4670
|
-
# field_to_match: { # required
|
4671
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
4672
|
-
# data: "MatchFieldData",
|
4673
|
-
# },
|
4674
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
4675
|
-
# regex_pattern_set_id: "ResourceId", # required
|
4676
|
-
# },
|
4677
|
-
# }
|
4678
|
-
#
|
4679
3981
|
# @!attribute [rw] action
|
4680
3982
|
# Specifies whether to insert or delete a RegexMatchTuple.
|
4681
3983
|
# @return [String]
|
@@ -4726,18 +4028,6 @@ module Aws::WAFRegional
|
|
4726
4028
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4727
4029
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4728
4030
|
#
|
4729
|
-
# @note When making an API call, you may pass RegexMatchTuple
|
4730
|
-
# data as a hash:
|
4731
|
-
#
|
4732
|
-
# {
|
4733
|
-
# field_to_match: { # required
|
4734
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
4735
|
-
# data: "MatchFieldData",
|
4736
|
-
# },
|
4737
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
4738
|
-
# regex_pattern_set_id: "ResourceId", # required
|
4739
|
-
# }
|
4740
|
-
#
|
4741
4031
|
# @!attribute [rw] field_to_match
|
4742
4032
|
# Specifies where in a web request to look for the `RegexPatternSet`.
|
4743
4033
|
# @return [Types::FieldToMatch]
|
@@ -4950,14 +4240,6 @@ module Aws::WAFRegional
|
|
4950
4240
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4951
4241
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4952
4242
|
#
|
4953
|
-
# @note When making an API call, you may pass RegexPatternSetUpdate
|
4954
|
-
# data as a hash:
|
4955
|
-
#
|
4956
|
-
# {
|
4957
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
4958
|
-
# regex_pattern_string: "RegexPatternString", # required
|
4959
|
-
# }
|
4960
|
-
#
|
4961
4243
|
# @!attribute [rw] action
|
4962
4244
|
# Specifies whether to insert or delete a `RegexPatternString`.
|
4963
4245
|
# @return [String]
|
@@ -5163,29 +4445,6 @@ module Aws::WAFRegional
|
|
5163
4445
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5164
4446
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5165
4447
|
#
|
5166
|
-
# @note When making an API call, you may pass RuleGroupUpdate
|
5167
|
-
# data as a hash:
|
5168
|
-
#
|
5169
|
-
# {
|
5170
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
5171
|
-
# activated_rule: { # required
|
5172
|
-
# priority: 1, # required
|
5173
|
-
# rule_id: "ResourceId", # required
|
5174
|
-
# action: {
|
5175
|
-
# type: "BLOCK", # required, accepts BLOCK, ALLOW, COUNT
|
5176
|
-
# },
|
5177
|
-
# override_action: {
|
5178
|
-
# type: "NONE", # required, accepts NONE, COUNT
|
5179
|
-
# },
|
5180
|
-
# type: "REGULAR", # accepts REGULAR, RATE_BASED, GROUP
|
5181
|
-
# excluded_rules: [
|
5182
|
-
# {
|
5183
|
-
# rule_id: "ResourceId", # required
|
5184
|
-
# },
|
5185
|
-
# ],
|
5186
|
-
# },
|
5187
|
-
# }
|
5188
|
-
#
|
5189
4448
|
# @!attribute [rw] action
|
5190
4449
|
# Specify `INSERT` to add an `ActivatedRule` to a `RuleGroup`. Use
|
5191
4450
|
# `DELETE` to remove an `ActivatedRule` from a `RuleGroup`.
|
@@ -5265,18 +4524,6 @@ module Aws::WAFRegional
|
|
5265
4524
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5266
4525
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5267
4526
|
#
|
5268
|
-
# @note When making an API call, you may pass RuleUpdate
|
5269
|
-
# data as a hash:
|
5270
|
-
#
|
5271
|
-
# {
|
5272
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
5273
|
-
# predicate: { # required
|
5274
|
-
# negated: false, # required
|
5275
|
-
# type: "IPMatch", # required, accepts IPMatch, ByteMatch, SqlInjectionMatch, GeoMatch, SizeConstraint, XssMatch, RegexMatch
|
5276
|
-
# data_id: "ResourceId", # required
|
5277
|
-
# },
|
5278
|
-
# }
|
5279
|
-
#
|
5280
4527
|
# @!attribute [rw] action
|
5281
4528
|
# Specify `INSERT` to add a `Predicate` to a `Rule`. Use `DELETE` to
|
5282
4529
|
# remove a `Predicate` from a `Rule`.
|
@@ -5376,19 +4623,6 @@ module Aws::WAFRegional
|
|
5376
4623
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5377
4624
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5378
4625
|
#
|
5379
|
-
# @note When making an API call, you may pass SizeConstraint
|
5380
|
-
# data as a hash:
|
5381
|
-
#
|
5382
|
-
# {
|
5383
|
-
# field_to_match: { # required
|
5384
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
5385
|
-
# data: "MatchFieldData",
|
5386
|
-
# },
|
5387
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
5388
|
-
# comparison_operator: "EQ", # required, accepts EQ, NE, LE, LT, GE, GT
|
5389
|
-
# size: 1, # required
|
5390
|
-
# }
|
5391
|
-
#
|
5392
4626
|
# @!attribute [rw] field_to_match
|
5393
4627
|
# Specifies where in a web request to look for the size constraint.
|
5394
4628
|
# @return [Types::FieldToMatch]
|
@@ -5637,22 +4871,6 @@ module Aws::WAFRegional
|
|
5637
4871
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5638
4872
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5639
4873
|
#
|
5640
|
-
# @note When making an API call, you may pass SizeConstraintSetUpdate
|
5641
|
-
# data as a hash:
|
5642
|
-
#
|
5643
|
-
# {
|
5644
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
5645
|
-
# size_constraint: { # required
|
5646
|
-
# field_to_match: { # required
|
5647
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
5648
|
-
# data: "MatchFieldData",
|
5649
|
-
# },
|
5650
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
5651
|
-
# comparison_operator: "EQ", # required, accepts EQ, NE, LE, LT, GE, GT
|
5652
|
-
# size: 1, # required
|
5653
|
-
# },
|
5654
|
-
# }
|
5655
|
-
#
|
5656
4874
|
# @!attribute [rw] action
|
5657
4875
|
# Specify `INSERT` to add a SizeConstraintSetUpdate to a
|
5658
4876
|
# SizeConstraintSet. Use `DELETE` to remove a
|
@@ -5791,20 +5009,6 @@ module Aws::WAFRegional
|
|
5791
5009
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5792
5010
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5793
5011
|
#
|
5794
|
-
# @note When making an API call, you may pass SqlInjectionMatchSetUpdate
|
5795
|
-
# data as a hash:
|
5796
|
-
#
|
5797
|
-
# {
|
5798
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
5799
|
-
# sql_injection_match_tuple: { # required
|
5800
|
-
# field_to_match: { # required
|
5801
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
5802
|
-
# data: "MatchFieldData",
|
5803
|
-
# },
|
5804
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
5805
|
-
# },
|
5806
|
-
# }
|
5807
|
-
#
|
5808
5012
|
# @!attribute [rw] action
|
5809
5013
|
# Specify `INSERT` to add a SqlInjectionMatchSetUpdate to a
|
5810
5014
|
# SqlInjectionMatchSet. Use `DELETE` to remove a
|
@@ -5844,17 +5048,6 @@ module Aws::WAFRegional
|
|
5844
5048
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5845
5049
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5846
5050
|
#
|
5847
|
-
# @note When making an API call, you may pass SqlInjectionMatchTuple
|
5848
|
-
# data as a hash:
|
5849
|
-
#
|
5850
|
-
# {
|
5851
|
-
# field_to_match: { # required
|
5852
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
5853
|
-
# data: "MatchFieldData",
|
5854
|
-
# },
|
5855
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
5856
|
-
# }
|
5857
|
-
#
|
5858
5051
|
# @!attribute [rw] field_to_match
|
5859
5052
|
# Specifies where in a web request to look for snippets of malicious
|
5860
5053
|
# SQL code.
|
@@ -6016,14 +5209,6 @@ module Aws::WAFRegional
|
|
6016
5209
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6017
5210
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6018
5211
|
#
|
6019
|
-
# @note When making an API call, you may pass Tag
|
6020
|
-
# data as a hash:
|
6021
|
-
#
|
6022
|
-
# {
|
6023
|
-
# key: "TagKey", # required
|
6024
|
-
# value: "TagValue", # required
|
6025
|
-
# }
|
6026
|
-
#
|
6027
5212
|
# @!attribute [rw] key
|
6028
5213
|
# @return [String]
|
6029
5214
|
#
|
@@ -6080,19 +5265,6 @@ module Aws::WAFRegional
|
|
6080
5265
|
include Aws::Structure
|
6081
5266
|
end
|
6082
5267
|
|
6083
|
-
# @note When making an API call, you may pass TagResourceRequest
|
6084
|
-
# data as a hash:
|
6085
|
-
#
|
6086
|
-
# {
|
6087
|
-
# resource_arn: "ResourceArn", # required
|
6088
|
-
# tags: [ # required
|
6089
|
-
# {
|
6090
|
-
# key: "TagKey", # required
|
6091
|
-
# value: "TagValue", # required
|
6092
|
-
# },
|
6093
|
-
# ],
|
6094
|
-
# }
|
6095
|
-
#
|
6096
5268
|
# @!attribute [rw] resource_arn
|
6097
5269
|
# @return [String]
|
6098
5270
|
#
|
@@ -6143,14 +5315,6 @@ module Aws::WAFRegional
|
|
6143
5315
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
6144
5316
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
6145
5317
|
#
|
6146
|
-
# @note When making an API call, you may pass TimeWindow
|
6147
|
-
# data as a hash:
|
6148
|
-
#
|
6149
|
-
# {
|
6150
|
-
# start_time: Time.now, # required
|
6151
|
-
# end_time: Time.now, # required
|
6152
|
-
# }
|
6153
|
-
#
|
6154
5318
|
# @!attribute [rw] start_time
|
6155
5319
|
# The beginning of the time range from which you want
|
6156
5320
|
# `GetSampledRequests` to return a sample of the requests that your
|
@@ -6178,14 +5342,6 @@ module Aws::WAFRegional
|
|
6178
5342
|
include Aws::Structure
|
6179
5343
|
end
|
6180
5344
|
|
6181
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
6182
|
-
# data as a hash:
|
6183
|
-
#
|
6184
|
-
# {
|
6185
|
-
# resource_arn: "ResourceArn", # required
|
6186
|
-
# tag_keys: ["TagKey"], # required
|
6187
|
-
# }
|
6188
|
-
#
|
6189
5345
|
# @!attribute [rw] resource_arn
|
6190
5346
|
# @return [String]
|
6191
5347
|
#
|
@@ -6205,28 +5361,6 @@ module Aws::WAFRegional
|
|
6205
5361
|
#
|
6206
5362
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
6207
5363
|
|
6208
|
-
# @note When making an API call, you may pass UpdateByteMatchSetRequest
|
6209
|
-
# data as a hash:
|
6210
|
-
#
|
6211
|
-
# {
|
6212
|
-
# byte_match_set_id: "ResourceId", # required
|
6213
|
-
# change_token: "ChangeToken", # required
|
6214
|
-
# updates: [ # required
|
6215
|
-
# {
|
6216
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
6217
|
-
# byte_match_tuple: { # required
|
6218
|
-
# field_to_match: { # required
|
6219
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
6220
|
-
# data: "MatchFieldData",
|
6221
|
-
# },
|
6222
|
-
# target_string: "data", # required
|
6223
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
6224
|
-
# positional_constraint: "EXACTLY", # required, accepts EXACTLY, STARTS_WITH, ENDS_WITH, CONTAINS, CONTAINS_WORD
|
6225
|
-
# },
|
6226
|
-
# },
|
6227
|
-
# ],
|
6228
|
-
# }
|
6229
|
-
#
|
6230
5364
|
# @!attribute [rw] byte_match_set_id
|
6231
5365
|
# The `ByteMatchSetId` of the ByteMatchSet that you want to update.
|
6232
5366
|
# `ByteMatchSetId` is returned by CreateByteMatchSet and by
|
@@ -6274,23 +5408,6 @@ module Aws::WAFRegional
|
|
6274
5408
|
include Aws::Structure
|
6275
5409
|
end
|
6276
5410
|
|
6277
|
-
# @note When making an API call, you may pass UpdateGeoMatchSetRequest
|
6278
|
-
# data as a hash:
|
6279
|
-
#
|
6280
|
-
# {
|
6281
|
-
# geo_match_set_id: "ResourceId", # required
|
6282
|
-
# change_token: "ChangeToken", # required
|
6283
|
-
# updates: [ # required
|
6284
|
-
# {
|
6285
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
6286
|
-
# geo_match_constraint: { # required
|
6287
|
-
# type: "Country", # required, accepts Country
|
6288
|
-
# value: "AF", # required, accepts AF, AX, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BQ, BA, BW, BV, BR, IO, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CD, CK, CR, CI, HR, CU, CW, CY, CZ, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KP, KR, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, NC, NZ, NI, NE, NG, NU, NF, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, GS, SS, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, US, UM, UY, UZ, VU, VE, VN, VG, VI, WF, EH, YE, ZM, ZW
|
6289
|
-
# },
|
6290
|
-
# },
|
6291
|
-
# ],
|
6292
|
-
# }
|
6293
|
-
#
|
6294
5411
|
# @!attribute [rw] geo_match_set_id
|
6295
5412
|
# The `GeoMatchSetId` of the GeoMatchSet that you want to update.
|
6296
5413
|
# `GeoMatchSetId` is returned by CreateGeoMatchSet and by
|
@@ -6339,23 +5456,6 @@ module Aws::WAFRegional
|
|
6339
5456
|
include Aws::Structure
|
6340
5457
|
end
|
6341
5458
|
|
6342
|
-
# @note When making an API call, you may pass UpdateIPSetRequest
|
6343
|
-
# data as a hash:
|
6344
|
-
#
|
6345
|
-
# {
|
6346
|
-
# ip_set_id: "ResourceId", # required
|
6347
|
-
# change_token: "ChangeToken", # required
|
6348
|
-
# updates: [ # required
|
6349
|
-
# {
|
6350
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
6351
|
-
# ip_set_descriptor: { # required
|
6352
|
-
# type: "IPV4", # required, accepts IPV4, IPV6
|
6353
|
-
# value: "IPSetDescriptorValue", # required
|
6354
|
-
# },
|
6355
|
-
# },
|
6356
|
-
# ],
|
6357
|
-
# }
|
6358
|
-
#
|
6359
5459
|
# @!attribute [rw] ip_set_id
|
6360
5460
|
# The `IPSetId` of the IPSet that you want to update. `IPSetId` is
|
6361
5461
|
# returned by CreateIPSet and by ListIPSets.
|
@@ -6401,25 +5501,6 @@ module Aws::WAFRegional
|
|
6401
5501
|
include Aws::Structure
|
6402
5502
|
end
|
6403
5503
|
|
6404
|
-
# @note When making an API call, you may pass UpdateRateBasedRuleRequest
|
6405
|
-
# data as a hash:
|
6406
|
-
#
|
6407
|
-
# {
|
6408
|
-
# rule_id: "ResourceId", # required
|
6409
|
-
# change_token: "ChangeToken", # required
|
6410
|
-
# updates: [ # required
|
6411
|
-
# {
|
6412
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
6413
|
-
# predicate: { # required
|
6414
|
-
# negated: false, # required
|
6415
|
-
# type: "IPMatch", # required, accepts IPMatch, ByteMatch, SqlInjectionMatch, GeoMatch, SizeConstraint, XssMatch, RegexMatch
|
6416
|
-
# data_id: "ResourceId", # required
|
6417
|
-
# },
|
6418
|
-
# },
|
6419
|
-
# ],
|
6420
|
-
# rate_limit: 1, # required
|
6421
|
-
# }
|
6422
|
-
#
|
6423
5504
|
# @!attribute [rw] rule_id
|
6424
5505
|
# The `RuleId` of the `RateBasedRule` that you want to update.
|
6425
5506
|
# `RuleId` is returned by `CreateRateBasedRule` and by
|
@@ -6468,27 +5549,6 @@ module Aws::WAFRegional
|
|
6468
5549
|
include Aws::Structure
|
6469
5550
|
end
|
6470
5551
|
|
6471
|
-
# @note When making an API call, you may pass UpdateRegexMatchSetRequest
|
6472
|
-
# data as a hash:
|
6473
|
-
#
|
6474
|
-
# {
|
6475
|
-
# regex_match_set_id: "ResourceId", # required
|
6476
|
-
# updates: [ # required
|
6477
|
-
# {
|
6478
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
6479
|
-
# regex_match_tuple: { # required
|
6480
|
-
# field_to_match: { # required
|
6481
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
6482
|
-
# data: "MatchFieldData",
|
6483
|
-
# },
|
6484
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
6485
|
-
# regex_pattern_set_id: "ResourceId", # required
|
6486
|
-
# },
|
6487
|
-
# },
|
6488
|
-
# ],
|
6489
|
-
# change_token: "ChangeToken", # required
|
6490
|
-
# }
|
6491
|
-
#
|
6492
5552
|
# @!attribute [rw] regex_match_set_id
|
6493
5553
|
# The `RegexMatchSetId` of the RegexMatchSet that you want to update.
|
6494
5554
|
# `RegexMatchSetId` is returned by CreateRegexMatchSet and by
|
@@ -6529,20 +5589,6 @@ module Aws::WAFRegional
|
|
6529
5589
|
include Aws::Structure
|
6530
5590
|
end
|
6531
5591
|
|
6532
|
-
# @note When making an API call, you may pass UpdateRegexPatternSetRequest
|
6533
|
-
# data as a hash:
|
6534
|
-
#
|
6535
|
-
# {
|
6536
|
-
# regex_pattern_set_id: "ResourceId", # required
|
6537
|
-
# updates: [ # required
|
6538
|
-
# {
|
6539
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
6540
|
-
# regex_pattern_string: "RegexPatternString", # required
|
6541
|
-
# },
|
6542
|
-
# ],
|
6543
|
-
# change_token: "ChangeToken", # required
|
6544
|
-
# }
|
6545
|
-
#
|
6546
5592
|
# @!attribute [rw] regex_pattern_set_id
|
6547
5593
|
# The `RegexPatternSetId` of the RegexPatternSet that you want to
|
6548
5594
|
# update. `RegexPatternSetId` is returned by CreateRegexPatternSet and
|
@@ -6583,35 +5629,6 @@ module Aws::WAFRegional
|
|
6583
5629
|
include Aws::Structure
|
6584
5630
|
end
|
6585
5631
|
|
6586
|
-
# @note When making an API call, you may pass UpdateRuleGroupRequest
|
6587
|
-
# data as a hash:
|
6588
|
-
#
|
6589
|
-
# {
|
6590
|
-
# rule_group_id: "ResourceId", # required
|
6591
|
-
# updates: [ # required
|
6592
|
-
# {
|
6593
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
6594
|
-
# activated_rule: { # required
|
6595
|
-
# priority: 1, # required
|
6596
|
-
# rule_id: "ResourceId", # required
|
6597
|
-
# action: {
|
6598
|
-
# type: "BLOCK", # required, accepts BLOCK, ALLOW, COUNT
|
6599
|
-
# },
|
6600
|
-
# override_action: {
|
6601
|
-
# type: "NONE", # required, accepts NONE, COUNT
|
6602
|
-
# },
|
6603
|
-
# type: "REGULAR", # accepts REGULAR, RATE_BASED, GROUP
|
6604
|
-
# excluded_rules: [
|
6605
|
-
# {
|
6606
|
-
# rule_id: "ResourceId", # required
|
6607
|
-
# },
|
6608
|
-
# ],
|
6609
|
-
# },
|
6610
|
-
# },
|
6611
|
-
# ],
|
6612
|
-
# change_token: "ChangeToken", # required
|
6613
|
-
# }
|
6614
|
-
#
|
6615
5632
|
# @!attribute [rw] rule_group_id
|
6616
5633
|
# The `RuleGroupId` of the RuleGroup that you want to update.
|
6617
5634
|
# `RuleGroupId` is returned by CreateRuleGroup and by ListRuleGroups.
|
@@ -6658,24 +5675,6 @@ module Aws::WAFRegional
|
|
6658
5675
|
include Aws::Structure
|
6659
5676
|
end
|
6660
5677
|
|
6661
|
-
# @note When making an API call, you may pass UpdateRuleRequest
|
6662
|
-
# data as a hash:
|
6663
|
-
#
|
6664
|
-
# {
|
6665
|
-
# rule_id: "ResourceId", # required
|
6666
|
-
# change_token: "ChangeToken", # required
|
6667
|
-
# updates: [ # required
|
6668
|
-
# {
|
6669
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
6670
|
-
# predicate: { # required
|
6671
|
-
# negated: false, # required
|
6672
|
-
# type: "IPMatch", # required, accepts IPMatch, ByteMatch, SqlInjectionMatch, GeoMatch, SizeConstraint, XssMatch, RegexMatch
|
6673
|
-
# data_id: "ResourceId", # required
|
6674
|
-
# },
|
6675
|
-
# },
|
6676
|
-
# ],
|
6677
|
-
# }
|
6678
|
-
#
|
6679
5678
|
# @!attribute [rw] rule_id
|
6680
5679
|
# The `RuleId` of the `Rule` that you want to update. `RuleId` is
|
6681
5680
|
# returned by `CreateRule` and by ListRules.
|
@@ -6721,28 +5720,6 @@ module Aws::WAFRegional
|
|
6721
5720
|
include Aws::Structure
|
6722
5721
|
end
|
6723
5722
|
|
6724
|
-
# @note When making an API call, you may pass UpdateSizeConstraintSetRequest
|
6725
|
-
# data as a hash:
|
6726
|
-
#
|
6727
|
-
# {
|
6728
|
-
# size_constraint_set_id: "ResourceId", # required
|
6729
|
-
# change_token: "ChangeToken", # required
|
6730
|
-
# updates: [ # required
|
6731
|
-
# {
|
6732
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
6733
|
-
# size_constraint: { # required
|
6734
|
-
# field_to_match: { # required
|
6735
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
6736
|
-
# data: "MatchFieldData",
|
6737
|
-
# },
|
6738
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
6739
|
-
# comparison_operator: "EQ", # required, accepts EQ, NE, LE, LT, GE, GT
|
6740
|
-
# size: 1, # required
|
6741
|
-
# },
|
6742
|
-
# },
|
6743
|
-
# ],
|
6744
|
-
# }
|
6745
|
-
#
|
6746
5723
|
# @!attribute [rw] size_constraint_set_id
|
6747
5724
|
# The `SizeConstraintSetId` of the SizeConstraintSet that you want to
|
6748
5725
|
# update. `SizeConstraintSetId` is returned by CreateSizeConstraintSet
|
@@ -6793,26 +5770,6 @@ module Aws::WAFRegional
|
|
6793
5770
|
|
6794
5771
|
# A request to update a SqlInjectionMatchSet.
|
6795
5772
|
#
|
6796
|
-
# @note When making an API call, you may pass UpdateSqlInjectionMatchSetRequest
|
6797
|
-
# data as a hash:
|
6798
|
-
#
|
6799
|
-
# {
|
6800
|
-
# sql_injection_match_set_id: "ResourceId", # required
|
6801
|
-
# change_token: "ChangeToken", # required
|
6802
|
-
# updates: [ # required
|
6803
|
-
# {
|
6804
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
6805
|
-
# sql_injection_match_tuple: { # required
|
6806
|
-
# field_to_match: { # required
|
6807
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
6808
|
-
# data: "MatchFieldData",
|
6809
|
-
# },
|
6810
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
6811
|
-
# },
|
6812
|
-
# },
|
6813
|
-
# ],
|
6814
|
-
# }
|
6815
|
-
#
|
6816
5773
|
# @!attribute [rw] sql_injection_match_set_id
|
6817
5774
|
# The `SqlInjectionMatchSetId` of the `SqlInjectionMatchSet` that you
|
6818
5775
|
# want to update. `SqlInjectionMatchSetId` is returned by
|
@@ -6864,38 +5821,6 @@ module Aws::WAFRegional
|
|
6864
5821
|
include Aws::Structure
|
6865
5822
|
end
|
6866
5823
|
|
6867
|
-
# @note When making an API call, you may pass UpdateWebACLRequest
|
6868
|
-
# data as a hash:
|
6869
|
-
#
|
6870
|
-
# {
|
6871
|
-
# web_acl_id: "ResourceId", # required
|
6872
|
-
# change_token: "ChangeToken", # required
|
6873
|
-
# updates: [
|
6874
|
-
# {
|
6875
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
6876
|
-
# activated_rule: { # required
|
6877
|
-
# priority: 1, # required
|
6878
|
-
# rule_id: "ResourceId", # required
|
6879
|
-
# action: {
|
6880
|
-
# type: "BLOCK", # required, accepts BLOCK, ALLOW, COUNT
|
6881
|
-
# },
|
6882
|
-
# override_action: {
|
6883
|
-
# type: "NONE", # required, accepts NONE, COUNT
|
6884
|
-
# },
|
6885
|
-
# type: "REGULAR", # accepts REGULAR, RATE_BASED, GROUP
|
6886
|
-
# excluded_rules: [
|
6887
|
-
# {
|
6888
|
-
# rule_id: "ResourceId", # required
|
6889
|
-
# },
|
6890
|
-
# ],
|
6891
|
-
# },
|
6892
|
-
# },
|
6893
|
-
# ],
|
6894
|
-
# default_action: {
|
6895
|
-
# type: "BLOCK", # required, accepts BLOCK, ALLOW, COUNT
|
6896
|
-
# },
|
6897
|
-
# }
|
6898
|
-
#
|
6899
5824
|
# @!attribute [rw] web_acl_id
|
6900
5825
|
# The `WebACLId` of the WebACL that you want to update. `WebACLId` is
|
6901
5826
|
# returned by CreateWebACL and by ListWebACLs.
|
@@ -6957,26 +5882,6 @@ module Aws::WAFRegional
|
|
6957
5882
|
|
6958
5883
|
# A request to update an XssMatchSet.
|
6959
5884
|
#
|
6960
|
-
# @note When making an API call, you may pass UpdateXssMatchSetRequest
|
6961
|
-
# data as a hash:
|
6962
|
-
#
|
6963
|
-
# {
|
6964
|
-
# xss_match_set_id: "ResourceId", # required
|
6965
|
-
# change_token: "ChangeToken", # required
|
6966
|
-
# updates: [ # required
|
6967
|
-
# {
|
6968
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
6969
|
-
# xss_match_tuple: { # required
|
6970
|
-
# field_to_match: { # required
|
6971
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
6972
|
-
# data: "MatchFieldData",
|
6973
|
-
# },
|
6974
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
6975
|
-
# },
|
6976
|
-
# },
|
6977
|
-
# ],
|
6978
|
-
# }
|
6979
|
-
#
|
6980
5885
|
# @!attribute [rw] xss_match_set_id
|
6981
5886
|
# The `XssMatchSetId` of the `XssMatchSet` that you want to update.
|
6982
5887
|
# `XssMatchSetId` is returned by CreateXssMatchSet and by
|
@@ -7445,13 +6350,6 @@ module Aws::WAFRegional
|
|
7445
6350
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
7446
6351
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
7447
6352
|
#
|
7448
|
-
# @note When making an API call, you may pass WafAction
|
7449
|
-
# data as a hash:
|
7450
|
-
#
|
7451
|
-
# {
|
7452
|
-
# type: "BLOCK", # required, accepts BLOCK, ALLOW, COUNT
|
7453
|
-
# }
|
7454
|
-
#
|
7455
6353
|
# @!attribute [rw] type
|
7456
6354
|
# Specifies how you want AWS WAF to respond to requests that match the
|
7457
6355
|
# settings in a `Rule`. Valid settings include the following:
|
@@ -7492,13 +6390,6 @@ module Aws::WAFRegional
|
|
7492
6390
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
7493
6391
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
7494
6392
|
#
|
7495
|
-
# @note When making an API call, you may pass WafOverrideAction
|
7496
|
-
# data as a hash:
|
7497
|
-
#
|
7498
|
-
# {
|
7499
|
-
# type: "NONE", # required, accepts NONE, COUNT
|
7500
|
-
# }
|
7501
|
-
#
|
7502
6393
|
# @!attribute [rw] type
|
7503
6394
|
# `COUNT` overrides the action specified by the individual rule within
|
7504
6395
|
# a `RuleGroup` . If set to `NONE`, the rule's action will take
|
@@ -7644,29 +6535,6 @@ module Aws::WAFRegional
|
|
7644
6535
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
7645
6536
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
7646
6537
|
#
|
7647
|
-
# @note When making an API call, you may pass WebACLUpdate
|
7648
|
-
# data as a hash:
|
7649
|
-
#
|
7650
|
-
# {
|
7651
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
7652
|
-
# activated_rule: { # required
|
7653
|
-
# priority: 1, # required
|
7654
|
-
# rule_id: "ResourceId", # required
|
7655
|
-
# action: {
|
7656
|
-
# type: "BLOCK", # required, accepts BLOCK, ALLOW, COUNT
|
7657
|
-
# },
|
7658
|
-
# override_action: {
|
7659
|
-
# type: "NONE", # required, accepts NONE, COUNT
|
7660
|
-
# },
|
7661
|
-
# type: "REGULAR", # accepts REGULAR, RATE_BASED, GROUP
|
7662
|
-
# excluded_rules: [
|
7663
|
-
# {
|
7664
|
-
# rule_id: "ResourceId", # required
|
7665
|
-
# },
|
7666
|
-
# ],
|
7667
|
-
# },
|
7668
|
-
# }
|
7669
|
-
#
|
7670
6538
|
# @!attribute [rw] action
|
7671
6539
|
# Specifies whether to insert a `Rule` into or delete a `Rule` from a
|
7672
6540
|
# `WebACL`.
|
@@ -7798,20 +6666,6 @@ module Aws::WAFRegional
|
|
7798
6666
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
7799
6667
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
7800
6668
|
#
|
7801
|
-
# @note When making an API call, you may pass XssMatchSetUpdate
|
7802
|
-
# data as a hash:
|
7803
|
-
#
|
7804
|
-
# {
|
7805
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
7806
|
-
# xss_match_tuple: { # required
|
7807
|
-
# field_to_match: { # required
|
7808
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
7809
|
-
# data: "MatchFieldData",
|
7810
|
-
# },
|
7811
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
7812
|
-
# },
|
7813
|
-
# }
|
7814
|
-
#
|
7815
6669
|
# @!attribute [rw] action
|
7816
6670
|
# Specify `INSERT` to add an XssMatchSetUpdate to an XssMatchSet. Use
|
7817
6671
|
# `DELETE` to remove an `XssMatchSetUpdate` from an `XssMatchSet`.
|
@@ -7850,17 +6704,6 @@ module Aws::WAFRegional
|
|
7850
6704
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
7851
6705
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
7852
6706
|
#
|
7853
|
-
# @note When making an API call, you may pass XssMatchTuple
|
7854
|
-
# data as a hash:
|
7855
|
-
#
|
7856
|
-
# {
|
7857
|
-
# field_to_match: { # required
|
7858
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
7859
|
-
# data: "MatchFieldData",
|
7860
|
-
# },
|
7861
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
7862
|
-
# }
|
7863
|
-
#
|
7864
6707
|
# @!attribute [rw] field_to_match
|
7865
6708
|
# Specifies where in a web request to look for cross-site scripting
|
7866
6709
|
# attacks.
|