aws-sdk-core 2.2.13 → 2.2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5da6735b9662b73388949fef7ea260c240233671
4
- data.tar.gz: e89cd860e428c3a8f0b673ac8715c9d27cde09fd
3
+ metadata.gz: 42495f3dfde6ec2560bf357320a98d7536e3fcb7
4
+ data.tar.gz: 8f831c9a92487b5fe0e2ade04411f7998761d214
5
5
  SHA512:
6
- metadata.gz: 6cf2cbfe089824db6cd217fc7be19645bb0b728ebbca5b61a2cad74cf6c451c3ebaaaa2bccdddaee8b7f36c0604827748a73e611112abb09bd2912a2f79fff33
7
- data.tar.gz: 655b38c7fff0f3374888db7efb65d1e4f8508ebc83af95e56bb47756530d22f57ae52745b7850b2245a98db8f6370e3899862122120d319d77a2cb9d23657a3e
6
+ metadata.gz: 90bbb3fd2bd1c5aee5ee87f5593a92ddb3bf0015bbe121352b859e03c6042045f06199f8cffaced26673deec792d2c54beb5a7a3e098861627569ae3b527b68a
7
+ data.tar.gz: 2e069921e7e432a595861d79f05903740e7218c0ee30a21f86d2a9a41ea0858033cb336230fd06c7e2a1743aa615c80d28ed5b9295041f90db78b979de25e0d1
@@ -817,9 +817,7 @@
817
817
  },
818
818
  "InstanceId":{
819
819
  "type":"string",
820
- "max":10,
821
- "min":10,
822
- "pattern":"^(?=.{10}$)(i-(\\w){8})"
820
+ "pattern":"(^i-(\\w{8}|\\w{17})$)|(^op-\\w{17}$)"
823
821
  },
824
822
  "InstanceIdList":{
825
823
  "type":"list",
@@ -0,0 +1,28 @@
1
+ {
2
+ "pagination": {
3
+ "ListAssociations": {
4
+ "input_token": "NextToken",
5
+ "output_token": "NextToken",
6
+ "limit_key": "MaxResults",
7
+ "result_key": "Associations"
8
+ },
9
+ "ListCommandInvocations": {
10
+ "input_token": "NextToken",
11
+ "output_token": "NextToken",
12
+ "limit_key": "MaxResults",
13
+ "result_key": "CommandInvocations"
14
+ },
15
+ "ListCommands": {
16
+ "input_token": "NextToken",
17
+ "output_token": "NextToken",
18
+ "limit_key": "MaxResults",
19
+ "result_key": "Commands"
20
+ },
21
+ "ListDocuments": {
22
+ "input_token": "NextToken",
23
+ "output_token": "NextToken",
24
+ "limit_key": "MaxResults",
25
+ "result_key": "DocumentIdentifiers"
26
+ }
27
+ }
28
+ }
@@ -4,11 +4,11 @@
4
4
  "apiVersion":"2015-08-24",
5
5
  "endpointPrefix":"waf",
6
6
  "jsonVersion":"1.1",
7
+ "protocol":"json",
7
8
  "serviceAbbreviation":"WAF",
8
9
  "serviceFullName":"AWS WAF",
9
10
  "signatureVersion":"v4",
10
- "targetPrefix":"AWSWAF_20150824",
11
- "protocol":"json"
11
+ "targetPrefix":"AWSWAF_20150824"
12
12
  },
