aws-sdk-core 2.0.37 → 2.0.38

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1125 @@
1
+ {
2
+ "version":"2.0",
3
+ "metadata":{
4
+ "apiVersion":"2015-03-31",
5
+ "endpointPrefix":"lambda",
6
+ "serviceFullName":"AWS Lambda",
7
+ "signatureVersion":"v4",
8
+ "protocol":"rest-json"
9
+ },
10
+ "operations":{
11
+ "AddPermission":{
12
+ "name":"AddPermission",
13
+ "http":{
14
+ "method":"POST",
15
+ "requestUri":"/2015-03-31/functions/{FunctionName}/versions/HEAD/policy",
16
+ "responseCode":201
17
+ },
18
+ "input":{"shape":"AddPermissionRequest"},
19
+ "output":{"shape":"AddPermissionResponse"},
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
+ }
51
+ ]
52
+ },
53
+ "CreateEventSourceMapping":{
54
+ "name":"CreateEventSourceMapping",
55
+ "http":{
56
+ "method":"POST",
57
+ "requestUri":"/2015-03-31/event-source-mappings/",
58
+ "responseCode":202
59
+ },
60
+ "input":{"shape":"CreateEventSourceMappingRequest"},
61
+ "output":{"shape":"EventSourceMappingConfiguration"},
62
+ "errors":[
63
+ {
64
+ "shape":"ServiceException",
65
+ "error":{"httpStatusCode":500},
66
+ "exception":true
67
+ },
68
+ {
69
+ "shape":"InvalidParameterValueException",
70
+ "error":{"httpStatusCode":400},
71
+ "exception":true
72
+ },
73
+ {
74
+ "shape":"ResourceConflictException",
75
+ "error":{"httpStatusCode":409},
76
+ "exception":true
77
+ },
78
+ {
79
+ "shape":"TooManyRequestsException",
80
+ "error":{"httpStatusCode":429},
81
+ "exception":true
82
+ }
83
+ ]
84
+ },
85
+ "CreateFunction":{
86
+ "name":"CreateFunction",
87
+ "http":{
88
+ "method":"POST",
89
+ "requestUri":"/2015-03-31/functions",
90
+ "responseCode":201
91
+ },
92
+ "input":{"shape":"CreateFunctionRequest"},
93
+ "output":{"shape":"FunctionConfiguration"},
94
+ "errors":[
95
+ {
96
+ "shape":"ServiceException",
97
+ "error":{"httpStatusCode":500},
98
+ "exception":true
99
+ },
100
+ {
101
+ "shape":"InvalidParameterValueException",
102
+ "error":{"httpStatusCode":400},
103
+ "exception":true
104
+ },
105
+ {
106
+ "shape":"ResourceNotFoundException",
107
+ "error":{"httpStatusCode":404},
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
+ }
120
+ ]
121
+ },
122
+ "DeleteEventSourceMapping":{
123
+ "name":"DeleteEventSourceMapping",
124
+ "http":{
125
+ "method":"DELETE",
126
+ "requestUri":"/2015-03-31/event-source-mappings/{UUID}",
127
+ "responseCode":202
128
+ },
129
+ "input":{"shape":"DeleteEventSourceMappingRequest"},
130
+ "output":{"shape":"EventSourceMappingConfiguration"},
131
+ "errors":[
132
+ {
133
+ "shape":"ServiceException",
134
+ "error":{"httpStatusCode":500},
135
+ "exception":true
136
+ },
137
+ {
138
+ "shape":"ResourceNotFoundException",
139
+ "error":{"httpStatusCode":404},
140
+ "exception":true
141
+ },
142
+ {
143
+ "shape":"InvalidParameterValueException",
144
+ "error":{"httpStatusCode":400},
145
+ "exception":true
146
+ },
147
+ {
148
+ "shape":"TooManyRequestsException",
149
+ "error":{"httpStatusCode":429},
150
+ "exception":true
151
+ }
152
+ ]
153
+ },
154
+ "DeleteFunction":{
155
+ "name":"DeleteFunction",
156
+ "http":{
157
+ "method":"DELETE",
158
+ "requestUri":"/2015-03-31/functions/{FunctionName}",
159
+ "responseCode":204
160
+ },
161
+ "input":{"shape":"DeleteFunctionRequest"},
162
+ "errors":[
163
+ {
164
+ "shape":"ServiceException",
165
+ "error":{"httpStatusCode":500},
166
+ "exception":true
167
+ },
168
+ {
169
+ "shape":"ResourceNotFoundException",
170
+ "error":{"httpStatusCode":404},
171
+ "exception":true
172
+ },
173
+ {
174
+ "shape":"TooManyRequestsException",
175
+ "error":{"httpStatusCode":429},
176
+ "exception":true
177
+ }
178
+ ]
179
+ },
180
+ "GetEventSourceMapping":{
181
+ "name":"GetEventSourceMapping",
182
+ "http":{
183
+ "method":"GET",
184
+ "requestUri":"/2015-03-31/event-source-mappings/{UUID}",
185
+ "responseCode":200
186
+ },
187
+ "input":{"shape":"GetEventSourceMappingRequest"},
188
+ "output":{"shape":"EventSourceMappingConfiguration"},
189
+ "errors":[
190
+ {
191
+ "shape":"ServiceException",
192
+ "error":{"httpStatusCode":500},
193
+ "exception":true
194
+ },
195
+ {
196
+ "shape":"ResourceNotFoundException",
197
+ "error":{"httpStatusCode":404},
198
+ "exception":true
199
+ },
200
+ {
201
+ "shape":"InvalidParameterValueException",
202
+ "error":{"httpStatusCode":400},
203
+ "exception":true
204
+ },
205
+ {
206
+ "shape":"TooManyRequestsException",
207
+ "error":{"httpStatusCode":429},
208
+ "exception":true
209
+ }
210
+ ]
211
+ },
212
+ "GetFunction":{
213
+ "name":"GetFunction",
214
+ "http":{
215
+ "method":"GET",
216
+ "requestUri":"/2015-03-31/functions/{FunctionName}/versions/HEAD",
217
+ "responseCode":200
218
+ },
219
+ "input":{"shape":"GetFunctionRequest"},
220
+ "output":{"shape":"GetFunctionResponse"},
221
+ "errors":[
222
+ {
223
+ "shape":"ServiceException",
224
+ "error":{"httpStatusCode":500},
225
+ "exception":true
226
+ },
227
+ {
228
+ "shape":"ResourceNotFoundException",
229
+ "error":{"httpStatusCode":404},
230
+ "exception":true
231
+ },
232
+ {
233
+ "shape":"TooManyRequestsException",
234
+ "error":{"httpStatusCode":429},
235
+ "exception":true
236
+ }
237
+ ]
238
+ },
239
+ "GetFunctionConfiguration":{
240
+ "name":"GetFunctionConfiguration",
241
+ "http":{
242
+ "method":"GET",
243
+ "requestUri":"/2015-03-31/functions/{FunctionName}/versions/HEAD/configuration",
244
+ "responseCode":200
245
+ },
246
+ "input":{"shape":"GetFunctionConfigurationRequest"},
247
+ "output":{"shape":"FunctionConfiguration"},
248
+ "errors":[
249
+ {
250
+ "shape":"ServiceException",
251
+ "error":{"httpStatusCode":500},
252
+ "exception":true
253
+ },
254
+ {
255
+ "shape":"ResourceNotFoundException",
256
+ "error":{"httpStatusCode":404},
257
+ "exception":true
258
+ },
259
+ {
260
+ "shape":"TooManyRequestsException",
261
+ "error":{"httpStatusCode":429},
262
+ "exception":true
263
+ }
264
+ ]
265
+ },
266
+ "GetPolicy":{
267
+ "name":"GetPolicy",
268
+ "http":{
269
+ "method":"GET",
270
+ "requestUri":"/2015-03-31/functions/{FunctionName}/versions/HEAD/policy",
271
+ "responseCode":200
272
+ },
273
+ "input":{"shape":"GetPolicyRequest"},
274
+ "output":{"shape":"GetPolicyResponse"},
275
+ "errors":[
276
+ {
277
+ "shape":"ServiceException",
278
+ "error":{"httpStatusCode":500},
279
+ "exception":true
280
+ },
281
+ {
282
+ "shape":"ResourceNotFoundException",
283
+ "error":{"httpStatusCode":404},
284
+ "exception":true
285
+ },
286
+ {
287
+ "shape":"TooManyRequestsException",
288
+ "error":{"httpStatusCode":429},
289
+ "exception":true
290
+ }
291
+ ]
292
+ },
293
+ "Invoke":{
294
+ "name":"Invoke",
295
+ "http":{
296
+ "method":"POST",
297
+ "requestUri":"/2015-03-31/functions/{FunctionName}/invocations"
298
+ },
299
+ "input":{"shape":"InvocationRequest"},
300
+ "output":{"shape":"InvocationResponse"},
301
+ "errors":[
302
+ {
303
+ "shape":"ServiceException",
304
+ "error":{"httpStatusCode":500},
305
+ "exception":true
306
+ },
307
+ {
308
+ "shape":"ResourceNotFoundException",
309
+ "error":{"httpStatusCode":404},
310
+ "exception":true
311
+ },
312
+ {
313
+ "shape":"InvalidRequestContentException",
314
+ "error":{"httpStatusCode":400},
315
+ "exception":true
316
+ },
317
+ {
318
+ "shape":"RequestTooLargeException",
319
+ "error":{"httpStatusCode":413},
320
+ "exception":true
321
+ },
322
+ {
323
+ "shape":"UnsupportedMediaTypeException",
324
+ "error":{"httpStatusCode":415},
325
+ "exception":true
326
+ },
327
+ {
328
+ "shape":"TooManyRequestsException",
329
+ "error":{"httpStatusCode":429},
330
+ "exception":true
331
+ }
332
+ ]
333
+ },
334
+ "InvokeAsync":{
335
+ "name":"InvokeAsync",
336
+ "http":{
337
+ "method":"POST",
338
+ "requestUri":"/2014-11-13/functions/{FunctionName}/invoke-async/",
339
+ "responseCode":202
340
+ },
341
+ "input":{
342
+ "shape":"InvokeAsyncRequest",
343
+ "deprecated":true
344
+ },
345
+ "output":{
346
+ "shape":"InvokeAsyncResponse",
347
+ "deprecated":true
348
+ },
349
+ "errors":[
350
+ {
351
+ "shape":"ServiceException",
352
+ "error":{"httpStatusCode":500},
353
+ "exception":true
354
+ },
355
+ {
356
+ "shape":"ResourceNotFoundException",
357
+ "error":{"httpStatusCode":404},
358
+ "exception":true
359
+ },
360
+ {
361
+ "shape":"InvalidRequestContentException",
362
+ "error":{"httpStatusCode":400},
363
+ "exception":true
364
+ }
365
+ ],
366
+ "deprecated":true
367
+ },
368
+ "ListEventSourceMappings":{
369
+ "name":"ListEventSourceMappings",
370
+ "http":{
371
+ "method":"GET",
372
+ "requestUri":"/2015-03-31/event-source-mappings/",
373
+ "responseCode":200
374
+ },
375
+ "input":{"shape":"ListEventSourceMappingsRequest"},
376
+ "output":{"shape":"ListEventSourceMappingsResponse"},
377
+ "errors":[
378
+ {
379
+ "shape":"ServiceException",
380
+ "error":{"httpStatusCode":500},
381
+ "exception":true
382
+ },
383
+ {
384
+ "shape":"ResourceNotFoundException",
385
+ "error":{"httpStatusCode":404},
386
+ "exception":true
387
+ },
388
+ {
389
+ "shape":"InvalidParameterValueException",
390
+ "error":{"httpStatusCode":400},
391
+ "exception":true
392
+ },
393
+ {
394
+ "shape":"TooManyRequestsException",
395
+ "error":{"httpStatusCode":429},
396
+ "exception":true
397
+ }
398
+ ]
399
+ },
400
+ "ListFunctions":{
401
+ "name":"ListFunctions",
402
+ "http":{
403
+ "method":"GET",
404
+ "requestUri":"/2015-03-31/functions/",
405
+ "responseCode":200
406
+ },
407
+ "input":{"shape":"ListFunctionsRequest"},
408
+ "output":{"shape":"ListFunctionsResponse"},
409
+ "errors":[
410
+ {
411
+ "shape":"ServiceException",
412
+ "error":{"httpStatusCode":500},
413
+ "exception":true
414
+ },
415
+ {
416
+ "shape":"TooManyRequestsException",
417
+ "error":{"httpStatusCode":429},
418
+ "exception":true
419
+ }
420
+ ]
421
+ },
422
+ "RemovePermission":{
423
+ "name":"RemovePermission",
424
+ "http":{
425
+ "method":"DELETE",
426
+ "requestUri":"/2015-03-31/functions/{FunctionName}/versions/HEAD/policy/{StatementId}",
427
+ "responseCode":204
428
+ },
429
+ "input":{"shape":"RemovePermissionRequest"},
430
+ "errors":[
431
+ {
432
+ "shape":"ServiceException",
433
+ "error":{"httpStatusCode":500},
434
+ "exception":true
435
+ },
436
+ {
437
+ "shape":"ResourceNotFoundException",
438
+ "error":{"httpStatusCode":404},
439
+ "exception":true
440
+ },
441
+ {
442
+ "shape":"TooManyRequestsException",
443
+ "error":{"httpStatusCode":429},
444
+ "exception":true
445
+ }
446
+ ]
447
+ },
448
+ "UpdateEventSourceMapping":{
449
+ "name":"UpdateEventSourceMapping",
450
+ "http":{
451
+ "method":"PUT",
452
+ "requestUri":"/2015-03-31/event-source-mappings/{UUID}",
453
+ "responseCode":202
454
+ },
455
+ "input":{"shape":"UpdateEventSourceMappingRequest"},
456
+ "output":{"shape":"EventSourceMappingConfiguration"},
457
+ "errors":[
458
+ {
459
+ "shape":"ServiceException",
460
+ "error":{"httpStatusCode":500},
461
+ "exception":true
462
+ },
463
+ {
464
+ "shape":"ResourceNotFoundException",
465
+ "error":{"httpStatusCode":404},
466
+ "exception":true
467
+ },
468
+ {
469
+ "shape":"InvalidParameterValueException",
470
+ "error":{"httpStatusCode":400},
471
+ "exception":true
472
+ },
473
+ {
474
+ "shape":"TooManyRequestsException",
475
+ "error":{"httpStatusCode":429},
476
+ "exception":true
477
+ }
478
+ ]
479
+ },
480
+ "UpdateFunctionCode":{
481
+ "name":"UpdateFunctionCode",
482
+ "http":{
483
+ "method":"PUT",
484
+ "requestUri":"/2015-03-31/functions/{FunctionName}/versions/HEAD/code",
485
+ "responseCode":200
486
+ },
487
+ "input":{"shape":"UpdateFunctionCodeRequest"},
488
+ "output":{"shape":"FunctionConfiguration"},
489
+ "errors":[
490
+ {
491
+ "shape":"ServiceException",
492
+ "error":{"httpStatusCode":500},
493
+ "exception":true
494
+ },
495
+ {
496
+ "shape":"ResourceNotFoundException",
497
+ "error":{"httpStatusCode":404},
498
+ "exception":true
499
+ },
500
+ {
501
+ "shape":"InvalidParameterValueException",
502
+ "error":{"httpStatusCode":400},
503
+ "exception":true
504
+ },
505
+ {
506
+ "shape":"TooManyRequestsException",
507
+ "error":{"httpStatusCode":429},
508
+ "exception":true
509
+ }
510
+ ]
511
+ },
512
+ "UpdateFunctionConfiguration":{
513
+ "name":"UpdateFunctionConfiguration",
514
+ "http":{
515
+ "method":"PUT",
516
+ "requestUri":"/2015-03-31/functions/{FunctionName}/versions/HEAD/configuration",
517
+ "responseCode":200
518
+ },
519
+ "input":{"shape":"UpdateFunctionConfigurationRequest"},
520
+ "output":{"shape":"FunctionConfiguration"},
521
+ "errors":[
522
+ {
523
+ "shape":"ServiceException",
524
+ "error":{"httpStatusCode":500},
525
+ "exception":true
526
+ },
527
+ {
528
+ "shape":"ResourceNotFoundException",
529
+ "error":{"httpStatusCode":404},
530
+ "exception":true
531
+ },
532
+ {
533
+ "shape":"InvalidParameterValueException",
534
+ "error":{"httpStatusCode":400},
535
+ "exception":true
536
+ },
537
+ {
538
+ "shape":"TooManyRequestsException",
539
+ "error":{"httpStatusCode":429},
540
+ "exception":true
541
+ }
542
+ ]
543
+ }
544
+ },
545
+ "shapes":{
546
+ "Action":{
547
+ "type":"string",
548
+ "pattern":"(lambda:[*]|lambda:[a-zA-Z]+|[*])"
549
+ },
550
+ "AddPermissionRequest":{
551
+ "type":"structure",
552
+ "required":[
553
+ "FunctionName",
554
+ "StatementId",
555
+ "Action",
556
+ "Principal"
557
+ ],
558
+ "members":{
559
+ "FunctionName":{
560
+ "shape":"FunctionName",
561
+ "location":"uri",
562
+ "locationName":"FunctionName"
563
+ },
564
+ "StatementId":{"shape":"StatementId"},
565
+ "Action":{"shape":"Action"},
566
+ "Principal":{"shape":"Principal"},
567
+ "SourceArn":{"shape":"Arn"},
568
+ "SourceAccount":{"shape":"SourceOwner"}
569
+ }
570
+ },
571
+ "AddPermissionResponse":{
572
+ "type":"structure",
573
+ "members":{
574
+ "Statement":{"shape":"String"}
575
+ }
576
+ },
577
+ "Arn":{
578
+ "type":"string",
579
+ "pattern":"arn:aws:([a-zA-Z0-9\\-])+:([a-z]{2}-[a-z]+-\\d{1})?:(\\d{12})?:(.*)"
580
+ },
581
+ "BatchSize":{
582
+ "type":"integer",
583
+ "min":1,
584
+ "max":10000
585
+ },
586
+ "Blob":{"type":"blob"},
587
+ "BlobStream":{
588
+ "type":"blob",
589
+ "streaming":true
590
+ },
591
+ "CreateEventSourceMappingRequest":{
592
+ "type":"structure",
593
+ "required":[
594
+ "EventSourceArn",
595
+ "FunctionName",
596
+ "StartingPosition"
597
+ ],
598
+ "members":{
599
+ "EventSourceArn":{"shape":"Arn"},
600
+ "FunctionName":{"shape":"FunctionName"},
601
+ "Enabled":{"shape":"Enabled"},
602
+ "BatchSize":{"shape":"BatchSize"},
603
+ "StartingPosition":{"shape":"EventSourcePosition"}
604
+ }
605
+ },
606
+ "CreateFunctionRequest":{
607
+ "type":"structure",
608
+ "required":[
609
+ "FunctionName",
610
+ "Runtime",
611
+ "Role",
612
+ "Handler",
613
+ "Code"
614
+ ],
615
+ "members":{
616
+ "FunctionName":{"shape":"FunctionName"},
617
+ "Runtime":{"shape":"Runtime"},
618
+ "Role":{"shape":"RoleArn"},
619
+ "Handler":{"shape":"Handler"},
620
+ "Description":{"shape":"Description"},
621
+ "Timeout":{"shape":"Timeout"},
622
+ "MemorySize":{"shape":"MemorySize"},
623
+ "Code":{"shape":"FunctionCode"}
624
+ }
625
+ },
626
+ "Date":{"type":"timestamp"},
627
+ "DeleteEventSourceMappingRequest":{
628
+ "type":"structure",
629
+ "required":["UUID"],
630
+ "members":{
631
+ "UUID":{
632
+ "shape":"String",
633
+ "location":"uri",
634
+ "locationName":"UUID"
635
+ }
636
+ }
637
+ },
638
+ "DeleteFunctionRequest":{
639
+ "type":"structure",
640
+ "required":["FunctionName"],
641
+ "members":{
642
+ "FunctionName":{
643
+ "shape":"FunctionName",
644
+ "location":"uri",
645
+ "locationName":"FunctionName"
646
+ }
647
+ }
648
+ },
649
+ "Description":{
650
+ "type":"string",
651
+ "min":0,
652
+ "max":256
653
+ },
654
+ "Enabled":{"type":"boolean"},
655
+ "EventSourceMappingConfiguration":{
656
+ "type":"structure",
657
+ "members":{
658
+ "UUID":{"shape":"String"},
659
+ "BatchSize":{"shape":"BatchSize"},
660
+ "EventSourceArn":{"shape":"Arn"},
661
+ "FunctionArn":{"shape":"FunctionArn"},
662
+ "LastModified":{"shape":"Date"},
663
+ "LastProcessingResult":{"shape":"String"},
664
+ "State":{"shape":"String"},
665
+ "StateTransitionReason":{"shape":"String"}
666
+ }
667
+ },
668
+ "EventSourceMappingsList":{
669
+ "type":"list",
670
+ "member":{"shape":"EventSourceMappingConfiguration"}
671
+ },
672
+ "EventSourcePosition":{
673
+ "type":"string",
674
+ "enum":[
675
+ "TRIM_HORIZON",
676
+ "LATEST"
677
+ ]
678
+ },
679
+ "FunctionArn":{
680
+ "type":"string",
681
+ "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})?"
682
+ },
683
+ "FunctionCode":{
684
+ "type":"structure",
685
+ "members":{
686
+ "ZipFile":{"shape":"Blob"}
687
+ }
688
+ },
689
+ "FunctionCodeLocation":{
690
+ "type":"structure",
691
+ "members":{
692
+ "RepositoryType":{"shape":"String"},
693
+ "Location":{"shape":"String"}
694
+ }
695
+ },
696
+ "FunctionConfiguration":{
697
+ "type":"structure",
698
+ "members":{
699
+ "FunctionName":{"shape":"FunctionName"},
700
+ "FunctionArn":{"shape":"FunctionArn"},
701
+ "Runtime":{"shape":"Runtime"},
702
+ "Role":{"shape":"RoleArn"},
703
+ "Handler":{"shape":"Handler"},
704
+ "CodeSize":{"shape":"Long"},
705
+ "Description":{"shape":"Description"},
706
+ "Timeout":{"shape":"Timeout"},
707
+ "MemorySize":{"shape":"MemorySize"},
708
+ "LastModified":{"shape":"Timestamp"}
709
+ }
710
+ },
711
+ "FunctionList":{
712
+ "type":"list",
713
+ "member":{"shape":"FunctionConfiguration"}
714
+ },
715
+ "FunctionName":{
716
+ "type":"string",
717
+ "min":1,
718
+ "max":111,
719
+ "pattern":"(arn:aws:lambda:)?([a-z]{2}-[a-z]+-\\d{1}:)?(\\d{12}:)?(function:)?([a-zA-Z0-9-_]+)"
720
+ },
721
+ "GetEventSourceMappingRequest":{
722
+ "type":"structure",
723
+ "required":["UUID"],
724
+ "members":{
725
+ "UUID":{
726
+ "shape":"String",
727
+ "location":"uri",
728
+ "locationName":"UUID"
729
+ }
730
+ }
731
+ },
732
+ "GetFunctionConfigurationRequest":{
733
+ "type":"structure",
734
+ "required":["FunctionName"],
735
+ "members":{
736
+ "FunctionName":{
737
+ "shape":"FunctionName",
738
+ "location":"uri",
739
+ "locationName":"FunctionName"
740
+ }
741
+ }
742
+ },
743
+ "GetFunctionRequest":{
744
+ "type":"structure",
745
+ "required":["FunctionName"],
746
+ "members":{
747
+ "FunctionName":{
748
+ "shape":"FunctionName",
749
+ "location":"uri",
750
+ "locationName":"FunctionName"
751
+ }
752
+ }
753
+ },
754
+ "GetFunctionResponse":{
755
+ "type":"structure",
756
+ "members":{
757
+ "Configuration":{"shape":"FunctionConfiguration"},
758
+ "Code":{"shape":"FunctionCodeLocation"}
759
+ }
760
+ },
761
+ "GetPolicyRequest":{
762
+ "type":"structure",
763
+ "required":["FunctionName"],
764
+ "members":{
765
+ "FunctionName":{
766
+ "shape":"FunctionName",
767
+ "location":"uri",
768
+ "locationName":"FunctionName"
769
+ }
770
+ }
771
+ },
772
+ "GetPolicyResponse":{
773
+ "type":"structure",
774
+ "members":{
775
+ "Policy":{"shape":"String"}
776
+ }
777
+ },
778
+ "Handler":{
779
+ "type":"string",
780
+ "max":128,
781
+ "pattern":"[a-zA-Z0-9./\\-_]+"
782
+ },
783
+ "HttpStatus":{"type":"integer"},
784
+ "Integer":{"type":"integer"},
785
+ "InvalidParameterValueException":{
786
+ "type":"structure",
787
+ "members":{
788
+ "Type":{"shape":"String"},
789
+ "message":{"shape":"String"}
790
+ },
791
+ "error":{"httpStatusCode":400},
792
+ "exception":true
793
+ },
794
+ "InvalidRequestContentException":{
795
+ "type":"structure",
796
+ "members":{
797
+ "Type":{"shape":"String"},
798
+ "message":{"shape":"String"}
799
+ },
800
+ "error":{"httpStatusCode":400},
801
+ "exception":true
802
+ },
803
+ "InvocationRequest":{
804
+ "type":"structure",
805
+ "required":["FunctionName"],
806
+ "members":{
807
+ "FunctionName":{
808
+ "shape":"FunctionName",
809
+ "location":"uri",
810
+ "locationName":"FunctionName"
811
+ },
812
+ "InvocationType":{
813
+ "shape":"InvocationType",
814
+ "location":"header",
815
+ "locationName":"X-Amz-Invocation-Type"
816
+ },
817
+ "LogType":{
818
+ "shape":"LogType",
819
+ "location":"header",
820
+ "locationName":"X-Amz-Log-Type"
821
+ },
822
+ "ClientContext":{
823
+ "shape":"String",
824
+ "location":"header",
825
+ "locationName":"X-Amz-Client-Context"
826
+ },
827
+ "Payload":{"shape":"Blob"}
828
+ },
829
+ "payload":"Payload"
830
+ },
831
+ "InvocationResponse":{
832
+ "type":"structure",
833
+ "members":{
834
+ "StatusCode":{
835
+ "shape":"Integer",
836
+ "location":"statusCode"
837
+ },
838
+ "FunctionError":{
839
+ "shape":"String",
840
+ "location":"header",
841
+ "locationName":"X-Amz-Function-Error"
842
+ },
843
+ "LogResult":{
844
+ "shape":"String",
845
+ "location":"header",
846
+ "locationName":"X-Amz-Log-Result"
847
+ },
848
+ "Payload":{"shape":"Blob"}
849
+ },
850
+ "payload":"Payload"
851
+ },
852
+ "InvocationType":{
853
+ "type":"string",
854
+ "enum":[
855
+ "Event",
856
+ "RequestResponse",
857
+ "DryRun"
858
+ ]
859
+ },
860
+ "InvokeAsyncRequest":{
861
+ "type":"structure",
862
+ "required":[
863
+ "FunctionName",
864
+ "InvokeArgs"
865
+ ],
866
+ "members":{
867
+ "FunctionName":{
868
+ "shape":"FunctionName",
869
+ "location":"uri",
870
+ "locationName":"FunctionName"
871
+ },
872
+ "InvokeArgs":{"shape":"BlobStream"}
873
+ },
874
+ "deprecated":true,
875
+ "payload":"InvokeArgs"
876
+ },
877
+ "InvokeAsyncResponse":{
878
+ "type":"structure",
879
+ "members":{
880
+ "Status":{
881
+ "shape":"HttpStatus",
882
+ "location":"statusCode"
883
+ }
884
+ },
885
+ "deprecated":true
886
+ },
887
+ "ListEventSourceMappingsRequest":{
888
+ "type":"structure",
889
+ "members":{
890
+ "EventSourceArn":{
891
+ "shape":"Arn",
892
+ "location":"querystring",
893
+ "locationName":"EventSourceArn"
894
+ },
895
+ "FunctionName":{
896
+ "shape":"FunctionName",
897
+ "location":"querystring",
898
+ "locationName":"FunctionName"
899
+ },
900
+ "Marker":{
901
+ "shape":"String",
902
+ "location":"querystring",
903
+ "locationName":"Marker"
904
+ },
905
+ "MaxItems":{
906
+ "shape":"MaxListItems",
907
+ "location":"querystring",
908
+ "locationName":"MaxItems"
909
+ }
910
+ }
911
+ },
912
+ "ListEventSourceMappingsResponse":{
913
+ "type":"structure",
914
+ "members":{
915
+ "NextMarker":{"shape":"String"},
916
+ "EventSourceMappings":{"shape":"EventSourceMappingsList"}
917
+ }
918
+ },
919
+ "ListFunctionsRequest":{
920
+ "type":"structure",
921
+ "members":{
922
+ "Marker":{
923
+ "shape":"String",
924
+ "location":"querystring",
925
+ "locationName":"Marker"
926
+ },
927
+ "MaxItems":{
928
+ "shape":"MaxListItems",
929
+ "location":"querystring",
930
+ "locationName":"MaxItems"
931
+ }
932
+ }
933
+ },
934
+ "ListFunctionsResponse":{
935
+ "type":"structure",
936
+ "members":{
937
+ "NextMarker":{"shape":"String"},
938
+ "Functions":{"shape":"FunctionList"}
939
+ }
940
+ },
941
+ "LogType":{
942
+ "type":"string",
943
+ "enum":[
944
+ "None",
945
+ "Tail"
946
+ ]
947
+ },
948
+ "Long":{"type":"long"},
949
+ "MaxListItems":{
950
+ "type":"integer",
951
+ "min":1,
952
+ "max":10000
953
+ },
954
+ "MemorySize":{
955
+ "type":"integer",
956
+ "min":128,
957
+ "max":1024
958
+ },
959
+ "PolicyLengthExceededException":{
960
+ "type":"structure",
961
+ "members":{
962
+ "Type":{"shape":"String"},
963
+ "message":{"shape":"String"}
964
+ },
965
+ "error":{"httpStatusCode":400},
966
+ "exception":true
967
+ },
968
+ "Principal":{
969
+ "type":"string",
970
+ "pattern":".*"
971
+ },
972
+ "RemovePermissionRequest":{
973
+ "type":"structure",
974
+ "required":[
975
+ "FunctionName",
976
+ "StatementId"
977
+ ],
978
+ "members":{
979
+ "FunctionName":{
980
+ "shape":"FunctionName",
981
+ "location":"uri",
982
+ "locationName":"FunctionName"
983
+ },
984
+ "StatementId":{
985
+ "shape":"StatementId",
986
+ "location":"uri",
987
+ "locationName":"StatementId"
988
+ }
989
+ }
990
+ },
991
+ "RequestTooLargeException":{
992
+ "type":"structure",
993
+ "members":{
994
+ "Type":{"shape":"String"},
995
+ "message":{"shape":"String"}
996
+ },
997
+ "error":{"httpStatusCode":413},
998
+ "exception":true
999
+ },
1000
+ "ResourceConflictException":{
1001
+ "type":"structure",
1002
+ "members":{
1003
+ "Type":{"shape":"String"},
1004
+ "message":{"shape":"String"}
1005
+ },
1006
+ "error":{"httpStatusCode":409},
1007
+ "exception":true
1008
+ },
1009
+ "ResourceNotFoundException":{
1010
+ "type":"structure",
1011
+ "members":{
1012
+ "Type":{"shape":"String"},
1013
+ "Message":{"shape":"String"}
1014
+ },
1015
+ "error":{"httpStatusCode":404},
1016
+ "exception":true
1017
+ },
1018
+ "RoleArn":{
1019
+ "type":"string",
1020
+ "pattern":"arn:aws:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+"
1021
+ },
1022
+ "Runtime":{
1023
+ "type":"string",
1024
+ "enum":[
1025
+ "nodejs",
1026
+ "jvm",
1027
+ "python"
1028
+ ]
1029
+ },
1030
+ "ServiceException":{
1031
+ "type":"structure",
1032
+ "members":{
1033
+ "Type":{"shape":"String"},
1034
+ "Message":{"shape":"String"}
1035
+ },
1036
+ "error":{"httpStatusCode":500},
1037
+ "exception":true
1038
+ },
1039
+ "SourceOwner":{
1040
+ "type":"string",
1041
+ "pattern":"\\d{12}"
1042
+ },
1043
+ "StatementId":{
1044
+ "type":"string",
1045
+ "min":1,
1046
+ "max":100,
1047
+ "pattern":"([a-zA-Z0-9-_]+)"
1048
+ },
1049
+ "String":{"type":"string"},
1050
+ "Timeout":{
1051
+ "type":"integer",
1052
+ "min":1,
1053
+ "max":60
1054
+ },
1055
+ "Timestamp":{"type":"string"},
1056
+ "TooManyRequestsException":{
1057
+ "type":"structure",
1058
+ "members":{
1059
+ "retryAfterSeconds":{
1060
+ "shape":"String",
1061
+ "location":"header",
1062
+ "locationName":"Retry-After"
1063
+ },
1064
+ "Type":{"shape":"String"},
1065
+ "message":{"shape":"String"}
1066
+ },
1067
+ "error":{"httpStatusCode":429},
1068
+ "exception":true
1069
+ },
1070
+ "UnsupportedMediaTypeException":{
1071
+ "type":"structure",
1072
+ "members":{
1073
+ "Type":{"shape":"String"},
1074
+ "message":{"shape":"String"}
1075
+ },
1076
+ "error":{"httpStatusCode":415},
1077
+ "exception":true
1078
+ },
1079
+ "UpdateEventSourceMappingRequest":{
1080
+ "type":"structure",
1081
+ "required":["UUID"],
1082
+ "members":{
1083
+ "UUID":{
1084
+ "shape":"String",
1085
+ "location":"uri",
1086
+ "locationName":"UUID"
1087
+ },
1088
+ "FunctionName":{"shape":"FunctionName"},
1089
+ "Enabled":{"shape":"Enabled"},
1090
+ "BatchSize":{"shape":"BatchSize"}
1091
+ }
1092
+ },
1093
+ "UpdateFunctionCodeRequest":{
1094
+ "type":"structure",
1095
+ "required":[
1096
+ "FunctionName",
1097
+ "ZipFile"
1098
+ ],
1099
+ "members":{
1100
+ "FunctionName":{
1101
+ "shape":"FunctionName",
1102
+ "location":"uri",
1103
+ "locationName":"FunctionName"
1104
+ },
1105
+ "ZipFile":{"shape":"Blob"}
1106
+ }
1107
+ },
1108
+ "UpdateFunctionConfigurationRequest":{
1109
+ "type":"structure",
1110
+ "required":["FunctionName"],
1111
+ "members":{
1112
+ "FunctionName":{
1113
+ "shape":"FunctionName",
1114
+ "location":"uri",
1115
+ "locationName":"FunctionName"
1116
+ },
1117
+ "Role":{"shape":"RoleArn"},
1118
+ "Handler":{"shape":"Handler"},
1119
+ "Description":{"shape":"Description"},
1120
+ "Timeout":{"shape":"Timeout"},
1121
+ "MemorySize":{"shape":"MemorySize"}
1122
+ }
1123
+ }
1124
+ }
1125
+ }