aws-sdk-waf 1.47.0 → 1.49.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 +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-waf/client.rb +20 -3
- data/lib/aws-sdk-waf/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-waf/endpoint_provider.rb +81 -0
- data/lib/aws-sdk-waf/endpoints.rb +1093 -0
- data/lib/aws-sdk-waf/plugins/endpoints.rb +222 -0
- data/lib/aws-sdk-waf/types.rb +0 -1127
- data/lib/aws-sdk-waf.rb +5 -1
- metadata +8 -4
data/lib/aws-sdk-waf/types.rb
CHANGED
@@ -32,26 +32,6 @@ module Aws::WAF
|
|
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
|
@@ -296,22 +276,6 @@ module Aws::WAF
|
|
296
276
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
297
277
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
298
278
|
#
|
299
|
-
# @note When making an API call, you may pass ByteMatchSetUpdate
|
300
|
-
# data as a hash:
|
301
|
-
#
|
302
|
-
# {
|
303
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
304
|
-
# byte_match_tuple: { # required
|
305
|
-
# field_to_match: { # required
|
306
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
307
|
-
# data: "MatchFieldData",
|
308
|
-
# },
|
309
|
-
# target_string: "data", # required
|
310
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
311
|
-
# positional_constraint: "EXACTLY", # required, accepts EXACTLY, STARTS_WITH, ENDS_WITH, CONTAINS, CONTAINS_WORD
|
312
|
-
# },
|
313
|
-
# }
|
314
|
-
#
|
315
279
|
# @!attribute [rw] action
|
316
280
|
# Specifies whether to insert or delete a ByteMatchTuple.
|
317
281
|
# @return [String]
|
@@ -351,19 +315,6 @@ module Aws::WAF
|
|
351
315
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
352
316
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
353
317
|
#
|
354
|
-
# @note When making an API call, you may pass ByteMatchTuple
|
355
|
-
# data as a hash:
|
356
|
-
#
|
357
|
-
# {
|
358
|
-
# field_to_match: { # required
|
359
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
360
|
-
# data: "MatchFieldData",
|
361
|
-
# },
|
362
|
-
# target_string: "data", # required
|
363
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
364
|
-
# positional_constraint: "EXACTLY", # required, accepts EXACTLY, STARTS_WITH, ENDS_WITH, CONTAINS, CONTAINS_WORD
|
365
|
-
# }
|
366
|
-
#
|
367
318
|
# @!attribute [rw] field_to_match
|
368
319
|
# The part of a web request that you want AWS WAF to search, such as a
|
369
320
|
# specified header or a query string. For more information, see
|
@@ -571,14 +522,6 @@ module Aws::WAF
|
|
571
522
|
include Aws::Structure
|
572
523
|
end
|
573
524
|
|
574
|
-
# @note When making an API call, you may pass CreateByteMatchSetRequest
|
575
|
-
# data as a hash:
|
576
|
-
#
|
577
|
-
# {
|
578
|
-
# name: "ResourceName", # required
|
579
|
-
# change_token: "ChangeToken", # required
|
580
|
-
# }
|
581
|
-
#
|
582
525
|
# @!attribute [rw] name
|
583
526
|
# A friendly name or description of the ByteMatchSet. You can't
|
584
527
|
# change `Name` after you create a `ByteMatchSet`.
|
@@ -616,14 +559,6 @@ module Aws::WAF
|
|
616
559
|
include Aws::Structure
|
617
560
|
end
|
618
561
|
|
619
|
-
# @note When making an API call, you may pass CreateGeoMatchSetRequest
|
620
|
-
# data as a hash:
|
621
|
-
#
|
622
|
-
# {
|
623
|
-
# name: "ResourceName", # required
|
624
|
-
# change_token: "ChangeToken", # required
|
625
|
-
# }
|
626
|
-
#
|
627
562
|
# @!attribute [rw] name
|
628
563
|
# A friendly name or description of the GeoMatchSet. You can't change
|
629
564
|
# `Name` after you create the `GeoMatchSet`.
|
@@ -662,14 +597,6 @@ module Aws::WAF
|
|
662
597
|
include Aws::Structure
|
663
598
|
end
|
664
599
|
|
665
|
-
# @note When making an API call, you may pass CreateIPSetRequest
|
666
|
-
# data as a hash:
|
667
|
-
#
|
668
|
-
# {
|
669
|
-
# name: "ResourceName", # required
|
670
|
-
# change_token: "ChangeToken", # required
|
671
|
-
# }
|
672
|
-
#
|
673
600
|
# @!attribute [rw] name
|
674
601
|
# A friendly name or description of the IPSet. You can't change
|
675
602
|
# `Name` after you create the `IPSet`.
|
@@ -707,23 +634,6 @@ module Aws::WAF
|
|
707
634
|
include Aws::Structure
|
708
635
|
end
|
709
636
|
|
710
|
-
# @note When making an API call, you may pass CreateRateBasedRuleRequest
|
711
|
-
# data as a hash:
|
712
|
-
#
|
713
|
-
# {
|
714
|
-
# name: "ResourceName", # required
|
715
|
-
# metric_name: "MetricName", # required
|
716
|
-
# rate_key: "IP", # required, accepts IP
|
717
|
-
# rate_limit: 1, # required
|
718
|
-
# change_token: "ChangeToken", # required
|
719
|
-
# tags: [
|
720
|
-
# {
|
721
|
-
# key: "TagKey", # required
|
722
|
-
# value: "TagValue", # required
|
723
|
-
# },
|
724
|
-
# ],
|
725
|
-
# }
|
726
|
-
#
|
727
637
|
# @!attribute [rw] name
|
728
638
|
# A friendly name or description of the RateBasedRule. You can't
|
729
639
|
# change the name of a `RateBasedRule` after you create it.
|
@@ -796,14 +706,6 @@ module Aws::WAF
|
|
796
706
|
include Aws::Structure
|
797
707
|
end
|
798
708
|
|
799
|
-
# @note When making an API call, you may pass CreateRegexMatchSetRequest
|
800
|
-
# data as a hash:
|
801
|
-
#
|
802
|
-
# {
|
803
|
-
# name: "ResourceName", # required
|
804
|
-
# change_token: "ChangeToken", # required
|
805
|
-
# }
|
806
|
-
#
|
807
709
|
# @!attribute [rw] name
|
808
710
|
# A friendly name or description of the RegexMatchSet. You can't
|
809
711
|
# change `Name` after you create a `RegexMatchSet`.
|
@@ -841,14 +743,6 @@ module Aws::WAF
|
|
841
743
|
include Aws::Structure
|
842
744
|
end
|
843
745
|
|
844
|
-
# @note When making an API call, you may pass CreateRegexPatternSetRequest
|
845
|
-
# data as a hash:
|
846
|
-
#
|
847
|
-
# {
|
848
|
-
# name: "ResourceName", # required
|
849
|
-
# change_token: "ChangeToken", # required
|
850
|
-
# }
|
851
|
-
#
|
852
746
|
# @!attribute [rw] name
|
853
747
|
# A friendly name or description of the RegexPatternSet. You can't
|
854
748
|
# change `Name` after you create a `RegexPatternSet`.
|
@@ -887,21 +781,6 @@ module Aws::WAF
|
|
887
781
|
include Aws::Structure
|
888
782
|
end
|
889
783
|
|
890
|
-
# @note When making an API call, you may pass CreateRuleGroupRequest
|
891
|
-
# data as a hash:
|
892
|
-
#
|
893
|
-
# {
|
894
|
-
# name: "ResourceName", # required
|
895
|
-
# metric_name: "MetricName", # required
|
896
|
-
# change_token: "ChangeToken", # required
|
897
|
-
# tags: [
|
898
|
-
# {
|
899
|
-
# key: "TagKey", # required
|
900
|
-
# value: "TagValue", # required
|
901
|
-
# },
|
902
|
-
# ],
|
903
|
-
# }
|
904
|
-
#
|
905
784
|
# @!attribute [rw] name
|
906
785
|
# A friendly name or description of the RuleGroup. You can't change
|
907
786
|
# `Name` after you create a `RuleGroup`.
|
@@ -953,21 +832,6 @@ module Aws::WAF
|
|
953
832
|
include Aws::Structure
|
954
833
|
end
|
955
834
|
|
956
|
-
# @note When making an API call, you may pass CreateRuleRequest
|
957
|
-
# data as a hash:
|
958
|
-
#
|
959
|
-
# {
|
960
|
-
# name: "ResourceName", # required
|
961
|
-
# metric_name: "MetricName", # required
|
962
|
-
# change_token: "ChangeToken", # required
|
963
|
-
# tags: [
|
964
|
-
# {
|
965
|
-
# key: "TagKey", # required
|
966
|
-
# value: "TagValue", # required
|
967
|
-
# },
|
968
|
-
# ],
|
969
|
-
# }
|
970
|
-
#
|
971
835
|
# @!attribute [rw] name
|
972
836
|
# A friendly name or description of the Rule. You can't change the
|
973
837
|
# name of a `Rule` after you create it.
|
@@ -1019,14 +883,6 @@ module Aws::WAF
|
|
1019
883
|
include Aws::Structure
|
1020
884
|
end
|
1021
885
|
|
1022
|
-
# @note When making an API call, you may pass CreateSizeConstraintSetRequest
|
1023
|
-
# data as a hash:
|
1024
|
-
#
|
1025
|
-
# {
|
1026
|
-
# name: "ResourceName", # required
|
1027
|
-
# change_token: "ChangeToken", # required
|
1028
|
-
# }
|
1029
|
-
#
|
1030
886
|
# @!attribute [rw] name
|
1031
887
|
# A friendly name or description of the SizeConstraintSet. You can't
|
1032
888
|
# change `Name` after you create a `SizeConstraintSet`.
|
@@ -1067,14 +923,6 @@ module Aws::WAF
|
|
1067
923
|
|
1068
924
|
# A request to create a SqlInjectionMatchSet.
|
1069
925
|
#
|
1070
|
-
# @note When making an API call, you may pass CreateSqlInjectionMatchSetRequest
|
1071
|
-
# data as a hash:
|
1072
|
-
#
|
1073
|
-
# {
|
1074
|
-
# name: "ResourceName", # required
|
1075
|
-
# change_token: "ChangeToken", # required
|
1076
|
-
# }
|
1077
|
-
#
|
1078
926
|
# @!attribute [rw] name
|
1079
927
|
# A friendly name or description for the SqlInjectionMatchSet that
|
1080
928
|
# you're creating. You can't change `Name` after you create the
|
@@ -1116,15 +964,6 @@ module Aws::WAF
|
|
1116
964
|
include Aws::Structure
|
1117
965
|
end
|
1118
966
|
|
1119
|
-
# @note When making an API call, you may pass CreateWebACLMigrationStackRequest
|
1120
|
-
# data as a hash:
|
1121
|
-
#
|
1122
|
-
# {
|
1123
|
-
# web_acl_id: "ResourceId", # required
|
1124
|
-
# s3_bucket_name: "S3BucketName", # required
|
1125
|
-
# ignore_unsupported_type: false, # required
|
1126
|
-
# }
|
1127
|
-
#
|
1128
967
|
# @!attribute [rw] web_acl_id
|
1129
968
|
# The UUID of the WAF Classic web ACL that you want to migrate to WAF
|
1130
969
|
# v2.
|
@@ -1178,24 +1017,6 @@ module Aws::WAF
|
|
1178
1017
|
include Aws::Structure
|
1179
1018
|
end
|
1180
1019
|
|
1181
|
-
# @note When making an API call, you may pass CreateWebACLRequest
|
1182
|
-
# data as a hash:
|
1183
|
-
#
|
1184
|
-
# {
|
1185
|
-
# name: "ResourceName", # required
|
1186
|
-
# metric_name: "MetricName", # required
|
1187
|
-
# default_action: { # required
|
1188
|
-
# type: "BLOCK", # required, accepts BLOCK, ALLOW, COUNT
|
1189
|
-
# },
|
1190
|
-
# change_token: "ChangeToken", # required
|
1191
|
-
# tags: [
|
1192
|
-
# {
|
1193
|
-
# key: "TagKey", # required
|
1194
|
-
# value: "TagValue", # required
|
1195
|
-
# },
|
1196
|
-
# ],
|
1197
|
-
# }
|
1198
|
-
#
|
1199
1020
|
# @!attribute [rw] name
|
1200
1021
|
# A friendly name or description of the WebACL. You can't change
|
1201
1022
|
# `Name` after you create the `WebACL`.
|
@@ -1256,14 +1077,6 @@ module Aws::WAF
|
|
1256
1077
|
|
1257
1078
|
# A request to create an XssMatchSet.
|
1258
1079
|
#
|
1259
|
-
# @note When making an API call, you may pass CreateXssMatchSetRequest
|
1260
|
-
# data as a hash:
|
1261
|
-
#
|
1262
|
-
# {
|
1263
|
-
# name: "ResourceName", # required
|
1264
|
-
# change_token: "ChangeToken", # required
|
1265
|
-
# }
|
1266
|
-
#
|
1267
1080
|
# @!attribute [rw] name
|
1268
1081
|
# A friendly name or description for the XssMatchSet that you're
|
1269
1082
|
# creating. You can't change `Name` after you create the
|
@@ -1304,14 +1117,6 @@ module Aws::WAF
|
|
1304
1117
|
include Aws::Structure
|
1305
1118
|
end
|
1306
1119
|
|
1307
|
-
# @note When making an API call, you may pass DeleteByteMatchSetRequest
|
1308
|
-
# data as a hash:
|
1309
|
-
#
|
1310
|
-
# {
|
1311
|
-
# byte_match_set_id: "ResourceId", # required
|
1312
|
-
# change_token: "ChangeToken", # required
|
1313
|
-
# }
|
1314
|
-
#
|
1315
1120
|
# @!attribute [rw] byte_match_set_id
|
1316
1121
|
# The `ByteMatchSetId` of the ByteMatchSet that you want to delete.
|
1317
1122
|
# `ByteMatchSetId` is returned by CreateByteMatchSet and by
|
@@ -1345,14 +1150,6 @@ module Aws::WAF
|
|
1345
1150
|
include Aws::Structure
|
1346
1151
|
end
|
1347
1152
|
|
1348
|
-
# @note When making an API call, you may pass DeleteGeoMatchSetRequest
|
1349
|
-
# data as a hash:
|
1350
|
-
#
|
1351
|
-
# {
|
1352
|
-
# geo_match_set_id: "ResourceId", # required
|
1353
|
-
# change_token: "ChangeToken", # required
|
1354
|
-
# }
|
1355
|
-
#
|
1356
1153
|
# @!attribute [rw] geo_match_set_id
|
1357
1154
|
# The `GeoMatchSetID` of the GeoMatchSet that you want to delete.
|
1358
1155
|
# `GeoMatchSetId` is returned by CreateGeoMatchSet and by
|
@@ -1386,14 +1183,6 @@ module Aws::WAF
|
|
1386
1183
|
include Aws::Structure
|
1387
1184
|
end
|
1388
1185
|
|
1389
|
-
# @note When making an API call, you may pass DeleteIPSetRequest
|
1390
|
-
# data as a hash:
|
1391
|
-
#
|
1392
|
-
# {
|
1393
|
-
# ip_set_id: "ResourceId", # required
|
1394
|
-
# change_token: "ChangeToken", # required
|
1395
|
-
# }
|
1396
|
-
#
|
1397
1186
|
# @!attribute [rw] ip_set_id
|
1398
1187
|
# The `IPSetId` of the IPSet that you want to delete. `IPSetId` is
|
1399
1188
|
# returned by CreateIPSet and by ListIPSets.
|
@@ -1426,13 +1215,6 @@ module Aws::WAF
|
|
1426
1215
|
include Aws::Structure
|
1427
1216
|
end
|
1428
1217
|
|
1429
|
-
# @note When making an API call, you may pass DeleteLoggingConfigurationRequest
|
1430
|
-
# data as a hash:
|
1431
|
-
#
|
1432
|
-
# {
|
1433
|
-
# resource_arn: "ResourceArn", # required
|
1434
|
-
# }
|
1435
|
-
#
|
1436
1218
|
# @!attribute [rw] resource_arn
|
1437
1219
|
# The Amazon Resource Name (ARN) of the web ACL from which you want to
|
1438
1220
|
# delete the LoggingConfiguration.
|
@@ -1450,13 +1232,6 @@ module Aws::WAF
|
|
1450
1232
|
#
|
1451
1233
|
class DeleteLoggingConfigurationResponse < Aws::EmptyStructure; end
|
1452
1234
|
|
1453
|
-
# @note When making an API call, you may pass DeletePermissionPolicyRequest
|
1454
|
-
# data as a hash:
|
1455
|
-
#
|
1456
|
-
# {
|
1457
|
-
# resource_arn: "ResourceArn", # required
|
1458
|
-
# }
|
1459
|
-
#
|
1460
1235
|
# @!attribute [rw] resource_arn
|
1461
1236
|
# The Amazon Resource Name (ARN) of the RuleGroup from which you want
|
1462
1237
|
# to delete the policy.
|
@@ -1476,14 +1251,6 @@ module Aws::WAF
|
|
1476
1251
|
#
|
1477
1252
|
class DeletePermissionPolicyResponse < Aws::EmptyStructure; end
|
1478
1253
|
|
1479
|
-
# @note When making an API call, you may pass DeleteRateBasedRuleRequest
|
1480
|
-
# data as a hash:
|
1481
|
-
#
|
1482
|
-
# {
|
1483
|
-
# rule_id: "ResourceId", # required
|
1484
|
-
# change_token: "ChangeToken", # required
|
1485
|
-
# }
|
1486
|
-
#
|
1487
1254
|
# @!attribute [rw] rule_id
|
1488
1255
|
# The `RuleId` of the RateBasedRule that you want to delete. `RuleId`
|
1489
1256
|
# is returned by CreateRateBasedRule and by ListRateBasedRules.
|
@@ -1516,14 +1283,6 @@ module Aws::WAF
|
|
1516
1283
|
include Aws::Structure
|
1517
1284
|
end
|
1518
1285
|
|
1519
|
-
# @note When making an API call, you may pass DeleteRegexMatchSetRequest
|
1520
|
-
# data as a hash:
|
1521
|
-
#
|
1522
|
-
# {
|
1523
|
-
# regex_match_set_id: "ResourceId", # required
|
1524
|
-
# change_token: "ChangeToken", # required
|
1525
|
-
# }
|
1526
|
-
#
|
1527
1286
|
# @!attribute [rw] regex_match_set_id
|
1528
1287
|
# The `RegexMatchSetId` of the RegexMatchSet that you want to delete.
|
1529
1288
|
# `RegexMatchSetId` is returned by CreateRegexMatchSet and by
|
@@ -1557,14 +1316,6 @@ module Aws::WAF
|
|
1557
1316
|
include Aws::Structure
|
1558
1317
|
end
|
1559
1318
|
|
1560
|
-
# @note When making an API call, you may pass DeleteRegexPatternSetRequest
|
1561
|
-
# data as a hash:
|
1562
|
-
#
|
1563
|
-
# {
|
1564
|
-
# regex_pattern_set_id: "ResourceId", # required
|
1565
|
-
# change_token: "ChangeToken", # required
|
1566
|
-
# }
|
1567
|
-
#
|
1568
1319
|
# @!attribute [rw] regex_pattern_set_id
|
1569
1320
|
# The `RegexPatternSetId` of the RegexPatternSet that you want to
|
1570
1321
|
# delete. `RegexPatternSetId` is returned by CreateRegexPatternSet and
|
@@ -1599,14 +1350,6 @@ module Aws::WAF
|
|
1599
1350
|
include Aws::Structure
|
1600
1351
|
end
|
1601
1352
|
|
1602
|
-
# @note When making an API call, you may pass DeleteRuleGroupRequest
|
1603
|
-
# data as a hash:
|
1604
|
-
#
|
1605
|
-
# {
|
1606
|
-
# rule_group_id: "ResourceId", # required
|
1607
|
-
# change_token: "ChangeToken", # required
|
1608
|
-
# }
|
1609
|
-
#
|
1610
1353
|
# @!attribute [rw] rule_group_id
|
1611
1354
|
# The `RuleGroupId` of the RuleGroup that you want to delete.
|
1612
1355
|
# `RuleGroupId` is returned by CreateRuleGroup and by ListRuleGroups.
|
@@ -1639,14 +1382,6 @@ module Aws::WAF
|
|
1639
1382
|
include Aws::Structure
|
1640
1383
|
end
|
1641
1384
|
|
1642
|
-
# @note When making an API call, you may pass DeleteRuleRequest
|
1643
|
-
# data as a hash:
|
1644
|
-
#
|
1645
|
-
# {
|
1646
|
-
# rule_id: "ResourceId", # required
|
1647
|
-
# change_token: "ChangeToken", # required
|
1648
|
-
# }
|
1649
|
-
#
|
1650
1385
|
# @!attribute [rw] rule_id
|
1651
1386
|
# The `RuleId` of the Rule that you want to delete. `RuleId` is
|
1652
1387
|
# returned by CreateRule and by ListRules.
|
@@ -1679,14 +1414,6 @@ module Aws::WAF
|
|
1679
1414
|
include Aws::Structure
|
1680
1415
|
end
|
1681
1416
|
|
1682
|
-
# @note When making an API call, you may pass DeleteSizeConstraintSetRequest
|
1683
|
-
# data as a hash:
|
1684
|
-
#
|
1685
|
-
# {
|
1686
|
-
# size_constraint_set_id: "ResourceId", # required
|
1687
|
-
# change_token: "ChangeToken", # required
|
1688
|
-
# }
|
1689
|
-
#
|
1690
1417
|
# @!attribute [rw] size_constraint_set_id
|
1691
1418
|
# The `SizeConstraintSetId` of the SizeConstraintSet that you want to
|
1692
1419
|
# delete. `SizeConstraintSetId` is returned by CreateSizeConstraintSet
|
@@ -1723,14 +1450,6 @@ module Aws::WAF
|
|
1723
1450
|
|
1724
1451
|
# A request to delete a SqlInjectionMatchSet from AWS WAF.
|
1725
1452
|
#
|
1726
|
-
# @note When making an API call, you may pass DeleteSqlInjectionMatchSetRequest
|
1727
|
-
# data as a hash:
|
1728
|
-
#
|
1729
|
-
# {
|
1730
|
-
# sql_injection_match_set_id: "ResourceId", # required
|
1731
|
-
# change_token: "ChangeToken", # required
|
1732
|
-
# }
|
1733
|
-
#
|
1734
1453
|
# @!attribute [rw] sql_injection_match_set_id
|
1735
1454
|
# The `SqlInjectionMatchSetId` of the SqlInjectionMatchSet that you
|
1736
1455
|
# want to delete. `SqlInjectionMatchSetId` is returned by
|
@@ -1768,14 +1487,6 @@ module Aws::WAF
|
|
1768
1487
|
include Aws::Structure
|
1769
1488
|
end
|
1770
1489
|
|
1771
|
-
# @note When making an API call, you may pass DeleteWebACLRequest
|
1772
|
-
# data as a hash:
|
1773
|
-
#
|
1774
|
-
# {
|
1775
|
-
# web_acl_id: "ResourceId", # required
|
1776
|
-
# change_token: "ChangeToken", # required
|
1777
|
-
# }
|
1778
|
-
#
|
1779
1490
|
# @!attribute [rw] web_acl_id
|
1780
1491
|
# The `WebACLId` of the WebACL that you want to delete. `WebACLId` is
|
1781
1492
|
# returned by CreateWebACL and by ListWebACLs.
|
@@ -1810,14 +1521,6 @@ module Aws::WAF
|
|
1810
1521
|
|
1811
1522
|
# A request to delete an XssMatchSet from AWS WAF.
|
1812
1523
|
#
|
1813
|
-
# @note When making an API call, you may pass DeleteXssMatchSetRequest
|
1814
|
-
# data as a hash:
|
1815
|
-
#
|
1816
|
-
# {
|
1817
|
-
# xss_match_set_id: "ResourceId", # required
|
1818
|
-
# change_token: "ChangeToken", # required
|
1819
|
-
# }
|
1820
|
-
#
|
1821
1524
|
# @!attribute [rw] xss_match_set_id
|
1822
1525
|
# The `XssMatchSetId` of the XssMatchSet that you want to delete.
|
1823
1526
|
# `XssMatchSetId` is returned by CreateXssMatchSet and by
|
@@ -1871,13 +1574,6 @@ module Aws::WAF
|
|
1871
1574
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1872
1575
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1873
1576
|
#
|
1874
|
-
# @note When making an API call, you may pass ExcludedRule
|
1875
|
-
# data as a hash:
|
1876
|
-
#
|
1877
|
-
# {
|
1878
|
-
# rule_id: "ResourceId", # required
|
1879
|
-
# }
|
1880
|
-
#
|
1881
1577
|
# @!attribute [rw] rule_id
|
1882
1578
|
# The unique identifier for the rule to exclude from the rule group.
|
1883
1579
|
# @return [String]
|
@@ -1906,14 +1602,6 @@ module Aws::WAF
|
|
1906
1602
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1907
1603
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1908
1604
|
#
|
1909
|
-
# @note When making an API call, you may pass FieldToMatch
|
1910
|
-
# data as a hash:
|
1911
|
-
#
|
1912
|
-
# {
|
1913
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
1914
|
-
# data: "MatchFieldData",
|
1915
|
-
# }
|
1916
|
-
#
|
1917
1605
|
# @!attribute [rw] type
|
1918
1606
|
# The part of the web request that you want AWS WAF to search for a
|
1919
1607
|
# specified string. Parts of a request that you can search include the
|
@@ -1992,14 +1680,6 @@ module Aws::WAF
|
|
1992
1680
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
1993
1681
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
1994
1682
|
#
|
1995
|
-
# @note When making an API call, you may pass GeoMatchConstraint
|
1996
|
-
# data as a hash:
|
1997
|
-
#
|
1998
|
-
# {
|
1999
|
-
# type: "Country", # required, accepts Country
|
2000
|
-
# 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
|
2001
|
-
# }
|
2002
|
-
#
|
2003
1683
|
# @!attribute [rw] type
|
2004
1684
|
# The type of geographical area you want AWS WAF to search for.
|
2005
1685
|
# Currently `Country` is the only valid value.
|
@@ -2118,17 +1798,6 @@ module Aws::WAF
|
|
2118
1798
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
2119
1799
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
2120
1800
|
#
|
2121
|
-
# @note When making an API call, you may pass GeoMatchSetUpdate
|
2122
|
-
# data as a hash:
|
2123
|
-
#
|
2124
|
-
# {
|
2125
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
2126
|
-
# geo_match_constraint: { # required
|
2127
|
-
# type: "Country", # required, accepts Country
|
2128
|
-
# 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
|
2129
|
-
# },
|
2130
|
-
# }
|
2131
|
-
#
|
2132
1801
|
# @!attribute [rw] action
|
2133
1802
|
# Specifies whether to insert or delete a country with
|
2134
1803
|
# UpdateGeoMatchSet.
|
@@ -2148,13 +1817,6 @@ module Aws::WAF
|
|
2148
1817
|
include Aws::Structure
|
2149
1818
|
end
|
2150
1819
|
|
2151
|
-
# @note When making an API call, you may pass GetByteMatchSetRequest
|
2152
|
-
# data as a hash:
|
2153
|
-
#
|
2154
|
-
# {
|
2155
|
-
# byte_match_set_id: "ResourceId", # required
|
2156
|
-
# }
|
2157
|
-
#
|
2158
1820
|
# @!attribute [rw] byte_match_set_id
|
2159
1821
|
# The `ByteMatchSetId` of the ByteMatchSet that you want to get.
|
2160
1822
|
# `ByteMatchSetId` is returned by CreateByteMatchSet and by
|
@@ -2212,13 +1874,6 @@ module Aws::WAF
|
|
2212
1874
|
include Aws::Structure
|
2213
1875
|
end
|
2214
1876
|
|
2215
|
-
# @note When making an API call, you may pass GetChangeTokenStatusRequest
|
2216
|
-
# data as a hash:
|
2217
|
-
#
|
2218
|
-
# {
|
2219
|
-
# change_token: "ChangeToken", # required
|
2220
|
-
# }
|
2221
|
-
#
|
2222
1877
|
# @!attribute [rw] change_token
|
2223
1878
|
# The change token for which you want to get the status. This change
|
2224
1879
|
# token was previously returned in the `GetChangeToken` response.
|
@@ -2244,13 +1899,6 @@ module Aws::WAF
|
|
2244
1899
|
include Aws::Structure
|
2245
1900
|
end
|
2246
1901
|
|
2247
|
-
# @note When making an API call, you may pass GetGeoMatchSetRequest
|
2248
|
-
# data as a hash:
|
2249
|
-
#
|
2250
|
-
# {
|
2251
|
-
# geo_match_set_id: "ResourceId", # required
|
2252
|
-
# }
|
2253
|
-
#
|
2254
1902
|
# @!attribute [rw] geo_match_set_id
|
2255
1903
|
# The `GeoMatchSetId` of the GeoMatchSet that you want to get.
|
2256
1904
|
# `GeoMatchSetId` is returned by CreateGeoMatchSet and by
|
@@ -2280,13 +1928,6 @@ module Aws::WAF
|
|
2280
1928
|
include Aws::Structure
|
2281
1929
|
end
|
2282
1930
|
|
2283
|
-
# @note When making an API call, you may pass GetIPSetRequest
|
2284
|
-
# data as a hash:
|
2285
|
-
#
|
2286
|
-
# {
|
2287
|
-
# ip_set_id: "ResourceId", # required
|
2288
|
-
# }
|
2289
|
-
#
|
2290
1931
|
# @!attribute [rw] ip_set_id
|
2291
1932
|
# The `IPSetId` of the IPSet that you want to get. `IPSetId` is
|
2292
1933
|
# returned by CreateIPSet and by ListIPSets.
|
@@ -2318,13 +1959,6 @@ module Aws::WAF
|
|
2318
1959
|
include Aws::Structure
|
2319
1960
|
end
|
2320
1961
|
|
2321
|
-
# @note When making an API call, you may pass GetLoggingConfigurationRequest
|
2322
|
-
# data as a hash:
|
2323
|
-
#
|
2324
|
-
# {
|
2325
|
-
# resource_arn: "ResourceArn", # required
|
2326
|
-
# }
|
2327
|
-
#
|
2328
1962
|
# @!attribute [rw] resource_arn
|
2329
1963
|
# The Amazon Resource Name (ARN) of the web ACL for which you want to
|
2330
1964
|
# get the LoggingConfiguration.
|
@@ -2350,13 +1984,6 @@ module Aws::WAF
|
|
2350
1984
|
include Aws::Structure
|
2351
1985
|
end
|
2352
1986
|
|
2353
|
-
# @note When making an API call, you may pass GetPermissionPolicyRequest
|
2354
|
-
# data as a hash:
|
2355
|
-
#
|
2356
|
-
# {
|
2357
|
-
# resource_arn: "ResourceArn", # required
|
2358
|
-
# }
|
2359
|
-
#
|
2360
1987
|
# @!attribute [rw] resource_arn
|
2361
1988
|
# The Amazon Resource Name (ARN) of the RuleGroup for which you want
|
2362
1989
|
# to get the policy.
|
@@ -2382,14 +2009,6 @@ module Aws::WAF
|
|
2382
2009
|
include Aws::Structure
|
2383
2010
|
end
|
2384
2011
|
|
2385
|
-
# @note When making an API call, you may pass GetRateBasedRuleManagedKeysRequest
|
2386
|
-
# data as a hash:
|
2387
|
-
#
|
2388
|
-
# {
|
2389
|
-
# rule_id: "ResourceId", # required
|
2390
|
-
# next_marker: "NextMarker",
|
2391
|
-
# }
|
2392
|
-
#
|
2393
2012
|
# @!attribute [rw] rule_id
|
2394
2013
|
# The `RuleId` of the RateBasedRule for which you want to get a list
|
2395
2014
|
# of `ManagedKeys`. `RuleId` is returned by CreateRateBasedRule and by
|
@@ -2428,13 +2047,6 @@ module Aws::WAF
|
|
2428
2047
|
include Aws::Structure
|
2429
2048
|
end
|
2430
2049
|
|
2431
|
-
# @note When making an API call, you may pass GetRateBasedRuleRequest
|
2432
|
-
# data as a hash:
|
2433
|
-
#
|
2434
|
-
# {
|
2435
|
-
# rule_id: "ResourceId", # required
|
2436
|
-
# }
|
2437
|
-
#
|
2438
2050
|
# @!attribute [rw] rule_id
|
2439
2051
|
# The `RuleId` of the RateBasedRule that you want to get. `RuleId` is
|
2440
2052
|
# returned by CreateRateBasedRule and by ListRateBasedRules.
|
@@ -2461,13 +2073,6 @@ module Aws::WAF
|
|
2461
2073
|
include Aws::Structure
|
2462
2074
|
end
|
2463
2075
|
|
2464
|
-
# @note When making an API call, you may pass GetRegexMatchSetRequest
|
2465
|
-
# data as a hash:
|
2466
|
-
#
|
2467
|
-
# {
|
2468
|
-
# regex_match_set_id: "ResourceId", # required
|
2469
|
-
# }
|
2470
|
-
#
|
2471
2076
|
# @!attribute [rw] regex_match_set_id
|
2472
2077
|
# The `RegexMatchSetId` of the RegexMatchSet that you want to get.
|
2473
2078
|
# `RegexMatchSetId` is returned by CreateRegexMatchSet and by
|
@@ -2496,13 +2101,6 @@ module Aws::WAF
|
|
2496
2101
|
include Aws::Structure
|
2497
2102
|
end
|
2498
2103
|
|
2499
|
-
# @note When making an API call, you may pass GetRegexPatternSetRequest
|
2500
|
-
# data as a hash:
|
2501
|
-
#
|
2502
|
-
# {
|
2503
|
-
# regex_pattern_set_id: "ResourceId", # required
|
2504
|
-
# }
|
2505
|
-
#
|
2506
2104
|
# @!attribute [rw] regex_pattern_set_id
|
2507
2105
|
# The `RegexPatternSetId` of the RegexPatternSet that you want to get.
|
2508
2106
|
# `RegexPatternSetId` is returned by CreateRegexPatternSet and by
|
@@ -2532,13 +2130,6 @@ module Aws::WAF
|
|
2532
2130
|
include Aws::Structure
|
2533
2131
|
end
|
2534
2132
|
|
2535
|
-
# @note When making an API call, you may pass GetRuleGroupRequest
|
2536
|
-
# data as a hash:
|
2537
|
-
#
|
2538
|
-
# {
|
2539
|
-
# rule_group_id: "ResourceId", # required
|
2540
|
-
# }
|
2541
|
-
#
|
2542
2133
|
# @!attribute [rw] rule_group_id
|
2543
2134
|
# The `RuleGroupId` of the RuleGroup that you want to get.
|
2544
2135
|
# `RuleGroupId` is returned by CreateRuleGroup and by ListRuleGroups.
|
@@ -2565,13 +2156,6 @@ module Aws::WAF
|
|
2565
2156
|
include Aws::Structure
|
2566
2157
|
end
|
2567
2158
|
|
2568
|
-
# @note When making an API call, you may pass GetRuleRequest
|
2569
|
-
# data as a hash:
|
2570
|
-
#
|
2571
|
-
# {
|
2572
|
-
# rule_id: "ResourceId", # required
|
2573
|
-
# }
|
2574
|
-
#
|
2575
2159
|
# @!attribute [rw] rule_id
|
2576
2160
|
# The `RuleId` of the Rule that you want to get. `RuleId` is returned
|
2577
2161
|
# by CreateRule and by ListRules.
|
@@ -2604,19 +2188,6 @@ module Aws::WAF
|
|
2604
2188
|
include Aws::Structure
|
2605
2189
|
end
|
2606
2190
|
|
2607
|
-
# @note When making an API call, you may pass GetSampledRequestsRequest
|
2608
|
-
# data as a hash:
|
2609
|
-
#
|
2610
|
-
# {
|
2611
|
-
# web_acl_id: "ResourceId", # required
|
2612
|
-
# rule_id: "ResourceId", # required
|
2613
|
-
# time_window: { # required
|
2614
|
-
# start_time: Time.now, # required
|
2615
|
-
# end_time: Time.now, # required
|
2616
|
-
# },
|
2617
|
-
# max_items: 1, # required
|
2618
|
-
# }
|
2619
|
-
#
|
2620
2191
|
# @!attribute [rw] web_acl_id
|
2621
2192
|
# The `WebACLId` of the `WebACL` for which you want
|
2622
2193
|
# `GetSampledRequests` to return a sample of requests.
|
@@ -2693,13 +2264,6 @@ module Aws::WAF
|
|
2693
2264
|
include Aws::Structure
|
2694
2265
|
end
|
2695
2266
|
|
2696
|
-
# @note When making an API call, you may pass GetSizeConstraintSetRequest
|
2697
|
-
# data as a hash:
|
2698
|
-
#
|
2699
|
-
# {
|
2700
|
-
# size_constraint_set_id: "ResourceId", # required
|
2701
|
-
# }
|
2702
|
-
#
|
2703
2267
|
# @!attribute [rw] size_constraint_set_id
|
2704
2268
|
# The `SizeConstraintSetId` of the SizeConstraintSet that you want to
|
2705
2269
|
# get. `SizeConstraintSetId` is returned by CreateSizeConstraintSet
|
@@ -2739,13 +2303,6 @@ module Aws::WAF
|
|
2739
2303
|
|
2740
2304
|
# A request to get a SqlInjectionMatchSet.
|
2741
2305
|
#
|
2742
|
-
# @note When making an API call, you may pass GetSqlInjectionMatchSetRequest
|
2743
|
-
# data as a hash:
|
2744
|
-
#
|
2745
|
-
# {
|
2746
|
-
# sql_injection_match_set_id: "ResourceId", # required
|
2747
|
-
# }
|
2748
|
-
#
|
2749
2306
|
# @!attribute [rw] sql_injection_match_set_id
|
2750
2307
|
# The `SqlInjectionMatchSetId` of the SqlInjectionMatchSet that you
|
2751
2308
|
# want to get. `SqlInjectionMatchSetId` is returned by
|
@@ -2784,13 +2341,6 @@ module Aws::WAF
|
|
2784
2341
|
include Aws::Structure
|
2785
2342
|
end
|
2786
2343
|
|
2787
|
-
# @note When making an API call, you may pass GetWebACLRequest
|
2788
|
-
# data as a hash:
|
2789
|
-
#
|
2790
|
-
# {
|
2791
|
-
# web_acl_id: "ResourceId", # required
|
2792
|
-
# }
|
2793
|
-
#
|
2794
2344
|
# @!attribute [rw] web_acl_id
|
2795
2345
|
# The `WebACLId` of the WebACL that you want to get. `WebACLId` is
|
2796
2346
|
# returned by CreateWebACL and by ListWebACLs.
|
@@ -2829,13 +2379,6 @@ module Aws::WAF
|
|
2829
2379
|
|
2830
2380
|
# A request to get an XssMatchSet.
|
2831
2381
|
#
|
2832
|
-
# @note When making an API call, you may pass GetXssMatchSetRequest
|
2833
|
-
# data as a hash:
|
2834
|
-
#
|
2835
|
-
# {
|
2836
|
-
# xss_match_set_id: "ResourceId", # required
|
2837
|
-
# }
|
2838
|
-
#
|
2839
2382
|
# @!attribute [rw] xss_match_set_id
|
2840
2383
|
# The `XssMatchSetId` of the XssMatchSet that you want to get.
|
2841
2384
|
# `XssMatchSetId` is returned by CreateXssMatchSet and by
|
@@ -3064,14 +2607,6 @@ module Aws::WAF
|
|
3064
2607
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3065
2608
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3066
2609
|
#
|
3067
|
-
# @note When making an API call, you may pass IPSetDescriptor
|
3068
|
-
# data as a hash:
|
3069
|
-
#
|
3070
|
-
# {
|
3071
|
-
# type: "IPV4", # required, accepts IPV4, IPV6
|
3072
|
-
# value: "IPSetDescriptorValue", # required
|
3073
|
-
# }
|
3074
|
-
#
|
3075
2610
|
# @!attribute [rw] type
|
3076
2611
|
# Specify `IPV4` or `IPV6`.
|
3077
2612
|
# @return [String]
|
@@ -3168,17 +2703,6 @@ module Aws::WAF
|
|
3168
2703
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
3169
2704
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
3170
2705
|
#
|
3171
|
-
# @note When making an API call, you may pass IPSetUpdate
|
3172
|
-
# data as a hash:
|
3173
|
-
#
|
3174
|
-
# {
|
3175
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
3176
|
-
# ip_set_descriptor: { # required
|
3177
|
-
# type: "IPV4", # required, accepts IPV4, IPV6
|
3178
|
-
# value: "IPSetDescriptorValue", # required
|
3179
|
-
# },
|
3180
|
-
# }
|
3181
|
-
#
|
3182
2706
|
# @!attribute [rw] action
|
3183
2707
|
# Specifies whether to insert or delete an IP address with
|
3184
2708
|
# UpdateIPSet.
|
@@ -3198,15 +2722,6 @@ module Aws::WAF
|
|
3198
2722
|
include Aws::Structure
|
3199
2723
|
end
|
3200
2724
|
|
3201
|
-
# @note When making an API call, you may pass ListActivatedRulesInRuleGroupRequest
|
3202
|
-
# data as a hash:
|
3203
|
-
#
|
3204
|
-
# {
|
3205
|
-
# rule_group_id: "ResourceId",
|
3206
|
-
# next_marker: "NextMarker",
|
3207
|
-
# limit: 1,
|
3208
|
-
# }
|
3209
|
-
#
|
3210
2725
|
# @!attribute [rw] rule_group_id
|
3211
2726
|
# The `RuleGroupId` of the RuleGroup for which you want to get a list
|
3212
2727
|
# of ActivatedRule objects.
|
@@ -3262,14 +2777,6 @@ module Aws::WAF
|
|
3262
2777
|
include Aws::Structure
|
3263
2778
|
end
|
3264
2779
|
|
3265
|
-
# @note When making an API call, you may pass ListByteMatchSetsRequest
|
3266
|
-
# data as a hash:
|
3267
|
-
#
|
3268
|
-
# {
|
3269
|
-
# next_marker: "NextMarker",
|
3270
|
-
# limit: 1,
|
3271
|
-
# }
|
3272
|
-
#
|
3273
2780
|
# @!attribute [rw] next_marker
|
3274
2781
|
# If you specify a value for `Limit` and you have more `ByteMatchSets`
|
3275
2782
|
# than the value of `Limit`, AWS WAF returns a `NextMarker` value in
|
@@ -3318,14 +2825,6 @@ module Aws::WAF
|
|
3318
2825
|
include Aws::Structure
|
3319
2826
|
end
|
3320
2827
|
|
3321
|
-
# @note When making an API call, you may pass ListGeoMatchSetsRequest
|
3322
|
-
# data as a hash:
|
3323
|
-
#
|
3324
|
-
# {
|
3325
|
-
# next_marker: "NextMarker",
|
3326
|
-
# limit: 1,
|
3327
|
-
# }
|
3328
|
-
#
|
3329
2828
|
# @!attribute [rw] next_marker
|
3330
2829
|
# If you specify a value for `Limit` and you have more `GeoMatchSet`s
|
3331
2830
|
# than the value of `Limit`, AWS WAF returns a `NextMarker` value in
|
@@ -3374,14 +2873,6 @@ module Aws::WAF
|
|
3374
2873
|
include Aws::Structure
|
3375
2874
|
end
|
3376
2875
|
|
3377
|
-
# @note When making an API call, you may pass ListIPSetsRequest
|
3378
|
-
# data as a hash:
|
3379
|
-
#
|
3380
|
-
# {
|
3381
|
-
# next_marker: "NextMarker",
|
3382
|
-
# limit: 1,
|
3383
|
-
# }
|
3384
|
-
#
|
3385
2876
|
# @!attribute [rw] next_marker
|
3386
2877
|
# AWS WAF returns a `NextMarker` value in the response that allows you
|
3387
2878
|
# to list another group of `IPSets`. For the second and subsequent
|
@@ -3425,14 +2916,6 @@ module Aws::WAF
|
|
3425
2916
|
include Aws::Structure
|
3426
2917
|
end
|
3427
2918
|
|
3428
|
-
# @note When making an API call, you may pass ListLoggingConfigurationsRequest
|
3429
|
-
# data as a hash:
|
3430
|
-
#
|
3431
|
-
# {
|
3432
|
-
# next_marker: "NextMarker",
|
3433
|
-
# limit: 1,
|
3434
|
-
# }
|
3435
|
-
#
|
3436
2919
|
# @!attribute [rw] next_marker
|
3437
2920
|
# If you specify a value for `Limit` and you have more
|
3438
2921
|
# `LoggingConfigurations` than the value of `Limit`, AWS WAF returns a
|
@@ -3482,14 +2965,6 @@ module Aws::WAF
|
|
3482
2965
|
include Aws::Structure
|
3483
2966
|
end
|
3484
2967
|
|
3485
|
-
# @note When making an API call, you may pass ListRateBasedRulesRequest
|
3486
|
-
# data as a hash:
|
3487
|
-
#
|
3488
|
-
# {
|
3489
|
-
# next_marker: "NextMarker",
|
3490
|
-
# limit: 1,
|
3491
|
-
# }
|
3492
|
-
#
|
3493
2968
|
# @!attribute [rw] next_marker
|
3494
2969
|
# If you specify a value for `Limit` and you have more `Rules` than
|
3495
2970
|
# the value of `Limit`, AWS WAF returns a `NextMarker` value in the
|
@@ -3536,14 +3011,6 @@ module Aws::WAF
|
|
3536
3011
|
include Aws::Structure
|
3537
3012
|
end
|
3538
3013
|
|
3539
|
-
# @note When making an API call, you may pass ListRegexMatchSetsRequest
|
3540
|
-
# data as a hash:
|
3541
|
-
#
|
3542
|
-
# {
|
3543
|
-
# next_marker: "NextMarker",
|
3544
|
-
# limit: 1,
|
3545
|
-
# }
|
3546
|
-
#
|
3547
3014
|
# @!attribute [rw] next_marker
|
3548
3015
|
# If you specify a value for `Limit` and you have more `RegexMatchSet`
|
3549
3016
|
# objects than the value of `Limit`, AWS WAF returns a `NextMarker`
|
@@ -3593,14 +3060,6 @@ module Aws::WAF
|
|
3593
3060
|
include Aws::Structure
|
3594
3061
|
end
|
3595
3062
|
|
3596
|
-
# @note When making an API call, you may pass ListRegexPatternSetsRequest
|
3597
|
-
# data as a hash:
|
3598
|
-
#
|
3599
|
-
# {
|
3600
|
-
# next_marker: "NextMarker",
|
3601
|
-
# limit: 1,
|
3602
|
-
# }
|
3603
|
-
#
|
3604
3063
|
# @!attribute [rw] next_marker
|
3605
3064
|
# If you specify a value for `Limit` and you have more
|
3606
3065
|
# `RegexPatternSet` objects than the value of `Limit`, AWS WAF returns
|
@@ -3650,14 +3109,6 @@ module Aws::WAF
|
|
3650
3109
|
include Aws::Structure
|
3651
3110
|
end
|
3652
3111
|
|
3653
|
-
# @note When making an API call, you may pass ListRuleGroupsRequest
|
3654
|
-
# data as a hash:
|
3655
|
-
#
|
3656
|
-
# {
|
3657
|
-
# next_marker: "NextMarker",
|
3658
|
-
# limit: 1,
|
3659
|
-
# }
|
3660
|
-
#
|
3661
3112
|
# @!attribute [rw] next_marker
|
3662
3113
|
# If you specify a value for `Limit` and you have more `RuleGroups`
|
3663
3114
|
# than the value of `Limit`, AWS WAF returns a `NextMarker` value in
|
@@ -3704,14 +3155,6 @@ module Aws::WAF
|
|
3704
3155
|
include Aws::Structure
|
3705
3156
|
end
|
3706
3157
|
|
3707
|
-
# @note When making an API call, you may pass ListRulesRequest
|
3708
|
-
# data as a hash:
|
3709
|
-
#
|
3710
|
-
# {
|
3711
|
-
# next_marker: "NextMarker",
|
3712
|
-
# limit: 1,
|
3713
|
-
# }
|
3714
|
-
#
|
3715
3158
|
# @!attribute [rw] next_marker
|
3716
3159
|
# If you specify a value for `Limit` and you have more `Rules` than
|
3717
3160
|
# the value of `Limit`, AWS WAF returns a `NextMarker` value in the
|
@@ -3758,14 +3201,6 @@ module Aws::WAF
|
|
3758
3201
|
include Aws::Structure
|
3759
3202
|
end
|
3760
3203
|
|
3761
|
-
# @note When making an API call, you may pass ListSizeConstraintSetsRequest
|
3762
|
-
# data as a hash:
|
3763
|
-
#
|
3764
|
-
# {
|
3765
|
-
# next_marker: "NextMarker",
|
3766
|
-
# limit: 1,
|
3767
|
-
# }
|
3768
|
-
#
|
3769
3204
|
# @!attribute [rw] next_marker
|
3770
3205
|
# If you specify a value for `Limit` and you have more
|
3771
3206
|
# `SizeConstraintSets` than the value of `Limit`, AWS WAF returns a
|
@@ -3818,14 +3253,6 @@ module Aws::WAF
|
|
3818
3253
|
# A request to list the SqlInjectionMatchSet objects created by the
|
3819
3254
|
# current AWS account.
|
3820
3255
|
#
|
3821
|
-
# @note When making an API call, you may pass ListSqlInjectionMatchSetsRequest
|
3822
|
-
# data as a hash:
|
3823
|
-
#
|
3824
|
-
# {
|
3825
|
-
# next_marker: "NextMarker",
|
3826
|
-
# limit: 1,
|
3827
|
-
# }
|
3828
|
-
#
|
3829
3256
|
# @!attribute [rw] next_marker
|
3830
3257
|
# If you specify a value for `Limit` and you have more
|
3831
3258
|
# SqlInjectionMatchSet objects than the value of `Limit`, AWS WAF
|
@@ -3877,14 +3304,6 @@ module Aws::WAF
|
|
3877
3304
|
include Aws::Structure
|
3878
3305
|
end
|
3879
3306
|
|
3880
|
-
# @note When making an API call, you may pass ListSubscribedRuleGroupsRequest
|
3881
|
-
# data as a hash:
|
3882
|
-
#
|
3883
|
-
# {
|
3884
|
-
# next_marker: "NextMarker",
|
3885
|
-
# limit: 1,
|
3886
|
-
# }
|
3887
|
-
#
|
3888
3307
|
# @!attribute [rw] next_marker
|
3889
3308
|
# If you specify a value for `Limit` and you have more
|
3890
3309
|
# `ByteMatchSets`subscribed rule groups than the value of `Limit`, AWS
|
@@ -3932,15 +3351,6 @@ module Aws::WAF
|
|
3932
3351
|
include Aws::Structure
|
3933
3352
|
end
|
3934
3353
|
|
3935
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
3936
|
-
# data as a hash:
|
3937
|
-
#
|
3938
|
-
# {
|
3939
|
-
# next_marker: "NextMarker",
|
3940
|
-
# limit: 1,
|
3941
|
-
# resource_arn: "ResourceArn", # required
|
3942
|
-
# }
|
3943
|
-
#
|
3944
3354
|
# @!attribute [rw] next_marker
|
3945
3355
|
# @return [String]
|
3946
3356
|
#
|
@@ -3975,14 +3385,6 @@ module Aws::WAF
|
|
3975
3385
|
include Aws::Structure
|
3976
3386
|
end
|
3977
3387
|
|
3978
|
-
# @note When making an API call, you may pass ListWebACLsRequest
|
3979
|
-
# data as a hash:
|
3980
|
-
#
|
3981
|
-
# {
|
3982
|
-
# next_marker: "NextMarker",
|
3983
|
-
# limit: 1,
|
3984
|
-
# }
|
3985
|
-
#
|
3986
3388
|
# @!attribute [rw] next_marker
|
3987
3389
|
# If you specify a value for `Limit` and you have more `WebACL`
|
3988
3390
|
# objects than the number that you specify for `Limit`, AWS WAF
|
@@ -4034,14 +3436,6 @@ module Aws::WAF
|
|
4034
3436
|
# A request to list the XssMatchSet objects created by the current AWS
|
4035
3437
|
# account.
|
4036
3438
|
#
|
4037
|
-
# @note When making an API call, you may pass ListXssMatchSetsRequest
|
4038
|
-
# data as a hash:
|
4039
|
-
#
|
4040
|
-
# {
|
4041
|
-
# next_marker: "NextMarker",
|
4042
|
-
# limit: 1,
|
4043
|
-
# }
|
4044
|
-
#
|
4045
3439
|
# @!attribute [rw] next_marker
|
4046
3440
|
# If you specify a value for `Limit` and you have more XssMatchSet
|
4047
3441
|
# objects than the value of `Limit`, AWS WAF returns a `NextMarker`
|
@@ -4108,20 +3502,6 @@ module Aws::WAF
|
|
4108
3502
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4109
3503
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4110
3504
|
#
|
4111
|
-
# @note When making an API call, you may pass LoggingConfiguration
|
4112
|
-
# data as a hash:
|
4113
|
-
#
|
4114
|
-
# {
|
4115
|
-
# resource_arn: "ResourceArn", # required
|
4116
|
-
# log_destination_configs: ["ResourceArn"], # required
|
4117
|
-
# redacted_fields: [
|
4118
|
-
# {
|
4119
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
4120
|
-
# data: "MatchFieldData",
|
4121
|
-
# },
|
4122
|
-
# ],
|
4123
|
-
# }
|
4124
|
-
#
|
4125
3505
|
# @!attribute [rw] resource_arn
|
4126
3506
|
# The Amazon Resource Name (ARN) of the web ACL that you want to
|
4127
3507
|
# associate with `LogDestinationConfigs`.
|
@@ -4167,15 +3547,6 @@ module Aws::WAF
|
|
4167
3547
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4168
3548
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4169
3549
|
#
|
4170
|
-
# @note When making an API call, you may pass Predicate
|
4171
|
-
# data as a hash:
|
4172
|
-
#
|
4173
|
-
# {
|
4174
|
-
# negated: false, # required
|
4175
|
-
# type: "IPMatch", # required, accepts IPMatch, ByteMatch, SqlInjectionMatch, GeoMatch, SizeConstraint, XssMatch, RegexMatch
|
4176
|
-
# data_id: "ResourceId", # required
|
4177
|
-
# }
|
4178
|
-
#
|
4179
3550
|
# @!attribute [rw] negated
|
4180
3551
|
# Set `Negated` to `False` if you want AWS WAF to allow, block, or
|
4181
3552
|
# count requests based on the settings in the specified ByteMatchSet,
|
@@ -4212,22 +3583,6 @@ module Aws::WAF
|
|
4212
3583
|
include Aws::Structure
|
4213
3584
|
end
|
4214
3585
|
|
4215
|
-
# @note When making an API call, you may pass PutLoggingConfigurationRequest
|
4216
|
-
# data as a hash:
|
4217
|
-
#
|
4218
|
-
# {
|
4219
|
-
# logging_configuration: { # required
|
4220
|
-
# resource_arn: "ResourceArn", # required
|
4221
|
-
# log_destination_configs: ["ResourceArn"], # required
|
4222
|
-
# redacted_fields: [
|
4223
|
-
# {
|
4224
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
4225
|
-
# data: "MatchFieldData",
|
4226
|
-
# },
|
4227
|
-
# ],
|
4228
|
-
# },
|
4229
|
-
# }
|
4230
|
-
#
|
4231
3586
|
# @!attribute [rw] logging_configuration
|
4232
3587
|
# The Amazon Kinesis Data Firehose that contains the inspected traffic
|
4233
3588
|
# information, the redacted fields details, and the Amazon Resource
|
@@ -4259,14 +3614,6 @@ module Aws::WAF
|
|
4259
3614
|
include Aws::Structure
|
4260
3615
|
end
|
4261
3616
|
|
4262
|
-
# @note When making an API call, you may pass PutPermissionPolicyRequest
|
4263
|
-
# data as a hash:
|
4264
|
-
#
|
4265
|
-
# {
|
4266
|
-
# resource_arn: "ResourceArn", # required
|
4267
|
-
# policy: "PolicyString", # required
|
4268
|
-
# }
|
4269
|
-
#
|
4270
3617
|
# @!attribute [rw] resource_arn
|
4271
3618
|
# The Amazon Resource Name (ARN) of the RuleGroup to which you want to
|
4272
3619
|
# attach the policy.
|
@@ -4503,21 +3850,6 @@ module Aws::WAF
|
|
4503
3850
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4504
3851
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4505
3852
|
#
|
4506
|
-
# @note When making an API call, you may pass RegexMatchSetUpdate
|
4507
|
-
# data as a hash:
|
4508
|
-
#
|
4509
|
-
# {
|
4510
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
4511
|
-
# regex_match_tuple: { # required
|
4512
|
-
# field_to_match: { # required
|
4513
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
4514
|
-
# data: "MatchFieldData",
|
4515
|
-
# },
|
4516
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
4517
|
-
# regex_pattern_set_id: "ResourceId", # required
|
4518
|
-
# },
|
4519
|
-
# }
|
4520
|
-
#
|
4521
3853
|
# @!attribute [rw] action
|
4522
3854
|
# Specifies whether to insert or delete a RegexMatchTuple.
|
4523
3855
|
# @return [String]
|
@@ -4568,18 +3900,6 @@ module Aws::WAF
|
|
4568
3900
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4569
3901
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4570
3902
|
#
|
4571
|
-
# @note When making an API call, you may pass RegexMatchTuple
|
4572
|
-
# data as a hash:
|
4573
|
-
#
|
4574
|
-
# {
|
4575
|
-
# field_to_match: { # required
|
4576
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
4577
|
-
# data: "MatchFieldData",
|
4578
|
-
# },
|
4579
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
4580
|
-
# regex_pattern_set_id: "ResourceId", # required
|
4581
|
-
# }
|
4582
|
-
#
|
4583
3903
|
# @!attribute [rw] field_to_match
|
4584
3904
|
# Specifies where in a web request to look for the `RegexPatternSet`.
|
4585
3905
|
# @return [Types::FieldToMatch]
|
@@ -4792,14 +4112,6 @@ module Aws::WAF
|
|
4792
4112
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
4793
4113
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
4794
4114
|
#
|
4795
|
-
# @note When making an API call, you may pass RegexPatternSetUpdate
|
4796
|
-
# data as a hash:
|
4797
|
-
#
|
4798
|
-
# {
|
4799
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
4800
|
-
# regex_pattern_string: "RegexPatternString", # required
|
4801
|
-
# }
|
4802
|
-
#
|
4803
4115
|
# @!attribute [rw] action
|
4804
4116
|
# Specifies whether to insert or delete a `RegexPatternString`.
|
4805
4117
|
# @return [String]
|
@@ -5005,29 +4317,6 @@ module Aws::WAF
|
|
5005
4317
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5006
4318
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5007
4319
|
#
|
5008
|
-
# @note When making an API call, you may pass RuleGroupUpdate
|
5009
|
-
# data as a hash:
|
5010
|
-
#
|
5011
|
-
# {
|
5012
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
5013
|
-
# activated_rule: { # required
|
5014
|
-
# priority: 1, # required
|
5015
|
-
# rule_id: "ResourceId", # required
|
5016
|
-
# action: {
|
5017
|
-
# type: "BLOCK", # required, accepts BLOCK, ALLOW, COUNT
|
5018
|
-
# },
|
5019
|
-
# override_action: {
|
5020
|
-
# type: "NONE", # required, accepts NONE, COUNT
|
5021
|
-
# },
|
5022
|
-
# type: "REGULAR", # accepts REGULAR, RATE_BASED, GROUP
|
5023
|
-
# excluded_rules: [
|
5024
|
-
# {
|
5025
|
-
# rule_id: "ResourceId", # required
|
5026
|
-
# },
|
5027
|
-
# ],
|
5028
|
-
# },
|
5029
|
-
# }
|
5030
|
-
#
|
5031
4320
|
# @!attribute [rw] action
|
5032
4321
|
# Specify `INSERT` to add an `ActivatedRule` to a `RuleGroup`. Use
|
5033
4322
|
# `DELETE` to remove an `ActivatedRule` from a `RuleGroup`.
|
@@ -5107,18 +4396,6 @@ module Aws::WAF
|
|
5107
4396
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5108
4397
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5109
4398
|
#
|
5110
|
-
# @note When making an API call, you may pass RuleUpdate
|
5111
|
-
# data as a hash:
|
5112
|
-
#
|
5113
|
-
# {
|
5114
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
5115
|
-
# predicate: { # required
|
5116
|
-
# negated: false, # required
|
5117
|
-
# type: "IPMatch", # required, accepts IPMatch, ByteMatch, SqlInjectionMatch, GeoMatch, SizeConstraint, XssMatch, RegexMatch
|
5118
|
-
# data_id: "ResourceId", # required
|
5119
|
-
# },
|
5120
|
-
# }
|
5121
|
-
#
|
5122
4399
|
# @!attribute [rw] action
|
5123
4400
|
# Specify `INSERT` to add a `Predicate` to a `Rule`. Use `DELETE` to
|
5124
4401
|
# remove a `Predicate` from a `Rule`.
|
@@ -5218,19 +4495,6 @@ module Aws::WAF
|
|
5218
4495
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5219
4496
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5220
4497
|
#
|
5221
|
-
# @note When making an API call, you may pass SizeConstraint
|
5222
|
-
# data as a hash:
|
5223
|
-
#
|
5224
|
-
# {
|
5225
|
-
# field_to_match: { # required
|
5226
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
5227
|
-
# data: "MatchFieldData",
|
5228
|
-
# },
|
5229
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
5230
|
-
# comparison_operator: "EQ", # required, accepts EQ, NE, LE, LT, GE, GT
|
5231
|
-
# size: 1, # required
|
5232
|
-
# }
|
5233
|
-
#
|
5234
4498
|
# @!attribute [rw] field_to_match
|
5235
4499
|
# Specifies where in a web request to look for the size constraint.
|
5236
4500
|
# @return [Types::FieldToMatch]
|
@@ -5479,22 +4743,6 @@ module Aws::WAF
|
|
5479
4743
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5480
4744
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5481
4745
|
#
|
5482
|
-
# @note When making an API call, you may pass SizeConstraintSetUpdate
|
5483
|
-
# data as a hash:
|
5484
|
-
#
|
5485
|
-
# {
|
5486
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
5487
|
-
# size_constraint: { # required
|
5488
|
-
# field_to_match: { # required
|
5489
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
5490
|
-
# data: "MatchFieldData",
|
5491
|
-
# },
|
5492
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
5493
|
-
# comparison_operator: "EQ", # required, accepts EQ, NE, LE, LT, GE, GT
|
5494
|
-
# size: 1, # required
|
5495
|
-
# },
|
5496
|
-
# }
|
5497
|
-
#
|
5498
4746
|
# @!attribute [rw] action
|
5499
4747
|
# Specify `INSERT` to add a SizeConstraintSetUpdate to a
|
5500
4748
|
# SizeConstraintSet. Use `DELETE` to remove a
|
@@ -5633,20 +4881,6 @@ module Aws::WAF
|
|
5633
4881
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5634
4882
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5635
4883
|
#
|
5636
|
-
# @note When making an API call, you may pass SqlInjectionMatchSetUpdate
|
5637
|
-
# data as a hash:
|
5638
|
-
#
|
5639
|
-
# {
|
5640
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
5641
|
-
# sql_injection_match_tuple: { # required
|
5642
|
-
# field_to_match: { # required
|
5643
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
5644
|
-
# data: "MatchFieldData",
|
5645
|
-
# },
|
5646
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
5647
|
-
# },
|
5648
|
-
# }
|
5649
|
-
#
|
5650
4884
|
# @!attribute [rw] action
|
5651
4885
|
# Specify `INSERT` to add a SqlInjectionMatchSetUpdate to a
|
5652
4886
|
# SqlInjectionMatchSet. Use `DELETE` to remove a
|
@@ -5686,17 +4920,6 @@ module Aws::WAF
|
|
5686
4920
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5687
4921
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5688
4922
|
#
|
5689
|
-
# @note When making an API call, you may pass SqlInjectionMatchTuple
|
5690
|
-
# data as a hash:
|
5691
|
-
#
|
5692
|
-
# {
|
5693
|
-
# field_to_match: { # required
|
5694
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
5695
|
-
# data: "MatchFieldData",
|
5696
|
-
# },
|
5697
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
5698
|
-
# }
|
5699
|
-
#
|
5700
4923
|
# @!attribute [rw] field_to_match
|
5701
4924
|
# Specifies where in a web request to look for snippets of malicious
|
5702
4925
|
# SQL code.
|
@@ -5858,14 +5081,6 @@ module Aws::WAF
|
|
5858
5081
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5859
5082
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5860
5083
|
#
|
5861
|
-
# @note When making an API call, you may pass Tag
|
5862
|
-
# data as a hash:
|
5863
|
-
#
|
5864
|
-
# {
|
5865
|
-
# key: "TagKey", # required
|
5866
|
-
# value: "TagValue", # required
|
5867
|
-
# }
|
5868
|
-
#
|
5869
5084
|
# @!attribute [rw] key
|
5870
5085
|
# @return [String]
|
5871
5086
|
#
|
@@ -5922,19 +5137,6 @@ module Aws::WAF
|
|
5922
5137
|
include Aws::Structure
|
5923
5138
|
end
|
5924
5139
|
|
5925
|
-
# @note When making an API call, you may pass TagResourceRequest
|
5926
|
-
# data as a hash:
|
5927
|
-
#
|
5928
|
-
# {
|
5929
|
-
# resource_arn: "ResourceArn", # required
|
5930
|
-
# tags: [ # required
|
5931
|
-
# {
|
5932
|
-
# key: "TagKey", # required
|
5933
|
-
# value: "TagValue", # required
|
5934
|
-
# },
|
5935
|
-
# ],
|
5936
|
-
# }
|
5937
|
-
#
|
5938
5140
|
# @!attribute [rw] resource_arn
|
5939
5141
|
# @return [String]
|
5940
5142
|
#
|
@@ -5985,14 +5187,6 @@ module Aws::WAF
|
|
5985
5187
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
5986
5188
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
5987
5189
|
#
|
5988
|
-
# @note When making an API call, you may pass TimeWindow
|
5989
|
-
# data as a hash:
|
5990
|
-
#
|
5991
|
-
# {
|
5992
|
-
# start_time: Time.now, # required
|
5993
|
-
# end_time: Time.now, # required
|
5994
|
-
# }
|
5995
|
-
#
|
5996
5190
|
# @!attribute [rw] start_time
|
5997
5191
|
# The beginning of the time range from which you want
|
5998
5192
|
# `GetSampledRequests` to return a sample of the requests that your
|
@@ -6020,14 +5214,6 @@ module Aws::WAF
|
|
6020
5214
|
include Aws::Structure
|
6021
5215
|
end
|
6022
5216
|
|
6023
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
6024
|
-
# data as a hash:
|
6025
|
-
#
|
6026
|
-
# {
|
6027
|
-
# resource_arn: "ResourceArn", # required
|
6028
|
-
# tag_keys: ["TagKey"], # required
|
6029
|
-
# }
|
6030
|
-
#
|
6031
5217
|
# @!attribute [rw] resource_arn
|
6032
5218
|
# @return [String]
|
6033
5219
|
#
|
@@ -6047,28 +5233,6 @@ module Aws::WAF
|
|
6047
5233
|
#
|
6048
5234
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
6049
5235
|
|
6050
|
-
# @note When making an API call, you may pass UpdateByteMatchSetRequest
|
6051
|
-
# data as a hash:
|
6052
|
-
#
|
6053
|
-
# {
|
6054
|
-
# byte_match_set_id: "ResourceId", # required
|
6055
|
-
# change_token: "ChangeToken", # required
|
6056
|
-
# updates: [ # required
|
6057
|
-
# {
|
6058
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
6059
|
-
# byte_match_tuple: { # required
|
6060
|
-
# field_to_match: { # required
|
6061
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
6062
|
-
# data: "MatchFieldData",
|
6063
|
-
# },
|
6064
|
-
# target_string: "data", # required
|
6065
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
6066
|
-
# positional_constraint: "EXACTLY", # required, accepts EXACTLY, STARTS_WITH, ENDS_WITH, CONTAINS, CONTAINS_WORD
|
6067
|
-
# },
|
6068
|
-
# },
|
6069
|
-
# ],
|
6070
|
-
# }
|
6071
|
-
#
|
6072
5236
|
# @!attribute [rw] byte_match_set_id
|
6073
5237
|
# The `ByteMatchSetId` of the ByteMatchSet that you want to update.
|
6074
5238
|
# `ByteMatchSetId` is returned by CreateByteMatchSet and by
|
@@ -6116,23 +5280,6 @@ module Aws::WAF
|
|
6116
5280
|
include Aws::Structure
|
6117
5281
|
end
|
6118
5282
|
|
6119
|
-
# @note When making an API call, you may pass UpdateGeoMatchSetRequest
|
6120
|
-
# data as a hash:
|
6121
|
-
#
|
6122
|
-
# {
|
6123
|
-
# geo_match_set_id: "ResourceId", # required
|
6124
|
-
# change_token: "ChangeToken", # required
|
6125
|
-
# updates: [ # required
|
6126
|
-
# {
|
6127
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
6128
|
-
# geo_match_constraint: { # required
|
6129
|
-
# type: "Country", # required, accepts Country
|
6130
|
-
# 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
|
6131
|
-
# },
|
6132
|
-
# },
|
6133
|
-
# ],
|
6134
|
-
# }
|
6135
|
-
#
|
6136
5283
|
# @!attribute [rw] geo_match_set_id
|
6137
5284
|
# The `GeoMatchSetId` of the GeoMatchSet that you want to update.
|
6138
5285
|
# `GeoMatchSetId` is returned by CreateGeoMatchSet and by
|
@@ -6181,23 +5328,6 @@ module Aws::WAF
|
|
6181
5328
|
include Aws::Structure
|
6182
5329
|
end
|
6183
5330
|
|
6184
|
-
# @note When making an API call, you may pass UpdateIPSetRequest
|
6185
|
-
# data as a hash:
|
6186
|
-
#
|
6187
|
-
# {
|
6188
|
-
# ip_set_id: "ResourceId", # required
|
6189
|
-
# change_token: "ChangeToken", # required
|
6190
|
-
# updates: [ # required
|
6191
|
-
# {
|
6192
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
6193
|
-
# ip_set_descriptor: { # required
|
6194
|
-
# type: "IPV4", # required, accepts IPV4, IPV6
|
6195
|
-
# value: "IPSetDescriptorValue", # required
|
6196
|
-
# },
|
6197
|
-
# },
|
6198
|
-
# ],
|
6199
|
-
# }
|
6200
|
-
#
|
6201
5331
|
# @!attribute [rw] ip_set_id
|
6202
5332
|
# The `IPSetId` of the IPSet that you want to update. `IPSetId` is
|
6203
5333
|
# returned by CreateIPSet and by ListIPSets.
|
@@ -6243,25 +5373,6 @@ module Aws::WAF
|
|
6243
5373
|
include Aws::Structure
|
6244
5374
|
end
|
6245
5375
|
|
6246
|
-
# @note When making an API call, you may pass UpdateRateBasedRuleRequest
|
6247
|
-
# data as a hash:
|
6248
|
-
#
|
6249
|
-
# {
|
6250
|
-
# rule_id: "ResourceId", # required
|
6251
|
-
# change_token: "ChangeToken", # required
|
6252
|
-
# updates: [ # required
|
6253
|
-
# {
|
6254
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
6255
|
-
# predicate: { # required
|
6256
|
-
# negated: false, # required
|
6257
|
-
# type: "IPMatch", # required, accepts IPMatch, ByteMatch, SqlInjectionMatch, GeoMatch, SizeConstraint, XssMatch, RegexMatch
|
6258
|
-
# data_id: "ResourceId", # required
|
6259
|
-
# },
|
6260
|
-
# },
|
6261
|
-
# ],
|
6262
|
-
# rate_limit: 1, # required
|
6263
|
-
# }
|
6264
|
-
#
|
6265
5376
|
# @!attribute [rw] rule_id
|
6266
5377
|
# The `RuleId` of the `RateBasedRule` that you want to update.
|
6267
5378
|
# `RuleId` is returned by `CreateRateBasedRule` and by
|
@@ -6310,27 +5421,6 @@ module Aws::WAF
|
|
6310
5421
|
include Aws::Structure
|
6311
5422
|
end
|
6312
5423
|
|
6313
|
-
# @note When making an API call, you may pass UpdateRegexMatchSetRequest
|
6314
|
-
# data as a hash:
|
6315
|
-
#
|
6316
|
-
# {
|
6317
|
-
# regex_match_set_id: "ResourceId", # required
|
6318
|
-
# updates: [ # required
|
6319
|
-
# {
|
6320
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
6321
|
-
# regex_match_tuple: { # required
|
6322
|
-
# field_to_match: { # required
|
6323
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
6324
|
-
# data: "MatchFieldData",
|
6325
|
-
# },
|
6326
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
6327
|
-
# regex_pattern_set_id: "ResourceId", # required
|
6328
|
-
# },
|
6329
|
-
# },
|
6330
|
-
# ],
|
6331
|
-
# change_token: "ChangeToken", # required
|
6332
|
-
# }
|
6333
|
-
#
|
6334
5424
|
# @!attribute [rw] regex_match_set_id
|
6335
5425
|
# The `RegexMatchSetId` of the RegexMatchSet that you want to update.
|
6336
5426
|
# `RegexMatchSetId` is returned by CreateRegexMatchSet and by
|
@@ -6371,20 +5461,6 @@ module Aws::WAF
|
|
6371
5461
|
include Aws::Structure
|
6372
5462
|
end
|
6373
5463
|
|
6374
|
-
# @note When making an API call, you may pass UpdateRegexPatternSetRequest
|
6375
|
-
# data as a hash:
|
6376
|
-
#
|
6377
|
-
# {
|
6378
|
-
# regex_pattern_set_id: "ResourceId", # required
|
6379
|
-
# updates: [ # required
|
6380
|
-
# {
|
6381
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
6382
|
-
# regex_pattern_string: "RegexPatternString", # required
|
6383
|
-
# },
|
6384
|
-
# ],
|
6385
|
-
# change_token: "ChangeToken", # required
|
6386
|
-
# }
|
6387
|
-
#
|
6388
5464
|
# @!attribute [rw] regex_pattern_set_id
|
6389
5465
|
# The `RegexPatternSetId` of the RegexPatternSet that you want to
|
6390
5466
|
# update. `RegexPatternSetId` is returned by CreateRegexPatternSet and
|
@@ -6425,35 +5501,6 @@ module Aws::WAF
|
|
6425
5501
|
include Aws::Structure
|
6426
5502
|
end
|
6427
5503
|
|
6428
|
-
# @note When making an API call, you may pass UpdateRuleGroupRequest
|
6429
|
-
# data as a hash:
|
6430
|
-
#
|
6431
|
-
# {
|
6432
|
-
# rule_group_id: "ResourceId", # required
|
6433
|
-
# updates: [ # required
|
6434
|
-
# {
|
6435
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
6436
|
-
# activated_rule: { # required
|
6437
|
-
# priority: 1, # required
|
6438
|
-
# rule_id: "ResourceId", # required
|
6439
|
-
# action: {
|
6440
|
-
# type: "BLOCK", # required, accepts BLOCK, ALLOW, COUNT
|
6441
|
-
# },
|
6442
|
-
# override_action: {
|
6443
|
-
# type: "NONE", # required, accepts NONE, COUNT
|
6444
|
-
# },
|
6445
|
-
# type: "REGULAR", # accepts REGULAR, RATE_BASED, GROUP
|
6446
|
-
# excluded_rules: [
|
6447
|
-
# {
|
6448
|
-
# rule_id: "ResourceId", # required
|
6449
|
-
# },
|
6450
|
-
# ],
|
6451
|
-
# },
|
6452
|
-
# },
|
6453
|
-
# ],
|
6454
|
-
# change_token: "ChangeToken", # required
|
6455
|
-
# }
|
6456
|
-
#
|
6457
5504
|
# @!attribute [rw] rule_group_id
|
6458
5505
|
# The `RuleGroupId` of the RuleGroup that you want to update.
|
6459
5506
|
# `RuleGroupId` is returned by CreateRuleGroup and by ListRuleGroups.
|
@@ -6500,24 +5547,6 @@ module Aws::WAF
|
|
6500
5547
|
include Aws::Structure
|
6501
5548
|
end
|
6502
5549
|
|
6503
|
-
# @note When making an API call, you may pass UpdateRuleRequest
|
6504
|
-
# data as a hash:
|
6505
|
-
#
|
6506
|
-
# {
|
6507
|
-
# rule_id: "ResourceId", # required
|
6508
|
-
# change_token: "ChangeToken", # required
|
6509
|
-
# updates: [ # required
|
6510
|
-
# {
|
6511
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
6512
|
-
# predicate: { # required
|
6513
|
-
# negated: false, # required
|
6514
|
-
# type: "IPMatch", # required, accepts IPMatch, ByteMatch, SqlInjectionMatch, GeoMatch, SizeConstraint, XssMatch, RegexMatch
|
6515
|
-
# data_id: "ResourceId", # required
|
6516
|
-
# },
|
6517
|
-
# },
|
6518
|
-
# ],
|
6519
|
-
# }
|
6520
|
-
#
|
6521
5550
|
# @!attribute [rw] rule_id
|
6522
5551
|
# The `RuleId` of the `Rule` that you want to update. `RuleId` is
|
6523
5552
|
# returned by `CreateRule` and by ListRules.
|
@@ -6563,28 +5592,6 @@ module Aws::WAF
|
|
6563
5592
|
include Aws::Structure
|
6564
5593
|
end
|
6565
5594
|
|
6566
|
-
# @note When making an API call, you may pass UpdateSizeConstraintSetRequest
|
6567
|
-
# data as a hash:
|
6568
|
-
#
|
6569
|
-
# {
|
6570
|
-
# size_constraint_set_id: "ResourceId", # required
|
6571
|
-
# change_token: "ChangeToken", # required
|
6572
|
-
# updates: [ # required
|
6573
|
-
# {
|
6574
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
6575
|
-
# size_constraint: { # required
|
6576
|
-
# field_to_match: { # required
|
6577
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
6578
|
-
# data: "MatchFieldData",
|
6579
|
-
# },
|
6580
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
6581
|
-
# comparison_operator: "EQ", # required, accepts EQ, NE, LE, LT, GE, GT
|
6582
|
-
# size: 1, # required
|
6583
|
-
# },
|
6584
|
-
# },
|
6585
|
-
# ],
|
6586
|
-
# }
|
6587
|
-
#
|
6588
5595
|
# @!attribute [rw] size_constraint_set_id
|
6589
5596
|
# The `SizeConstraintSetId` of the SizeConstraintSet that you want to
|
6590
5597
|
# update. `SizeConstraintSetId` is returned by CreateSizeConstraintSet
|
@@ -6635,26 +5642,6 @@ module Aws::WAF
|
|
6635
5642
|
|
6636
5643
|
# A request to update a SqlInjectionMatchSet.
|
6637
5644
|
#
|
6638
|
-
# @note When making an API call, you may pass UpdateSqlInjectionMatchSetRequest
|
6639
|
-
# data as a hash:
|
6640
|
-
#
|
6641
|
-
# {
|
6642
|
-
# sql_injection_match_set_id: "ResourceId", # required
|
6643
|
-
# change_token: "ChangeToken", # required
|
6644
|
-
# updates: [ # required
|
6645
|
-
# {
|
6646
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
6647
|
-
# sql_injection_match_tuple: { # required
|
6648
|
-
# field_to_match: { # required
|
6649
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
6650
|
-
# data: "MatchFieldData",
|
6651
|
-
# },
|
6652
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
6653
|
-
# },
|
6654
|
-
# },
|
6655
|
-
# ],
|
6656
|
-
# }
|
6657
|
-
#
|
6658
5645
|
# @!attribute [rw] sql_injection_match_set_id
|
6659
5646
|
# The `SqlInjectionMatchSetId` of the `SqlInjectionMatchSet` that you
|
6660
5647
|
# want to update. `SqlInjectionMatchSetId` is returned by
|
@@ -6706,38 +5693,6 @@ module Aws::WAF
|
|
6706
5693
|
include Aws::Structure
|
6707
5694
|
end
|
6708
5695
|
|
6709
|
-
# @note When making an API call, you may pass UpdateWebACLRequest
|
6710
|
-
# data as a hash:
|
6711
|
-
#
|
6712
|
-
# {
|
6713
|
-
# web_acl_id: "ResourceId", # required
|
6714
|
-
# change_token: "ChangeToken", # required
|
6715
|
-
# updates: [
|
6716
|
-
# {
|
6717
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
6718
|
-
# activated_rule: { # required
|
6719
|
-
# priority: 1, # required
|
6720
|
-
# rule_id: "ResourceId", # required
|
6721
|
-
# action: {
|
6722
|
-
# type: "BLOCK", # required, accepts BLOCK, ALLOW, COUNT
|
6723
|
-
# },
|
6724
|
-
# override_action: {
|
6725
|
-
# type: "NONE", # required, accepts NONE, COUNT
|
6726
|
-
# },
|
6727
|
-
# type: "REGULAR", # accepts REGULAR, RATE_BASED, GROUP
|
6728
|
-
# excluded_rules: [
|
6729
|
-
# {
|
6730
|
-
# rule_id: "ResourceId", # required
|
6731
|
-
# },
|
6732
|
-
# ],
|
6733
|
-
# },
|
6734
|
-
# },
|
6735
|
-
# ],
|
6736
|
-
# default_action: {
|
6737
|
-
# type: "BLOCK", # required, accepts BLOCK, ALLOW, COUNT
|
6738
|
-
# },
|
6739
|
-
# }
|
6740
|
-
#
|
6741
5696
|
# @!attribute [rw] web_acl_id
|
6742
5697
|
# The `WebACLId` of the WebACL that you want to update. `WebACLId` is
|
6743
5698
|
# returned by CreateWebACL and by ListWebACLs.
|
@@ -6799,26 +5754,6 @@ module Aws::WAF
|
|
6799
5754
|
|
6800
5755
|
# A request to update an XssMatchSet.
|
6801
5756
|
#
|
6802
|
-
# @note When making an API call, you may pass UpdateXssMatchSetRequest
|
6803
|
-
# data as a hash:
|
6804
|
-
#
|
6805
|
-
# {
|
6806
|
-
# xss_match_set_id: "ResourceId", # required
|
6807
|
-
# change_token: "ChangeToken", # required
|
6808
|
-
# updates: [ # required
|
6809
|
-
# {
|
6810
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
6811
|
-
# xss_match_tuple: { # required
|
6812
|
-
# field_to_match: { # required
|
6813
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
6814
|
-
# data: "MatchFieldData",
|
6815
|
-
# },
|
6816
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
6817
|
-
# },
|
6818
|
-
# },
|
6819
|
-
# ],
|
6820
|
-
# }
|
6821
|
-
#
|
6822
5757
|
# @!attribute [rw] xss_match_set_id
|
6823
5758
|
# The `XssMatchSetId` of the `XssMatchSet` that you want to update.
|
6824
5759
|
# `XssMatchSetId` is returned by CreateXssMatchSet and by
|
@@ -7273,13 +6208,6 @@ module Aws::WAF
|
|
7273
6208
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
7274
6209
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
7275
6210
|
#
|
7276
|
-
# @note When making an API call, you may pass WafAction
|
7277
|
-
# data as a hash:
|
7278
|
-
#
|
7279
|
-
# {
|
7280
|
-
# type: "BLOCK", # required, accepts BLOCK, ALLOW, COUNT
|
7281
|
-
# }
|
7282
|
-
#
|
7283
6211
|
# @!attribute [rw] type
|
7284
6212
|
# Specifies how you want AWS WAF to respond to requests that match the
|
7285
6213
|
# settings in a `Rule`. Valid settings include the following:
|
@@ -7320,13 +6248,6 @@ module Aws::WAF
|
|
7320
6248
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
7321
6249
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
7322
6250
|
#
|
7323
|
-
# @note When making an API call, you may pass WafOverrideAction
|
7324
|
-
# data as a hash:
|
7325
|
-
#
|
7326
|
-
# {
|
7327
|
-
# type: "NONE", # required, accepts NONE, COUNT
|
7328
|
-
# }
|
7329
|
-
#
|
7330
6251
|
# @!attribute [rw] type
|
7331
6252
|
# `COUNT` overrides the action specified by the individual rule within
|
7332
6253
|
# a `RuleGroup` . If set to `NONE`, the rule's action will take
|
@@ -7472,29 +6393,6 @@ module Aws::WAF
|
|
7472
6393
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
7473
6394
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
7474
6395
|
#
|
7475
|
-
# @note When making an API call, you may pass WebACLUpdate
|
7476
|
-
# data as a hash:
|
7477
|
-
#
|
7478
|
-
# {
|
7479
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
7480
|
-
# activated_rule: { # required
|
7481
|
-
# priority: 1, # required
|
7482
|
-
# rule_id: "ResourceId", # required
|
7483
|
-
# action: {
|
7484
|
-
# type: "BLOCK", # required, accepts BLOCK, ALLOW, COUNT
|
7485
|
-
# },
|
7486
|
-
# override_action: {
|
7487
|
-
# type: "NONE", # required, accepts NONE, COUNT
|
7488
|
-
# },
|
7489
|
-
# type: "REGULAR", # accepts REGULAR, RATE_BASED, GROUP
|
7490
|
-
# excluded_rules: [
|
7491
|
-
# {
|
7492
|
-
# rule_id: "ResourceId", # required
|
7493
|
-
# },
|
7494
|
-
# ],
|
7495
|
-
# },
|
7496
|
-
# }
|
7497
|
-
#
|
7498
6396
|
# @!attribute [rw] action
|
7499
6397
|
# Specifies whether to insert a `Rule` into or delete a `Rule` from a
|
7500
6398
|
# `WebACL`.
|
@@ -7626,20 +6524,6 @@ module Aws::WAF
|
|
7626
6524
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
7627
6525
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
7628
6526
|
#
|
7629
|
-
# @note When making an API call, you may pass XssMatchSetUpdate
|
7630
|
-
# data as a hash:
|
7631
|
-
#
|
7632
|
-
# {
|
7633
|
-
# action: "INSERT", # required, accepts INSERT, DELETE
|
7634
|
-
# xss_match_tuple: { # required
|
7635
|
-
# field_to_match: { # required
|
7636
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
7637
|
-
# data: "MatchFieldData",
|
7638
|
-
# },
|
7639
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
7640
|
-
# },
|
7641
|
-
# }
|
7642
|
-
#
|
7643
6527
|
# @!attribute [rw] action
|
7644
6528
|
# Specify `INSERT` to add an XssMatchSetUpdate to an XssMatchSet. Use
|
7645
6529
|
# `DELETE` to remove an `XssMatchSetUpdate` from an `XssMatchSet`.
|
@@ -7678,17 +6562,6 @@ module Aws::WAF
|
|
7678
6562
|
# [1]: https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html
|
7679
6563
|
# [2]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html
|
7680
6564
|
#
|
7681
|
-
# @note When making an API call, you may pass XssMatchTuple
|
7682
|
-
# data as a hash:
|
7683
|
-
#
|
7684
|
-
# {
|
7685
|
-
# field_to_match: { # required
|
7686
|
-
# type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS
|
7687
|
-
# data: "MatchFieldData",
|
7688
|
-
# },
|
7689
|
-
# text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
|
7690
|
-
# }
|
7691
|
-
#
|
7692
6565
|
# @!attribute [rw] field_to_match
|
7693
6566
|
# Specifies where in a web request to look for cross-site scripting
|
7694
6567
|
# attacks.
|