13
13
  "operations":{
14
14
  "CreateByteMatchSet":{
@@ -20,31 +20,12 @@
20
20
  "input":{"shape":"CreateByteMatchSetRequest"},
21
21
  "output":{"shape":"CreateByteMatchSetResponse"},
22
22
  "errors":[
23
- {
24
- "shape":"WAFDisallowedNameException",
25
- "exception":true
26
- },
27
- {
28
- "shape":"WAFInternalErrorException",
29
- "exception":true,
30
- "fault":true
31
- },
32
- {
33
- "shape":"WAFInvalidAccountException",
34
- "exception":true
35
- },
36
- {
37
- "shape":"WAFInvalidParameterException",
38
- "exception":true
39
- },
40
- {
41
- "shape":"WAFStaleDataException",
42
- "exception":true
43
- },
44
- {
45
- "shape":"WAFLimitsExceededException",
46
- "exception":true
47
- }
23
+ {"shape":"WAFDisallowedNameException"},
24
+ {"shape":"WAFInternalErrorException"},
25
+ {"shape":"WAFInvalidAccountException"},
26
+ {"shape":"WAFInvalidParameterException"},
27
+ {"shape":"WAFStaleDataException"},
28
+ {"shape":"WAFLimitsExceededException"}
48
29
  ]
49
30
  },
50
31
  "CreateIPSet":{
@@ -56,31 +37,12 @@
56
37
  "input":{"shape":"CreateIPSetRequest"},
57
38
  "output":{"shape":"CreateIPSetResponse"},
58
39
  "errors":[
59
- {
60
- "shape":"WAFStaleDataException",
61
- "exception":true
62
- },
63
- {
64
- "shape":"WAFInternalErrorException",
65
- "exception":true,
66
- "fault":true
67
- },
68
- {
69
- "shape":"WAFInvalidAccountException",
70
- "exception":true
71
- },
72
- {
73
- "shape":"WAFDisallowedNameException",
74
- "exception":true
75
- },
76
- {
77
- "shape":"WAFInvalidParameterException",
78
- "exception":true
79
- },
80
- {
81
- "shape":"WAFLimitsExceededException",
82
- "exception":true
83
- }
40
+ {"shape":"WAFStaleDataException"},
41
+ {"shape":"WAFInternalErrorException"},
42
+ {"shape":"WAFInvalidAccountException"},
43
+ {"shape":"WAFDisallowedNameException"},
44
+ {"shape":"WAFInvalidParameterException"},
45
+ {"shape":"WAFLimitsExceededException"}
84
46
  ]
85
47
  },
86
48
  "CreateRule":{
@@ -92,27 +54,28 @@
92
54
  "input":{"shape":"CreateRuleRequest"},
93
55
  "output":{"shape":"CreateRuleResponse"},
94
56
  "errors":[
95
- {
96
- "shape":"WAFStaleDataException",
97
- "exception":true
98
- },
99
- {
100
- "shape":"WAFInternalErrorException",
101
- "exception":true,
102
- "fault":true
103
- },
104
- {
105
- "shape":"WAFDisallowedNameException",
106
- "exception":true
107
- },
108
- {
109
- "shape":"WAFInvalidParameterException",
110
- "exception":true
111
- },
112
- {
113
- "shape":"WAFLimitsExceededException",
114
- "exception":true
115
- }
57
+ {"shape":"WAFStaleDataException"},
58
+ {"shape":"WAFInternalErrorException"},
59
+ {"shape":"WAFDisallowedNameException"},
60
+ {"shape":"WAFInvalidParameterException"},
61
+ {"shape":"WAFLimitsExceededException"}
62
+ ]
63
+ },
64
+ "CreateSizeConstraintSet":{
65
+ "name":"CreateSizeConstraintSet",
66
+ "http":{
67
+ "method":"POST",
68
+ "requestUri":"/"
69
+ },
70
+ "input":{"shape":"CreateSizeConstraintSetRequest"},
71
+ "output":{"shape":"CreateSizeConstraintSetResponse"},
72
+ "errors":[
73
+ {"shape":"WAFStaleDataException"},
74
+ {"shape":"WAFInternalErrorException"},
75
+ {"shape":"WAFInvalidAccountException"},
76
+ {"shape":"WAFDisallowedNameException"},
77
+ {"shape":"WAFInvalidParameterException"},
78
+ {"shape":"WAFLimitsExceededException"}
116
79
  ]
117
80
  },
118
81
  "CreateSqlInjectionMatchSet":{
@@ -124,31 +87,12 @@
124
87
  "input":{"shape":"CreateSqlInjectionMatchSetRequest"},
125
88
  "output":{"shape":"CreateSqlInjectionMatchSetResponse"},
126
89
  "errors":[
127
- {
128
- "shape":"WAFDisallowedNameException",
129
- "exception":true
130
- },
131
- {
132
- "shape":"WAFInternalErrorException",
133
- "exception":true,
134
- "fault":true
135
- },
136
- {
137
- "shape":"WAFInvalidAccountException",
138
- "exception":true
139
- },
140
- {
141
- "shape":"WAFInvalidParameterException",
142
- "exception":true
143
- },
144
- {
145
- "shape":"WAFStaleDataException",
146
- "exception":true
147
- },
148
- {
149
- "shape":"WAFLimitsExceededException",
150
- "exception":true
151
- }
90
+ {"shape":"WAFDisallowedNameException"},
91
+ {"shape":"WAFInternalErrorException"},
92
+ {"shape":"WAFInvalidAccountException"},
93
+ {"shape":"WAFInvalidParameterException"},
94
+ {"shape":"WAFStaleDataException"},
95
+ {"shape":"WAFLimitsExceededException"}
152
96
  ]
153
97
  },
154
98
  "CreateWebACL":{
@@ -160,31 +104,12 @@
160
104
  "input":{"shape":"CreateWebACLRequest"},
161
105
  "output":{"shape":"CreateWebACLResponse"},
162
106
  "errors":[
163
- {
164
- "shape":"WAFStaleDataException",
165
- "exception":true
166
- },
167
- {
168
- "shape":"WAFInternalErrorException",
169
- "exception":true,
170
- "fault":true
171
- },
172
- {
173
- "shape":"WAFInvalidAccountException",
174
- "exception":true
175
- },
176
- {
177
- "shape":"WAFDisallowedNameException",
178
- "exception":true
179
- },
180
- {
181
- "shape":"WAFInvalidParameterException",
182
- "exception":true
183
- },
184
- {
185
- "shape":"WAFLimitsExceededException",
186
- "exception":true
187
- }
107
+ {"shape":"WAFStaleDataException"},
108
+ {"shape":"WAFInternalErrorException"},
109
+ {"shape":"WAFInvalidAccountException"},
110
+ {"shape":"WAFDisallowedNameException"},
111
+ {"shape":"WAFInvalidParameterException"},
112
+ {"shape":"WAFLimitsExceededException"}
188
113
  ]
189
114
  },
190
115
  "DeleteByteMatchSet":{
@@ -196,31 +121,12 @@
196
121
  "input":{"shape":"DeleteByteMatchSetRequest"},
197
122
  "output":{"shape":"DeleteByteMatchSetResponse"},
198
123
  "errors":[
199
- {
200
- "shape":"WAFInternalErrorException",
201
- "exception":true,
202
- "fault":true
203
- },
204
- {
205
- "shape":"WAFInvalidAccountException",
206
- "exception":true
207
- },
208
- {
209
- "shape":"WAFNonexistentItemException",
210
- "exception":true
211
- },
212
- {
213
- "shape":"WAFReferencedItemException",
214
- "exception":true
215
- },
216
- {
217
- "shape":"WAFStaleDataException",
218
- "exception":true
219
- },
220
- {
221
- "shape":"WAFNonEmptyEntityException",
222
- "exception":true
223
- }
124
+ {"shape":"WAFInternalErrorException"},
125
+ {"shape":"WAFInvalidAccountException"},
126
+ {"shape":"WAFNonexistentItemException"},
127
+ {"shape":"WAFReferencedItemException"},
128
+ {"shape":"WAFStaleDataException"},
129
+ {"shape":"WAFNonEmptyEntityException"}
224
130
  ]
225
131
  },
226
132
  "DeleteIPSet":{
@@ -232,31 +138,12 @@
232
138
  "input":{"shape":"DeleteIPSetRequest"},
233
139
  "output":{"shape":"DeleteIPSetResponse"},
234
140
  "errors":[
235
- {
236
- "shape":"WAFStaleDataException",
237
- "exception":true
238
- },
239
- {
240
- "shape":"WAFInternalErrorException",
241
- "exception":true,
242
- "fault":true
243
- },
244
- {
245
- "shape":"WAFInvalidAccountException",
246
- "exception":true
247
- },
248
- {
249
- "shape":"WAFNonexistentItemException",
250
- "exception":true
251
- },
252
- {
253
- "shape":"WAFReferencedItemException",
254
- "exception":true
255
- },
256
- {
257
- "shape":"WAFNonEmptyEntityException",
258
- "exception":true
259
- }
141
+ {"shape":"WAFStaleDataException"},
142
+ {"shape":"WAFInternalErrorException"},
143
+ {"shape":"WAFInvalidAccountException"},
144
+ {"shape":"WAFNonexistentItemException"},
145
+ {"shape":"WAFReferencedItemException"},
146
+ {"shape":"WAFNonEmptyEntityException"}
260
147
  ]
261
148
  },
262
149
  "DeleteRule":{
@@ -268,31 +155,29 @@
268
155
  "input":{"shape":"DeleteRuleRequest"},
269
156
  "output":{"shape":"DeleteRuleResponse"},
270
157
  "errors":[
271
- {
272
- "shape":"WAFStaleDataException",
273
- "exception":true
274
- },
275
- {
276
- "shape":"WAFInternalErrorException",
277
- "exception":true,
278
- "fault":true
279
- },
280
- {
281
- "shape":"WAFInvalidAccountException",
282
- "exception":true
283
- },
284
- {
285
- "shape":"WAFNonexistentItemException",
286
- "exception":true
287
- },
288
- {
289
- "shape":"WAFReferencedItemException",
290
- "exception":true
291
- },
292
- {
293
- "shape":"WAFNonEmptyEntityException",
294
- "exception":true
295
- }
158
+ {"shape":"WAFStaleDataException"},
159
+ {"shape":"WAFInternalErrorException"},
160
+ {"shape":"WAFInvalidAccountException"},
161
+ {"shape":"WAFNonexistentItemException"},
162
+ {"shape":"WAFReferencedItemException"},
163
+ {"shape":"WAFNonEmptyEntityException"}
164
+ ]
165
+ },
166
+ "DeleteSizeConstraintSet":{
167
+ "name":"DeleteSizeConstraintSet",
168
+ "http":{
169
+ "method":"POST",
170
+ "requestUri":"/"
171
+ },
172
+ "input":{"shape":"DeleteSizeConstraintSetRequest"},
173
+ "output":{"shape":"DeleteSizeConstraintSetResponse"},
174
+ "errors":[
175
+ {"shape":"WAFStaleDataException"},
176
+ {"shape":"WAFInternalErrorException"},
177
+ {"shape":"WAFInvalidAccountException"},
178
+ {"shape":"WAFNonexistentItemException"},
179
+ {"shape":"WAFReferencedItemException"},
180
+ {"shape":"WAFNonEmptyEntityException"}
296
181
  ]
297
182
  },
298
183
  "DeleteSqlInjectionMatchSet":{
@@ -304,31 +189,12 @@
304
189
  "input":{"shape":"DeleteSqlInjectionMatchSetRequest"},
305
190
  "output":{"shape":"DeleteSqlInjectionMatchSetResponse"},
306
191
  "errors":[
307
- {
308
- "shape":"WAFInternalErrorException",
309
- "exception":true,
310
- "fault":true
311
- },
312
- {
313
- "shape":"WAFInvalidAccountException",
314
- "exception":true
315
- },
316
- {
317
- "shape":"WAFNonexistentItemException",
318
- "exception":true
319
- },
320
- {
321
- "shape":"WAFReferencedItemException",
322
- "exception":true
323
- },
324
- {
325
- "shape":"WAFStaleDataException",
326
- "exception":true
327
- },
328
- {
329
- "shape":"WAFNonEmptyEntityException",
330
- "exception":true
331
- }
192
+ {"shape":"WAFInternalErrorException"},
193
+ {"shape":"WAFInvalidAccountException"},
194
+ {"shape":"WAFNonexistentItemException"},
195
+ {"shape":"WAFReferencedItemException"},
196
+ {"shape":"WAFStaleDataException"},
197
+ {"shape":"WAFNonEmptyEntityException"}
332
198
  ]
333
199
  },
334
200
  "DeleteWebACL":{
@@ -340,31 +206,12 @@
340
206
  "input":{"shape":"DeleteWebACLRequest"},
341
207
  "output":{"shape":"DeleteWebACLResponse"},
342
208
  "errors":[
343
- {
344
- "shape":"WAFStaleDataException",
345
- "exception":true
346
- },
347
- {
348
- "shape":"WAFInternalErrorException",
349
- "exception":true,
350
- "fault":true
351
- },
352
- {
353
- "shape":"WAFInvalidAccountException",
354
- "exception":true
355
- },
356
- {
357
- "shape":"WAFNonexistentItemException",
358
- "exception":true
359
- },
360
- {
361
- "shape":"WAFReferencedItemException",
362
- "exception":true
363
- },
364
- {
365
- "shape":"WAFNonEmptyEntityException",
366
- "exception":true
367
- }
209
+ {"shape":"WAFStaleDataException"},
210
+ {"shape":"WAFInternalErrorException"},
211
+ {"shape":"WAFInvalidAccountException"},
212
+ {"shape":"WAFNonexistentItemException"},
213
+ {"shape":"WAFReferencedItemException"},
214
+ {"shape":"WAFNonEmptyEntityException"}
368
215
  ]
369
216
  },
370
217
  "GetByteMatchSet":{
@@ -376,19 +223,9 @@
376
223
  "input":{"shape":"GetByteMatchSetRequest"},
377
224
  "output":{"shape":"GetByteMatchSetResponse"},
378
225
  "errors":[
379
- {
380
- "shape":"WAFInternalErrorException",
381
- "exception":true,
382
- "fault":true
383
- },
384
- {
385
- "shape":"WAFInvalidAccountException",
386
- "exception":true
387
- },
388
- {
389
- "shape":"WAFNonexistentItemException",
390
- "exception":true
391
- }
226
+ {"shape":"WAFInternalErrorException"},
227
+ {"shape":"WAFInvalidAccountException"},
228
+ {"shape":"WAFNonexistentItemException"}
392
229
  ]
393
230
  },
394
231
  "GetChangeToken":{
@@ -400,11 +237,7 @@
400
237
  "input":{"shape":"GetChangeTokenRequest"},
401
238
  "output":{"shape":"GetChangeTokenResponse"},
402
239
  "errors":[
403
- {
404
- "shape":"WAFInternalErrorException",
405
- "exception":true,
406
- "fault":true
407
- }
240
+ {"shape":"WAFInternalErrorException"}
408
241
  ]
409
242
  },
410
243
  "GetChangeTokenStatus":{
@@ -416,15 +249,8 @@
416
249
  "input":{"shape":"GetChangeTokenStatusRequest"},
417
250
  "output":{"shape":"GetChangeTokenStatusResponse"},
418
251
  "errors":[
419
- {
420
- "shape":"WAFNonexistentItemException",
421
- "exception":true
422
- },
423
- {
424
- "shape":"WAFInternalErrorException",
425
- "exception":true,
426
- "fault":true
427
- }
252
+ {"shape":"WAFNonexistentItemException"},
253
+ {"shape":"WAFInternalErrorException"}
428
254
  ]
429
255
  },
430
256
  "GetIPSet":{
@@ -436,19 +262,9 @@
436
262
  "input":{"shape":"GetIPSetRequest"},
437
263
  "output":{"shape":"GetIPSetResponse"},
438
264
  "errors":[
439
- {
440
- "shape":"WAFInternalErrorException",
441
- "exception":true,
442
- "fault":true
443
- },
444
- {
445
- "shape":"WAFInvalidAccountException",
446
- "exception":true
447
- },
448
- {
449
- "shape":"WAFNonexistentItemException",
450
- "exception":true
451
- }
265
+ {"shape":"WAFInternalErrorException"},
266
+ {"shape":"WAFInvalidAccountException"},
267
+ {"shape":"WAFNonexistentItemException"}
452
268
  ]
453
269
  },
454
270
  "GetRule":{
@@ -460,19 +276,9 @@
460
276
  "input":{"shape":"GetRuleRequest"},
461
277
  "output":{"shape":"GetRuleResponse"},
462
278
  "errors":[
463
- {
464
- "shape":"WAFInternalErrorException",
465
- "exception":true,
466
- "fault":true
467
- },
468
- {
469
- "shape":"WAFInvalidAccountException",
470
- "exception":true
471
- },
472
- {
473
- "shape":"WAFNonexistentItemException",
474
- "exception":true
475
- }
279
+ {"shape":"WAFInternalErrorException"},
280
+ {"shape":"WAFInvalidAccountException"},
281
+ {"shape":"WAFNonexistentItemException"}
476
282
  ]
477
283
  },
478
284
  "GetSampledRequests":{
@@ -484,10 +290,22 @@
484
290
  "input":{"shape":"GetSampledRequestsRequest"},
485
291
  "output":{"shape":"GetSampledRequestsResponse"},
486
292
  "errors":[
487
- {
488
- "shape":"WAFNonexistentItemException",
489
- "exception":true
490
- }
293
+ {"shape":"WAFNonexistentItemException"},
294
+ {"shape":"WAFInternalErrorException"}
295
+ ]
296
+ },
297
+ "GetSizeConstraintSet":{
298
+ "name":"GetSizeConstraintSet",
299
+ "http":{
300
+ "method":"POST",
301
+ "requestUri":"/"
302
+ },
303
+ "input":{"shape":"GetSizeConstraintSetRequest"},
304
+ "output":{"shape":"GetSizeConstraintSetResponse"},
305
+ "errors":[
306
+ {"shape":"WAFInternalErrorException"},
307
+ {"shape":"WAFInvalidAccountException"},
308
+ {"shape":"WAFNonexistentItemException"}
491
309
  ]
492
310
  },
493
311
  "GetSqlInjectionMatchSet":{
@@ -499,19 +317,9 @@
499
317
  "input":{"shape":"GetSqlInjectionMatchSetRequest"},
500
318
  "output":{"shape":"GetSqlInjectionMatchSetResponse"},
501
319
  "errors":[
502
- {
503
- "shape":"WAFInternalErrorException",
504
- "exception":true,
505
- "fault":true
506
- },
507
- {
508
- "shape":"WAFInvalidAccountException",
509
- "exception":true
510
- },
511
- {
512
- "shape":"WAFNonexistentItemException",
513
- "exception":true
514
- }
320
+ {"shape":"WAFInternalErrorException"},
321
+ {"shape":"WAFInvalidAccountException"},
322
+ {"shape":"WAFNonexistentItemException"}
515
323
  ]
516
324
  },
517
325
  "GetWebACL":{
@@ -523,19 +331,9 @@
523
331
  "input":{"shape":"GetWebACLRequest"},
524
332
  "output":{"shape":"GetWebACLResponse"},
525
333
  "errors":[
526
- {
527
- "shape":"WAFInternalErrorException",
528
- "exception":true,
529
- "fault":true
530
- },
531
- {
532
- "shape":"WAFInvalidAccountException",
533
- "exception":true
534
- },
535
- {
536
- "shape":"WAFNonexistentItemException",
537
- "exception":true
538
- }
334
+ {"shape":"WAFInternalErrorException"},
335
+ {"shape":"WAFInvalidAccountException"},
336
+ {"shape":"WAFNonexistentItemException"}
539
337
  ]
540
338
  },
541
339
  "ListByteMatchSets":{
@@ -547,15 +345,8 @@
547
345
  "input":{"shape":"ListByteMatchSetsRequest"},
548
346
  "output":{"shape":"ListByteMatchSetsResponse"},
549
347
  "errors":[
550
- {
551
- "shape":"WAFInternalErrorException",
552
- "exception":true,
553
- "fault":true
554
- },
555
- {
556
- "shape":"WAFInvalidAccountException",
557
- "exception":true
558
- }
348
+ {"shape":"WAFInternalErrorException"},
349
+ {"shape":"WAFInvalidAccountException"}
559
350
  ]
560
351
  },
561
352
  "ListIPSets":{
@@ -567,15 +358,8 @@
567
358
  "input":{"shape":"ListIPSetsRequest"},
568
359
  "output":{"shape":"ListIPSetsResponse"},
569
360
  "errors":[
570
- {
571
- "shape":"WAFInternalErrorException",
572
- "exception":true,
573
- "fault":true
574
- },
575
- {
576
- "shape":"WAFInvalidAccountException",
577
- "exception":true
578
- }
361
+ {"shape":"WAFInternalErrorException"},
362
+ {"shape":"WAFInvalidAccountException"}
579
363
  ]
580
364
  },
581
365
  "ListRules":{
@@ -587,15 +371,21 @@
587
371
  "input":{"shape":"ListRulesRequest"},
588
372
  "output":{"shape":"ListRulesResponse"},
589
373
  "errors":[
590
- {
591
- "shape":"WAFInternalErrorException",
592
- "exception":true,
593
- "fault":true
594
- },
595
- {
596
- "shape":"WAFInvalidAccountException",
597
- "exception":true
598
- }
374
+ {"shape":"WAFInternalErrorException"},
375
+ {"shape":"WAFInvalidAccountException"}
376
+ ]
377
+ },
378
+ "ListSizeConstraintSets":{
379
+ "name":"ListSizeConstraintSets",
380
+ "http":{
381
+ "method":"POST",
382
+ "requestUri":"/"
383
+ },
384
+ "input":{"shape":"ListSizeConstraintSetsRequest"},
385
+ "output":{"shape":"ListSizeConstraintSetsResponse"},
386
+ "errors":[
387
+ {"shape":"WAFInternalErrorException"},
388
+ {"shape":"WAFInvalidAccountException"}
599
389
  ]
600
390
  },
601
391
  "ListSqlInjectionMatchSets":{
@@ -607,15 +397,8 @@
607
397
  "input":{"shape":"ListSqlInjectionMatchSetsRequest"},
608
398
  "output":{"shape":"ListSqlInjectionMatchSetsResponse"},
609
399
  "errors":[
610
- {
611
- "shape":"WAFInternalErrorException",
612
- "exception":true,
613
- "fault":true
614
- },
615
- {
616
- "shape":"WAFInvalidAccountException",
617
- "exception":true
618
- }
400
+ {"shape":"WAFInternalErrorException"},
401
+ {"shape":"WAFInvalidAccountException"}
619
402
  ]
620
403
  },
621
404
  "ListWebACLs":{
@@ -627,15 +410,8 @@
627
410
  "input":{"shape":"ListWebACLsRequest"},
628
411
  "output":{"shape":"ListWebACLsResponse"},
629
412
  "errors":[
630
- {
631
- "shape":"WAFInternalErrorException",
632
- "exception":true,
633
- "fault":true
634
- },
635
- {
636
- "shape":"WAFInvalidAccountException",
637
- "exception":true
638
- }
413
+ {"shape":"WAFInternalErrorException"},
414
+ {"shape":"WAFInvalidAccountException"}
639
415
  ]
640
416
  },
641
417
  "UpdateByteMatchSet":{
@@ -647,39 +423,14 @@
647
423
  "input":{"shape":"UpdateByteMatchSetRequest"},
648
424
  "output":{"shape":"UpdateByteMatchSetResponse"},
649
425
  "errors":[
650
- {
651
- "shape":"WAFInternalErrorException",
652
- "exception":true,
653
- "fault":true
654
- },
655
- {
656
- "shape":"WAFInvalidAccountException",
657
- "exception":true
658
- },
659
- {
660
- "shape":"WAFInvalidOperationException",
661
- "exception":true
662
- },
663
- {
664
- "shape":"WAFInvalidParameterException",
665
- "exception":true
666
- },
667
- {
668
- "shape":"WAFNonexistentContainerException",
669
- "exception":true
670
- },
671
- {
672
- "shape":"WAFNonexistentItemException",
673
- "exception":true
674
- },
675
- {
676
- "shape":"WAFStaleDataException",
677
- "exception":true
678
- },
679
- {
680
- "shape":"WAFLimitsExceededException",
681
- "exception":true
682
- }
426
+ {"shape":"WAFInternalErrorException"},
427
+ {"shape":"WAFInvalidAccountException"},
428
+ {"shape":"WAFInvalidOperationException"},
429
+ {"shape":"WAFInvalidParameterException"},
430
+ {"shape":"WAFNonexistentContainerException"},
431
+ {"shape":"WAFNonexistentItemException"},
432
+ {"shape":"WAFStaleDataException"},
433
+ {"shape":"WAFLimitsExceededException"}
683
434
  ]
684
435
  },
685
436
  "UpdateIPSet":{
@@ -691,43 +442,15 @@
691
442
  "input":{"shape":"UpdateIPSetRequest"},
692
443
  "output":{"shape":"UpdateIPSetResponse"},
693
444
  "errors":[
694
- {
695
- "shape":"WAFStaleDataException",
696
- "exception":true
697
- },
698
- {
699
- "shape":"WAFInternalErrorException",
700
- "exception":true,
701
- "fault":true
702
- },
703
- {
704
- "shape":"WAFInvalidAccountException",
705
- "exception":true
706
- },
707
- {
708
- "shape":"WAFInvalidOperationException",
709
- "exception":true
710
- },
711
- {
712
- "shape":"WAFInvalidParameterException",
713
- "exception":true
714
- },
715
- {
716
- "shape":"WAFNonexistentContainerException",
717
- "exception":true
718
- },
719
- {
720
- "shape":"WAFNonexistentItemException",
721
- "exception":true
722
- },
723
- {
724
- "shape":"WAFReferencedItemException",
725
- "exception":true
726
- },
727
- {
728
- "shape":"WAFLimitsExceededException",
729
- "exception":true
730
- }
445
+ {"shape":"WAFStaleDataException"},
446
+ {"shape":"WAFInternalErrorException"},
447
+ {"shape":"WAFInvalidAccountException"},
448
+ {"shape":"WAFInvalidOperationException"},
449
+ {"shape":"WAFInvalidParameterException"},
450
+ {"shape":"WAFNonexistentContainerException"},
451
+ {"shape":"WAFNonexistentItemException"},
452
+ {"shape":"WAFReferencedItemException"},
453
+ {"shape":"WAFLimitsExceededException"}
731
454
  ]
732
455
  },
733
456
  "UpdateRule":{
@@ -739,43 +462,35 @@
739
462
  "input":{"shape":"UpdateRuleRequest"},
740
463
  "output":{"shape":"UpdateRuleResponse"},
741
464
  "errors":[
742
- {
743
- "shape":"WAFStaleDataException",
744
- "exception":true
745
- },
746
- {
747
- "shape":"WAFInternalErrorException",
748
- "exception":true,
749
- "fault":true
750
- },
751
- {
752
- "shape":"WAFInvalidAccountException",
753
- "exception":true
754
- },
755
- {
756
- "shape":"WAFInvalidOperationException",
757
- "exception":true
758
- },
759
- {
760
- "shape":"WAFInvalidParameterException",
761
- "exception":true
762
- },
763
- {
764
- "shape":"WAFNonexistentContainerException",
765
- "exception":true
766
- },
767
- {
768
- "shape":"WAFNonexistentItemException",
769
- "exception":true
770
- },
771
- {
772
- "shape":"WAFReferencedItemException",
773
- "exception":true
774
- },
775
- {
776
- "shape":"WAFLimitsExceededException",
777
- "exception":true
778
- }
465
+ {"shape":"WAFStaleDataException"},
466
+ {"shape":"WAFInternalErrorException"},
467
+ {"shape":"WAFInvalidAccountException"},
468
+ {"shape":"WAFInvalidOperationException"},
469
+ {"shape":"WAFInvalidParameterException"},
470
+ {"shape":"WAFNonexistentContainerException"},
471
+ {"shape":"WAFNonexistentItemException"},
472
+ {"shape":"WAFReferencedItemException"},
473
+ {"shape":"WAFLimitsExceededException"}
474
+ ]
475
+ },
476
+ "UpdateSizeConstraintSet":{
477
+ "name":"UpdateSizeConstraintSet",
478
+ "http":{
479
+ "method":"POST",
480
+ "requestUri":"/"
481
+ },
482
+ "input":{"shape":"UpdateSizeConstraintSetRequest"},
483
+ "output":{"shape":"UpdateSizeConstraintSetResponse"},
484
+ "errors":[
485
+ {"shape":"WAFStaleDataException"},
486
+ {"shape":"WAFInternalErrorException"},
487
+ {"shape":"WAFInvalidAccountException"},
488
+ {"shape":"WAFInvalidOperationException"},
489
+ {"shape":"WAFInvalidParameterException"},
490
+ {"shape":"WAFNonexistentContainerException"},
491
+ {"shape":"WAFNonexistentItemException"},
492
+ {"shape":"WAFReferencedItemException"},
493
+ {"shape":"WAFLimitsExceededException"}
779
494
  ]
780
495
  },
781
496
  "UpdateSqlInjectionMatchSet":{
@@ -787,39 +502,14 @@
787
502
  "input":{"shape":"UpdateSqlInjectionMatchSetRequest"},
788
503
  "output":{"shape":"UpdateSqlInjectionMatchSetResponse"},
789
504
  "errors":[
790
- {
791
- "shape":"WAFInternalErrorException",
792
- "exception":true,
793
- "fault":true
794
- },
795
- {
796
- "shape":"WAFInvalidAccountException",
797
- "exception":true
798
- },
799
- {
800
- "shape":"WAFInvalidOperationException",
801
- "exception":true
802
- },
803
- {
804
- "shape":"WAFInvalidParameterException",
805
- "exception":true
806
- },
807
- {
808
- "shape":"WAFNonexistentContainerException",
809
- "exception":true
810
- },
811
- {
812
- "shape":"WAFNonexistentItemException",
813
- "exception":true
814
- },
815
- {
816
- "shape":"WAFStaleDataException",
817
- "exception":true
818
- },
819
- {
820
- "shape":"WAFLimitsExceededException",
821
- "exception":true
822
- }
505
+ {"shape":"WAFInternalErrorException"},
506
+ {"shape":"WAFInvalidAccountException"},
507
+ {"shape":"WAFInvalidOperationException"},
508
+ {"shape":"WAFInvalidParameterException"},
509
+ {"shape":"WAFNonexistentContainerException"},
510
+ {"shape":"WAFNonexistentItemException"},
511
+ {"shape":"WAFStaleDataException"},
512
+ {"shape":"WAFLimitsExceededException"}
823
513
  ]
824
514
  },
825
515
  "UpdateWebACL":{
@@ -831,43 +521,15 @@
831
521
  "input":{"shape":"UpdateWebACLRequest"},
832
522
  "output":{"shape":"UpdateWebACLResponse"},
833
523
  "errors":[
834
- {
835
- "shape":"WAFStaleDataException",
836
- "exception":true
837
- },
838
- {
839
- "shape":"WAFInternalErrorException",
840
- "exception":true,
841
- "fault":true
842
- },
843
- {
844
- "shape":"WAFInvalidAccountException",
845
- "exception":true
846
- },
847
- {
848
- "shape":"WAFInvalidOperationException",
849
- "exception":true
850
- },
851
- {
852
- "shape":"WAFInvalidParameterException",
853
- "exception":true
854
- },
855
- {
856
- "shape":"WAFNonexistentContainerException",
857
- "exception":true
858
- },
859
- {
860
- "shape":"WAFNonexistentItemException",
861
- "exception":true
862
- },
863
- {
864
- "shape":"WAFReferencedItemException",
865
- "exception":true
866
- },
867
- {
868
- "shape":"WAFLimitsExceededException",
869
- "exception":true
870
- }
524
+ {"shape":"WAFStaleDataException"},
525
+ {"shape":"WAFInternalErrorException"},
526
+ {"shape":"WAFInvalidAccountException"},
527
+ {"shape":"WAFInvalidOperationException"},
528
+ {"shape":"WAFInvalidParameterException"},
529
+ {"shape":"WAFNonexistentContainerException"},
530
+ {"shape":"WAFNonexistentItemException"},
531
+ {"shape":"WAFReferencedItemException"},
532
+ {"shape":"WAFLimitsExceededException"}
871
533
  ]
872
534
  }
873
535
  },
