aws-sdk-core 2.10.92 → 2.10.93

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,6 +7,7 @@
7
7
  "protocol":"json",
8
8
  "serviceAbbreviation":"WAF",
9
9
  "serviceFullName":"AWS WAF",
10
+ "serviceId":"WAF",
10
11
  "signatureVersion":"v4",
11
12
  "targetPrefix":"AWSWAF_20150824",
12
13
  "uid":"waf-2015-08-24"
@@ -125,6 +126,21 @@
125
126
  {"shape":"WAFLimitsExceededException"}
126
127
  ]
127
128
  },
129
+ "CreateRuleGroup":{
130
+ "name":"CreateRuleGroup",
131
+ "http":{
132
+ "method":"POST",
133
+ "requestUri":"/"
134
+ },
135
+ "input":{"shape":"CreateRuleGroupRequest"},
136
+ "output":{"shape":"CreateRuleGroupResponse"},
137
+ "errors":[
138
+ {"shape":"WAFStaleDataException"},
139
+ {"shape":"WAFInternalErrorException"},
140
+ {"shape":"WAFDisallowedNameException"},
141
+ {"shape":"WAFLimitsExceededException"}
142
+ ]
143
+ },
128
144
  "CreateSizeConstraintSet":{
129
145
  "name":"CreateSizeConstraintSet",
130
146
  "http":{
@@ -312,6 +328,22 @@
312
328
  {"shape":"WAFNonEmptyEntityException"}
313
329
  ]
314
330
  },
331
+ "DeleteRuleGroup":{
332
+ "name":"DeleteRuleGroup",
333
+ "http":{
334
+ "method":"POST",
335
+ "requestUri":"/"
336
+ },
337
+ "input":{"shape":"DeleteRuleGroupRequest"},
338
+ "output":{"shape":"DeleteRuleGroupResponse"},
339
+ "errors":[
340
+ {"shape":"WAFStaleDataException"},
341
+ {"shape":"WAFInternalErrorException"},
342
+ {"shape":"WAFNonexistentItemException"},
343
+ {"shape":"WAFReferencedItemException"},
344
+ {"shape":"WAFNonEmptyEntityException"}
345
+ ]
346
+ },
315
347
  "DeleteSizeConstraintSet":{
316
348
  "name":"DeleteSizeConstraintSet",
317
349
  "http":{
@@ -518,6 +550,19 @@
518
550
  {"shape":"WAFNonexistentItemException"}
519
551
  ]
520
552
  },
553
+ "GetRuleGroup":{
554
+ "name":"GetRuleGroup",
555
+ "http":{
556
+ "method":"POST",
557
+ "requestUri":"/"
558
+ },
559
+ "input":{"shape":"GetRuleGroupRequest"},
560
+ "output":{"shape":"GetRuleGroupResponse"},
561
+ "errors":[
562
+ {"shape":"WAFInternalErrorException"},
563
+ {"shape":"WAFNonexistentItemException"}
564
+ ]
565
+ },
521
566
  "GetSampledRequests":{
522
567
  "name":"GetSampledRequests",
523
568
  "http":{
@@ -587,6 +632,20 @@
587
632
  {"shape":"WAFNonexistentItemException"}
588
633
  ]
589
634
  },
635
+ "ListActivatedRulesInRuleGroup":{
636
+ "name":"ListActivatedRulesInRuleGroup",
637
+ "http":{
638
+ "method":"POST",
639
+ "requestUri":"/"
640
+ },
641
+ "input":{"shape":"ListActivatedRulesInRuleGroupRequest"},
642
+ "output":{"shape":"ListActivatedRulesInRuleGroupResponse"},
643
+ "errors":[
644
+ {"shape":"WAFInternalErrorException"},
645
+ {"shape":"WAFNonexistentItemException"},
646
+ {"shape":"WAFInvalidParameterException"}
647
+ ]
648
+ },
590
649
  "ListByteMatchSets":{
591
650
  "name":"ListByteMatchSets",
592
651
  "http":{
@@ -665,6 +724,18 @@
665
724
  {"shape":"WAFInvalidAccountException"}
666
725
  ]
667
726
  },
