aws-sdk-core 2.2.15 → 2.2.16

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ {
2
+ "version": "1.0",
3
+ "examples": {
4
+ }
5
+ }
@@ -3,9 +3,9 @@
3
3
  "metadata":{
4
4
  "apiVersion":"2015-03-31",
5
5
  "endpointPrefix":"lambda",
6
+ "protocol":"rest-json",
6
7
  "serviceFullName":"AWS Lambda",
7
- "signatureVersion":"v4",
8
- "protocol":"rest-json"
8
+ "signatureVersion":"v4"
9
9
  },
10
10
  "operations":{
11
11
  "AddPermission":{
@@ -18,36 +18,12 @@
18
18
  "input":{"shape":"AddPermissionRequest"},
19
19
  "output":{"shape":"AddPermissionResponse"},
20
20
  "errors":[
21
- {
22
- "shape":"ServiceException",
23
- "error":{"httpStatusCode":500},
24
- "exception":true
25
- },
26
- {
27
- "shape":"ResourceNotFoundException",
28
- "error":{"httpStatusCode":404},
29
- "exception":true
30
- },
31
- {
32
- "shape":"ResourceConflictException",
33
- "error":{"httpStatusCode":409},
34
- "exception":true
35
- },
36
- {
37
- "shape":"InvalidParameterValueException",
38
- "error":{"httpStatusCode":400},
39
- "exception":true
40
- },
41
- {
42
- "shape":"PolicyLengthExceededException",
43
- "error":{"httpStatusCode":400},
44
- "exception":true
45
- },
46
- {
47
- "shape":"TooManyRequestsException",
48
- "error":{"httpStatusCode":429},
49
- "exception":true
50
- }
21
+ {"shape":"ServiceException"},
22
+ {"shape":"ResourceNotFoundException"},
23
+ {"shape":"ResourceConflictException"},
24
+ {"shape":"InvalidParameterValueException"},
25
+ {"shape":"PolicyLengthExceededException"},
26
+ {"shape":"TooManyRequestsException"}
51
27
  ]
52
28
  },
53
29
  "CreateAlias":{
@@ -60,31 +36,11 @@
60
36
  "input":{"shape":"CreateAliasRequest"},
61
37
  "output":{"shape":"AliasConfiguration"},
62
38
  "errors":[
63
- {
64
- "shape":"ServiceException",
65
- "error":{"httpStatusCode":500},
66
- "exception":true
67
- },
68
- {
69
- "shape":"ResourceNotFoundException",
70
- "error":{"httpStatusCode":404},
71
- "exception":true
72
- },
73
- {
74
- "shape":"ResourceConflictException",
75
- "error":{"httpStatusCode":409},
76
- "exception":true
77
- },
78
- {
79
- "shape":"InvalidParameterValueException",
80
- "error":{"httpStatusCode":400},
81
- "exception":true
82
- },
83
- {
84
- "shape":"TooManyRequestsException",
85
- "error":{"httpStatusCode":429},
86
- "exception":true
87
- }
39
+ {"shape":"ServiceException"},
40
+ {"shape":"ResourceNotFoundException"},
41
+ {"shape":"ResourceConflictException"},
42
+ {"shape":"InvalidParameterValueException"},
43
+ {"shape":"TooManyRequestsException"}
88
44
  ]
89
45
  },
90
46
  "CreateEventSourceMapping":{
@@ -97,26 +53,10 @@
97
53
  "input":{"shape":"CreateEventSourceMappingRequest"},
98
54
  "output":{"shape":"EventSourceMappingConfiguration"},
99
55
  "errors":[
100
- {
101
- "shape":"ServiceException",
102
- "error":{"httpStatusCode":500},
103
- "exception":true
104
- },
105
- {
106
- "shape":"InvalidParameterValueException",
107
- "error":{"httpStatusCode":400},
108
- "exception":true
109
- },
110
- {
111
- "shape":"ResourceConflictException",
112
- "error":{"httpStatusCode":409},
113
- "exception":true
114
- },
115
- {
116
- "shape":"TooManyRequestsException",
117
- "error":{"httpStatusCode":429},
118
- "exception":true
119
- }
56
+ {"shape":"ServiceException"},
57
+ {"shape":"InvalidParameterValueException"},
58
+ {"shape":"ResourceConflictException"},
59
+ {"shape":"TooManyRequestsException"}
120
60
  ]
121
61
  },
122
62
  "CreateFunction":{
@@ -129,36 +69,12 @@
129
69
  "input":{"shape":"CreateFunctionRequest"},
130
70
  "output":{"shape":"FunctionConfiguration"},
131
71
  "errors":[
132
- {
133
- "shape":"ServiceException",
134
- "error":{"httpStatusCode":500},
135
- "exception":true
136
- },
137
- {
138
- "shape":"InvalidParameterValueException",
139
- "error":{"httpStatusCode":400},
140
- "exception":true
141
- },
142
- {
143
- "shape":"ResourceNotFoundException",
144
- "error":{"httpStatusCode":404},
145
- "exception":true
146
- },
147
- {
148
- "shape":"ResourceConflictException",
149
- "error":{"httpStatusCode":409},
150
- "exception":true
151
- },
152
- {
153
- "shape":"TooManyRequestsException",
154
- "error":{"httpStatusCode":429},
155
- "exception":true
156
- },
157
- {
158
- "shape":"CodeStorageExceededException",
159
- "error":{"httpStatusCode":400},
160
- "exception":true
161
- }
72
+ {"shape":"ServiceException"},
73
+ {"shape":"InvalidParameterValueException"},
74
+ {"shape":"ResourceNotFoundException"},
75
+ {"shape":"ResourceConflictException"},
76
+ {"shape":"TooManyRequestsException"},
77
+ {"shape":"CodeStorageExceededException"}
162
78
  ]
163
79
  },
164
80
  "DeleteAlias":{
@@ -170,21 +86,9 @@
170
86
  },
171
87
  "input":{"shape":"DeleteAliasRequest"},
172
88
  "errors":[
173
- {
174
- "shape":"ServiceException",
175
- "error":{"httpStatusCode":500},
176
- "exception":true
177
- },
178
- {
179
- "shape":"InvalidParameterValueException",
180
- "error":{"httpStatusCode":400},
181
- "exception":true
182
- },
183
- {
184
- "shape":"TooManyRequestsException",
185
- "error":{"httpStatusCode":429},
186
- "exception":true
187
- }
89
+ {"shape":"ServiceException"},
90
+ {"shape":"InvalidParameterValueException"},
91
+ {"shape":"TooManyRequestsException"}
188
92
  ]
189
93
  },