@@ -968,6 +630,17 @@
968
630
  "INSYNC"
969
631
  ]
970
632
  },
633
+ "ComparisonOperator":{
634
+ "type":"string",
635
+ "enum":[
636
+ "EQ",
637
+ "NE",
638
+ "LE",
639
+ "LT",
640
+ "GE",
641
+ "GT"
642
+ ]
643
+ },
971
644
  "Country":{"type":"string"},
972
645
  "CreateByteMatchSetRequest":{
973
646
  "type":"structure",
@@ -1025,6 +698,24 @@
1025
698
  "ChangeToken":{"shape":"ChangeToken"}
1026
699
  }
1027
700
  },
701
+ "CreateSizeConstraintSetRequest":{
702
+ "type":"structure",
703
+ "required":[
704
+ "Name",
705
+ "ChangeToken"
706
+ ],
707
+ "members":{
708
+ "Name":{"shape":"ResourceName"},
709
+ "ChangeToken":{"shape":"ChangeToken"}
710
+ }
711
+ },
712
+ "CreateSizeConstraintSetResponse":{
713
+ "type":"structure",
714
+ "members":{
715
+ "SizeConstraintSet":{"shape":"SizeConstraintSet"},
716
+ "ChangeToken":{"shape":"ChangeToken"}
717
+ }
718
+ },
1028
719
  "CreateSqlInjectionMatchSetRequest":{
1029
720
  "type":"structure",
1030
721
  "required":[
@@ -1116,6 +807,23 @@
1116
807
  "ChangeToken":{"shape":"ChangeToken"}
1117
808
  }
1118
809
  },