727
+ "ListRuleGroups":{
728
+ "name":"ListRuleGroups",
729
+ "http":{
730
+ "method":"POST",
731
+ "requestUri":"/"
732
+ },
733
+ "input":{"shape":"ListRuleGroupsRequest"},
734
+ "output":{"shape":"ListRuleGroupsResponse"},
735
+ "errors":[
736
+ {"shape":"WAFInternalErrorException"}
737
+ ]
738
+ },
668
739
  "ListRules":{
669
740
  "name":"ListRules",
670
741
  "http":{
@@ -704,6 +775,19 @@
704
775
  {"shape":"WAFInvalidAccountException"}
705
776
  ]
706
777
  },
778
+ "ListSubscribedRuleGroups":{
779
+ "name":"ListSubscribedRuleGroups",
780
+ "http":{
781
+ "method":"POST",
782
+ "requestUri":"/"
783
+ },
784
+ "input":{"shape":"ListSubscribedRuleGroupsRequest"},
785
+ "output":{"shape":"ListSubscribedRuleGroupsResponse"},
786
+ "errors":[
787
+ {"shape":"WAFNonexistentItemException"},
788
+ {"shape":"WAFInternalErrorException"}
789
+ ]
790
+ },
707
791
  "ListWebACLs":{
708
792
  "name":"ListWebACLs",
709
793
  "http":{
@@ -840,6 +924,7 @@
840
924
  {"shape":"WAFStaleDataException"},
841
925
  {"shape":"WAFInternalErrorException"},
842
926
  {"shape":"WAFLimitsExceededException"},
927
+ {"shape":"WAFNonexistentItemException"},
843
928
  {"shape":"WAFNonexistentContainerException"},
844
929
  {"shape":"WAFInvalidOperationException"},
845
930
  {"shape":"WAFInvalidAccountException"},
@@ -866,6 +951,24 @@
866
951
  {"shape":"WAFLimitsExceededException"}
867
952
  ]
868
953
  },
954
+ "UpdateRuleGroup":{
955
+ "name":"UpdateRuleGroup",
956
+ "http":{
957
+ "method":"POST",
958
+ "requestUri":"/"
959
+ },
960
+ "input":{"shape":"UpdateRuleGroupRequest"},
961
+ "output":{"shape":"UpdateRuleGroupResponse"},
962
+ "errors":[
963
+ {"shape":"WAFStaleDataException"},
964
+ {"shape":"WAFInternalErrorException"},
965
+ {"shape":"WAFNonexistentContainerException"},
966
+ {"shape":"WAFNonexistentItemException"},
967
+ {"shape":"WAFInvalidOperationException"},
968
+ {"shape":"WAFLimitsExceededException"},
969
+ {"shape":"WAFInvalidParameterException"}
970
+ ]
971
+ },
869
972
  "UpdateSizeConstraintSet":{
870
973
  "name":"UpdateSizeConstraintSet",
871
974
  "http":{
@@ -922,7 +1025,8 @@
922
1025
  {"shape":"WAFNonexistentContainerException"},
923
1026
  {"shape":"WAFNonexistentItemException"},
924
1027
  {"shape":"WAFReferencedItemException"},
925
- {"shape":"WAFLimitsExceededException"}
1028
+ {"shape":"WAFLimitsExceededException"},
1029
+ {"shape":"WAFSubscriptionNotFoundException"}
926
1030
  ]
927
1031
  },
928
1032
  "UpdateXssMatchSet":{
@@ -951,13 +1055,13 @@
951
1055
  "type":"structure",
952
1056
  "required":[
953
1057
  "Priority",
954
- "RuleId",
955
- "Action"
1058
+ "RuleId"
956
1059
  ],
957
1060
  "members":{
958
1061
  "Priority":{"shape":"RulePriority"},
959
1062
  "RuleId":{"shape":"ResourceId"},
960
1063
  "Action":{"shape":"WafAction"},
1064
+ "OverrideAction":{"shape":"WafOverrideAction"},
961
1065
  "Type":{"shape":"WafRuleType"}
962
1066
  }
963
1067
  },