190
94
  "DeleteEventSourceMapping":{
@@ -197,26 +101,10 @@
197
101
  "input":{"shape":"DeleteEventSourceMappingRequest"},
198
102
  "output":{"shape":"EventSourceMappingConfiguration"},
199
103
  "errors":[
200
- {
201
- "shape":"ServiceException",
202
- "error":{"httpStatusCode":500},
203
- "exception":true
204
- },
205
- {
206
- "shape":"ResourceNotFoundException",
207
- "error":{"httpStatusCode":404},
208
- "exception":true
209
- },
210
- {
211
- "shape":"InvalidParameterValueException",
212
- "error":{"httpStatusCode":400},
213
- "exception":true
214
- },
215
- {
216
- "shape":"TooManyRequestsException",
217
- "error":{"httpStatusCode":429},
218
- "exception":true
219
- }
104
+ {"shape":"ServiceException"},
105
+ {"shape":"ResourceNotFoundException"},
106
+ {"shape":"InvalidParameterValueException"},
107
+ {"shape":"TooManyRequestsException"}
220
108
  ]
221
109
  },
222
110
  "DeleteFunction":{
@@ -228,31 +116,11 @@
228
116
  },
229
117
  "input":{"shape":"DeleteFunctionRequest"},
230
118
  "errors":[
231
- {
232
- "shape":"ServiceException",
233
- "error":{"httpStatusCode":500},
234
- "exception":true
235
- },
236
- {
237
- "shape":"ResourceNotFoundException",
238
- "error":{"httpStatusCode":404},
239
- "exception":true
240
- },
241
- {
242
- "shape":"TooManyRequestsException",
243
- "error":{"httpStatusCode":429},
244
- "exception":true
245
- },
246
- {
247
- "shape":"InvalidParameterValueException",
248
- "error":{"httpStatusCode":400},
249
- "exception":true
250
- },
251
- {
252
- "shape":"ResourceConflictException",
253
- "error":{"httpStatusCode":409},
254
- "exception":true
255
- }
119
+ {"shape":"ServiceException"},
120
+ {"shape":"ResourceNotFoundException"},
121
+ {"shape":"TooManyRequestsException"},
122
+ {"shape":"InvalidParameterValueException"},
123
+ {"shape":"ResourceConflictException"}
256
124
  ]
257
125
  },
258
126
  "GetAlias":{
@@ -265,26 +133,10 @@
265
133
  "input":{"shape":"GetAliasRequest"},
266
134
  "output":{"shape":"AliasConfiguration"},
267
135
  "errors":[
268
- {
269
- "shape":"ServiceException",
270
- "error":{"httpStatusCode":500},
271
- "exception":true
272
- },
273
- {
274
- "shape":"ResourceNotFoundException",
275
- "error":{"httpStatusCode":404},
276
- "exception":true
277
- },
278
- {
279
- "shape":"InvalidParameterValueException",
280
- "error":{"httpStatusCode":400},
281
- "exception":true
282
- },
283
- {
284
- "shape":"TooManyRequestsException",
285
- "error":{"httpStatusCode":429},
286
- "exception":true
287
- }
136
+ {"shape":"ServiceException"},
137
+ {"shape":"ResourceNotFoundException"},
138
+ {"shape":"InvalidParameterValueException"},
139
+ {"shape":"TooManyRequestsException"}
288
140
  ]
289
141
  },