810
+ "DeleteSizeConstraintSetRequest":{
811
+ "type":"structure",
812
+ "required":[
813
+ "SizeConstraintSetId",
814
+ "ChangeToken"
815
+ ],
816
+ "members":{
817
+ "SizeConstraintSetId":{"shape":"ResourceId"},
818
+ "ChangeToken":{"shape":"ChangeToken"}
819
+ }
820
+ },
821
+ "DeleteSizeConstraintSetResponse":{
822
+ "type":"structure",
823
+ "members":{
824
+ "ChangeToken":{"shape":"ChangeToken"}
825
+ }
826
+ },
1119
827
  "DeleteSqlInjectionMatchSetRequest":{
1120
828
  "type":"structure",
1121
829
  "required":[
@@ -1244,6 +952,19 @@
1244
952
  "TimeWindow":{"shape":"TimeWindow"}
1245
953
  }
1246
954
  },
955
+ "GetSizeConstraintSetRequest":{
956
+ "type":"structure",
957
+ "required":["SizeConstraintSetId"],
958
+ "members":{
959
+ "SizeConstraintSetId":{"shape":"ResourceId"}
960
+ }
961
+ },
962
+ "GetSizeConstraintSetResponse":{
963
+ "type":"structure",
964
+ "members":{
965
+ "SizeConstraintSet":{"shape":"SizeConstraintSet"}
966
+ }
967
+ },
1247
968
  "GetSqlInjectionMatchSetRequest":{
1248
969
  "type":"structure",
1249
970
  "required":["SqlInjectionMatchSetId"],
@@ -1391,8 +1112,8 @@
1391
1112
  },