@@ -1173,6 +1277,26 @@
1173
1277
  "ChangeToken":{"shape":"ChangeToken"}
1174
1278
  }
1175
1279
  },
1280
+ "CreateRuleGroupRequest":{
1281
+ "type":"structure",
1282
+ "required":[
1283
+ "Name",
1284
+ "MetricName",
1285
+ "ChangeToken"
1286
+ ],
1287
+ "members":{
1288
+ "Name":{"shape":"ResourceName"},
1289
+ "MetricName":{"shape":"MetricName"},
1290
+ "ChangeToken":{"shape":"ChangeToken"}
1291
+ }
1292
+ },
1293
+ "CreateRuleGroupResponse":{
1294
+ "type":"structure",
1295
+ "members":{
1296
+ "RuleGroup":{"shape":"RuleGroup"},
1297
+ "ChangeToken":{"shape":"ChangeToken"}
1298
+ }
1299
+ },
1176
1300
  "CreateRuleRequest":{
1177
1301
  "type":"structure",
1178
1302
  "required":[
@@ -1371,6 +1495,23 @@
1371
1495
  "ChangeToken":{"shape":"ChangeToken"}
1372
1496
  }
1373
1497
  },
1498
+ "DeleteRuleGroupRequest":{
1499
+ "type":"structure",
1500
+ "required":[
1501
+ "RuleGroupId",
1502
+ "ChangeToken"
1503
+ ],
1504
+ "members":{
1505
+ "RuleGroupId":{"shape":"ResourceId"},
1506
+ "ChangeToken":{"shape":"ChangeToken"}
1507
+ }
1508
+ },
1509
+ "DeleteRuleGroupResponse":{
1510
+ "type":"structure",
1511
+ "members":{
1512
+ "ChangeToken":{"shape":"ChangeToken"}
1513
+ }
1514
+ },
1374
1515
  "DeleteRuleRequest":{
1375
1516
  "type":"structure",
1376
1517
  "required":[
@@ -1897,6 +2038,19 @@
1897
2038
  "RegexPatternSet":{"shape":"RegexPatternSet"}
1898
2039
  }
1899
2040
  },
2041
+ "GetRuleGroupRequest":{
2042
+ "type":"structure",
2043
+ "required":["RuleGroupId"],
2044
+ "members":{
2045
+ "RuleGroupId":{"shape":"ResourceId"}
2046
+ }
2047
+ },
2048
+ "GetRuleGroupResponse":{
2049
+ "type":"structure",
2050
+ "members":{
2051
+ "RuleGroup":{"shape":"RuleGroup"}
2052
+ }
2053
+ },
1900
2054
  "GetRuleRequest":{
1901
2055
  "type":"structure",
1902
2056
  "required":["RuleId"],
@@ -2083,6 +2237,21 @@
2083
2237
  "min":1
2084
2238
  },
2085
2239
  "IPString":{"type":"string"},
2240
+ "ListActivatedRulesInRuleGroupRequest":{
2241
+ "type":"structure",
2242
+ "members":{
2243
+ "RuleGroupId":{"shape":"ResourceId"},
2244
+ "NextMarker":{"shape":"NextMarker"},
2245
+ "Limit":{"shape":"PaginationLimit"}
2246
+ }
2247
+ },
2248
+ "ListActivatedRulesInRuleGroupResponse":{
2249
+ "type":"structure",
2250
+ "members":{
2251
+ "NextMarker":{"shape":"NextMarker"},
2252
+ "ActivatedRules":{"shape":"ActivatedRules"}
2253
+ }
2254
+ },
2086
2255
  "ListByteMatchSetsRequest":{
2087
2256
  "type":"structure",
2088
2257
  "members":{
@@ -2167,6 +2336,20 @@
2167
2336
  "RegexPatternSets":{"shape":"RegexPatternSetSummaries"}
2168
2337
  }
2169
2338
  },