290
142
  "GetEventSourceMapping":{
@@ -297,26 +149,10 @@
297
149
  "input":{"shape":"GetEventSourceMappingRequest"},
298
150
  "output":{"shape":"EventSourceMappingConfiguration"},
299
151
  "errors":[
300
- {
301
- "shape":"ServiceException",
302
- "error":{"httpStatusCode":500},
303
- "exception":true
304
- },
305
- {
306
- "shape":"ResourceNotFoundException",
307
- "error":{"httpStatusCode":404},
308
- "exception":true
309
- },
310
- {
311
- "shape":"InvalidParameterValueException",
312
- "error":{"httpStatusCode":400},
313
- "exception":true
314
- },
315
- {
316
- "shape":"TooManyRequestsException",
317
- "error":{"httpStatusCode":429},
318
- "exception":true
319
- }
152
+ {"shape":"ServiceException"},
153
+ {"shape":"ResourceNotFoundException"},
154
+ {"shape":"InvalidParameterValueException"},
155
+ {"shape":"TooManyRequestsException"}
320
156
  ]
321
157
  },
322
158
  "GetFunction":{
@@ -329,26 +165,10 @@
329
165
  "input":{"shape":"GetFunctionRequest"},
330
166
  "output":{"shape":"GetFunctionResponse"},
331
167
  "errors":[
332
- {
333
- "shape":"ServiceException",
334
- "error":{"httpStatusCode":500},
335
- "exception":true
336
- },
337
- {
338
- "shape":"ResourceNotFoundException",
339
- "error":{"httpStatusCode":404},
340
- "exception":true
341
- },
342
- {
343
- "shape":"TooManyRequestsException",
344
- "error":{"httpStatusCode":429},
345
- "exception":true
346
- },
347
- {
348
- "shape":"InvalidParameterValueException",
349
- "error":{"httpStatusCode":400},
350
- "exception":true
351
- }
168
+ {"shape":"ServiceException"},
169
+ {"shape":"ResourceNotFoundException"},
170
+ {"shape":"TooManyRequestsException"},
171
+ {"shape":"InvalidParameterValueException"}
352
172
  ]
353
173
  },
354
174
  "GetFunctionConfiguration":{
@@ -361,26 +181,10 @@
361
181
  "input":{"shape":"GetFunctionConfigurationRequest"},
362
182
  "output":{"shape":"FunctionConfiguration"},
363
183
  "errors":[
364
- {
365
- "shape":"ServiceException",
366
- "error":{"httpStatusCode":500},
367
- "exception":true
368
- },
369
- {
370
- "shape":"ResourceNotFoundException",
371
- "error":{"httpStatusCode":404},
372
- "exception":true
373
- },
374
- {
375
- "shape":"TooManyRequestsException",
376
- "error":{"httpStatusCode":429},
377
- "exception":true
378
- },
379
- {
380
- "shape":"InvalidParameterValueException",
381
- "error":{"httpStatusCode":400},
382
- "exception":true
383
- }
184
+ {"shape":"ServiceException"},
185
+ {"shape":"ResourceNotFoundException"},
186
+ {"shape":"TooManyRequestsException"},
187
+ {"shape":"InvalidParameterValueException"}
384
188
  ]
385
189
  },
386
190
  "GetPolicy":{
@@ -393,26 +197,10 @@
393
197
  "input":{"shape":"GetPolicyRequest"},
394
198
  "output":{"shape":"GetPolicyResponse"},
395
199
  "errors":[
396
- {
397
- "shape":"ServiceException",
398
- "error":{"httpStatusCode":500},
399
- "exception":true
400
- },
401
- {
402
- "shape":"ResourceNotFoundException",
403
- "error":{"httpStatusCode":404},
404
- "exception":true
405
- },
406
- {
407
- "shape":"TooManyRequestsException",
408
- "error":{"httpStatusCode":429},
409
- "exception":true
410
- },
411
- {
412
- "shape":"InvalidParameterValueException",
413
- "error":{"httpStatusCode":400},
414
- "exception":true
415
- }
200
+ {"shape":"ServiceException"},
201
+ {"shape":"ResourceNotFoundException"},
202
+ {"shape":"TooManyRequestsException"},
203
+ {"shape":"InvalidParameterValueException"}
416
204
  ]
417
205
  },
