aws-sdk-core 2.1.28 → 2.1.29

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,7 @@
12
12
  "name":"AddPermission",
13
13
  "http":{
14
14
  "method":"POST",
15
- "requestUri":"/2015-03-31/functions/{FunctionName}/versions/HEAD/policy",
15
+ "requestUri":"/2015-03-31/functions/{FunctionName}/policy",
16
16
  "responseCode":201
17
17
  },
18
18
  "input":{"shape":"AddPermissionRequest"},
@@ -50,6 +50,43 @@
50
50
  }
51
51
  ]
52
52
  },
53
+ "CreateAlias":{
54
+ "name":"CreateAlias",
55
+ "http":{
56
+ "method":"POST",
57
+ "requestUri":"/2015-03-31/functions/{FunctionName}/aliases",
58
+ "responseCode":201
59
+ },
60
+ "input":{"shape":"CreateAliasRequest"},
61
+ "output":{"shape":"AliasConfiguration"},
62
+ "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
+ }
88
+ ]
89
+ },
53
90
  "CreateEventSourceMapping":{
54
91
  "name":"CreateEventSourceMapping",
55
92
  "http":{
@@ -124,6 +161,32 @@
124
161
  }
125
162
  ]
126
163
  },
164
+ "DeleteAlias":{
165
+ "name":"DeleteAlias",
166
+ "http":{
167
+ "method":"DELETE",
168
+ "requestUri":"/2015-03-31/functions/{FunctionName}/aliases/{Name}",
169
+ "responseCode":204
170
+ },
171
+ "input":{"shape":"DeleteAliasRequest"},
172
+ "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
+ }
188
+ ]
189
+ },
127
190
  "DeleteEventSourceMapping":{
128
191
  "name":"DeleteEventSourceMapping",
129
192
  "http":{
@@ -175,6 +238,48 @@
175
238
  "error":{"httpStatusCode":404},
176
239
  "exception":true
177
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
+ }
256
+ ]
257
+ },
258
+ "GetAlias":{
259
+ "name":"GetAlias",
260
+ "http":{
261
+ "method":"GET",
262
+ "requestUri":"/2015-03-31/functions/{FunctionName}/aliases/{Name}",
263
+ "responseCode":200
264
+ },
265
+ "input":{"shape":"GetAliasRequest"},
266
+ "output":{"shape":"AliasConfiguration"},
267
+ "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
+ },
178
283
  {
179
284
  "shape":"TooManyRequestsException",
180
285
  "error":{"httpStatusCode":429},
@@ -218,7 +323,7 @@
218
323
  "name":"GetFunction",
219
324
  "http":{
220
325
  "method":"GET",
221
- "requestUri":"/2015-03-31/functions/{FunctionName}/versions/HEAD",
326
+ "requestUri":"/2015-03-31/functions/{FunctionName}",
222
327
  "responseCode":200
223
328
  },
224
329
  "input":{"shape":"GetFunctionRequest"},
@@ -238,6 +343,11 @@
238
343
  "shape":"TooManyRequestsException",
239
344
  "error":{"httpStatusCode":429},
240
345
  "exception":true
346
+ },
347
+ {
348
+ "shape":"InvalidParameterValueException",
349
+ "error":{"httpStatusCode":400},
350
+ "exception":true
241
351
  }
242
352
  ]
243
353
  },
@@ -245,7 +355,7 @@
245
355
  "name":"GetFunctionConfiguration",
246
356
  "http":{
247
357
  "method":"GET",
248
- "requestUri":"/2015-03-31/functions/{FunctionName}/versions/HEAD/configuration",
358
+ "requestUri":"/2015-03-31/functions/{FunctionName}/configuration",
249
359
  "responseCode":200
250
360
  },
251
361
  "input":{"shape":"GetFunctionConfigurationRequest"},
@@ -265,6 +375,11 @@
265
375
  "shape":"TooManyRequestsException",
266
376
  "error":{"httpStatusCode":429},
267
377
  "exception":true
378
+ },
379
+ {
380
+ "shape":"InvalidParameterValueException",
381
+ "error":{"httpStatusCode":400},
382
+ "exception":true
268
383
  }