2339
+ "ListRuleGroupsRequest":{
2340
+ "type":"structure",
2341
+ "members":{
2342
+ "NextMarker":{"shape":"NextMarker"},
2343
+ "Limit":{"shape":"PaginationLimit"}
2344
+ }
2345
+ },
2346
+ "ListRuleGroupsResponse":{
2347
+ "type":"structure",
2348
+ "members":{
2349
+ "NextMarker":{"shape":"NextMarker"},
2350
+ "RuleGroups":{"shape":"RuleGroupSummaries"}
2351
+ }
2352
+ },
2170
2353
  "ListRulesRequest":{
2171
2354
  "type":"structure",
2172
2355
  "members":{
@@ -2209,6 +2392,20 @@
2209
2392
  "SqlInjectionMatchSets":{"shape":"SqlInjectionMatchSetSummaries"}
2210
2393
  }
2211
2394
  },
2395
+ "ListSubscribedRuleGroupsRequest":{
2396
+ "type":"structure",
2397
+ "members":{
2398
+ "NextMarker":{"shape":"NextMarker"},
2399
+ "Limit":{"shape":"PaginationLimit"}
2400
+ }
2401
+ },
2402
+ "ListSubscribedRuleGroupsResponse":{
2403
+ "type":"structure",
2404
+ "members":{
2405
+ "NextMarker":{"shape":"NextMarker"},
2406
+ "RuleGroups":{"shape":"SubscribedRuleGroupSummaries"}
2407
+ }
2408
+ },
2212
2409
  "ListWebACLsRequest":{
2213
2410
  "type":"structure",
2214
2411
  "members":{
@@ -2269,6 +2466,7 @@
2269
2466
  "enum":[
2270
2467
  "CHANGE_ACTION",
2271
2468
  "WAF_ACTION",
2469
+ "WAF_OVERRIDE_ACTION",
2272
2470
  "PREDICATE_TYPE",
2273
2471
  "IPSET_TYPE",
2274
2472
  "BYTE_MATCH_FIELD_TYPE",
@@ -2490,6 +2688,46 @@
2490
2688
  "Predicates":{"shape":"Predicates"}
2491
2689
  }
2492
2690
  },
2691
+ "RuleGroup":{
2692
+ "type":"structure",
2693
+ "required":["RuleGroupId"],
2694
+ "members":{
2695
+ "RuleGroupId":{"shape":"ResourceId"},
2696
+ "Name":{"shape":"ResourceName"},
2697
+ "MetricName":{"shape":"MetricName"}
2698
+ }
2699
+ },
2700
+ "RuleGroupSummaries":{
2701
+ "type":"list",
2702
+ "member":{"shape":"RuleGroupSummary"}
2703
+ },
2704
+ "RuleGroupSummary":{
2705
+ "type":"structure",
2706
+ "required":[
2707
+ "RuleGroupId",
2708
+ "Name"
2709
+ ],
2710
+ "members":{
2711
+ "RuleGroupId":{"shape":"ResourceId"},
2712
+ "Name":{"shape":"ResourceName"}
2713
+ }
2714
+ },
2715
+ "RuleGroupUpdate":{
2716
+ "type":"structure",
2717
+ "required":[
2718
+ "Action",
2719
+ "ActivatedRule"
2720
+ ],
2721
+ "members":{
2722
+ "Action":{"shape":"ChangeAction"},
2723
+ "ActivatedRule":{"shape":"ActivatedRule"}
2724
+ }
2725
+ },
2726
+ "RuleGroupUpdates":{
2727
+ "type":"list",
2728
+ "member":{"shape":"RuleGroupUpdate"},
2729
+ "min":1
2730
+ },
2493
2731
  "RulePriority":{"type":"integer"},
2494
2732
  "RuleSummaries":{
2495
2733
  "type":"list",
@@ -2535,7 +2773,8 @@
2535
2773
  "Request":{"shape":"HTTPRequest"},
2536
2774
  "Weight":{"shape":"SampleWeight"},
2537
2775
  "Timestamp":{"shape":"Timestamp"},
2538
- "Action":{"shape":"Action"}
2776
+ "Action":{"shape":"Action"},
2777
+ "RuleWithinRuleGroup":{"shape":"ResourceId"}
2539
2778
  }
2540
2779
  },