418
206
  "Invoke":{
@@ -424,41 +212,20 @@
424
212
  "input":{"shape":"InvocationRequest"},
425
213
  "output":{"shape":"InvocationResponse"},
426
214
  "errors":[
427
- {
428
- "shape":"ServiceException",
429
- "error":{"httpStatusCode":500},
430
- "exception":true
431
- },
432
- {
433
- "shape":"ResourceNotFoundException",
434
- "error":{"httpStatusCode":404},
435
- "exception":true
436
- },
437
- {
438
- "shape":"InvalidRequestContentException",
439
- "error":{"httpStatusCode":400},
440
- "exception":true
441
- },
442
- {
443
- "shape":"RequestTooLargeException",
444
- "error":{"httpStatusCode":413},
445
- "exception":true
446
- },
447
- {
448
- "shape":"UnsupportedMediaTypeException",
449
- "error":{"httpStatusCode":415},
450
- "exception":true
451
- },
452
- {
453
- "shape":"TooManyRequestsException",
454
- "error":{"httpStatusCode":429},
455
- "exception":true
456
- },
457
- {
458
- "shape":"InvalidParameterValueException",
459
- "error":{"httpStatusCode":400},
460
- "exception":true
461
- }
215
+ {"shape":"ServiceException"},
216
+ {"shape":"ResourceNotFoundException"},
217
+ {"shape":"InvalidRequestContentException"},
218
+ {"shape":"RequestTooLargeException"},
219
+ {"shape":"UnsupportedMediaTypeException"},
220
+ {"shape":"TooManyRequestsException"},
221
+ {"shape":"InvalidParameterValueException"},
222
+ {"shape":"EC2UnexpectedException"},
223
+ {"shape":"SubnetIPAddressLimitReachedException"},
224
+ {"shape":"ENILimitReachedException"},
225
+ {"shape":"EC2ThrottledException"},
226
+ {"shape":"EC2AccessDeniedException"},
227
+ {"shape":"InvalidSubnetIDException"},
228
+ {"shape":"InvalidSecurityGroupIDException"}
462
229
  ]
463
230
  },
464
231
  "InvokeAsync":{
@@ -468,30 +235,12 @@
468
235
  "requestUri":"/2014-11-13/functions/{FunctionName}/invoke-async/",
469
236
  "responseCode":202
470
237
  },
471
- "input":{
472
- "shape":"InvokeAsyncRequest",
473
- "deprecated":true
474
- },
475
- "output":{
476
- "shape":"InvokeAsyncResponse",
477
- "deprecated":true
478
- },
238
+ "input":{"shape":"InvokeAsyncRequest"},
239
+ "output":{"shape":"InvokeAsyncResponse"},
479
240
  "errors":[
480
- {
481
- "shape":"ServiceException",
482
- "error":{"httpStatusCode":500},
483
- "exception":true
484
- },
485
- {
486
- "shape":"ResourceNotFoundException",
487
- "error":{"httpStatusCode":404},
488
- "exception":true
489
- },
490
- {
491
- "shape":"InvalidRequestContentException",
492
- "error":{"httpStatusCode":400},
493
- "exception":true
494
- }
241
+ {"shape":"ServiceException"},
242
+ {"shape":"ResourceNotFoundException"},
243
+ {"shape":"InvalidRequestContentException"}
495
244
  ],
496
245
  "deprecated":true
497
246
  },
@@ -505,26 +254,10 @@
505
254
  "input":{"shape":"ListAliasesRequest"},
506
255
  "output":{"shape":"ListAliasesResponse"},
507
256
  "errors":[
508
- {
509
- "shape":"ServiceException",
510
- "error":{"httpStatusCode":500},
511
- "exception":true
512
- },
513
- {
514
- "shape":"ResourceNotFoundException",
515
- "error":{"httpStatusCode":404},
516
- "exception":true
517
- },
518
- {
519
- "shape":"InvalidParameterValueException",
520
- "error":{"httpStatusCode":400},
521
- "exception":true
522
- },
523
- {
524
- "shape":"TooManyRequestsException",
525
- "error":{"httpStatusCode":429},
526
- "exception":true
527
- }
257
+ {"shape":"ServiceException"},
258
+ {"shape":"ResourceNotFoundException"},
259
+ {"shape":"InvalidParameterValueException"},
260
+ {"shape":"TooManyRequestsException"}
528
261
  ]
529
262
  },