1392
1113
  "ListMaxItems":{
1393
1114
  "type":"long",
1394
- "min":1,
1395
- "max":100
1115
+ "max":100,
1116
+ "min":1
1396
1117
  },
1397
1118
  "ListRulesRequest":{
1398
1119
  "type":"structure",
@@ -1409,6 +1130,21 @@
1409
1130
  "Rules":{"shape":"RuleSummaries"}
1410
1131
  }
1411
1132
  },
1133
+ "ListSizeConstraintSetsRequest":{
1134
+ "type":"structure",
1135
+ "required":["Limit"],
1136
+ "members":{
1137
+ "NextMarker":{"shape":"NextMarker"},
1138
+ "Limit":{"shape":"PaginationLimit"}
1139
+ }
1140
+ },
1141
+ "ListSizeConstraintSetsResponse":{
1142
+ "type":"structure",
1143
+ "members":{
1144
+ "NextMarker":{"shape":"NextMarker"},
1145
+ "SizeConstraintSets":{"shape":"SizeConstraintSetSummaries"}
1146
+ }
1147
+ },
1412
1148
  "ListSqlInjectionMatchSetsRequest":{
1413
1149
  "type":"structure",
1414
1150
  "required":["Limit"],
@@ -1446,7 +1182,8 @@
1446
1182
  "URI",
1447
1183
  "QUERY_STRING",
1448
1184
  "HEADER",
1449
- "METHOD"
1185
+ "METHOD",
1186
+ "BODY"
1450
1187
  ]