269
384
  ]
270
385
  },
@@ -272,7 +387,7 @@
272
387
  "name":"GetPolicy",
273
388
  "http":{
274
389
  "method":"GET",
275
- "requestUri":"/2015-03-31/functions/{FunctionName}/versions/HEAD/policy",
390
+ "requestUri":"/2015-03-31/functions/{FunctionName}/policy",
276
391
  "responseCode":200
277
392
  },
278
393
  "input":{"shape":"GetPolicyRequest"},
@@ -292,6 +407,11 @@
292
407
  "shape":"TooManyRequestsException",
293
408
  "error":{"httpStatusCode":429},
294
409
  "exception":true
410
+ },
411
+ {
412
+ "shape":"InvalidParameterValueException",
413
+ "error":{"httpStatusCode":400},
414
+ "exception":true
295
415
  }
296
416
  ]
297
417
  },
@@ -333,6 +453,11 @@
333
453
  "shape":"TooManyRequestsException",
334
454
  "error":{"httpStatusCode":429},
335
455
  "exception":true
456
+ },
457
+ {
458
+ "shape":"InvalidParameterValueException",
459
+ "error":{"httpStatusCode":400},
460
+ "exception":true
336
461
  }
337
462
  ]
338
463
  },
@@ -370,6 +495,38 @@
370
495
  ],
371
496
  "deprecated":true
372
497
  },
498
+ "ListAliases":{
499
+ "name":"ListAliases",
500
+ "http":{
501
+ "method":"GET",
502
+ "requestUri":"/2015-03-31/functions/{FunctionName}/aliases",
503
+ "responseCode":200
504
+ },
505
+ "input":{"shape":"ListAliasesRequest"},
506
+ "output":{"shape":"ListAliasesResponse"},
507
+ "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
+ }
528
+ ]
529
+ },
373
530
  "ListEventSourceMappings":{
374
531
  "name":"ListEventSourceMappings",
375
532
  "http":{
@@ -424,11 +581,80 @@
424
581
  }
425
582
  ]
426
583
  },
584
+ "ListVersionsByFunction":{
585
+ "name":"ListVersionsByFunction",
586
+ "http":{
587
+ "method":"GET",
588
+ "requestUri":"/2015-03-31/functions/{FunctionName}/versions",
589
+ "responseCode":200
590
+ },
591
+ "input":{"shape":"ListVersionsByFunctionRequest"},
592
+ "output":{"shape":"ListVersionsByFunctionResponse"},
593
+ "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
+ }
614
+ ]
615
+ },
616
+ "PublishVersion":{
617
+ "name":"PublishVersion",
618
+ "http":{
619
+ "method":"POST",
620
+ "requestUri":"/2015-03-31/functions/{FunctionName}/versions",
621
+ "responseCode":201
622
+ },
623
+ "input":{"shape":"PublishVersionRequest"},
624
+ "output":{"shape":"FunctionConfiguration"},
625
+ "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
+ }
651
+ ]
652
+ },
427
653
  "RemovePermission":{
428
654
  "name":"RemovePermission",
429
655
  "http":{
430
656
  "method":"DELETE",
431
- "requestUri":"/2015-03-31/functions/{FunctionName}/versions/HEAD/policy/{StatementId}",
657
+ "requestUri":"/2015-03-31/functions/{FunctionName}/policy/{StatementId}",
432
658
  "responseCode":204
433
659
  },
434
660
  "input":{"shape":"RemovePermissionRequest"},
@@ -443,6 +669,43 @@
443
669
  "error":{"httpStatusCode":404},
444
670
  "exception":true
445
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
+ }
682
+ ]
683
+ },
684
+ "UpdateAlias":{
685
+ "name":"UpdateAlias",
686
+ "http":{
687
+ "method":"PUT",
688
+ "requestUri":"/2015-03-31/functions/{FunctionName}/aliases/{Name}",
689
+ "responseCode":200
690
+ },
691
+ "input":{"shape":"UpdateAliasRequest"},
692
+ "output":{"shape":"AliasConfiguration"},
693
+ "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
+ },
446
709
  {
447
710
  "shape":"TooManyRequestsException",
448
711
  "error":{"httpStatusCode":429},
@@ -479,6 +742,11 @@
479
742
  "shape":"TooManyRequestsException",
480
743
  "error":{"httpStatusCode":429},
481
744
  "exception":true
745
+ },
746
+ {
747
+ "shape":"ResourceConflictException",
748
+ "error":{"httpStatusCode":409},
749
+ "exception":true
482
750
  }