530
263
  "ListEventSourceMappings":{
@@ -537,26 +270,10 @@
537
270
  "input":{"shape":"ListEventSourceMappingsRequest"},
538
271
  "output":{"shape":"ListEventSourceMappingsResponse"},
539
272
  "errors":[
540
- {
541
- "shape":"ServiceException",
542
- "error":{"httpStatusCode":500},
543
- "exception":true
544
- },
545
- {
546
- "shape":"ResourceNotFoundException",
547
- "error":{"httpStatusCode":404},
548
- "exception":true
549
- },
550
- {
551
- "shape":"InvalidParameterValueException",
552
- "error":{"httpStatusCode":400},
553
- "exception":true
554
- },
555
- {
556
- "shape":"TooManyRequestsException",
557
- "error":{"httpStatusCode":429},
558
- "exception":true
559
- }
273
+ {"shape":"ServiceException"},
274
+ {"shape":"ResourceNotFoundException"},
275
+ {"shape":"InvalidParameterValueException"},
276
+ {"shape":"TooManyRequestsException"}
560
277
  ]
561
278
  },
562
279
  "ListFunctions":{
@@ -569,16 +286,8 @@
569
286
  "input":{"shape":"ListFunctionsRequest"},
570
287
  "output":{"shape":"ListFunctionsResponse"},
571
288
  "errors":[
572
- {
573
- "shape":"ServiceException",
574
- "error":{"httpStatusCode":500},
575
- "exception":true
576
- },
577
- {
578
- "shape":"TooManyRequestsException",
579
- "error":{"httpStatusCode":429},
580
- "exception":true
581
- }
289
+ {"shape":"ServiceException"},
290
+ {"shape":"TooManyRequestsException"}
582
291
  ]
583
292
  },
584
293
  "ListVersionsByFunction":{
@@ -591,26 +300,10 @@
591
300
  "input":{"shape":"ListVersionsByFunctionRequest"},
592
301
  "output":{"shape":"ListVersionsByFunctionResponse"},
593
302
  "errors":[
594
- {
595
- "shape":"ServiceException",
596
- "error":{"httpStatusCode":500},
597
- "exception":true
598
- },
599
- {
600
- "shape":"ResourceNotFoundException",
601
- "error":{"httpStatusCode":404},
602
- "exception":true
603
- },
604
- {
605
- "shape":"InvalidParameterValueException",
606
- "error":{"httpStatusCode":400},
607
- "exception":true
608
- },
609
- {
610
- "shape":"TooManyRequestsException",
611
- "error":{"httpStatusCode":429},
612
- "exception":true
613
- }
303
+ {"shape":"ServiceException"},
304
+ {"shape":"ResourceNotFoundException"},
305
+ {"shape":"InvalidParameterValueException"},
306
+ {"shape":"TooManyRequestsException"}
614
307
  ]
615
308
  },
616
309
  "PublishVersion":{
@@ -623,31 +316,11 @@
623
316
  "input":{"shape":"PublishVersionRequest"},
624
317
  "output":{"shape":"FunctionConfiguration"},
625
318
  "errors":[
626
- {
627
- "shape":"ServiceException",
628
- "error":{"httpStatusCode":500},
629
- "exception":true
630
- },
631
- {
632
- "shape":"ResourceNotFoundException",
633
- "error":{"httpStatusCode":404},
634
- "exception":true
635
- },
636
- {
637
- "shape":"InvalidParameterValueException",
638
- "error":{"httpStatusCode":400},
639
- "exception":true
640
- },
641
- {
642
- "shape":"TooManyRequestsException",
643
- "error":{"httpStatusCode":429},
644
- "exception":true
645
- },
646
- {
647
- "shape":"CodeStorageExceededException",
648
- "error":{"httpStatusCode":400},
649
- "exception":true
650
- }
319
+ {"shape":"ServiceException"},
320
+ {"shape":"ResourceNotFoundException"},
321
+ {"shape":"InvalidParameterValueException"},
322
+ {"shape":"TooManyRequestsException"},
323
+ {"shape":"CodeStorageExceededException"}
651
324
  ]
652
325
  },
653
326
  "RemovePermission":{
@@ -659,26 +332,10 @@
659
332
  },
660
333
  "input":{"shape":"RemovePermissionRequest"},
661
334
  "errors":[
662
- {
663
- "shape":"ServiceException",
664
- "error":{"httpStatusCode":500},
665
- "exception":true
666
- },
667
- {
668
- "shape":"ResourceNotFoundException",
669
- "error":{"httpStatusCode":404},
670
- "exception":true
671
- },
672
- {
673
- "shape":"InvalidParameterValueException",
674
- "error":{"httpStatusCode":400},
675
- "exception":true
676
- },
677
- {
678
- "shape":"TooManyRequestsException",
679
- "error":{"httpStatusCode":429},
680
- "exception":true
681
- }
335
+ {"shape":"ServiceException"},
336
+ {"shape":"ResourceNotFoundException"},
337
+ {"shape":"InvalidParameterValueException"},
338
+ {"shape":"TooManyRequestsException"}
682
339
  ]
683
340
  },