1451
1188
  },
1452
1189
  "MetricName":{"type":"string"},
@@ -1457,8 +1194,8 @@
1457
1194
  },
1458
1195
  "PaginationLimit":{
1459
1196
  "type":"integer",
1460
- "min":1,
1461
- "max":100
1197
+ "max":100,
1198
+ "min":1
1462
1199
  },
1463
1200
  "ParameterExceptionField":{
1464
1201
  "type":"string",
@@ -1470,13 +1207,21 @@
1470
1207
  "BYTE_MATCH_FIELD_TYPE",
1471
1208
  "SQL_INJECTION_MATCH_FIELD_TYPE",
1472
1209
  "BYTE_MATCH_TEXT_TRANSFORMATION",
1473
- "BYTE_MATCH_POSITIONAL_CONSTRAINT"
1210
+ "BYTE_MATCH_POSITIONAL_CONSTRAINT",
1211
+ "SIZE_CONSTRAINT_COMPARISON_OPERATOR"
1474
1212
  ]
1475
1213
  },
1476
1214
  "ParameterExceptionParameter":{
1477
1215
  "type":"string",
1478
1216
  "min":1
1479
1217
  },
1218
+ "ParameterExceptionReason":{
1219
+ "type":"string",
1220
+ "enum":[
1221
+ "INVALID_OPTION",
1222
+ "ILLEGAL_COMBINATION"
1223
+ ]
1224
+ },
1480
1225
  "PopulationSize":{"type":"long"},