483
751
  ]
484
752
  },
@@ -486,7 +754,7 @@
486
754
  "name":"UpdateFunctionCode",
487
755
  "http":{
488
756
  "method":"PUT",
489
- "requestUri":"/2015-03-31/functions/{FunctionName}/versions/HEAD/code",
757
+ "requestUri":"/2015-03-31/functions/{FunctionName}/code",
490
758
  "responseCode":200
491
759
  },
492
760
  "input":{"shape":"UpdateFunctionCodeRequest"},
@@ -523,7 +791,7 @@
523
791
  "name":"UpdateFunctionConfiguration",
524
792
  "http":{
525
793
  "method":"PUT",
526
- "requestUri":"/2015-03-31/functions/{FunctionName}/versions/HEAD/configuration",
794
+ "requestUri":"/2015-03-31/functions/{FunctionName}/configuration",
527
795
  "responseCode":200
528
796
  },
529
797
  "input":{"shape":"UpdateFunctionConfigurationRequest"},
@@ -575,7 +843,12 @@
575
843
  "Action":{"shape":"Action"},
576
844
  "Principal":{"shape":"Principal"},
577
845
  "SourceArn":{"shape":"Arn"},
578
- "SourceAccount":{"shape":"SourceOwner"}
846
+ "SourceAccount":{"shape":"SourceOwner"},
847
+ "Qualifier":{
848
+ "shape":"Qualifier",
849
+ "location":"querystring",
850
+ "locationName":"Qualifier"
851
+ }
579
852
  }
580
853
  },
581
854
  "AddPermissionResponse":{
@@ -584,6 +857,25 @@
584
857
  "Statement":{"shape":"String"}
585
858
  }
586
859
  },
860
+ "Alias":{
861
+ "type":"string",
862
+ "min":1,
863
+ "max":128,
864
+ "pattern":"(?!^[0-9]+$)([a-zA-Z0-9-_]+)"
865
+ },
866
+ "AliasConfiguration":{
867
+ "type":"structure",
868
+ "members":{
869
+ "AliasArn":{"shape":"FunctionArn"},
870
+ "Name":{"shape":"Alias"},
871
+ "FunctionVersion":{"shape":"Version"},
872
+ "Description":{"shape":"Description"}
873
+ }
874
+ },
875
+ "AliasList":{
876
+ "type":"list",
877
+ "member":{"shape":"AliasConfiguration"}
878
+ },
587
879
  "Arn":{
588
880
  "type":"string",
589
881
  "pattern":"arn:aws:([a-zA-Z0-9\\-])+:([a-z]{2}-[a-z]+-\\d{1})?:(\\d{12})?:(.*)"
@@ -598,6 +890,7 @@
598
890
  "type":"blob",
599
891
  "streaming":true
600
892
  },