684
341
  "UpdateAlias":{
@@ -691,26 +348,10 @@
691
348
  "input":{"shape":"UpdateAliasRequest"},
692
349
  "output":{"shape":"AliasConfiguration"},
693
350
  "errors":[
694
- {
695
- "shape":"ServiceException",
696
- "error":{"httpStatusCode":500},
697
- "exception":true
698
- },
699
- {
700
- "shape":"ResourceNotFoundException",
701
- "error":{"httpStatusCode":404},
702
- "exception":true
703
- },
704
- {
705
- "shape":"InvalidParameterValueException",
706
- "error":{"httpStatusCode":400},
707
- "exception":true
708
- },
709
- {
710
- "shape":"TooManyRequestsException",
711
- "error":{"httpStatusCode":429},
712
- "exception":true
713
- }
351
+ {"shape":"ServiceException"},
352
+ {"shape":"ResourceNotFoundException"},
353
+ {"shape":"InvalidParameterValueException"},
354
+ {"shape":"TooManyRequestsException"}
714
355
  ]
715
356
  },
716
357
  "UpdateEventSourceMapping":{
@@ -723,31 +364,11 @@
723
364
  "input":{"shape":"UpdateEventSourceMappingRequest"},
724
365
  "output":{"shape":"EventSourceMappingConfiguration"},
725
366
  "errors":[
726
- {
727
- "shape":"ServiceException",
728
- "error":{"httpStatusCode":500},
729
- "exception":true
730
- },
731
- {
732
- "shape":"ResourceNotFoundException",
733
- "error":{"httpStatusCode":404},
734
- "exception":true
735
- },
736
- {
737
- "shape":"InvalidParameterValueException",
738
- "error":{"httpStatusCode":400},
739
- "exception":true
740
- },
741
- {
742
- "shape":"TooManyRequestsException",
743
- "error":{"httpStatusCode":429},
744
- "exception":true
745
- },
746
- {
747
- "shape":"ResourceConflictException",
748
- "error":{"httpStatusCode":409},
749
- "exception":true
750
- }
367
+ {"shape":"ServiceException"},
368
+ {"shape":"ResourceNotFoundException"},
369
+ {"shape":"InvalidParameterValueException"},
370
+ {"shape":"TooManyRequestsException"},
371
+ {"shape":"ResourceConflictException"}
751
372
  ]
752
373
  },
753
374
  "UpdateFunctionCode":{
@@ -760,31 +381,11 @@
760
381
  "input":{"shape":"UpdateFunctionCodeRequest"},
761
382
  "output":{"shape":"FunctionConfiguration"},
762
383
  "errors":[
763
- {
764
- "shape":"ServiceException",
765
- "error":{"httpStatusCode":500},
766
- "exception":true
767
- },
768
- {
769
- "shape":"ResourceNotFoundException",
770
- "error":{"httpStatusCode":404},
771
- "exception":true
772
- },
773
- {
774
- "shape":"InvalidParameterValueException",
775
- "error":{"httpStatusCode":400},
776
- "exception":true
777
- },
778
- {
779
- "shape":"TooManyRequestsException",
780
- "error":{"httpStatusCode":429},
781
- "exception":true
782
- },
783
- {
784
- "shape":"CodeStorageExceededException",
785
- "error":{"httpStatusCode":400},
786
- "exception":true
787
- }
384
+ {"shape":"ServiceException"},
385
+ {"shape":"ResourceNotFoundException"},
386
+ {"shape":"InvalidParameterValueException"},
387
+ {"shape":"TooManyRequestsException"},
388
+ {"shape":"CodeStorageExceededException"}
788
389
  ]
789
390
  },
790
391
  "UpdateFunctionConfiguration":{
@@ -797,26 +398,10 @@
797
398
  "input":{"shape":"UpdateFunctionConfigurationRequest"},
798
399
  "output":{"shape":"FunctionConfiguration"},
799
400
  "errors":[
800
- {
801
- "shape":"ServiceException",
802
- "error":{"httpStatusCode":500},
803
- "exception":true
804
- },
805
- {
806
- "shape":"ResourceNotFoundException",
807
- "error":{"httpStatusCode":404},
808
- "exception":true
809
- },
810
- {
811
- "shape":"InvalidParameterValueException",
812
- "error":{"httpStatusCode":400},
813
- "exception":true
814
- },
815
- {
816
- "shape":"TooManyRequestsException",
817
- "error":{"httpStatusCode":429},
818
- "exception":true
819
- }
401
+ {"shape":"ServiceException"},
402
+ {"shape":"ResourceNotFoundException"},
403
+ {"shape":"InvalidParameterValueException"},
404
+ {"shape":"TooManyRequestsException"}
820
405
  ]
821
406
  }
822
407
  },
@@ -859,8 +444,8 @@
859
444
  },