1481
1226
  "PositionalConstraint":{
1482
1227
  "type":"string",
@@ -1498,16 +1243,16 @@
1498
1243
  "members":{
1499
1244
  "Negated":{"shape":"Negated"},
1500
1245
  "Type":{"shape":"PredicateType"},
1501
- "DataId":{"shape":"PredicateDataId"}
1246
+ "DataId":{"shape":"ResourceId"}
1502
1247
  }
1503
1248
  },
1504
- "PredicateDataId":{"type":"string"},
1505
1249
  "PredicateType":{
1506
1250
  "type":"string",
1507
1251
  "enum":[
1508
1252
  "IPMatch",
1509
1253
  "ByteMatch",
1510
- "SqlInjectionMatch"
1254
+ "SqlInjectionMatch",
1255
+ "SizeConstraint"
1511
1256
  ]
1512
1257
  },
1513
1258
  "Predicates":{
@@ -1516,13 +1261,13 @@
1516
1261
  },
1517
1262
  "ResourceId":{
1518
1263
  "type":"string",
1519
- "min":1,
1520
- "max":128
1264
+ "max":128,
1265
+ "min":1
1521
1266
  },
1522
1267
  "ResourceName":{
1523
1268
  "type":"string",
1524
- "min":1,
1525
- "max":128
1269
+ "max":128,
1270
+ "min":1
1526
1271
  },