893
+ "Boolean":{"type":"boolean"},
601
894
  "CodeStorageExceededException":{
602
895
  "type":"structure",
603
896
  "members":{
@@ -607,6 +900,24 @@
607
900
  "error":{"httpStatusCode":400},
608
901
  "exception":true
609
902
  },
903
+ "CreateAliasRequest":{
904
+ "type":"structure",
905
+ "required":[
906
+ "FunctionName",
907
+ "Name",
908
+ "FunctionVersion"
909
+ ],
910
+ "members":{
911
+ "FunctionName":{
912
+ "shape":"FunctionName",
913
+ "location":"uri",
914
+ "locationName":"FunctionName"
915
+ },
916
+ "Name":{"shape":"Alias"},
917
+ "FunctionVersion":{"shape":"Version"},
918
+ "Description":{"shape":"Description"}
919
+ }
920
+ },
610
921
  "CreateEventSourceMappingRequest":{
611
922
  "type":"structure",
612
923
  "required":[
@@ -636,13 +947,33 @@
636
947
  "Runtime":{"shape":"Runtime"},
637
948
  "Role":{"shape":"RoleArn"},
638
949
  "Handler":{"shape":"Handler"},
950
+ "Code":{"shape":"FunctionCode"},
639
951
  "Description":{"shape":"Description"},
640
952
  "Timeout":{"shape":"Timeout"},
641
953
  "MemorySize":{"shape":"MemorySize"},
642
- "Code":{"shape":"FunctionCode"}
954
+ "Publish":{"shape":"Boolean"}
643
955
  }
644
956
  },
645
957
  "Date":{"type":"timestamp"},
958
+ "DeleteAliasRequest":{
959
+ "type":"structure",
960
+ "required":[
961
+ "FunctionName",
962
+ "Name"
963
+ ],
964
+ "members":{
965
+ "FunctionName":{
966
+ "shape":"FunctionName",
967
+ "location":"uri",
968
+ "locationName":"FunctionName"
969
+ },
970
+ "Name":{
971
+ "shape":"Alias",
972
+ "location":"uri",
973
+ "locationName":"Name"
974
+ }
975
+ }
976
+ },
646
977
  "DeleteEventSourceMappingRequest":{
647
978
  "type":"structure",
648
979
  "required":["UUID"],
@@ -662,6 +993,11 @@
662
993
  "shape":"FunctionName",
663
994
  "location":"uri",
664
995
  "locationName":"FunctionName"
996
+ },
997
+ "Qualifier":{
998
+ "shape":"Qualifier",
999
+ "location":"querystring",
1000
+ "locationName":"Qualifier"
665
1001
  }
666
1002
  }
667
1003
  },
@@ -697,7 +1033,7 @@
697
1033
  },
698
1034
  "FunctionArn":{
699
1035
  "type":"string",
700
- "pattern":"arn:aws:lambda:[a-z]{2}-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_]+(\\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?"
1036
+ "pattern":"arn:aws:lambda:[a-z]{2}-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_]+(:(\\$LATEST|[a-zA-Z0-9-_]+))?"
701
1037
  },
702
1038
  "FunctionCode":{
703
1039
  "type":"structure",
@@ -727,7 +1063,9 @@
727
1063
  "Description":{"shape":"Description"},
728
1064
  "Timeout":{"shape":"Timeout"},
729
1065
  "MemorySize":{"shape":"MemorySize"},
730
- "LastModified":{"shape":"Timestamp"}
1066
+ "LastModified":{"shape":"Timestamp"},
1067
+ "CodeSha256":{"shape":"String"},
1068
+ "Version":{"shape":"Version"}
731
1069
  }
732
1070
  },
733
1071
  "FunctionList":{
@@ -737,8 +1075,27 @@
737
1075
  "FunctionName":{
738
1076
  "type":"string",
739
1077
  "min":1,
740
- "max":111,
741
- "pattern":"(arn:aws:lambda:)?([a-z]{2}-[a-z]+-\\d{1}:)?(\\d{12}:)?(function:)?([a-zA-Z0-9-_]+)"
1078
+ "max":140,
1079
+ "pattern":"(arn:aws:lambda:)?([a-z]{2}-[a-z]+-\\d{1}:)?(\\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\\$LATEST|[a-zA-Z0-9-_]+))?"
1080
+ },
1081
+ "GetAliasRequest":{
1082
+ "type":"structure",
1083
+ "required":[
1084
+ "FunctionName",
1085
+ "Name"
1086
+ ],
1087
+ "members":{
1088
+ "FunctionName":{
1089
+ "shape":"FunctionName",
1090
+ "location":"uri",
1091
+ "locationName":"FunctionName"
1092
+ },
1093
+ "Name":{
1094
+ "shape":"Alias",
1095
+ "location":"uri",
1096
+ "locationName":"Name"
1097
+ }
1098
+ }
742
1099
  },
743
1100
  "GetEventSourceMappingRequest":{
744
1101
  "type":"structure",
@@ -759,6 +1116,11 @@
759
1116
  "shape":"FunctionName",
760
1117
  "location":"uri",
761
1118
  "locationName":"FunctionName"
1119
+ },
1120
+ "Qualifier":{
1121
+ "shape":"Qualifier",
1122
+ "location":"querystring",
1123
+ "locationName":"Qualifier"
762
1124
  }
763
1125
  }
