@aws-sdk/client-lambda 3.1148.0 → 3.1150.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist-cjs/index.js +58 -1
- package/dist-es/models/LambdaServiceException.js +1 -0
- package/dist-es/models/errors.js +56 -0
- package/dist-types/Lambda.d.ts +1 -1
- package/dist-types/LambdaClient.d.ts +1 -1
- package/dist-types/commands/CreateAliasCommand.d.ts +1 -1
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +1 -1
- package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +1 -1
- package/dist-types/commands/CreateFunctionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAliasCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFunctionCommand.d.ts +1 -1
- package/dist-types/commands/GetAliasCommand.d.ts +1 -1
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/InvokeCommand.d.ts +1 -1
- package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +1 -1
- package/dist-types/commands/ListAliasesCommand.d.ts +1 -1
- package/dist-types/commands/ListFunctionsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAliasCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +1 -1
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/LambdaServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +56 -0
- package/dist-types/ts3.4/models/LambdaServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +56 -0
- package/package.json +4 -4
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { LambdaServiceException as __BaseException } from "./LambdaServiceException";
|
|
2
2
|
export class InvalidParameterValueException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.lambda#InvalidParameterValueException";
|
|
3
4
|
name = "InvalidParameterValueException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
Type;
|
|
@@ -14,6 +15,7 @@ export class InvalidParameterValueException extends __BaseException {
|
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
export class PolicyLengthExceededException extends __BaseException {
|
|
18
|
+
static shapeId = "com.amazonaws.lambda#PolicyLengthExceededException";
|
|
17
19
|
name = "PolicyLengthExceededException";
|
|
18
20
|
$fault = "client";
|
|
19
21
|
Type;
|
|
@@ -28,6 +30,7 @@ export class PolicyLengthExceededException extends __BaseException {
|
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
export class PreconditionFailedException extends __BaseException {
|
|
33
|
+
static shapeId = "com.amazonaws.lambda#PreconditionFailedException";
|
|
31
34
|
name = "PreconditionFailedException";
|
|
32
35
|
$fault = "client";
|
|
33
36
|
Type;
|
|
@@ -42,6 +45,7 @@ export class PreconditionFailedException extends __BaseException {
|
|
|
42
45
|
}
|
|
43
46
|
}
|
|
44
47
|
export class ResourceConflictException extends __BaseException {
|
|
48
|
+
static shapeId = "com.amazonaws.lambda#ResourceConflictException";
|
|
45
49
|
name = "ResourceConflictException";
|
|
46
50
|
$fault = "client";
|
|
47
51
|
Type;
|
|
@@ -56,6 +60,7 @@ export class ResourceConflictException extends __BaseException {
|
|
|
56
60
|
}
|
|
57
61
|
}
|
|
58
62
|
export class ResourceNotFoundException extends __BaseException {
|
|
63
|
+
static shapeId = "com.amazonaws.lambda#ResourceNotFoundException";
|
|
59
64
|
name = "ResourceNotFoundException";
|
|
60
65
|
$fault = "client";
|
|
61
66
|
Type;
|
|
@@ -72,6 +77,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
72
77
|
}
|
|
73
78
|
}
|
|
74
79
|
export class ServiceException extends __BaseException {
|
|
80
|
+
static shapeId = "com.amazonaws.lambda#ServiceException";
|
|
75
81
|
name = "ServiceException";
|
|
76
82
|
$fault = "server";
|
|
77
83
|
Type;
|
|
@@ -88,6 +94,7 @@ export class ServiceException extends __BaseException {
|
|
|
88
94
|
}
|
|
89
95
|
}
|
|
90
96
|
export class TooManyRequestsException extends __BaseException {
|
|
97
|
+
static shapeId = "com.amazonaws.lambda#TooManyRequestsException";
|
|
91
98
|
name = "TooManyRequestsException";
|
|
92
99
|
$fault = "client";
|
|
93
100
|
retryAfterSeconds;
|
|
@@ -106,6 +113,7 @@ export class TooManyRequestsException extends __BaseException {
|
|
|
106
113
|
}
|
|
107
114
|
}
|
|
108
115
|
export class PublicPolicyException extends __BaseException {
|
|
116
|
+
static shapeId = "com.amazonaws.lambda#PublicPolicyException";
|
|
109
117
|
name = "PublicPolicyException";
|
|
110
118
|
$fault = "client";
|
|
111
119
|
Type;
|
|
@@ -122,6 +130,7 @@ export class PublicPolicyException extends __BaseException {
|
|
|
122
130
|
}
|
|
123
131
|
}
|
|
124
132
|
export class AliasLimitExceededException extends __BaseException {
|
|
133
|
+
static shapeId = "com.amazonaws.lambda#AliasLimitExceededException";
|
|
125
134
|
name = "AliasLimitExceededException";
|
|
126
135
|
$fault = "client";
|
|
127
136
|
Type;
|
|
@@ -136,6 +145,7 @@ export class AliasLimitExceededException extends __BaseException {
|
|
|
136
145
|
}
|
|
137
146
|
}
|
|
138
147
|
export class CapacityProviderLimitExceededException extends __BaseException {
|
|
148
|
+
static shapeId = "com.amazonaws.lambda#CapacityProviderLimitExceededException";
|
|
139
149
|
name = "CapacityProviderLimitExceededException";
|
|
140
150
|
$fault = "client";
|
|
141
151
|
Type;
|
|
@@ -150,6 +160,7 @@ export class CapacityProviderLimitExceededException extends __BaseException {
|
|
|
150
160
|
}
|
|
151
161
|
}
|
|
152
162
|
export class KMSAccessDeniedException extends __BaseException {
|
|
163
|
+
static shapeId = "com.amazonaws.lambda#KMSAccessDeniedException";
|
|
153
164
|
name = "KMSAccessDeniedException";
|
|
154
165
|
$fault = "server";
|
|
155
166
|
Type;
|
|
@@ -166,6 +177,7 @@ export class KMSAccessDeniedException extends __BaseException {
|
|
|
166
177
|
}
|
|
167
178
|
}
|
|
168
179
|
export class KMSDisabledException extends __BaseException {
|
|
180
|
+
static shapeId = "com.amazonaws.lambda#KMSDisabledException";
|
|
169
181
|
name = "KMSDisabledException";
|
|
170
182
|
$fault = "server";
|
|
171
183
|
Type;
|
|
@@ -182,6 +194,7 @@ export class KMSDisabledException extends __BaseException {
|
|
|
182
194
|
}
|
|
183
195
|
}
|
|
184
196
|
export class KMSInvalidStateException extends __BaseException {
|
|
197
|
+
static shapeId = "com.amazonaws.lambda#KMSInvalidStateException";
|
|
185
198
|
name = "KMSInvalidStateException";
|
|
186
199
|
$fault = "server";
|
|
187
200
|
Type;
|
|
@@ -198,6 +211,7 @@ export class KMSInvalidStateException extends __BaseException {
|
|
|
198
211
|
}
|
|
199
212
|
}
|
|
200
213
|
export class KMSNotFoundException extends __BaseException {
|
|
214
|
+
static shapeId = "com.amazonaws.lambda#KMSNotFoundException";
|
|
201
215
|
name = "KMSNotFoundException";
|
|
202
216
|
$fault = "server";
|
|
203
217
|
Type;
|
|
@@ -214,6 +228,7 @@ export class KMSNotFoundException extends __BaseException {
|
|
|
214
228
|
}
|
|
215
229
|
}
|
|
216
230
|
export class ResourceInUseException extends __BaseException {
|
|
231
|
+
static shapeId = "com.amazonaws.lambda#ResourceInUseException";
|
|
217
232
|
name = "ResourceInUseException";
|
|
218
233
|
$fault = "client";
|
|
219
234
|
Type;
|
|
@@ -230,6 +245,7 @@ export class ResourceInUseException extends __BaseException {
|
|
|
230
245
|
}
|
|
231
246
|
}
|
|
232
247
|
export class CodeSigningConfigNotFoundException extends __BaseException {
|
|
248
|
+
static shapeId = "com.amazonaws.lambda#CodeSigningConfigNotFoundException";
|
|
233
249
|
name = "CodeSigningConfigNotFoundException";
|
|
234
250
|
$fault = "client";
|
|
235
251
|
Type;
|
|
@@ -246,6 +262,7 @@ export class CodeSigningConfigNotFoundException extends __BaseException {
|
|
|
246
262
|
}
|
|
247
263
|
}
|
|
248
264
|
export class CodeStorageExceededException extends __BaseException {
|
|
265
|
+
static shapeId = "com.amazonaws.lambda#CodeStorageExceededException";
|
|
249
266
|
name = "CodeStorageExceededException";
|
|
250
267
|
$fault = "client";
|
|
251
268
|
Type;
|
|
@@ -260,6 +277,7 @@ export class CodeStorageExceededException extends __BaseException {
|
|
|
260
277
|
}
|
|
261
278
|
}
|
|
262
279
|
export class CodeVerificationFailedException extends __BaseException {
|
|
280
|
+
static shapeId = "com.amazonaws.lambda#CodeVerificationFailedException";
|
|
263
281
|
name = "CodeVerificationFailedException";
|
|
264
282
|
$fault = "client";
|
|
265
283
|
Type;
|
|
@@ -276,6 +294,7 @@ export class CodeVerificationFailedException extends __BaseException {
|
|
|
276
294
|
}
|
|
277
295
|
}
|
|
278
296
|
export class FunctionVersionsPerCapacityProviderLimitExceededException extends __BaseException {
|
|
297
|
+
static shapeId = "com.amazonaws.lambda#FunctionVersionsPerCapacityProviderLimitExceededException";
|
|
279
298
|
name = "FunctionVersionsPerCapacityProviderLimitExceededException";
|
|
280
299
|
$fault = "client";
|
|
281
300
|
Type;
|
|
@@ -290,6 +309,7 @@ export class FunctionVersionsPerCapacityProviderLimitExceededException extends _
|
|
|
290
309
|
}
|
|
291
310
|
}
|
|
292
311
|
export class InvalidCodeSignatureException extends __BaseException {
|
|
312
|
+
static shapeId = "com.amazonaws.lambda#InvalidCodeSignatureException";
|
|
293
313
|
name = "InvalidCodeSignatureException";
|
|
294
314
|
$fault = "client";
|
|
295
315
|
Type;
|
|
@@ -306,6 +326,7 @@ export class InvalidCodeSignatureException extends __BaseException {
|
|
|
306
326
|
}
|
|
307
327
|
}
|
|
308
328
|
export class CodeArtifactUserDeletedException extends __BaseException {
|
|
329
|
+
static shapeId = "com.amazonaws.lambda#CodeArtifactUserDeletedException";
|
|
309
330
|
name = "CodeArtifactUserDeletedException";
|
|
310
331
|
$fault = "client";
|
|
311
332
|
Type;
|
|
@@ -320,6 +341,7 @@ export class CodeArtifactUserDeletedException extends __BaseException {
|
|
|
320
341
|
}
|
|
321
342
|
}
|
|
322
343
|
export class CodeArtifactUserFailedException extends __BaseException {
|
|
344
|
+
static shapeId = "com.amazonaws.lambda#CodeArtifactUserFailedException";
|
|
323
345
|
name = "CodeArtifactUserFailedException";
|
|
324
346
|
$fault = "client";
|
|
325
347
|
Type;
|
|
@@ -334,6 +356,7 @@ export class CodeArtifactUserFailedException extends __BaseException {
|
|
|
334
356
|
}
|
|
335
357
|
}
|
|
336
358
|
export class CodeArtifactUserPendingException extends __BaseException {
|
|
359
|
+
static shapeId = "com.amazonaws.lambda#CodeArtifactUserPendingException";
|
|
337
360
|
name = "CodeArtifactUserPendingException";
|
|
338
361
|
$fault = "client";
|
|
339
362
|
Type;
|
|
@@ -348,6 +371,7 @@ export class CodeArtifactUserPendingException extends __BaseException {
|
|
|
348
371
|
}
|
|
349
372
|
}
|
|
350
373
|
export class DurableExecutionAlreadyStartedException extends __BaseException {
|
|
374
|
+
static shapeId = "com.amazonaws.lambda#DurableExecutionAlreadyStartedException";
|
|
351
375
|
name = "DurableExecutionAlreadyStartedException";
|
|
352
376
|
$fault = "client";
|
|
353
377
|
Type;
|
|
@@ -364,6 +388,7 @@ export class DurableExecutionAlreadyStartedException extends __BaseException {
|
|
|
364
388
|
}
|
|
365
389
|
}
|
|
366
390
|
export class EC2AccessDeniedException extends __BaseException {
|
|
391
|
+
static shapeId = "com.amazonaws.lambda#EC2AccessDeniedException";
|
|
367
392
|
name = "EC2AccessDeniedException";
|
|
368
393
|
$fault = "server";
|
|
369
394
|
Type;
|
|
@@ -380,6 +405,7 @@ export class EC2AccessDeniedException extends __BaseException {
|
|
|
380
405
|
}
|
|
381
406
|
}
|
|
382
407
|
export class EC2ThrottledException extends __BaseException {
|
|
408
|
+
static shapeId = "com.amazonaws.lambda#EC2ThrottledException";
|
|
383
409
|
name = "EC2ThrottledException";
|
|
384
410
|
$fault = "server";
|
|
385
411
|
Type;
|
|
@@ -396,6 +422,7 @@ export class EC2ThrottledException extends __BaseException {
|
|
|
396
422
|
}
|
|
397
423
|
}
|
|
398
424
|
export class EC2UnexpectedException extends __BaseException {
|
|
425
|
+
static shapeId = "com.amazonaws.lambda#EC2UnexpectedException";
|
|
399
426
|
name = "EC2UnexpectedException";
|
|
400
427
|
$fault = "server";
|
|
401
428
|
Type;
|
|
@@ -414,6 +441,7 @@ export class EC2UnexpectedException extends __BaseException {
|
|
|
414
441
|
}
|
|
415
442
|
}
|
|
416
443
|
export class EFSIOException extends __BaseException {
|
|
444
|
+
static shapeId = "com.amazonaws.lambda#EFSIOException";
|
|
417
445
|
name = "EFSIOException";
|
|
418
446
|
$fault = "client";
|
|
419
447
|
Type;
|
|
@@ -430,6 +458,7 @@ export class EFSIOException extends __BaseException {
|
|
|
430
458
|
}
|
|
431
459
|
}
|
|
432
460
|
export class EFSMountConnectivityException extends __BaseException {
|
|
461
|
+
static shapeId = "com.amazonaws.lambda#EFSMountConnectivityException";
|
|
433
462
|
name = "EFSMountConnectivityException";
|
|
434
463
|
$fault = "client";
|
|
435
464
|
Type;
|
|
@@ -446,6 +475,7 @@ export class EFSMountConnectivityException extends __BaseException {
|
|
|
446
475
|
}
|
|
447
476
|
}
|
|
448
477
|
export class EFSMountFailureException extends __BaseException {
|
|
478
|
+
static shapeId = "com.amazonaws.lambda#EFSMountFailureException";
|
|
449
479
|
name = "EFSMountFailureException";
|
|
450
480
|
$fault = "client";
|
|
451
481
|
Type;
|
|
@@ -462,6 +492,7 @@ export class EFSMountFailureException extends __BaseException {
|
|
|
462
492
|
}
|
|
463
493
|
}
|
|
464
494
|
export class EFSMountTimeoutException extends __BaseException {
|
|
495
|
+
static shapeId = "com.amazonaws.lambda#EFSMountTimeoutException";
|
|
465
496
|
name = "EFSMountTimeoutException";
|
|
466
497
|
$fault = "client";
|
|
467
498
|
Type;
|
|
@@ -478,6 +509,7 @@ export class EFSMountTimeoutException extends __BaseException {
|
|
|
478
509
|
}
|
|
479
510
|
}
|
|
480
511
|
export class ENILimitReachedException extends __BaseException {
|
|
512
|
+
static shapeId = "com.amazonaws.lambda#ENILimitReachedException";
|
|
481
513
|
name = "ENILimitReachedException";
|
|
482
514
|
$fault = "server";
|
|
483
515
|
Type;
|
|
@@ -494,6 +526,7 @@ export class ENILimitReachedException extends __BaseException {
|
|
|
494
526
|
}
|
|
495
527
|
}
|
|
496
528
|
export class ENINotReadyException extends __BaseException {
|
|
529
|
+
static shapeId = "com.amazonaws.lambda#ENINotReadyException";
|
|
497
530
|
name = "ENINotReadyException";
|
|
498
531
|
$fault = "server";
|
|
499
532
|
Type;
|
|
@@ -510,6 +543,7 @@ export class ENINotReadyException extends __BaseException {
|
|
|
510
543
|
}
|
|
511
544
|
}
|
|
512
545
|
export class InvalidRequestContentException extends __BaseException {
|
|
546
|
+
static shapeId = "com.amazonaws.lambda#InvalidRequestContentException";
|
|
513
547
|
name = "InvalidRequestContentException";
|
|
514
548
|
$fault = "client";
|
|
515
549
|
Type;
|
|
@@ -524,6 +558,7 @@ export class InvalidRequestContentException extends __BaseException {
|
|
|
524
558
|
}
|
|
525
559
|
}
|
|
526
560
|
export class InvalidRuntimeException extends __BaseException {
|
|
561
|
+
static shapeId = "com.amazonaws.lambda#InvalidRuntimeException";
|
|
527
562
|
name = "InvalidRuntimeException";
|
|
528
563
|
$fault = "server";
|
|
529
564
|
Type;
|
|
@@ -540,6 +575,7 @@ export class InvalidRuntimeException extends __BaseException {
|
|
|
540
575
|
}
|
|
541
576
|
}
|
|
542
577
|
export class InvalidSecurityGroupIDException extends __BaseException {
|
|
578
|
+
static shapeId = "com.amazonaws.lambda#InvalidSecurityGroupIDException";
|
|
543
579
|
name = "InvalidSecurityGroupIDException";
|
|
544
580
|
$fault = "server";
|
|
545
581
|
Type;
|
|
@@ -556,6 +592,7 @@ export class InvalidSecurityGroupIDException extends __BaseException {
|
|
|
556
592
|
}
|
|
557
593
|
}
|
|
558
594
|
export class InvalidSubnetIDException extends __BaseException {
|
|
595
|
+
static shapeId = "com.amazonaws.lambda#InvalidSubnetIDException";
|
|
559
596
|
name = "InvalidSubnetIDException";
|
|
560
597
|
$fault = "server";
|
|
561
598
|
Type;
|
|
@@ -572,6 +609,7 @@ export class InvalidSubnetIDException extends __BaseException {
|
|
|
572
609
|
}
|
|
573
610
|
}
|
|
574
611
|
export class InvalidZipFileException extends __BaseException {
|
|
612
|
+
static shapeId = "com.amazonaws.lambda#InvalidZipFileException";
|
|
575
613
|
name = "InvalidZipFileException";
|
|
576
614
|
$fault = "server";
|
|
577
615
|
Type;
|
|
@@ -588,6 +626,7 @@ export class InvalidZipFileException extends __BaseException {
|
|
|
588
626
|
}
|
|
589
627
|
}
|
|
590
628
|
export class ModeNotSupportedException extends __BaseException {
|
|
629
|
+
static shapeId = "com.amazonaws.lambda#ModeNotSupportedException";
|
|
591
630
|
name = "ModeNotSupportedException";
|
|
592
631
|
$fault = "client";
|
|
593
632
|
Type;
|
|
@@ -602,6 +641,7 @@ export class ModeNotSupportedException extends __BaseException {
|
|
|
602
641
|
}
|
|
603
642
|
}
|
|
604
643
|
export class NoPublishedVersionException extends __BaseException {
|
|
644
|
+
static shapeId = "com.amazonaws.lambda#NoPublishedVersionException";
|
|
605
645
|
name = "NoPublishedVersionException";
|
|
606
646
|
$fault = "client";
|
|
607
647
|
Type;
|
|
@@ -618,6 +658,7 @@ export class NoPublishedVersionException extends __BaseException {
|
|
|
618
658
|
}
|
|
619
659
|
}
|
|
620
660
|
export class RecursiveInvocationException extends __BaseException {
|
|
661
|
+
static shapeId = "com.amazonaws.lambda#RecursiveInvocationException";
|
|
621
662
|
name = "RecursiveInvocationException";
|
|
622
663
|
$fault = "client";
|
|
623
664
|
Type;
|
|
@@ -634,6 +675,7 @@ export class RecursiveInvocationException extends __BaseException {
|
|
|
634
675
|
}
|
|
635
676
|
}
|
|
636
677
|
export class RequestTooLargeException extends __BaseException {
|
|
678
|
+
static shapeId = "com.amazonaws.lambda#RequestTooLargeException";
|
|
637
679
|
name = "RequestTooLargeException";
|
|
638
680
|
$fault = "client";
|
|
639
681
|
Type;
|
|
@@ -648,6 +690,7 @@ export class RequestTooLargeException extends __BaseException {
|
|
|
648
690
|
}
|
|
649
691
|
}
|
|
650
692
|
export class ResourceNotReadyException extends __BaseException {
|
|
693
|
+
static shapeId = "com.amazonaws.lambda#ResourceNotReadyException";
|
|
651
694
|
name = "ResourceNotReadyException";
|
|
652
695
|
$fault = "server";
|
|
653
696
|
Type;
|
|
@@ -662,6 +705,7 @@ export class ResourceNotReadyException extends __BaseException {
|
|
|
662
705
|
}
|
|
663
706
|
}
|
|
664
707
|
export class S3FilesMountConnectivityException extends __BaseException {
|
|
708
|
+
static shapeId = "com.amazonaws.lambda#S3FilesMountConnectivityException";
|
|
665
709
|
name = "S3FilesMountConnectivityException";
|
|
666
710
|
$fault = "client";
|
|
667
711
|
Type;
|
|
@@ -678,6 +722,7 @@ export class S3FilesMountConnectivityException extends __BaseException {
|
|
|
678
722
|
}
|
|
679
723
|
}
|
|
680
724
|
export class S3FilesMountFailureException extends __BaseException {
|
|
725
|
+
static shapeId = "com.amazonaws.lambda#S3FilesMountFailureException";
|
|
681
726
|
name = "S3FilesMountFailureException";
|
|
682
727
|
$fault = "client";
|
|
683
728
|
Type;
|
|
@@ -694,6 +739,7 @@ export class S3FilesMountFailureException extends __BaseException {
|
|
|
694
739
|
}
|
|
695
740
|
}
|
|
696
741
|
export class S3FilesMountTimeoutException extends __BaseException {
|
|
742
|
+
static shapeId = "com.amazonaws.lambda#S3FilesMountTimeoutException";
|
|
697
743
|
name = "S3FilesMountTimeoutException";
|
|
698
744
|
$fault = "client";
|
|
699
745
|
Type;
|
|
@@ -710,6 +756,7 @@ export class S3FilesMountTimeoutException extends __BaseException {
|
|
|
710
756
|
}
|
|
711
757
|
}
|
|
712
758
|
export class SerializedRequestEntityTooLargeException extends __BaseException {
|
|
759
|
+
static shapeId = "com.amazonaws.lambda#SerializedRequestEntityTooLargeException";
|
|
713
760
|
name = "SerializedRequestEntityTooLargeException";
|
|
714
761
|
$fault = "client";
|
|
715
762
|
Type;
|
|
@@ -724,6 +771,7 @@ export class SerializedRequestEntityTooLargeException extends __BaseException {
|
|
|
724
771
|
}
|
|
725
772
|
}
|
|
726
773
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
774
|
+
static shapeId = "com.amazonaws.lambda#ServiceQuotaExceededException";
|
|
727
775
|
name = "ServiceQuotaExceededException";
|
|
728
776
|
$fault = "client";
|
|
729
777
|
Type;
|
|
@@ -740,6 +788,7 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
740
788
|
}
|
|
741
789
|
}
|
|
742
790
|
export class SnapStartException extends __BaseException {
|
|
791
|
+
static shapeId = "com.amazonaws.lambda#SnapStartException";
|
|
743
792
|
name = "SnapStartException";
|
|
744
793
|
$fault = "client";
|
|
745
794
|
Type;
|
|
@@ -756,6 +805,7 @@ export class SnapStartException extends __BaseException {
|
|
|
756
805
|
}
|
|
757
806
|
}
|
|
758
807
|
export class SnapStartNotReadyException extends __BaseException {
|
|
808
|
+
static shapeId = "com.amazonaws.lambda#SnapStartNotReadyException";
|
|
759
809
|
name = "SnapStartNotReadyException";
|
|
760
810
|
$fault = "client";
|
|
761
811
|
Type;
|
|
@@ -772,6 +822,7 @@ export class SnapStartNotReadyException extends __BaseException {
|
|
|
772
822
|
}
|
|
773
823
|
}
|
|
774
824
|
export class SnapStartRegenerationFailureException extends __BaseException {
|
|
825
|
+
static shapeId = "com.amazonaws.lambda#SnapStartRegenerationFailureException";
|
|
775
826
|
name = "SnapStartRegenerationFailureException";
|
|
776
827
|
$fault = "client";
|
|
777
828
|
Type;
|
|
@@ -788,6 +839,7 @@ export class SnapStartRegenerationFailureException extends __BaseException {
|
|
|
788
839
|
}
|
|
789
840
|
}
|
|
790
841
|
export class SnapStartTimeoutException extends __BaseException {
|
|
842
|
+
static shapeId = "com.amazonaws.lambda#SnapStartTimeoutException";
|
|
791
843
|
name = "SnapStartTimeoutException";
|
|
792
844
|
$fault = "client";
|
|
793
845
|
Type;
|
|
@@ -804,6 +856,7 @@ export class SnapStartTimeoutException extends __BaseException {
|
|
|
804
856
|
}
|
|
805
857
|
}
|
|
806
858
|
export class SubnetIPAddressLimitReachedException extends __BaseException {
|
|
859
|
+
static shapeId = "com.amazonaws.lambda#SubnetIPAddressLimitReachedException";
|
|
807
860
|
name = "SubnetIPAddressLimitReachedException";
|
|
808
861
|
$fault = "server";
|
|
809
862
|
Type;
|
|
@@ -820,6 +873,7 @@ export class SubnetIPAddressLimitReachedException extends __BaseException {
|
|
|
820
873
|
}
|
|
821
874
|
}
|
|
822
875
|
export class UnsupportedMediaTypeException extends __BaseException {
|
|
876
|
+
static shapeId = "com.amazonaws.lambda#UnsupportedMediaTypeException";
|
|
823
877
|
name = "UnsupportedMediaTypeException";
|
|
824
878
|
$fault = "client";
|
|
825
879
|
Type;
|
|
@@ -834,6 +888,7 @@ export class UnsupportedMediaTypeException extends __BaseException {
|
|
|
834
888
|
}
|
|
835
889
|
}
|
|
836
890
|
export class ProvisionedConcurrencyConfigNotFoundException extends __BaseException {
|
|
891
|
+
static shapeId = "com.amazonaws.lambda#ProvisionedConcurrencyConfigNotFoundException";
|
|
837
892
|
name = "ProvisionedConcurrencyConfigNotFoundException";
|
|
838
893
|
$fault = "client";
|
|
839
894
|
Type;
|
|
@@ -848,6 +903,7 @@ export class ProvisionedConcurrencyConfigNotFoundException extends __BaseExcepti
|
|
|
848
903
|
}
|
|
849
904
|
}
|
|
850
905
|
export class CallbackTimeoutException extends __BaseException {
|
|
906
|
+
static shapeId = "com.amazonaws.lambda#CallbackTimeoutException";
|
|
851
907
|
name = "CallbackTimeoutException";
|
|
852
908
|
$fault = "client";
|
|
853
909
|
Type;
|
package/dist-types/Lambda.d.ts
CHANGED
|
@@ -780,7 +780,7 @@ export interface Lambda {
|
|
|
780
780
|
waitUntilPublishedVersionActive(args: GetFunctionConfigurationCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Lambda>, "client">): Promise<WaiterResult<GetFunctionConfigurationCommandOutput>>;
|
|
781
781
|
}
|
|
782
782
|
/**
|
|
783
|
-
* <fullname>Lambda</fullname> <p> <b>Overview</b> </p> <p>Lambda is a compute service that lets you run code without provisioning or managing servers. Lambda runs your code on a high-availability compute infrastructure and performs all of the administration of the compute resources, including server and operating system maintenance, capacity provisioning and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any type of application or backend service. For more information about the Lambda service, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/welcome.html">What is Lambda</a> in the <b>Lambda Developer Guide</b>.</p> <p>The <i>Lambda API Reference</i> provides information about each of the API methods, including details about the parameters in each API request and response. </p> <p/> <p>You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools to access the API. For installation instructions, see <a href="http://aws.amazon.com/tools/">Tools for Amazon Web Services</a>. </p> <p>For a list of Region-specific endpoints that Lambda supports, see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html">Lambda endpoints and quotas </a> in the <i>Amazon Web Services General Reference.</i>. </p> <p>When making the API calls, you will need to authenticate your request by providing a signature. Lambda supports signature version 4. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4 signing process</a> in the <i>Amazon Web Services General Reference.</i>. </p> <p> <b>CA certificates</b> </p> <p>Because Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate environment and do not manage your own computer, you might need to ask an administrator to assist with the update process. The following list shows minimum operating system and Java versions:</p> <ul> <li> <p>Microsoft Windows versions that have updates from January 2005 or later installed contain at least one of the required CAs in their trust list. </p> </li> <li> <p>Mac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), Mac OS X 10.5 (October 2007), and later versions contain at least one of the required CAs in their trust list. </p> </li> <li> <p>Red Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and 7 all contain at least one of the required CAs in their default trusted CA list. </p> </li> <li> <p>Java 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions, including Java 6 (December 2006), 7, and 8, contain at least one of the required CAs in their default trusted CA list. </p> </li> </ul> <p>When accessing the Lambda management console or Lambda API endpoints, whether through browsers or programmatically, you will need to ensure your client machines support any of the following CAs: </p> <ul> <li> <p>Amazon Root CA 1</p> </li> <li> <p>Starfield Services Root Certificate Authority - G2</p> </li> <li> <p>Starfield Class 2 Certification Authority</p> </li> </ul> <p>Root certificates from the first two authorities are available from <a href="https://www.amazontrust.com/repository/">Amazon trust services</a>, but keeping your computer up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see <a href="http://aws.amazon.com/certificate-manager/faqs/#certificates">Amazon Web Services Certificate Manager FAQs.</a> </p>
|
|
783
|
+
* <fullname>Lambda</fullname> <p> <b>Overview</b> </p> <p>Lambda is a compute service that lets you run code without provisioning or managing servers. Lambda runs your code on a high-availability compute infrastructure and performs all of the administration of the compute resources, including server and operating system maintenance, capacity provisioning and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any type of application or backend service. For more information about the Lambda service, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/welcome.html">What is Lambda</a> in the <b>Lambda Developer Guide</b>.</p> <p>Lambda Event Functions, previously known as Lambda functions, run your code in response to events and API calls. Event Functions is a documentation name only. In this API, the Amazon Web Services SDKs, and the CLI, Event Functions are still called <i>functions</i>, for example in <code>CreateFunction</code> and <code>Invoke</code>. You don't need to change any code.</p> <p>The <i>Lambda API Reference</i> provides information about each of the API methods, including details about the parameters in each API request and response. </p> <p/> <p>You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools to access the API. For installation instructions, see <a href="http://aws.amazon.com/tools/">Tools for Amazon Web Services</a>. </p> <p>For a list of Region-specific endpoints that Lambda supports, see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html">Lambda endpoints and quotas </a> in the <i>Amazon Web Services General Reference.</i>. </p> <p>When making the API calls, you will need to authenticate your request by providing a signature. Lambda supports signature version 4. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4 signing process</a> in the <i>Amazon Web Services General Reference.</i>. </p> <p> <b>CA certificates</b> </p> <p>Because Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate environment and do not manage your own computer, you might need to ask an administrator to assist with the update process. The following list shows minimum operating system and Java versions:</p> <ul> <li> <p>Microsoft Windows versions that have updates from January 2005 or later installed contain at least one of the required CAs in their trust list. </p> </li> <li> <p>Mac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), Mac OS X 10.5 (October 2007), and later versions contain at least one of the required CAs in their trust list. </p> </li> <li> <p>Red Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and 7 all contain at least one of the required CAs in their default trusted CA list. </p> </li> <li> <p>Java 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions, including Java 6 (December 2006), 7, and 8, contain at least one of the required CAs in their default trusted CA list. </p> </li> </ul> <p>When accessing the Lambda management console or Lambda API endpoints, whether through browsers or programmatically, you will need to ensure your client machines support any of the following CAs: </p> <ul> <li> <p>Amazon Root CA 1</p> </li> <li> <p>Starfield Services Root Certificate Authority - G2</p> </li> <li> <p>Starfield Class 2 Certification Authority</p> </li> </ul> <p>Root certificates from the first two authorities are available from <a href="https://www.amazontrust.com/repository/">Amazon trust services</a>, but keeping your computer up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see <a href="http://aws.amazon.com/certificate-manager/faqs/#certificates">Amazon Web Services Certificate Manager FAQs.</a> </p>
|
|
784
784
|
* @public
|
|
785
785
|
*/
|
|
786
786
|
export declare class Lambda extends LambdaClient implements Lambda {
|
|
@@ -261,7 +261,7 @@ export type LambdaClientResolvedConfigType = __SmithyResolvedConfiguration<__Htt
|
|
|
261
261
|
export interface LambdaClientResolvedConfig extends LambdaClientResolvedConfigType {
|
|
262
262
|
}
|
|
263
263
|
/**
|
|
264
|
-
* <fullname>Lambda</fullname> <p> <b>Overview</b> </p> <p>Lambda is a compute service that lets you run code without provisioning or managing servers. Lambda runs your code on a high-availability compute infrastructure and performs all of the administration of the compute resources, including server and operating system maintenance, capacity provisioning and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any type of application or backend service. For more information about the Lambda service, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/welcome.html">What is Lambda</a> in the <b>Lambda Developer Guide</b>.</p> <p>The <i>Lambda API Reference</i> provides information about each of the API methods, including details about the parameters in each API request and response. </p> <p/> <p>You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools to access the API. For installation instructions, see <a href="http://aws.amazon.com/tools/">Tools for Amazon Web Services</a>. </p> <p>For a list of Region-specific endpoints that Lambda supports, see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html">Lambda endpoints and quotas </a> in the <i>Amazon Web Services General Reference.</i>. </p> <p>When making the API calls, you will need to authenticate your request by providing a signature. Lambda supports signature version 4. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4 signing process</a> in the <i>Amazon Web Services General Reference.</i>. </p> <p> <b>CA certificates</b> </p> <p>Because Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate environment and do not manage your own computer, you might need to ask an administrator to assist with the update process. The following list shows minimum operating system and Java versions:</p> <ul> <li> <p>Microsoft Windows versions that have updates from January 2005 or later installed contain at least one of the required CAs in their trust list. </p> </li> <li> <p>Mac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), Mac OS X 10.5 (October 2007), and later versions contain at least one of the required CAs in their trust list. </p> </li> <li> <p>Red Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and 7 all contain at least one of the required CAs in their default trusted CA list. </p> </li> <li> <p>Java 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions, including Java 6 (December 2006), 7, and 8, contain at least one of the required CAs in their default trusted CA list. </p> </li> </ul> <p>When accessing the Lambda management console or Lambda API endpoints, whether through browsers or programmatically, you will need to ensure your client machines support any of the following CAs: </p> <ul> <li> <p>Amazon Root CA 1</p> </li> <li> <p>Starfield Services Root Certificate Authority - G2</p> </li> <li> <p>Starfield Class 2 Certification Authority</p> </li> </ul> <p>Root certificates from the first two authorities are available from <a href="https://www.amazontrust.com/repository/">Amazon trust services</a>, but keeping your computer up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see <a href="http://aws.amazon.com/certificate-manager/faqs/#certificates">Amazon Web Services Certificate Manager FAQs.</a> </p>
|
|
264
|
+
* <fullname>Lambda</fullname> <p> <b>Overview</b> </p> <p>Lambda is a compute service that lets you run code without provisioning or managing servers. Lambda runs your code on a high-availability compute infrastructure and performs all of the administration of the compute resources, including server and operating system maintenance, capacity provisioning and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any type of application or backend service. For more information about the Lambda service, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/welcome.html">What is Lambda</a> in the <b>Lambda Developer Guide</b>.</p> <p>Lambda Event Functions, previously known as Lambda functions, run your code in response to events and API calls. Event Functions is a documentation name only. In this API, the Amazon Web Services SDKs, and the CLI, Event Functions are still called <i>functions</i>, for example in <code>CreateFunction</code> and <code>Invoke</code>. You don't need to change any code.</p> <p>The <i>Lambda API Reference</i> provides information about each of the API methods, including details about the parameters in each API request and response. </p> <p/> <p>You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools to access the API. For installation instructions, see <a href="http://aws.amazon.com/tools/">Tools for Amazon Web Services</a>. </p> <p>For a list of Region-specific endpoints that Lambda supports, see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html">Lambda endpoints and quotas </a> in the <i>Amazon Web Services General Reference.</i>. </p> <p>When making the API calls, you will need to authenticate your request by providing a signature. Lambda supports signature version 4. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4 signing process</a> in the <i>Amazon Web Services General Reference.</i>. </p> <p> <b>CA certificates</b> </p> <p>Because Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate environment and do not manage your own computer, you might need to ask an administrator to assist with the update process. The following list shows minimum operating system and Java versions:</p> <ul> <li> <p>Microsoft Windows versions that have updates from January 2005 or later installed contain at least one of the required CAs in their trust list. </p> </li> <li> <p>Mac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), Mac OS X 10.5 (October 2007), and later versions contain at least one of the required CAs in their trust list. </p> </li> <li> <p>Red Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and 7 all contain at least one of the required CAs in their default trusted CA list. </p> </li> <li> <p>Java 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions, including Java 6 (December 2006), 7, and 8, contain at least one of the required CAs in their default trusted CA list. </p> </li> </ul> <p>When accessing the Lambda management console or Lambda API endpoints, whether through browsers or programmatically, you will need to ensure your client machines support any of the following CAs: </p> <ul> <li> <p>Amazon Root CA 1</p> </li> <li> <p>Starfield Services Root Certificate Authority - G2</p> </li> <li> <p>Starfield Class 2 Certification Authority</p> </li> </ul> <p>Root certificates from the first two authorities are available from <a href="https://www.amazontrust.com/repository/">Amazon trust services</a>, but keeping your computer up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see <a href="http://aws.amazon.com/certificate-manager/faqs/#certificates">Amazon Web Services Certificate Manager FAQs.</a> </p>
|
|
265
265
|
* @public
|
|
266
266
|
*/
|
|
267
267
|
export declare class LambdaClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, LambdaClientResolvedConfig> {
|
|
@@ -24,7 +24,7 @@ declare const CreateAliasCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Creates an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html">alias</a> for a Lambda
|
|
27
|
+
* <p>Creates an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html">alias</a> for a Lambda Event Function version. Use aliases to provide clients with a function identifier that you can update to invoke a different version.</p> <p>You can also map an alias to split invocation requests between two versions. Use the <code>RoutingConfig</code> parameter to specify a second version and the percentage of invocation requests that it receives.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -24,7 +24,7 @@ declare const CreateCapacityProviderCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Creates a capacity provider that manages compute resources for Lambda
|
|
27
|
+
* <p>Creates a capacity provider that manages compute resources for Lambda Event Functions</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -24,7 +24,7 @@ declare const CreateEventSourceMappingCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Creates a mapping between an event source and an Lambda
|
|
27
|
+
* <p>Creates a mapping between an event source and an Lambda Event Function. Lambda reads items from the event source and invokes the function.</p> <p>For details about how to configure different event sources, see the following topics. </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping"> Amazon DynamoDB Streams</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping"> Amazon Kinesis</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource"> Amazon SQS</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping"> Amazon MQ and RabbitMQ</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html"> Amazon MSK</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html"> Apache Kafka</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html"> Amazon DocumentDB</a> </p> </li> </ul> <p>The following error handling options are available for stream sources (DynamoDB, Kinesis, Amazon MSK, and self-managed Apache Kafka):</p> <ul> <li> <p> <code>BisectBatchOnFunctionError</code> – If the function returns an error, split the batch in two and retry.</p> </li> <li> <p> <code>MaximumRecordAgeInSeconds</code> – Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires</p> </li> <li> <p> <code>MaximumRetryAttempts</code> – Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.</p> </li> <li> <p> <code>OnFailure</code> – Send discarded records to an Amazon SQS queue, Amazon SNS topic, Kafka topic, or Amazon S3 bucket. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-async-destinations">Adding a destination</a>.</p> </li> </ul> <p>The following option is available only for DynamoDB and Kinesis event sources:</p> <ul> <li> <p> <code>ParallelizationFactor</code> – Process multiple batches from each shard concurrently.</p> </li> </ul> <p>For information about which configuration parameters apply to each event source, see the following topics.</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-params"> Amazon DynamoDB Streams</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-params"> Amazon Kinesis</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-params"> Amazon SQS</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-params"> Amazon MQ and RabbitMQ</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-parms"> Amazon MSK</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-kafka-parms"> Apache Kafka</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html#docdb-configuration"> Amazon DocumentDB</a> </p> </li> </ul>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -24,7 +24,7 @@ declare const CreateFunctionCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Creates a Lambda
|
|
27
|
+
* <p>Creates a Lambda Event Function. To create a function, you need a <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html">deployment package</a> and an <a href="https://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html#lambda-intro-execution-role">execution role</a>. The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use Amazon Web Services services, such as Amazon CloudWatch Logs for log streaming and X-Ray for request tracing.</p> <p>If the deployment package is a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html">container image</a>, then you set the package type to <code>Image</code>. For a container image, the code property must include the URI of a container image in the Amazon ECR registry. You do not need to specify the handler and runtime properties.</p> <p>If the deployment package is a <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html#gettingstarted-package-zip">.zip file archive</a>, then you set the package type to <code>Zip</code>. For a .zip file archive, the code property specifies the location of the .zip file. You must also specify the handler and runtime properties. The code in the deployment package must be compatible with the target instruction set architecture of the function (<code>x86-64</code> or <code>arm64</code>). If you do not specify the architecture, then the default value is <code>x86-64</code>.</p> <p>When you create a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't invoke or modify the function. The <code>State</code>, <code>StateReason</code>, and <code>StateReasonCode</code> fields in the response from <a>GetFunctionConfiguration</a> indicate when the function is ready to invoke. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html">Lambda function states</a>.</p> <p>A function has an unpublished version, and can have published versions and aliases. The unpublished version changes when you update your function's code and configuration. A published version is a snapshot of your function code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be changed to map to a different version. Use the <code>Publish</code> parameter to create version <code>1</code> of your function from its initial configuration.</p> <p>The other parameters let you configure version-specific and function-level settings. You can modify version-specific settings later with <a>UpdateFunctionConfiguration</a>. Function-level settings apply to both the unpublished and published versions of the function, and include tags (<a>TagResource</a>) and per-function concurrency limits (<a>PutFunctionConcurrency</a>).</p> <p>You can use code signing if your deployment package is a .zip file archive. To enable code signing for this function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with <a>UpdateFunctionCode</a>, Lambda checks that the code package has a valid signature from a trusted publisher. The code-signing configuration includes set of signing profiles, which define the trusted publishers for this function.</p> <p>If another Amazon Web Services account or an Amazon Web Services service invokes your function, use <a>AddPermission</a> to grant permission by creating a resource-based Identity and Access Management (IAM) policy. You can grant permissions at the function level, on a version, or on an alias.</p> <p>To invoke your function directly, use <a>Invoke</a>. To invoke your function in response to events in other Amazon Web Services services, create an event source mapping (<a>CreateEventSourceMapping</a>), or configure a function trigger in the other service. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html">Invoking Lambda functions</a>.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -24,7 +24,7 @@ declare const DeleteAliasCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Deletes a Lambda
|
|
27
|
+
* <p>Deletes a Lambda Event Function <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html">alias</a>.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -24,7 +24,7 @@ declare const DeleteFunctionCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Deletes a Lambda
|
|
27
|
+
* <p>Deletes a Lambda Event Function. To delete a specific function version, use the <code>Qualifier</code> parameter. Otherwise, all versions and aliases are deleted. This doesn't require the user to have explicit permissions for <a>DeleteAlias</a>.</p> <note> <p>A deleted Lambda function cannot be recovered. Ensure that you specify the correct function name and version before deleting.</p> </note> <p>To delete Lambda event source mappings that invoke a function, use <a>DeleteEventSourceMapping</a>. For Amazon Web Services services and resources that invoke your function directly, delete the trigger in the service where you originally configured it.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -24,7 +24,7 @@ declare const GetAliasCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Returns details about a Lambda
|
|
27
|
+
* <p>Returns details about a Lambda Event Function <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html">alias</a>.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -24,7 +24,7 @@ declare const GetFunctionConfigurationCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Returns the version-specific settings of a Lambda
|
|
27
|
+
* <p>Returns the version-specific settings of a Lambda Event Function or version. The output includes only options that can vary between versions of a function. To modify these settings, use <a>UpdateFunctionConfiguration</a>.</p> <p>To get all of a function's details, including function-level settings, use <a>GetFunction</a>.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -37,7 +37,7 @@ declare const InvokeCommand_base: {
|
|
|
37
37
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
40
|
-
* <p>Invokes a Lambda
|
|
40
|
+
* <p>Invokes a Lambda Event Function. You can invoke a function synchronously (and wait for the response), or asynchronously. By default, Lambda invokes your function synchronously (i.e. the<code>InvocationType</code> is <code>RequestResponse</code>). To invoke a function asynchronously, set <code>InvocationType</code> to <code>Event</code>. Lambda passes the <code>ClientContext</code> object to your function for synchronous invocations only.</p> <p>For synchronous invocations, the maximum payload size is 6 MB. For asynchronous invocations, the maximum payload size is 1 MB.</p> <p>For <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-sync.html">synchronous invocation</a>, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the <a href="https://docs.aws.amazon.com/lambda/latest/dg/monitoring-functions.html">execution log</a> and <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-x-ray.html">trace</a>.</p> <p>When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-retries.html">Error handling and automatic retries in Lambda</a>.</p> <p>For <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html">asynchronous invocation</a>, Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq">dead-letter queue</a>.</p> <p>The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your function from executing, such as permissions errors, <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">quota</a> errors, or issues with your function's code and configuration. For example, Lambda returns <code>TooManyRequestsException</code> if running the function would cause you to exceed a concurrency limit at either the account level (<code>ConcurrentInvocationLimitExceeded</code>) or function level (<code>ReservedFunctionConcurrentInvocationLimitExceeded</code>).</p> <p>For functions with a long timeout, your client might disconnect during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings.</p> <p>This operation requires permission for the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html">lambda:InvokeFunction</a> action. For details on how to set up permissions for cross-account invocations, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-xaccountinvoke">Granting function access to other accounts</a>.</p>
|
|
41
41
|
* @example
|
|
42
42
|
* Use a bare-bones client and the command you need to make an API call.
|
|
43
43
|
* ```javascript
|