860
445
  "Alias":{
861
446
  "type":"string",
862
- "min":1,
863
447
  "max":128,
448
+ "min":1,
864
449
  "pattern":"(?!^[0-9]+$)([a-zA-Z0-9-_]+)"
865
450
  },
866
451
  "AliasConfiguration":{
@@ -882,8 +467,8 @@
882
467
  },
883
468
  "BatchSize":{
884
469
  "type":"integer",
885
- "min":1,
886
- "max":10000
470
+ "max":10000,
471
+ "min":1
887
472
  },
888
473
  "Blob":{"type":"blob"},
889
474
  "BlobStream":{
@@ -951,7 +536,8 @@
951
536
  "Description":{"shape":"Description"},
952
537
  "Timeout":{"shape":"Timeout"},
953
538
  "MemorySize":{"shape":"MemorySize"},
954
- "Publish":{"shape":"Boolean"}
539
+ "Publish":{"shape":"Boolean"},
540
+ "VpcConfig":{"shape":"VpcConfig"}
955
541
  }
956
542
  },
957
543
  "Date":{"type":"timestamp"},
@@ -1003,8 +589,45 @@
1003
589
  },
1004
590
  "Description":{
1005
591
  "type":"string",
1006
- "min":0,
1007
- "max":256
592
+ "max":256,
593
+ "min":0
594
+ },
595
+ "EC2AccessDeniedException":{
596
+ "type":"structure",
597
+ "members":{
598
+ "Type":{"shape":"String"},
599
+ "Message":{"shape":"String"}
600
+ },
601
+ "error":{"httpStatusCode":502},
602
+ "exception":true
603
+ },
604
+ "EC2ThrottledException":{
605
+ "type":"structure",
606
+ "members":{
607
+ "Type":{"shape":"String"},
608
+ "Message":{"shape":"String"}
609
+ },
610
+ "error":{"httpStatusCode":502},
611
+ "exception":true
612
+ },
613
+ "EC2UnexpectedException":{
614
+ "type":"structure",
615
+ "members":{
616
+ "Type":{"shape":"String"},
617
+ "Message":{"shape":"String"},
618
+ "EC2ErrorCode":{"shape":"String"}
619
+ },
620
+ "error":{"httpStatusCode":502},
621
+ "exception":true
622
+ },
623
+ "ENILimitReachedException":{
624
+ "type":"structure",
625
+ "members":{
626
+ "Type":{"shape":"String"},
627
+ "Message":{"shape":"String"}
628
+ },
629
+ "error":{"httpStatusCode":502},
630
+ "exception":true
1008
631
  },
1009
632
  "Enabled":{"type":"boolean"},
1010
633
  "EventSourceMappingConfiguration":{
@@ -1065,7 +688,8 @@
1065
688
  "MemorySize":{"shape":"MemorySize"},
1066
689
  "LastModified":{"shape":"Timestamp"},
1067
690
  "CodeSha256":{"shape":"String"},
1068
- "Version":{"shape":"Version"}
691
+ "Version":{"shape":"Version"},
692
+ "VpcConfig":{"shape":"VpcConfigResponse"}
1069
693
  }
1070
694
  },
1071
695
  "FunctionList":{
@@ -1074,8 +698,8 @@
1074
698
  },
1075
699
  "FunctionName":{
1076
700
  "type":"string",
1077
- "min":1,
1078
701
  "max":140,
702
+ "min":1,
1079
703
  "pattern":"(arn:aws:lambda:)?([a-z]{2}-[a-z]+-\\d{1}:)?(\\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\\$LATEST|[a-zA-Z0-9-_]+))?"
1080
704
  },
1081
705
  "GetAliasRequest":{
@@ -1156,7 +780,11 @@
1156
780
  "location":"uri",
1157
781
  "locationName":"FunctionName"
1158
782
  },
1159
- "Qualifier":{"shape":"Qualifier"}
783
+ "Qualifier":{
784
+ "shape":"Qualifier",
785
+ "location":"querystring",
786
+ "locationName":"Qualifier"
787
+ }
1160
788
  }
1161
789
  },
1162
790
  "GetPolicyResponse":{
@@ -1190,6 +818,24 @@
1190
818
  "error":{"httpStatusCode":400},
1191
819
  "exception":true
1192
820
  },