764
1126
  },
@@ -770,6 +1132,11 @@
770
1132
  "shape":"FunctionName",
771
1133
  "location":"uri",
772
1134
  "locationName":"FunctionName"
1135
+ },
1136
+ "Qualifier":{
1137
+ "shape":"Qualifier",
1138
+ "location":"querystring",
1139
+ "locationName":"Qualifier"
773
1140
  }
774
1141
  }
775
1142
  },
@@ -788,7 +1155,8 @@
788
1155
  "shape":"FunctionName",
789
1156
  "location":"uri",
790
1157
  "locationName":"FunctionName"
791
- }
1158
+ },
1159
+ "Qualifier":{"shape":"Qualifier"}
792
1160
  }
793
1161
  },
794
1162
  "GetPolicyResponse":{
@@ -846,7 +1214,12 @@
846
1214
  "location":"header",
847
1215
  "locationName":"X-Amz-Client-Context"
848
1216
  },
849
- "Payload":{"shape":"Blob"}
1217
+ "Payload":{"shape":"Blob"},
1218
+ "Qualifier":{
1219
+ "shape":"Qualifier",
1220
+ "location":"querystring",
1221
+ "locationName":"Qualifier"
1222
+ }
850
1223
  },
851
1224
  "payload":"Payload"
852
1225
  },
@@ -906,6 +1279,39 @@
906
1279
  },
907
1280
  "deprecated":true
908
1281
  },
1282
+ "ListAliasesRequest":{
1283
+ "type":"structure",
1284
+ "required":["FunctionName"],
1285
+ "members":{
1286
+ "FunctionName":{
1287
+ "shape":"FunctionName",
1288
+ "location":"uri",
1289
+ "locationName":"FunctionName"
1290
+ },
1291
+ "FunctionVersion":{
1292
+ "shape":"Version",
1293
+ "location":"querystring",
1294
+ "locationName":"FunctionVersion"
1295
+ },
1296
+ "Marker":{
1297
+ "shape":"String",
1298
+ "location":"querystring",
1299
+ "locationName":"Marker"
1300
+ },
1301
+ "MaxItems":{
1302
+ "shape":"MaxListItems",
1303
+ "location":"querystring",
1304
+ "locationName":"MaxItems"
1305
+ }
1306
+ }
1307
+ },
1308
+ "ListAliasesResponse":{
1309
+ "type":"structure",
1310
+ "members":{
1311
+ "NextMarker":{"shape":"String"},
1312
+ "Aliases":{"shape":"AliasList"}
1313
+ }
1314
+ },
909
1315
  "ListEventSourceMappingsRequest":{
910
1316
  "type":"structure",
911
1317
  "members":{
@@ -960,6 +1366,34 @@
960
1366
  "Functions":{"shape":"FunctionList"}
961
1367
  }
962
1368
  },