2541
2780
  "SampledHTTPRequests":{
@@ -2667,6 +2906,23 @@
2667
2906
  "type":"list",
2668
2907
  "member":{"shape":"SqlInjectionMatchTuple"}
2669
2908
  },
2909
+ "SubscribedRuleGroupSummaries":{
2910
+ "type":"list",
2911
+ "member":{"shape":"SubscribedRuleGroupSummary"}
2912
+ },
2913
+ "SubscribedRuleGroupSummary":{
2914
+ "type":"structure",
2915
+ "required":[
2916
+ "RuleGroupId",
2917
+ "Name",
2918
+ "MetricName"
2919
+ ],
2920
+ "members":{
2921
+ "RuleGroupId":{"shape":"ResourceId"},
2922
+ "Name":{"shape":"ResourceName"},
2923
+ "MetricName":{"shape":"MetricName"}
2924
+ }
2925
+ },
2670
2926
  "TextTransformation":{
2671
2927
  "type":"string",
2672
2928
  "enum":[
@@ -2807,6 +3063,25 @@
2807
3063
  "ChangeToken":{"shape":"ChangeToken"}
2808
3064
  }
2809
3065
  },
3066
+ "UpdateRuleGroupRequest":{
3067
+ "type":"structure",
3068
+ "required":[
3069
+ "RuleGroupId",
3070
+ "Updates",
3071
+ "ChangeToken"
3072
+ ],
3073
+ "members":{
3074
+ "RuleGroupId":{"shape":"ResourceId"},
3075
+ "Updates":{"shape":"RuleGroupUpdates"},
3076
+ "ChangeToken":{"shape":"ChangeToken"}
3077
+ }
3078
+ },
3079
+ "UpdateRuleGroupResponse":{
3080
+ "type":"structure",
3081
+ "members":{
3082
+ "ChangeToken":{"shape":"ChangeToken"}
3083
+ }
3084
+ },
2810
3085
  "UpdateRuleRequest":{
2811
3086
  "type":"structure",
2812
3087
  "required":[
@@ -2988,6 +3263,13 @@
2988
3263
  },
2989
3264
  "exception":true
2990
3265
  },
3266
+ "WAFSubscriptionNotFoundException":{
3267
+ "type":"structure",
3268
+ "members":{
3269
+ "message":{"shape":"errorMessage"}
3270
+ },
3271
+ "exception":true
3272
+ },
2991
3273
  "WafAction":{
2992
3274
  "type":"structure",
2993
3275
  "required":["Type"],
@@ -3003,11 +3285,26 @@
3003
3285
  "COUNT"
3004
3286
  ]
3005
3287
  },
3288
+ "WafOverrideAction":{
3289
+ "type":"structure",
3290
+ "required":["Type"],
3291
+ "members":{
3292
+ "Type":{"shape":"WafOverrideActionType"}
3293
+ }
3294
+ },
3295
+ "WafOverrideActionType":{
3296
+ "type":"string",
3297
+ "enum":[
3298
+ "NONE",
3299
+ "COUNT"
3300
+ ]
3301
+ },
3006
3302
  "WafRuleType":{
3007
3303
  "type":"string",
3008
3304
  "enum":[
3009
3305
  "REGULAR",
3010
- "RATE_BASED"
3306
+ "RATE_BASED",
3307
+ "GROUP"
3011
3308
  ]
3012
3309
  },
3013
3310
  "WebACL":{