821
+ "InvalidSecurityGroupIDException":{
822
+ "type":"structure",
823
+ "members":{
824
+ "Type":{"shape":"String"},
825
+ "Message":{"shape":"String"}
826
+ },
827
+ "error":{"httpStatusCode":502},
828
+ "exception":true
829
+ },
830
+ "InvalidSubnetIDException":{
831
+ "type":"structure",
832
+ "members":{
833
+ "Type":{"shape":"String"},
834
+ "Message":{"shape":"String"}
835
+ },
836
+ "error":{"httpStatusCode":502},
837
+ "exception":true
838
+ },
1193
839
  "InvocationRequest":{
1194
840
  "type":"structure",
1195
841
  "required":["FunctionName"],
@@ -1404,13 +1050,13 @@
1404
1050
  "Long":{"type":"long"},
1405
1051
  "MaxListItems":{
1406
1052
  "type":"integer",
1407
- "min":1,
1408
- "max":10000
1053
+ "max":10000,
1054
+ "min":1
1409
1055
  },
1410
1056
  "MemorySize":{
1411
1057
  "type":"integer",
1412
- "min":128,
1413
- "max":1536
1058
+ "max":1536,
1059
+ "min":128
1414
1060
  },
1415
1061
  "PolicyLengthExceededException":{
1416
1062
  "type":"structure",
@@ -1440,9 +1086,9 @@
1440
1086
  },
1441
1087
  "Qualifier":{
1442
1088
  "type":"string",
1443
- "min":1,
1444
1089
  "max":128,
1445
- "pattern":"(|[a-zA-Z0-9$_]+)"
1090
+ "min":1,
1091
+ "pattern":"(|[a-zA-Z0-9$_-]+)"
1446
1092
  },
1447
1093
  "RemovePermissionRequest":{
1448
1094
  "type":"structure",
@@ -1509,19 +1155,25 @@
1509
1155
  },
1510
1156
  "S3Bucket":{
1511
1157
  "type":"string",
1512
- "min":3,
1513
1158
  "max":63,
1159
+ "min":3,
1514
1160
  "pattern":"^[0-9A-Za-z\\.\\-_]*(?<!\\.)$"
1515
1161
  },
1516
1162
  "S3Key":{
1517
1163
  "type":"string",
1518
- "min":1,
1519
- "max":1024
1164
+ "max":1024,
1165
+ "min":1
1520
1166
  },
1521
1167
  "S3ObjectVersion":{
1522
1168
  "type":"string",
1523
- "min":1,
1524
- "max":1024
1169
+ "max":1024,
1170
+ "min":1
1171
+ },
1172
+ "SecurityGroupId":{"type":"string"},
1173
+ "SecurityGroupIds":{
1174
+ "type":"list",
1175
+ "member":{"shape":"SecurityGroupId"},
1176
+ "max":5
1525
1177
  },
1526
1178
  "ServiceException":{
1527
1179
  "type":"structure",
@@ -1538,11 +1190,26 @@
1538
1190
  },
1539
1191
  "StatementId":{
1540
1192
  "type":"string",
1541
- "min":1,
1542
1193
  "max":100,
1194
+ "min":1,
1543
1195
  "pattern":"([a-zA-Z0-9-_]+)"
1544
1196
  },
1545
1197
  "String":{"type":"string"},
1198
+ "SubnetIPAddressLimitReachedException":{
1199
+ "type":"structure",
1200
+ "members":{
1201
+ "Type":{"shape":"String"},
1202
+ "Message":{"shape":"String"}
1203
+ },
1204
+ "error":{"httpStatusCode":502},
1205
+ "exception":true
1206
+ },
1207
+ "SubnetId":{"type":"string"},
1208
+ "SubnetIds":{
1209
+ "type":"list",
1210
+ "member":{"shape":"SubnetId"},
1211
+ "max":16
1212
+ },
1546
1213
  "Timeout":{
1547
1214
  "type":"integer",
1548
1215
  "min":1
@@ -1635,14 +1302,31 @@
1635
1302
  "Handler":{"shape":"Handler"},
1636
1303
  "Description":{"shape":"Description"},
1637
1304
  "Timeout":{"shape":"Timeout"},
1638
- "MemorySize":{"shape":"MemorySize"}
1305
+ "MemorySize":{"shape":"MemorySize"},
1306
+ "VpcConfig":{"shape":"VpcConfig"}
1639
1307
  }
1640
1308
  },
1641
1309
  "Version":{
1642
1310
  "type":"string",
1643
- "min":1,
1644
1311
  "max":1024,
1312
+ "min":1,
1645
1313
  "pattern":"(\\$LATEST|[0-9]+)"
1646
- }
1314
+ },
1315
+ "VpcConfig":{
1316
+ "type":"structure",
1317
+ "members":{
1318
+ "SubnetIds":{"shape":"SubnetIds"},
1319
+ "SecurityGroupIds":{"shape":"SecurityGroupIds"}
1320
+ }
1321
+ },
1322
+ "VpcConfigResponse":{
1323
+ "type":"structure",
1324
+ "members":{
1325
+ "SubnetIds":{"shape":"SubnetIds"},
1326
+ "SecurityGroupIds":{"shape":"SecurityGroupIds"},
1327
+ "VpcId":{"shape":"VpcId"}
1328
+ }
1329
+ },
1330
+ "VpcId":{"type":"string"}
1647
1331
  }
1648
1332
  }