1369
+ "ListVersionsByFunctionRequest":{
1370
+ "type":"structure",
1371
+ "required":["FunctionName"],
1372
+ "members":{
1373
+ "FunctionName":{
1374
+ "shape":"FunctionName",
1375
+ "location":"uri",
1376
+ "locationName":"FunctionName"
1377
+ },
1378
+ "Marker":{
1379
+ "shape":"String",
1380
+ "location":"querystring",
1381
+ "locationName":"Marker"
1382
+ },
1383
+ "MaxItems":{
1384
+ "shape":"MaxListItems",
1385
+ "location":"querystring",
1386
+ "locationName":"MaxItems"
1387
+ }
1388
+ }
1389
+ },
1390
+ "ListVersionsByFunctionResponse":{
1391
+ "type":"structure",
1392
+ "members":{
1393
+ "NextMarker":{"shape":"String"},
1394
+ "Versions":{"shape":"FunctionList"}
1395
+ }
1396
+ },
963
1397
  "LogType":{
964
1398
  "type":"string",
965
1399
  "enum":[
@@ -991,6 +1425,25 @@
991
1425
  "type":"string",
992
1426
  "pattern":".*"
993
1427
  },
1428
+ "PublishVersionRequest":{
1429
+ "type":"structure",
1430
+ "required":["FunctionName"],
1431
+ "members":{
1432
+ "FunctionName":{
1433
+ "shape":"FunctionName",
1434
+ "location":"uri",
1435
+ "locationName":"FunctionName"
1436
+ },
1437
+ "CodeSha256":{"shape":"String"},
1438
+ "Description":{"shape":"Description"}
1439
+ }
1440
+ },
1441
+ "Qualifier":{
1442
+ "type":"string",
1443
+ "min":1,
1444
+ "max":128,
1445
+ "pattern":"(|[a-zA-Z0-9$_]+)"
1446
+ },
994
1447
  "RemovePermissionRequest":{
995
1448
  "type":"structure",
996
1449
  "required":[
@@ -1007,6 +1460,11 @@
1007
1460
  "shape":"StatementId",
1008
1461
  "location":"uri",
1009
1462
  "locationName":"StatementId"
1463
+ },
1464
+ "Qualifier":{
1465
+ "shape":"Qualifier",
1466
+ "location":"querystring",
1467
+ "locationName":"Qualifier"
1010
1468
  }
1011
1469
  }
1012
1470
  },
@@ -1045,7 +1503,8 @@
1045
1503
  "type":"string",
1046
1504
  "enum":[
1047
1505
  "nodejs",
1048
- "java8"
1506
+ "java8",
1507
+ "python2.7"
1049
1508
  ]
1050
1509
  },
1051
1510
  "S3Bucket":{
@@ -1086,8 +1545,7 @@
1086
1545
  "String":{"type":"string"},
1087
1546
  "Timeout":{
1088
1547
  "type":"integer",
1089
- "min":1,
1090
- "max":60
1548
+ "min":1
1091
1549
  },
1092
1550
  "Timestamp":{"type":"string"},
1093
1551
  "TooManyRequestsException":{
@@ -1113,6 +1571,27 @@
1113
1571
  "error":{"httpStatusCode":415},
1114
1572
  "exception":true
1115
1573
  },
1574
+ "UpdateAliasRequest":{
1575
+ "type":"structure",
1576
+ "required":[
1577
+ "FunctionName",
1578
+ "Name"
1579
+ ],
1580
+ "members":{
1581
+ "FunctionName":{
1582
+ "shape":"FunctionName",
1583
+ "location":"uri",
1584
+ "locationName":"FunctionName"
1585
+ },
1586
+ "Name":{
1587
+ "shape":"Alias",
1588
+ "location":"uri",
1589
+ "locationName":"Name"
1590
+ },
1591
+ "FunctionVersion":{"shape":"Version"},
1592
+ "Description":{"shape":"Description"}
1593
+ }
1594
+ },
1116
1595
  "UpdateEventSourceMappingRequest":{
1117
1596
  "type":"structure",
1118
1597
  "required":["UUID"],
@@ -1139,7 +1618,8 @@
1139
1618
  "ZipFile":{"shape":"Blob"},
1140
1619
  "S3Bucket":{"shape":"S3Bucket"},
1141
1620
  "S3Key":{"shape":"S3Key"},
1142
- "S3ObjectVersion":{"shape":"S3ObjectVersion"}
1621
+ "S3ObjectVersion":{"shape":"S3ObjectVersion"},
1622
+ "Publish":{"shape":"Boolean"}
1143
1623
  }
1144
1624
  },
1145
1625
  "UpdateFunctionConfigurationRequest":{
@@ -1157,6 +1637,12 @@
1157
1637
  "Timeout":{"shape":"Timeout"},
1158
1638
  "MemorySize":{"shape":"MemorySize"}
1159
1639
  }
1640
+ },
1641
+ "Version":{
1642
+ "type":"string",
1643
+ "min":1,
1644
+ "max":1024,
1645
+ "pattern":"(\\$LATEST|[0-9]+)"
1160
1646
  }
1161
1647
  }
1162
1648
  }