-
Notifications
You must be signed in to change notification settings - Fork 35
/
lambda-2015-03-31.normal.json
2442 lines (2442 loc) · 127 KB
/
lambda-2015-03-31.normal.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"version":"2.0",
"metadata":{
"apiVersion":"2015-03-31",
"endpointPrefix":"lambda",
"protocol":"rest-json",
"serviceFullName":"AWS Lambda",
"serviceId":"Lambda",
"signatureVersion":"v4",
"uid":"lambda-2015-03-31"
},
"operations":{
"AddPermission":{
"name":"AddPermission",
"http":{
"method":"POST",
"requestUri":"/2015-03-31/functions/{FunctionName}/policy",
"responseCode":201
},
"input":{"shape":"AddPermissionRequest"},
"output":{"shape":"AddPermissionResponse"},
"errors":[
{"shape":"ServiceException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ResourceConflictException"},
{"shape":"InvalidParameterValueException"},
{"shape":"PolicyLengthExceededException"},
{"shape":"TooManyRequestsException"},
{"shape":"PreconditionFailedException"}
],
"documentation":"<p>Adds a permission to the resource policy associated with the specified AWS Lambda function. You use resource policies to grant permissions to event sources that use <i>push</i> model. In a <i>push</i> model, event sources (such as Amazon S3 and custom applications) invoke your Lambda function. Each permission you add to the resource policy allows an event source, permission to invoke the Lambda function. </p> <p>For information about the push model, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/lambda-introduction.html\">Lambda Functions</a>. </p> <p>If you are using versioning, the permissions you add are specific to the Lambda function version or alias you specify in the <code>AddPermission</code> request via the <code>Qualifier</code> parameter. For more information about versioning, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html\">AWS Lambda Function Versioning and Aliases</a>. </p> <p>This operation requires permission for the <code>lambda:AddPermission</code> action.</p>"
},
"CreateAlias":{
"name":"CreateAlias",
"http":{
"method":"POST",
"requestUri":"/2015-03-31/functions/{FunctionName}/aliases",
"responseCode":201
},
"input":{"shape":"CreateAliasRequest"},
"output":{"shape":"AliasConfiguration"},
"errors":[
{"shape":"ServiceException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ResourceConflictException"},
{"shape":"InvalidParameterValueException"},
{"shape":"TooManyRequestsException"}
],
"documentation":"<p>Creates an alias that points to the specified Lambda function version. For more information, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/aliases-intro.html\">Introduction to AWS Lambda Aliases</a>.</p> <p>Alias names are unique for a given function. This requires permission for the lambda:CreateAlias action.</p>"
},
"CreateEventSourceMapping":{
"name":"CreateEventSourceMapping",
"http":{
"method":"POST",
"requestUri":"/2015-03-31/event-source-mappings/",
"responseCode":202
},
"input":{"shape":"CreateEventSourceMappingRequest"},
"output":{"shape":"EventSourceMappingConfiguration"},
"errors":[
{"shape":"ServiceException"},
{"shape":"InvalidParameterValueException"},
{"shape":"ResourceConflictException"},
{"shape":"TooManyRequestsException"},
{"shape":"ResourceNotFoundException"}
],
"documentation":"<p>Identifies a poll-based event source for a Lambda function. It can be either an Amazon Kinesis or DynamoDB stream, or an Amazon SQS queue. AWS Lambda invokes the specified function when records are posted to the event source.</p> <p>This association between a poll-based source and a Lambda function is called the event source mapping.</p> <p>You provide mapping information (for example, which stream or SQS queue to read from and which Lambda function to invoke) in the request body.</p> <p>Amazon Kinesis or DynamoDB stream event sources can be associated with multiple AWS Lambda functions and a given Lambda function can be associated with multiple AWS event sources. For Amazon SQS, you can configure multiple queues as event sources for a single Lambda function, but an SQS queue can be mapped only to a single Lambda function.</p> <p>If you are using versioning, you can specify a specific function version or an alias via the function name parameter. For more information about versioning, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html\">AWS Lambda Function Versioning and Aliases</a>. </p> <p>This operation requires permission for the <code>lambda:CreateEventSourceMapping</code> action.</p>"
},
"CreateFunction":{
"name":"CreateFunction",
"http":{
"method":"POST",
"requestUri":"/2015-03-31/functions",
"responseCode":201
},
"input":{"shape":"CreateFunctionRequest"},
"output":{"shape":"FunctionConfiguration"},
"errors":[
{"shape":"ServiceException"},
{"shape":"InvalidParameterValueException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ResourceConflictException"},
{"shape":"TooManyRequestsException"},
{"shape":"CodeStorageExceededException"}
],
"documentation":"<p>Creates a new Lambda function. The function metadata is created from the request parameters, and the code for the function is provided by a .zip file in the request body. If the function name already exists, the operation will fail. Note that the function name is case-sensitive.</p> <p> If you are using versioning, you can also publish a version of the Lambda function you are creating using the <code>Publish</code> parameter. For more information about versioning, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html\">AWS Lambda Function Versioning and Aliases</a>. </p> <p>This operation requires permission for the <code>lambda:CreateFunction</code> action.</p>"
},
"DeleteAlias":{
"name":"DeleteAlias",
"http":{
"method":"DELETE",
"requestUri":"/2015-03-31/functions/{FunctionName}/aliases/{Name}",
"responseCode":204
},
"input":{"shape":"DeleteAliasRequest"},
"errors":[
{"shape":"ServiceException"},
{"shape":"InvalidParameterValueException"},
{"shape":"TooManyRequestsException"}
],
"documentation":"<p>Deletes the specified Lambda function alias. For more information, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/aliases-intro.html\">Introduction to AWS Lambda Aliases</a>.</p> <p>This requires permission for the lambda:DeleteAlias action.</p>"
},
"DeleteEventSourceMapping":{
"name":"DeleteEventSourceMapping",
"http":{
"method":"DELETE",
"requestUri":"/2015-03-31/event-source-mappings/{UUID}",
"responseCode":202
},
"input":{"shape":"DeleteEventSourceMappingRequest"},
"output":{"shape":"EventSourceMappingConfiguration"},
"errors":[
{"shape":"ServiceException"},
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidParameterValueException"},
{"shape":"TooManyRequestsException"},
{"shape":"ResourceInUseException"}
],
"documentation":"<p>Removes an event source mapping. This means AWS Lambda will no longer invoke the function for events in the associated source.</p> <p>This operation requires permission for the <code>lambda:DeleteEventSourceMapping</code> action.</p>"
},
"DeleteFunction":{
"name":"DeleteFunction",
"http":{
"method":"DELETE",
"requestUri":"/2015-03-31/functions/{FunctionName}",
"responseCode":204
},
"input":{"shape":"DeleteFunctionRequest"},
"errors":[
{"shape":"ServiceException"},
{"shape":"ResourceNotFoundException"},
{"shape":"TooManyRequestsException"},
{"shape":"InvalidParameterValueException"},
{"shape":"ResourceConflictException"}
],
"documentation":"<p>Deletes the specified Lambda function code and configuration.</p> <p>If you are using the versioning feature and you don't specify a function version in your <code>DeleteFunction</code> request, AWS Lambda will delete the function, including all its versions, and any aliases pointing to the function versions. To delete a specific function version, you must provide the function version via the <code>Qualifier</code> parameter. For information about function versioning, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html\">AWS Lambda Function Versioning and Aliases</a>. </p> <p>When you delete a function the associated resource policy is also deleted. You will need to delete the event source mappings explicitly.</p> <p>This operation requires permission for the <code>lambda:DeleteFunction</code> action.</p>"
},
"DeleteFunctionConcurrency":{
"name":"DeleteFunctionConcurrency",
"http":{
"method":"DELETE",
"requestUri":"/2017-10-31/functions/{FunctionName}/concurrency",
"responseCode":204
},
"input":{"shape":"DeleteFunctionConcurrencyRequest"},
"errors":[
{"shape":"ServiceException"},
{"shape":"ResourceNotFoundException"},
{"shape":"TooManyRequestsException"},
{"shape":"InvalidParameterValueException"}
],
"documentation":"<p>Removes concurrent execution limits from this function. For more information, see <a>concurrent-executions</a>.</p>"
},
"GetAccountSettings":{
"name":"GetAccountSettings",
"http":{
"method":"GET",
"requestUri":"/2016-08-19/account-settings/",
"responseCode":200
},
"input":{"shape":"GetAccountSettingsRequest"},
"output":{"shape":"GetAccountSettingsResponse"},
"errors":[
{"shape":"TooManyRequestsException"},
{"shape":"ServiceException"}
],
"documentation":"<p>Returns a customer's account settings.</p> <p>You can use this operation to retrieve Lambda limits information, such as code size and concurrency limits. For more information about limits, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/limits.html\">AWS Lambda Limits</a>. You can also retrieve resource usage statistics, such as code storage usage and function count.</p>"
},
"GetAlias":{
"name":"GetAlias",
"http":{
"method":"GET",
"requestUri":"/2015-03-31/functions/{FunctionName}/aliases/{Name}",
"responseCode":200
},
"input":{"shape":"GetAliasRequest"},
"output":{"shape":"AliasConfiguration"},
"errors":[
{"shape":"ServiceException"},
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidParameterValueException"},
{"shape":"TooManyRequestsException"}
],
"documentation":"<p>Returns the specified alias information such as the alias ARN, description, and function version it is pointing to. For more information, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/aliases-intro.html\">Introduction to AWS Lambda Aliases</a>.</p> <p>This requires permission for the <code>lambda:GetAlias</code> action.</p>"
},
"GetEventSourceMapping":{
"name":"GetEventSourceMapping",
"http":{
"method":"GET",
"requestUri":"/2015-03-31/event-source-mappings/{UUID}",
"responseCode":200
},
"input":{"shape":"GetEventSourceMappingRequest"},
"output":{"shape":"EventSourceMappingConfiguration"},
"errors":[
{"shape":"ServiceException"},
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidParameterValueException"},
{"shape":"TooManyRequestsException"}
],
"documentation":"<p>Returns configuration information for the specified event source mapping (see <a>CreateEventSourceMapping</a>).</p> <p>This operation requires permission for the <code>lambda:GetEventSourceMapping</code> action.</p>"
},
"GetFunction":{
"name":"GetFunction",
"http":{
"method":"GET",
"requestUri":"/2015-03-31/functions/{FunctionName}",
"responseCode":200
},
"input":{"shape":"GetFunctionRequest"},
"output":{"shape":"GetFunctionResponse"},
"errors":[
{"shape":"ServiceException"},
{"shape":"ResourceNotFoundException"},
{"shape":"TooManyRequestsException"},
{"shape":"InvalidParameterValueException"}
],
"documentation":"<p>Returns the configuration information of the Lambda function and a presigned URL link to the .zip file you uploaded with <a>CreateFunction</a> so you can download the .zip file. Note that the URL is valid for up to 10 minutes. The configuration information is the same information you provided as parameters when uploading the function.</p> <p>Using the optional <code>Qualifier</code> parameter, you can specify a specific function version for which you want this information. If you don't specify this parameter, the API uses unqualified function ARN which return information about the <code>$LATEST</code> version of the Lambda function. For more information, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html\">AWS Lambda Function Versioning and Aliases</a>.</p> <p>This operation requires permission for the <code>lambda:GetFunction</code> action.</p>"
},
"GetFunctionConfiguration":{
"name":"GetFunctionConfiguration",
"http":{
"method":"GET",
"requestUri":"/2015-03-31/functions/{FunctionName}/configuration",
"responseCode":200
},
"input":{"shape":"GetFunctionConfigurationRequest"},
"output":{"shape":"FunctionConfiguration"},
"errors":[
{"shape":"ServiceException"},
{"shape":"ResourceNotFoundException"},
{"shape":"TooManyRequestsException"},
{"shape":"InvalidParameterValueException"}
],
"documentation":"<p>Returns the configuration information of the Lambda function. This the same information you provided as parameters when uploading the function by using <a>CreateFunction</a>.</p> <p>If you are using the versioning feature, you can retrieve this information for a specific function version by using the optional <code>Qualifier</code> parameter and specifying the function version or alias that points to it. If you don't provide it, the API returns information about the $LATEST version of the function. For more information about versioning, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html\">AWS Lambda Function Versioning and Aliases</a>.</p> <p>This operation requires permission for the <code>lambda:GetFunctionConfiguration</code> operation.</p>"
},
"GetPolicy":{
"name":"GetPolicy",
"http":{
"method":"GET",
"requestUri":"/2015-03-31/functions/{FunctionName}/policy",
"responseCode":200
},
"input":{"shape":"GetPolicyRequest"},
"output":{"shape":"GetPolicyResponse"},
"errors":[
{"shape":"ServiceException"},
{"shape":"ResourceNotFoundException"},
{"shape":"TooManyRequestsException"},
{"shape":"InvalidParameterValueException"}
],
"documentation":"<p>Returns the resource policy associated with the specified Lambda function.</p> <p> If you are using the versioning feature, you can get the resource policy associated with the specific Lambda function version or alias by specifying the version or alias name using the <code>Qualifier</code> parameter. For more information about versioning, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html\">AWS Lambda Function Versioning and Aliases</a>. </p> <p>You need permission for the <code>lambda:GetPolicy action.</code> </p>"
},
"Invoke":{
"name":"Invoke",
"http":{
"method":"POST",
"requestUri":"/2015-03-31/functions/{FunctionName}/invocations"
},
"input":{"shape":"InvocationRequest"},
"output":{"shape":"InvocationResponse"},
"errors":[
{"shape":"ServiceException"},
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidRequestContentException"},
{"shape":"RequestTooLargeException"},
{"shape":"UnsupportedMediaTypeException"},
{"shape":"TooManyRequestsException"},
{"shape":"InvalidParameterValueException"},
{"shape":"EC2UnexpectedException"},
{"shape":"SubnetIPAddressLimitReachedException"},
{"shape":"ENILimitReachedException"},
{"shape":"EC2ThrottledException"},
{"shape":"EC2AccessDeniedException"},
{"shape":"InvalidSubnetIDException"},
{"shape":"InvalidSecurityGroupIDException"},
{"shape":"InvalidZipFileException"},
{"shape":"KMSDisabledException"},
{"shape":"KMSInvalidStateException"},
{"shape":"KMSAccessDeniedException"},
{"shape":"KMSNotFoundException"},
{"shape":"InvalidRuntimeException"}
],
"documentation":"<p>Invokes a specific Lambda function. For an example, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/with-dynamodb-create-function.html#with-dbb-invoke-manually\">Create the Lambda Function and Test It Manually</a>. </p> <p>If you are using the versioning feature, you can invoke the specific function version by providing function version or alias name that is pointing to the function version using the <code>Qualifier</code> parameter in the request. If you don't provide the <code>Qualifier</code> parameter, the <code>$LATEST</code> version of the Lambda function is invoked. Invocations occur at least once in response to an event and functions must be idempotent to handle this. For information about the versioning feature, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html\">AWS Lambda Function Versioning and Aliases</a>. </p> <p>This operation requires permission for the <code>lambda:InvokeFunction</code> action.</p> <note> <p>The <code>TooManyRequestsException</code> noted below will return the following: <code>ConcurrentInvocationLimitExceeded</code> will be returned if you have no functions with reserved concurrency and have exceeded your account concurrent limit or if a function without reserved concurrency exceeds the account's unreserved concurrency limit. <code>ReservedFunctionConcurrentInvocationLimitExceeded</code> will be returned when a function with reserved concurrency exceeds its configured concurrency limit. </p> </note>"
},
"InvokeAsync":{
"name":"InvokeAsync",
"http":{
"method":"POST",
"requestUri":"/2014-11-13/functions/{FunctionName}/invoke-async/",
"responseCode":202
},
"input":{"shape":"InvokeAsyncRequest"},
"output":{"shape":"InvokeAsyncResponse"},
"errors":[
{"shape":"ServiceException"},
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidRequestContentException"},
{"shape":"InvalidRuntimeException"}
],
"documentation":"<important> <p>This API is deprecated. We recommend you use <code>Invoke</code> API (see <a>Invoke</a>).</p> </important> <p>Submits an invocation request to AWS Lambda. Upon receiving the request, Lambda executes the specified function asynchronously. To see the logs generated by the Lambda function execution, see the CloudWatch Logs console.</p> <p>This operation requires permission for the <code>lambda:InvokeFunction</code> action.</p>",
"deprecated":true
},
"ListAliases":{
"name":"ListAliases",
"http":{
"method":"GET",
"requestUri":"/2015-03-31/functions/{FunctionName}/aliases",
"responseCode":200
},
"input":{"shape":"ListAliasesRequest"},
"output":{"shape":"ListAliasesResponse"},
"errors":[
{"shape":"ServiceException"},
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidParameterValueException"},
{"shape":"TooManyRequestsException"}
],
"documentation":"<p>Returns list of aliases created for a Lambda function. For each alias, the response includes information such as the alias ARN, description, alias name, and the function version to which it points. For more information, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/aliases-intro.html\">Introduction to AWS Lambda Aliases</a>.</p> <p>This requires permission for the lambda:ListAliases action.</p>"
},
"ListEventSourceMappings":{
"name":"ListEventSourceMappings",
"http":{
"method":"GET",
"requestUri":"/2015-03-31/event-source-mappings/",
"responseCode":200
},
"input":{"shape":"ListEventSourceMappingsRequest"},
"output":{"shape":"ListEventSourceMappingsResponse"},
"errors":[
{"shape":"ServiceException"},
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidParameterValueException"},
{"shape":"TooManyRequestsException"}
],
"documentation":"<p>Returns a list of event source mappings you created using the <code>CreateEventSourceMapping</code> (see <a>CreateEventSourceMapping</a>). </p> <p>For each mapping, the API returns configuration information. You can optionally specify filters to retrieve specific event source mappings.</p> <p>If you are using the versioning feature, you can get list of event source mappings for a specific Lambda function version or an alias as described in the <code>FunctionName</code> parameter. For information about the versioning feature, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html\">AWS Lambda Function Versioning and Aliases</a>. </p> <p>This operation requires permission for the <code>lambda:ListEventSourceMappings</code> action.</p>"
},
"ListFunctions":{
"name":"ListFunctions",
"http":{
"method":"GET",
"requestUri":"/2015-03-31/functions/",
"responseCode":200
},
"input":{"shape":"ListFunctionsRequest"},
"output":{"shape":"ListFunctionsResponse"},
"errors":[
{"shape":"ServiceException"},
{"shape":"TooManyRequestsException"},
{"shape":"InvalidParameterValueException"}
],
"documentation":"<p>Returns a list of your Lambda functions. For each function, the response includes the function configuration information. You must use <a>GetFunction</a> to retrieve the code for your function.</p> <p>This operation requires permission for the <code>lambda:ListFunctions</code> action.</p> <p>If you are using the versioning feature, you can list all of your functions or only <code>$LATEST</code> versions. For information about the versioning feature, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html\">AWS Lambda Function Versioning and Aliases</a>. </p>"
},
"ListTags":{
"name":"ListTags",
"http":{
"method":"GET",
"requestUri":"/2017-03-31/tags/{ARN}"
},
"input":{"shape":"ListTagsRequest"},
"output":{"shape":"ListTagsResponse"},
"errors":[
{"shape":"ServiceException"},
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidParameterValueException"},
{"shape":"TooManyRequestsException"}
],
"documentation":"<p>Returns a list of tags assigned to a function when supplied the function ARN (Amazon Resource Name). For more information on Tagging, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/tagging.html\">Tagging Lambda Functions</a> in the <b>AWS Lambda Developer Guide</b>.</p>"
},
"ListVersionsByFunction":{
"name":"ListVersionsByFunction",
"http":{
"method":"GET",
"requestUri":"/2015-03-31/functions/{FunctionName}/versions",
"responseCode":200
},
"input":{"shape":"ListVersionsByFunctionRequest"},
"output":{"shape":"ListVersionsByFunctionResponse"},
"errors":[
{"shape":"ServiceException"},
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidParameterValueException"},
{"shape":"TooManyRequestsException"}
],
"documentation":"<p>List all versions of a function. For information about the versioning feature, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html\">AWS Lambda Function Versioning and Aliases</a>. </p>"
},
"PublishVersion":{
"name":"PublishVersion",
"http":{
"method":"POST",
"requestUri":"/2015-03-31/functions/{FunctionName}/versions",
"responseCode":201
},
"input":{"shape":"PublishVersionRequest"},
"output":{"shape":"FunctionConfiguration"},
"errors":[
{"shape":"ServiceException"},
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidParameterValueException"},
{"shape":"TooManyRequestsException"},
{"shape":"CodeStorageExceededException"},
{"shape":"PreconditionFailedException"}
],
"documentation":"<p>Publishes a version of your function from the current snapshot of $LATEST. That is, AWS Lambda takes a snapshot of the function code and configuration information from $LATEST and publishes a new version. The code and configuration cannot be modified after publication. For information about the versioning feature, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html\">AWS Lambda Function Versioning and Aliases</a>. </p>"
},
"PutFunctionConcurrency":{
"name":"PutFunctionConcurrency",
"http":{
"method":"PUT",
"requestUri":"/2017-10-31/functions/{FunctionName}/concurrency",
"responseCode":200
},
"input":{"shape":"PutFunctionConcurrencyRequest"},
"output":{"shape":"Concurrency"},
"errors":[
{"shape":"ServiceException"},
{"shape":"InvalidParameterValueException"},
{"shape":"ResourceNotFoundException"},
{"shape":"TooManyRequestsException"}
],
"documentation":"<p>Sets a limit on the number of concurrent executions available to this function. It is a subset of your account's total concurrent execution limit per region. Note that Lambda automatically reserves a buffer of 100 concurrent executions for functions without any reserved concurrency limit. This means if your account limit is 1000, you have a total of 900 available to allocate to individual functions. For more information, see <a>concurrent-executions</a>.</p>"
},
"RemovePermission":{
"name":"RemovePermission",
"http":{
"method":"DELETE",
"requestUri":"/2015-03-31/functions/{FunctionName}/policy/{StatementId}",
"responseCode":204
},
"input":{"shape":"RemovePermissionRequest"},
"errors":[
{"shape":"ServiceException"},
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidParameterValueException"},
{"shape":"TooManyRequestsException"},
{"shape":"PreconditionFailedException"}
],
"documentation":"<p>You can remove individual permissions from an resource policy associated with a Lambda function by providing a statement ID that you provided when you added the permission.</p> <p>If you are using versioning, the permissions you remove are specific to the Lambda function version or alias you specify in the <code>AddPermission</code> request via the <code>Qualifier</code> parameter. For more information about versioning, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html\">AWS Lambda Function Versioning and Aliases</a>. </p> <p>Note that removal of a permission will cause an active event source to lose permission to the function.</p> <p>You need permission for the <code>lambda:RemovePermission</code> action.</p>"
},
"TagResource":{
"name":"TagResource",
"http":{
"method":"POST",
"requestUri":"/2017-03-31/tags/{ARN}",
"responseCode":204
},
"input":{"shape":"TagResourceRequest"},
"errors":[
{"shape":"ServiceException"},
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidParameterValueException"},
{"shape":"TooManyRequestsException"}
],
"documentation":"<p>Creates a list of tags (key-value pairs) on the Lambda function. Requires the Lambda function ARN (Amazon Resource Name). If a key is specified without a value, Lambda creates a tag with the specified key and a value of null. For more information, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/tagging.html\">Tagging Lambda Functions</a> in the <b>AWS Lambda Developer Guide</b>. </p>"
},
"UntagResource":{
"name":"UntagResource",
"http":{
"method":"DELETE",
"requestUri":"/2017-03-31/tags/{ARN}",
"responseCode":204
},
"input":{"shape":"UntagResourceRequest"},
"errors":[
{"shape":"ServiceException"},
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidParameterValueException"},
{"shape":"TooManyRequestsException"}
],
"documentation":"<p>Removes tags from a Lambda function. Requires the function ARN (Amazon Resource Name). For more information, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/tagging.html\">Tagging Lambda Functions</a> in the <b>AWS Lambda Developer Guide</b>. </p>"
},
"UpdateAlias":{
"name":"UpdateAlias",
"http":{
"method":"PUT",
"requestUri":"/2015-03-31/functions/{FunctionName}/aliases/{Name}",
"responseCode":200
},
"input":{"shape":"UpdateAliasRequest"},
"output":{"shape":"AliasConfiguration"},
"errors":[
{"shape":"ServiceException"},
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidParameterValueException"},
{"shape":"TooManyRequestsException"},
{"shape":"PreconditionFailedException"}
],
"documentation":"<p>Using this API you can update the function version to which the alias points and the alias description. For more information, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/aliases-intro.html\">Introduction to AWS Lambda Aliases</a>.</p> <p>This requires permission for the lambda:UpdateAlias action.</p>"
},
"UpdateEventSourceMapping":{
"name":"UpdateEventSourceMapping",
"http":{
"method":"PUT",
"requestUri":"/2015-03-31/event-source-mappings/{UUID}",
"responseCode":202
},
"input":{"shape":"UpdateEventSourceMappingRequest"},
"output":{"shape":"EventSourceMappingConfiguration"},
"errors":[
{"shape":"ServiceException"},
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidParameterValueException"},
{"shape":"TooManyRequestsException"},
{"shape":"ResourceConflictException"},
{"shape":"ResourceInUseException"}
],
"documentation":"<p>You can update an event source mapping. This is useful if you want to change the parameters of the existing mapping without losing your position in the stream. You can change which function will receive the stream records, but to change the stream itself, you must create a new mapping.</p> <p>If you are using the versioning feature, you can update the event source mapping to map to a specific Lambda function version or alias as described in the <code>FunctionName</code> parameter. For information about the versioning feature, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html\">AWS Lambda Function Versioning and Aliases</a>. </p> <p>If you disable the event source mapping, AWS Lambda stops polling. If you enable again, it will resume polling from the time it had stopped polling, so you don't lose processing of any records. However, if you delete event source mapping and create it again, it will reset.</p> <p>This operation requires permission for the <code>lambda:UpdateEventSourceMapping</code> action.</p>"
},
"UpdateFunctionCode":{
"name":"UpdateFunctionCode",
"http":{
"method":"PUT",
"requestUri":"/2015-03-31/functions/{FunctionName}/code",
"responseCode":200
},
"input":{"shape":"UpdateFunctionCodeRequest"},
"output":{"shape":"FunctionConfiguration"},
"errors":[
{"shape":"ServiceException"},
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidParameterValueException"},
{"shape":"TooManyRequestsException"},
{"shape":"CodeStorageExceededException"},
{"shape":"PreconditionFailedException"}
],
"documentation":"<p>Updates the code for the specified Lambda function. This operation must only be used on an existing Lambda function and cannot be used to update the function configuration.</p> <p>If you are using the versioning feature, note this API will always update the $LATEST version of your Lambda function. For information about the versioning feature, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html\">AWS Lambda Function Versioning and Aliases</a>. </p> <p>This operation requires permission for the <code>lambda:UpdateFunctionCode</code> action.</p>"
},
"UpdateFunctionConfiguration":{
"name":"UpdateFunctionConfiguration",
"http":{
"method":"PUT",
"requestUri":"/2015-03-31/functions/{FunctionName}/configuration",
"responseCode":200
},
"input":{"shape":"UpdateFunctionConfigurationRequest"},
"output":{"shape":"FunctionConfiguration"},
"errors":[
{"shape":"ServiceException"},
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidParameterValueException"},
{"shape":"TooManyRequestsException"},
{"shape":"ResourceConflictException"},
{"shape":"PreconditionFailedException"}
],
"documentation":"<p>Updates the configuration parameters for the specified Lambda function by using the values provided in the request. You provide only the parameters you want to change. This operation must only be used on an existing Lambda function and cannot be used to update the function's code.</p> <p>If you are using the versioning feature, note this API will always update the $LATEST version of your Lambda function. For information about the versioning feature, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html\">AWS Lambda Function Versioning and Aliases</a>. </p> <p>This operation requires permission for the <code>lambda:UpdateFunctionConfiguration</code> action.</p>"
}
},
"shapes":{
"AccountLimit":{
"type":"structure",
"members":{
"TotalCodeSize":{
"shape":"Long",
"documentation":"<p>Maximum size, in bytes, of a code package you can upload per region. The default size is 75 GB. </p>"
},
"CodeSizeUnzipped":{
"shape":"Long",
"documentation":"<p>Size, in bytes, of code/dependencies that you can zip into a deployment package (uncompressed zip/jar size) for uploading. The default limit is 250 MB.</p>"
},
"CodeSizeZipped":{
"shape":"Long",
"documentation":"<p>Size, in bytes, of a single zipped code/dependencies package you can upload for your Lambda function(.zip/.jar file). Try using Amazon S3 for uploading larger files. Default limit is 50 MB.</p>"
},
"ConcurrentExecutions":{
"shape":"Integer",
"documentation":"<p>Number of simultaneous executions of your function per region. For more information or to request a limit increase for concurrent executions, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html\">Lambda Function Concurrent Executions</a>. The default limit is 1000.</p>"
},
"UnreservedConcurrentExecutions":{
"shape":"UnreservedConcurrentExecutions",
"documentation":"<p>The number of concurrent executions available to functions that do not have concurrency limits set. For more information, see <a>concurrent-executions</a>.</p>"
}
},
"documentation":"<p>Provides limits of code size and concurrency associated with the current account and region.</p>"
},
"AccountUsage":{
"type":"structure",
"members":{
"TotalCodeSize":{
"shape":"Long",
"documentation":"<p>Total size, in bytes, of the account's deployment packages per region.</p>"
},
"FunctionCount":{
"shape":"Long",
"documentation":"<p>The number of your account's existing functions per region.</p>"
}
},
"documentation":"<p>Provides code size usage and function count associated with the current account and region.</p>"
},
"Action":{
"type":"string",
"pattern":"(lambda:[*]|lambda:[a-zA-Z]+|[*])"
},
"AddPermissionRequest":{
"type":"structure",
"required":[
"FunctionName",
"StatementId",
"Action",
"Principal"
],
"members":{
"FunctionName":{
"shape":"FunctionName",
"documentation":"<p>Name of the Lambda function whose resource policy you are updating by adding a new permission.</p> <p> You can specify a function name (for example, <code>Thumbnail</code>) or you can specify Amazon Resource Name (ARN) of the function (for example, <code>arn:aws:lambda:us-west-2:account-id:function:ThumbNail</code>). AWS Lambda also allows you to specify partial ARN (for example, <code>account-id:Thumbnail</code>). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length. </p>",
"location":"uri",
"locationName":"FunctionName"
},
"StatementId":{
"shape":"StatementId",
"documentation":"<p>A unique statement identifier.</p>"
},
"Action":{
"shape":"Action",
"documentation":"<p>The AWS Lambda action you want to allow in this statement. Each Lambda action is a string starting with <code>lambda:</code> followed by the API name . For example, <code>lambda:CreateFunction</code>. You can use wildcard (<code>lambda:*</code>) to grant permission for all AWS Lambda actions. </p>"
},
"Principal":{
"shape":"Principal",
"documentation":"<p>The principal who is getting this permission. It can be Amazon S3 service Principal (<code>s3.amazonaws.com</code>) if you want Amazon S3 to invoke the function, an AWS account ID if you are granting cross-account permission, or any valid AWS service principal such as <code>sns.amazonaws.com</code>. For example, you might want to allow a custom application in another AWS account to push events to AWS Lambda by invoking your function. </p>"
},
"SourceArn":{
"shape":"Arn",
"documentation":"<p>This is optional; however, when granting permission to invoke your function, you should specify this field with the Amazon Resource Name (ARN) as its value. This ensures that only events generated from the specified source can invoke the function.</p> <important> <p>If you add a permission without providing the source ARN, any AWS account that creates a mapping to your function ARN can send events to invoke your Lambda function.</p> </important>"
},
"SourceAccount":{
"shape":"SourceOwner",
"documentation":"<p>This parameter is used for S3 and SES. The AWS account ID (without a hyphen) of the source owner. For example, if the <code>SourceArn</code> identifies a bucket, then this is the bucket owner's account ID. You can use this additional condition to ensure the bucket you specify is owned by a specific account (it is possible the bucket owner deleted the bucket and some other AWS account created the bucket). You can also use this condition to specify all sources (that is, you don't specify the <code>SourceArn</code>) owned by a specific account. </p>"
},
"EventSourceToken":{
"shape":"EventSourceToken",
"documentation":"<p>A unique token that must be supplied by the principal invoking the function. This is currently only used for Alexa Smart Home functions.</p>"
},
"Qualifier":{
"shape":"Qualifier",
"documentation":"<p>You can use this optional query parameter to describe a qualified ARN using a function version or an alias name. The permission will then apply to the specific qualified ARN. For example, if you specify function version 2 as the qualifier, then permission applies only when request is made using qualified function ARN:</p> <p> <code>arn:aws:lambda:aws-region:acct-id:function:function-name:2</code> </p> <p>If you specify an alias name, for example <code>PROD</code>, then the permission is valid only for requests made using the alias ARN:</p> <p> <code>arn:aws:lambda:aws-region:acct-id:function:function-name:PROD</code> </p> <p>If the qualifier is not specified, the permission is valid only when requests is made using unqualified function ARN.</p> <p> <code>arn:aws:lambda:aws-region:acct-id:function:function-name</code> </p>",
"location":"querystring",
"locationName":"Qualifier"
},
"RevisionId":{
"shape":"String",
"documentation":"<p>An optional value you can use to ensure you are updating the latest update of the function version or alias. If the <code>RevisionID</code> you pass doesn't match the latest <code>RevisionId</code> of the function or alias, it will fail with an error message, advising you to retrieve the latest function version or alias <code>RevisionID</code> using either or .</p>"
}
},
"documentation":"<p/>"
},
"AddPermissionResponse":{
"type":"structure",
"members":{
"Statement":{
"shape":"String",
"documentation":"<p>The permission statement you specified in the request. The response returns the same as a string using a backslash (\"\\\") as an escape character in the JSON.</p>"
}
},
"documentation":"<p/>"
},
"AdditionalVersion":{
"type":"string",
"max":1024,
"min":1,
"pattern":"[0-9]+"
},
"AdditionalVersionWeights":{
"type":"map",
"key":{"shape":"AdditionalVersion"},
"value":{"shape":"Weight"}
},
"Alias":{
"type":"string",
"max":128,
"min":1,
"pattern":"(?!^[0-9]+$)([a-zA-Z0-9-_]+)"
},
"AliasConfiguration":{
"type":"structure",
"members":{
"AliasArn":{
"shape":"FunctionArn",
"documentation":"<p>Lambda function ARN that is qualified using the alias name as the suffix. For example, if you create an alias called <code>BETA</code> that points to a helloworld function version, the ARN is <code>arn:aws:lambda:aws-regions:acct-id:function:helloworld:BETA</code>.</p>"
},
"Name":{
"shape":"Alias",
"documentation":"<p>Alias name.</p>"
},
"FunctionVersion":{
"shape":"Version",
"documentation":"<p>Function version to which the alias points.</p>"
},
"Description":{
"shape":"Description",
"documentation":"<p>Alias description.</p>"
},
"RoutingConfig":{
"shape":"AliasRoutingConfiguration",
"documentation":"<p>Specifies an additional function versions the alias points to, allowing you to dictate what percentage of traffic will invoke each version. For more information, see <a>lambda-traffic-shifting-using-aliases</a>.</p>"
},
"RevisionId":{
"shape":"String",
"documentation":"<p>Represents the latest updated revision of the function or alias.</p>"
}
},
"documentation":"<p>Provides configuration information about a Lambda function version alias.</p>"
},
"AliasList":{
"type":"list",
"member":{"shape":"AliasConfiguration"}
},
"AliasRoutingConfiguration":{
"type":"structure",
"members":{
"AdditionalVersionWeights":{
"shape":"AdditionalVersionWeights",
"documentation":"<p>Set this value to dictate what percentage of traffic will invoke the updated function version. If set to an empty string, 100 percent of traffic will invoke <code>function-version</code>. For more information, see <a>lambda-traffic-shifting-using-aliases</a>.</p>"
}
},
"documentation":"<p>The parent object that implements what percentage of traffic will invoke each function version. For more information, see <a>lambda-traffic-shifting-using-aliases</a>.</p>"
},
"Arn":{
"type":"string",
"pattern":"arn:aws:([a-zA-Z0-9\\-])+:([a-z]{2}-[a-z]+-\\d{1})?:(\\d{12})?:(.*)"
},
"BatchSize":{
"type":"integer",
"max":10000,
"min":1
},
"Blob":{
"type":"blob",
"sensitive":true
},
"BlobStream":{
"type":"blob",
"streaming":true
},
"Boolean":{"type":"boolean"},
"CodeStorageExceededException":{
"type":"structure",
"members":{
"Type":{
"shape":"String",
"documentation":"<p/>"
},
"message":{"shape":"String"}
},
"documentation":"<p>You have exceeded your maximum total code size per account. <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/limits.html\">Limits</a> </p>",
"error":{"httpStatusCode":400},
"exception":true
},
"Concurrency":{
"type":"structure",
"members":{
"ReservedConcurrentExecutions":{
"shape":"ReservedConcurrentExecutions",
"documentation":"<p>The number of concurrent executions reserved for this function. For more information, see <a>concurrent-executions</a>.</p>"
}
}
},
"CreateAliasRequest":{
"type":"structure",
"required":[
"FunctionName",
"Name",
"FunctionVersion"
],
"members":{
"FunctionName":{
"shape":"FunctionName",
"documentation":"<p>Name of the Lambda function for which you want to create an alias. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.</p>",
"location":"uri",
"locationName":"FunctionName"
},
"Name":{
"shape":"Alias",
"documentation":"<p>Name for the alias you are creating.</p>"
},
"FunctionVersion":{
"shape":"Version",
"documentation":"<p>Lambda function version for which you are creating the alias.</p>"
},
"Description":{
"shape":"Description",
"documentation":"<p>Description of the alias.</p>"
},
"RoutingConfig":{
"shape":"AliasRoutingConfiguration",
"documentation":"<p>Specifies an additional version your alias can point to, allowing you to dictate what percentage of traffic will invoke each version. For more information, see <a>lambda-traffic-shifting-using-aliases</a>.</p>"
}
}
},
"CreateEventSourceMappingRequest":{
"type":"structure",
"required":[
"EventSourceArn",
"FunctionName"
],
"members":{
"EventSourceArn":{
"shape":"Arn",
"documentation":"<p>The Amazon Resource Name (ARN) of the event source. Any record added to this source could cause AWS Lambda to invoke your Lambda function, it depends on the <code>BatchSize</code>. AWS Lambda POSTs the event's records to your Lambda function as JSON.</p>"
},
"FunctionName":{
"shape":"FunctionName",
"documentation":"<p>The Lambda function to invoke when AWS Lambda detects an event on the stream.</p> <p> You can specify the function name (for example, <code>Thumbnail</code>) or you can specify Amazon Resource Name (ARN) of the function (for example, <code>arn:aws:lambda:us-west-2:account-id:function:ThumbNail</code>). </p> <p> If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). For more information about versioning, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html\">AWS Lambda Function Versioning and Aliases</a> </p> <p>AWS Lambda also allows you to specify only the function name with the account ID qualifier (for example, <code>account-id:Thumbnail</code>). </p> <p>Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.</p>"
},
"Enabled":{
"shape":"Enabled",
"documentation":"<p>Indicates whether AWS Lambda should begin polling the event source. By default, <code>Enabled</code> is true. </p>"
},
"BatchSize":{
"shape":"BatchSize",
"documentation":"<p>The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function. Your function receives an event with all the retrieved records. The default for Amazon Kinesis and Amazon DynamoDB is 100 records. For SQS, the default is 1.</p>"
},
"StartingPosition":{
"shape":"EventSourcePosition",
"documentation":"<p>The position in the DynamoDB or Kinesis stream where AWS Lambda should start reading. For more information, see <a href=\"http://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetShardIterator.html#Kinesis-GetShardIterator-request-ShardIteratorType\">GetShardIterator</a> in the <i>Amazon Kinesis API Reference Guide</i> or <a href=\"http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_streams_GetShardIterator.html\">GetShardIterator</a> in the <i>Amazon DynamoDB API Reference Guide</i>. The <code>AT_TIMESTAMP</code> value is supported only for <a href=\"http://docs.aws.amazon.com/streams/latest/dev/amazon-kinesis-streams.html\">Kinesis streams</a>. </p>"
},
"StartingPositionTimestamp":{
"shape":"Date",
"documentation":"<p>The timestamp of the data record from which to start reading. Used with <a href=\"http://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetShardIterator.html#Kinesis-GetShardIterator-request-ShardIteratorType\">shard iterator type</a> AT_TIMESTAMP. If a record with this exact timestamp does not exist, the iterator returned is for the next (later) record. If the timestamp is older than the current trim horizon, the iterator returned is for the oldest untrimmed data record (TRIM_HORIZON). Valid only for <a href=\"http://docs.aws.amazon.com/streams/latest/dev/amazon-kinesis-streams.html\">Kinesis streams</a>. </p>"
}
},
"documentation":"<p/>"
},
"CreateFunctionRequest":{
"type":"structure",
"required":[
"FunctionName",
"Runtime",
"Role",
"Handler",
"Code"
],
"members":{
"FunctionName":{
"shape":"FunctionName",
"documentation":"<p>The name you want to assign to the function you are uploading. The function names appear in the console and are returned in the <a>ListFunctions</a> API. Function names are used to specify functions to other AWS Lambda API operations, such as <a>Invoke</a>. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length. </p>"
},
"Runtime":{
"shape":"Runtime",
"documentation":"<p>The runtime environment for the Lambda function you are uploading.</p> <p>To use the Python runtime v3.6, set the value to \"python3.6\". To use the Python runtime v2.7, set the value to \"python2.7\". To use the Node.js runtime v6.10, set the value to \"nodejs6.10\". To use the Node.js runtime v4.3, set the value to \"nodejs4.3\". To use the .NET Core runtime v1.0, set the value to \"dotnetcore1.0\". To use the .NET Core runtime v2.0, set the value to \"dotnetcore2.0\".</p> <note> <p>Node v0.10.42 is currently marked as deprecated. You must migrate existing functions to the newer Node.js runtime versions available on AWS Lambda (nodejs4.3 or nodejs6.10) as soon as possible. Failure to do so will result in an invalid parameter error being returned. Note that you will have to follow this procedure for each region that contains functions written in the Node v0.10.42 runtime.</p> </note>"
},
"Role":{
"shape":"RoleArn",
"documentation":"<p>The Amazon Resource Name (ARN) of the IAM role that Lambda assumes when it executes your function to access any other Amazon Web Services (AWS) resources. For more information, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/lambda-introduction.html\">AWS Lambda: How it Works</a>. </p>"
},
"Handler":{
"shape":"Handler",
"documentation":"<p>The function within your code that Lambda calls to begin execution. For Node.js, it is the <i>module-name</i>.<i>export</i> value in your function. For Java, it can be <code>package.class-name::handler</code> or <code>package.class-name</code>. For more information, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/java-programming-model-handler-types.html\">Lambda Function Handler (Java)</a>. </p>"
},
"Code":{
"shape":"FunctionCode",
"documentation":"<p>The code for the Lambda function.</p>"
},
"Description":{
"shape":"Description",
"documentation":"<p>A short, user-defined function description. Lambda does not use this value. Assign a meaningful description as you see fit.</p>"
},
"Timeout":{
"shape":"Timeout",
"documentation":"<p>The function execution time at which Lambda should terminate the function. Because the execution time has cost implications, we recommend you set this value based on your expected execution time. The default is 3 seconds.</p>"
},
"MemorySize":{
"shape":"MemorySize",
"documentation":"<p>The amount of memory, in MB, your Lambda function is given. Lambda uses this memory size to infer the amount of CPU and memory allocated to your function. Your function use-case determines your CPU and memory requirements. For example, a database operation might need less memory compared to an image processing function. The default value is 128 MB. The value must be a multiple of 64 MB.</p>"
},
"Publish":{
"shape":"Boolean",
"documentation":"<p>This boolean parameter can be used to request AWS Lambda to create the Lambda function and publish a version as an atomic operation.</p>"
},
"VpcConfig":{
"shape":"VpcConfig",
"documentation":"<p>If your Lambda function accesses resources in a VPC, you provide this parameter identifying the list of security group IDs and subnet IDs. These must belong to the same VPC. You must provide at least one security group and one subnet ID.</p>"
},
"DeadLetterConfig":{
"shape":"DeadLetterConfig",
"documentation":"<p>The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic. For more information, see <a>dlq</a>. </p>"
},
"Environment":{"shape":"Environment"},
"KMSKeyArn":{
"shape":"KMSKeyArn",
"documentation":"<p>The Amazon Resource Name (ARN) of the KMS key used to encrypt your function's environment variables. If not provided, AWS Lambda will use a default service key.</p>"
},
"TracingConfig":{
"shape":"TracingConfig",
"documentation":"<p>The parent object that contains your function's tracing settings.</p>"
},
"Tags":{
"shape":"Tags",
"documentation":"<p>The list of tags (key-value pairs) assigned to the new function. For more information, see <a href=\"http://docs.aws.amazon.com/lambda/latest/dg/tagging.html\">Tagging Lambda Functions</a> in the <b>AWS Lambda Developer Guide</b>.</p>"
}
},
"documentation":"<p/>"
},
"Date":{"type":"timestamp"},
"DeadLetterConfig":{
"type":"structure",
"members":{
"TargetArn":{
"shape":"ResourceArn",
"documentation":"<p>The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic you specify as your Dead Letter Queue (DLQ). <a>dlq</a>. For more information, see <a>dlq</a>. </p>"
}
},
"documentation":"<p>The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic you specify as your Dead Letter Queue (DLQ). For more information, see <a>dlq</a>. </p>"
},
"DeleteAliasRequest":{
"type":"structure",
"required":[
"FunctionName",
"Name"
],
"members":{
"FunctionName":{
"shape":"FunctionName",
"documentation":"<p>The Lambda function name for which the alias is created. Deleting an alias does not delete the function version to which it is pointing. Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.</p>",
"location":"uri",
"locationName":"FunctionName"
},
"Name":{
"shape":"Alias",
"documentation":"<p>Name of the alias to delete.</p>",
"location":"uri",
"locationName":"Name"
}
}
},
"DeleteEventSourceMappingRequest":{
"type":"structure",
"required":["UUID"],
"members":{
"UUID":{
"shape":"String",
"documentation":"<p>The event source mapping ID.</p>",
"location":"uri",
"locationName":"UUID"
}
},
"documentation":"<p/>"
},
"DeleteFunctionConcurrencyRequest":{
"type":"structure",
"required":["FunctionName"],
"members":{
"FunctionName":{
"shape":"FunctionName",
"documentation":"<p>The name of the function you are removing concurrent execution limits from. For more information, see <a>concurrent-executions</a>.</p>",
"location":"uri",
"locationName":"FunctionName"
}
}
},
"DeleteFunctionRequest":{
"type":"structure",
"required":["FunctionName"],
"members":{
"FunctionName":{
"shape":"FunctionName",
"documentation":"<p>The Lambda function to delete.</p> <p> You can specify the function name (for example, <code>Thumbnail</code>) or you can specify Amazon Resource Name (ARN) of the function (for example, <code>arn:aws:lambda:us-west-2:account-id:function:ThumbNail</code>). If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). AWS Lambda also allows you to specify only the function name with the account ID qualifier (for example, <code>account-id:Thumbnail</code>). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length. </p>",
"location":"uri",
"locationName":"FunctionName"
},
"Qualifier":{
"shape":"Qualifier",
"documentation":"<p>Using this optional parameter you can specify a function version (but not the <code>$LATEST</code> version) to direct AWS Lambda to delete a specific function version. If the function version has one or more aliases pointing to it, you will get an error because you cannot have aliases pointing to it. You can delete any function version but not the <code>$LATEST</code>, that is, you cannot specify <code>$LATEST</code> as the value of this parameter. The <code>$LATEST</code> version can be deleted only when you want to delete all the function versions and aliases.</p> <p>You can only specify a function version, not an alias name, using this parameter. You cannot delete a function version using its alias.</p> <p>If you don't specify this parameter, AWS Lambda will delete the function, including all of its versions and aliases.</p>",
"location":"querystring",
"locationName":"Qualifier"
}
}
},
"Description":{
"type":"string",
"max":256,
"min":0
},
"EC2AccessDeniedException":{
"type":"structure",
"members":{
"Type":{"shape":"String"},
"Message":{"shape":"String"}
},
"documentation":"<p/>",
"error":{"httpStatusCode":502},
"exception":true
},
"EC2ThrottledException":{
"type":"structure",
"members":{
"Type":{"shape":"String"},
"Message":{"shape":"String"}
},
"documentation":"<p>AWS Lambda was throttled by Amazon EC2 during Lambda function initialization using the execution role provided for the Lambda function.</p>",
"error":{"httpStatusCode":502},
"exception":true
},
"EC2UnexpectedException":{
"type":"structure",
"members":{
"Type":{"shape":"String"},
"Message":{"shape":"String"},
"EC2ErrorCode":{"shape":"String"}
},
"documentation":"<p>AWS Lambda received an unexpected EC2 client exception while setting up for the Lambda function.</p>",
"error":{"httpStatusCode":502},