1527
1272
  "Rule":{
1528
1273
  "type":"structure",
@@ -1589,6 +1334,71 @@
1589
1334
  "type":"list",
1590
1335
  "member":{"shape":"SampledHTTPRequest"}
1591
1336
  },
1337
+ "Size":{
1338
+ "type":"long",
1339
+ "min":0
1340
+ },
1341
+ "SizeConstraint":{
1342
+ "type":"structure",
1343
+ "required":[
1344
+ "FieldToMatch",
1345
+ "TextTransformation",
1346
+ "ComparisonOperator",
1347
+ "Size"
1348
+ ],
1349
+ "members":{
1350
+ "FieldToMatch":{"shape":"FieldToMatch"},
1351
+ "TextTransformation":{"shape":"TextTransformation"},
1352
+ "ComparisonOperator":{"shape":"ComparisonOperator"},
1353
+ "Size":{"shape":"Size"}
1354
+ }
1355
+ },
1356
+ "SizeConstraintSet":{
1357
+ "type":"structure",
1358
+ "required":[
1359
+ "SizeConstraintSetId",
1360
+ "SizeConstraints"
1361
+ ],
1362
+ "members":{
1363
+ "SizeConstraintSetId":{"shape":"ResourceId"},
1364
+ "Name":{"shape":"ResourceName"},
1365
+ "SizeConstraints":{"shape":"SizeConstraints"}
1366
+ }
1367
+ },
1368
+ "SizeConstraintSetSummaries":{
1369
+ "type":"list",
1370
+ "member":{"shape":"SizeConstraintSetSummary"}
1371
+ },
1372
+ "SizeConstraintSetSummary":{
1373
+ "type":"structure",
1374
+ "required":[
1375
+ "SizeConstraintSetId",
1376
+ "Name"
1377
+ ],
1378
+ "members":{
1379
+ "SizeConstraintSetId":{"shape":"ResourceId"},
1380
+ "Name":{"shape":"ResourceName"}
1381
+ }
1382
+ },
1383
+ "SizeConstraintSetUpdate":{
1384
+ "type":"structure",
1385
+ "required":[
1386
+ "Action",
1387
+ "SizeConstraint"
1388
+ ],
1389
+ "members":{
1390
+ "Action":{"shape":"ChangeAction"},
1391
+ "SizeConstraint":{"shape":"SizeConstraint"}
1392
+ }
1393
+ },
1394
+ "SizeConstraintSetUpdates":{
1395
+ "type":"list",
1396
+ "member":{"shape":"SizeConstraintSetUpdate"}
1397
+ },
1398
+ "SizeConstraints":{
1399
+ "type":"list",
1400
+ "member":{"shape":"SizeConstraint"}
1401
+ },
1592
1402
  "SqlInjectionMatchSet":{
1593
1403
  "type":"structure",
1594
1404
  "required":[
@@ -1727,6 +1537,25 @@
1727
1537
  "ChangeToken":{"shape":"ChangeToken"}
1728
1538
  }
1729
1539
  },
1540
+ "UpdateSizeConstraintSetRequest":{
1541
+ "type":"structure",
1542
+ "required":[
1543
+ "SizeConstraintSetId",
1544
+ "ChangeToken",
1545
+ "Updates"
1546
+ ],
1547
+ "members":{
1548
+ "SizeConstraintSetId":{"shape":"ResourceId"},
1549
+ "ChangeToken":{"shape":"ChangeToken"},
1550
+ "Updates":{"shape":"SizeConstraintSetUpdates"}
1551
+ }
1552
+ },
1553
+ "UpdateSizeConstraintSetResponse":{
1554
+ "type":"structure",
1555
+ "members":{
1556
+ "ChangeToken":{"shape":"ChangeToken"}
1557
+ }
1558
+ },
1730
1559
  "UpdateSqlInjectionMatchSetRequest":{
1731
1560
  "type":"structure",
1732
1561
  "required":[
@@ -1797,7 +1626,8 @@
1797
1626
  "type":"structure",
1798
1627
  "members":{
1799
1628
  "field":{"shape":"ParameterExceptionField"},
1800
- "parameter":{"shape":"ParameterExceptionParameter"}
1629
+ "parameter":{"shape":"ParameterExceptionParameter"},
1630
+ "reason":{"shape":"ParameterExceptionReason"}
1801
1631
  },
1802
1632
  "exception":true
1803
1633
  },