@aws-sdk/client-lambda 3.934.0 → 3.936.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.
Files changed (36) hide show
  1. package/dist-cjs/index.js +262 -236
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +237 -0
  4. package/dist-es/models/errors.js +607 -0
  5. package/dist-es/models/models_0.js +1 -841
  6. package/dist-es/schemas/schemas_0.js +24 -3
  7. package/dist-types/commands/CreateFunctionCommand.d.ts +8 -2
  8. package/dist-types/commands/GetFunctionCommand.d.ts +4 -1
  9. package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +4 -1
  10. package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +1 -1
  11. package/dist-types/commands/GetLayerVersionCommand.d.ts +1 -1
  12. package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
  13. package/dist-types/commands/InvokeCommand.d.ts +1 -0
  14. package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +1 -0
  15. package/dist-types/commands/ListFunctionsCommand.d.ts +4 -1
  16. package/dist-types/commands/ListLayerVersionsCommand.d.ts +2 -2
  17. package/dist-types/commands/ListLayersCommand.d.ts +2 -2
  18. package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +4 -1
  19. package/dist-types/commands/PublishLayerVersionCommand.d.ts +2 -2
  20. package/dist-types/commands/PublishVersionCommand.d.ts +4 -1
  21. package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +4 -1
  22. package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +5 -2
  23. package/dist-types/index.d.ts +3 -1
  24. package/dist-types/models/enums.d.ts +509 -0
  25. package/dist-types/models/errors.d.ts +580 -0
  26. package/dist-types/models/models_0.d.ts +34 -1079
  27. package/dist-types/schemas/schemas_0.d.ts +1 -0
  28. package/dist-types/ts3.4/index.d.ts +3 -1
  29. package/dist-types/ts3.4/models/enums.d.ts +294 -0
  30. package/dist-types/ts3.4/models/errors.d.ts +357 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +42 -645
  32. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
  33. package/package.json +19 -19
  34. package/dist-es/models/index.js +0 -1
  35. package/dist-types/models/index.d.ts +0 -1
  36. package/dist-types/ts3.4/models/index.d.ts +0 -1
@@ -0,0 +1,607 @@
1
+ import { LambdaServiceException as __BaseException } from "./LambdaServiceException";
2
+ export class InvalidParameterValueException extends __BaseException {
3
+ name = "InvalidParameterValueException";
4
+ $fault = "client";
5
+ Type;
6
+ constructor(opts) {
7
+ super({
8
+ name: "InvalidParameterValueException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
13
+ this.Type = opts.Type;
14
+ }
15
+ }
16
+ export class PolicyLengthExceededException extends __BaseException {
17
+ name = "PolicyLengthExceededException";
18
+ $fault = "client";
19
+ Type;
20
+ constructor(opts) {
21
+ super({
22
+ name: "PolicyLengthExceededException",
23
+ $fault: "client",
24
+ ...opts,
25
+ });
26
+ Object.setPrototypeOf(this, PolicyLengthExceededException.prototype);
27
+ this.Type = opts.Type;
28
+ }
29
+ }
30
+ export class PreconditionFailedException extends __BaseException {
31
+ name = "PreconditionFailedException";
32
+ $fault = "client";
33
+ Type;
34
+ constructor(opts) {
35
+ super({
36
+ name: "PreconditionFailedException",
37
+ $fault: "client",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, PreconditionFailedException.prototype);
41
+ this.Type = opts.Type;
42
+ }
43
+ }
44
+ export class ResourceConflictException extends __BaseException {
45
+ name = "ResourceConflictException";
46
+ $fault = "client";
47
+ Type;
48
+ constructor(opts) {
49
+ super({
50
+ name: "ResourceConflictException",
51
+ $fault: "client",
52
+ ...opts,
53
+ });
54
+ Object.setPrototypeOf(this, ResourceConflictException.prototype);
55
+ this.Type = opts.Type;
56
+ }
57
+ }
58
+ export class ResourceNotFoundException extends __BaseException {
59
+ name = "ResourceNotFoundException";
60
+ $fault = "client";
61
+ Type;
62
+ Message;
63
+ constructor(opts) {
64
+ super({
65
+ name: "ResourceNotFoundException",
66
+ $fault: "client",
67
+ ...opts,
68
+ });
69
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
70
+ this.Type = opts.Type;
71
+ this.Message = opts.Message;
72
+ }
73
+ }
74
+ export class ServiceException extends __BaseException {
75
+ name = "ServiceException";
76
+ $fault = "server";
77
+ Type;
78
+ Message;
79
+ constructor(opts) {
80
+ super({
81
+ name: "ServiceException",
82
+ $fault: "server",
83
+ ...opts,
84
+ });
85
+ Object.setPrototypeOf(this, ServiceException.prototype);
86
+ this.Type = opts.Type;
87
+ this.Message = opts.Message;
88
+ }
89
+ }
90
+ export class TooManyRequestsException extends __BaseException {
91
+ name = "TooManyRequestsException";
92
+ $fault = "client";
93
+ retryAfterSeconds;
94
+ Type;
95
+ Reason;
96
+ constructor(opts) {
97
+ super({
98
+ name: "TooManyRequestsException",
99
+ $fault: "client",
100
+ ...opts,
101
+ });
102
+ Object.setPrototypeOf(this, TooManyRequestsException.prototype);
103
+ this.retryAfterSeconds = opts.retryAfterSeconds;
104
+ this.Type = opts.Type;
105
+ this.Reason = opts.Reason;
106
+ }
107
+ }
108
+ export class ResourceInUseException extends __BaseException {
109
+ name = "ResourceInUseException";
110
+ $fault = "client";
111
+ Type;
112
+ Message;
113
+ constructor(opts) {
114
+ super({
115
+ name: "ResourceInUseException",
116
+ $fault: "client",
117
+ ...opts,
118
+ });
119
+ Object.setPrototypeOf(this, ResourceInUseException.prototype);
120
+ this.Type = opts.Type;
121
+ this.Message = opts.Message;
122
+ }
123
+ }
124
+ export class CodeSigningConfigNotFoundException extends __BaseException {
125
+ name = "CodeSigningConfigNotFoundException";
126
+ $fault = "client";
127
+ Type;
128
+ Message;
129
+ constructor(opts) {
130
+ super({
131
+ name: "CodeSigningConfigNotFoundException",
132
+ $fault: "client",
133
+ ...opts,
134
+ });
135
+ Object.setPrototypeOf(this, CodeSigningConfigNotFoundException.prototype);
136
+ this.Type = opts.Type;
137
+ this.Message = opts.Message;
138
+ }
139
+ }
140
+ export class CodeStorageExceededException extends __BaseException {
141
+ name = "CodeStorageExceededException";
142
+ $fault = "client";
143
+ Type;
144
+ constructor(opts) {
145
+ super({
146
+ name: "CodeStorageExceededException",
147
+ $fault: "client",
148
+ ...opts,
149
+ });
150
+ Object.setPrototypeOf(this, CodeStorageExceededException.prototype);
151
+ this.Type = opts.Type;
152
+ }
153
+ }
154
+ export class CodeVerificationFailedException extends __BaseException {
155
+ name = "CodeVerificationFailedException";
156
+ $fault = "client";
157
+ Type;
158
+ Message;
159
+ constructor(opts) {
160
+ super({
161
+ name: "CodeVerificationFailedException",
162
+ $fault: "client",
163
+ ...opts,
164
+ });
165
+ Object.setPrototypeOf(this, CodeVerificationFailedException.prototype);
166
+ this.Type = opts.Type;
167
+ this.Message = opts.Message;
168
+ }
169
+ }
170
+ export class InvalidCodeSignatureException extends __BaseException {
171
+ name = "InvalidCodeSignatureException";
172
+ $fault = "client";
173
+ Type;
174
+ Message;
175
+ constructor(opts) {
176
+ super({
177
+ name: "InvalidCodeSignatureException",
178
+ $fault: "client",
179
+ ...opts,
180
+ });
181
+ Object.setPrototypeOf(this, InvalidCodeSignatureException.prototype);
182
+ this.Type = opts.Type;
183
+ this.Message = opts.Message;
184
+ }
185
+ }
186
+ export class EC2AccessDeniedException extends __BaseException {
187
+ name = "EC2AccessDeniedException";
188
+ $fault = "server";
189
+ Type;
190
+ Message;
191
+ constructor(opts) {
192
+ super({
193
+ name: "EC2AccessDeniedException",
194
+ $fault: "server",
195
+ ...opts,
196
+ });
197
+ Object.setPrototypeOf(this, EC2AccessDeniedException.prototype);
198
+ this.Type = opts.Type;
199
+ this.Message = opts.Message;
200
+ }
201
+ }
202
+ export class EC2ThrottledException extends __BaseException {
203
+ name = "EC2ThrottledException";
204
+ $fault = "server";
205
+ Type;
206
+ Message;
207
+ constructor(opts) {
208
+ super({
209
+ name: "EC2ThrottledException",
210
+ $fault: "server",
211
+ ...opts,
212
+ });
213
+ Object.setPrototypeOf(this, EC2ThrottledException.prototype);
214
+ this.Type = opts.Type;
215
+ this.Message = opts.Message;
216
+ }
217
+ }
218
+ export class EC2UnexpectedException extends __BaseException {
219
+ name = "EC2UnexpectedException";
220
+ $fault = "server";
221
+ Type;
222
+ Message;
223
+ EC2ErrorCode;
224
+ constructor(opts) {
225
+ super({
226
+ name: "EC2UnexpectedException",
227
+ $fault: "server",
228
+ ...opts,
229
+ });
230
+ Object.setPrototypeOf(this, EC2UnexpectedException.prototype);
231
+ this.Type = opts.Type;
232
+ this.Message = opts.Message;
233
+ this.EC2ErrorCode = opts.EC2ErrorCode;
234
+ }
235
+ }
236
+ export class EFSIOException extends __BaseException {
237
+ name = "EFSIOException";
238
+ $fault = "client";
239
+ Type;
240
+ Message;
241
+ constructor(opts) {
242
+ super({
243
+ name: "EFSIOException",
244
+ $fault: "client",
245
+ ...opts,
246
+ });
247
+ Object.setPrototypeOf(this, EFSIOException.prototype);
248
+ this.Type = opts.Type;
249
+ this.Message = opts.Message;
250
+ }
251
+ }
252
+ export class EFSMountConnectivityException extends __BaseException {
253
+ name = "EFSMountConnectivityException";
254
+ $fault = "client";
255
+ Type;
256
+ Message;
257
+ constructor(opts) {
258
+ super({
259
+ name: "EFSMountConnectivityException",
260
+ $fault: "client",
261
+ ...opts,
262
+ });
263
+ Object.setPrototypeOf(this, EFSMountConnectivityException.prototype);
264
+ this.Type = opts.Type;
265
+ this.Message = opts.Message;
266
+ }
267
+ }
268
+ export class EFSMountFailureException extends __BaseException {
269
+ name = "EFSMountFailureException";
270
+ $fault = "client";
271
+ Type;
272
+ Message;
273
+ constructor(opts) {
274
+ super({
275
+ name: "EFSMountFailureException",
276
+ $fault: "client",
277
+ ...opts,
278
+ });
279
+ Object.setPrototypeOf(this, EFSMountFailureException.prototype);
280
+ this.Type = opts.Type;
281
+ this.Message = opts.Message;
282
+ }
283
+ }
284
+ export class EFSMountTimeoutException extends __BaseException {
285
+ name = "EFSMountTimeoutException";
286
+ $fault = "client";
287
+ Type;
288
+ Message;
289
+ constructor(opts) {
290
+ super({
291
+ name: "EFSMountTimeoutException",
292
+ $fault: "client",
293
+ ...opts,
294
+ });
295
+ Object.setPrototypeOf(this, EFSMountTimeoutException.prototype);
296
+ this.Type = opts.Type;
297
+ this.Message = opts.Message;
298
+ }
299
+ }
300
+ export class ENILimitReachedException extends __BaseException {
301
+ name = "ENILimitReachedException";
302
+ $fault = "server";
303
+ Type;
304
+ Message;
305
+ constructor(opts) {
306
+ super({
307
+ name: "ENILimitReachedException",
308
+ $fault: "server",
309
+ ...opts,
310
+ });
311
+ Object.setPrototypeOf(this, ENILimitReachedException.prototype);
312
+ this.Type = opts.Type;
313
+ this.Message = opts.Message;
314
+ }
315
+ }
316
+ export class InvalidRequestContentException extends __BaseException {
317
+ name = "InvalidRequestContentException";
318
+ $fault = "client";
319
+ Type;
320
+ constructor(opts) {
321
+ super({
322
+ name: "InvalidRequestContentException",
323
+ $fault: "client",
324
+ ...opts,
325
+ });
326
+ Object.setPrototypeOf(this, InvalidRequestContentException.prototype);
327
+ this.Type = opts.Type;
328
+ }
329
+ }
330
+ export class InvalidRuntimeException extends __BaseException {
331
+ name = "InvalidRuntimeException";
332
+ $fault = "server";
333
+ Type;
334
+ Message;
335
+ constructor(opts) {
336
+ super({
337
+ name: "InvalidRuntimeException",
338
+ $fault: "server",
339
+ ...opts,
340
+ });
341
+ Object.setPrototypeOf(this, InvalidRuntimeException.prototype);
342
+ this.Type = opts.Type;
343
+ this.Message = opts.Message;
344
+ }
345
+ }
346
+ export class InvalidSecurityGroupIDException extends __BaseException {
347
+ name = "InvalidSecurityGroupIDException";
348
+ $fault = "server";
349
+ Type;
350
+ Message;
351
+ constructor(opts) {
352
+ super({
353
+ name: "InvalidSecurityGroupIDException",
354
+ $fault: "server",
355
+ ...opts,
356
+ });
357
+ Object.setPrototypeOf(this, InvalidSecurityGroupIDException.prototype);
358
+ this.Type = opts.Type;
359
+ this.Message = opts.Message;
360
+ }
361
+ }
362
+ export class InvalidSubnetIDException extends __BaseException {
363
+ name = "InvalidSubnetIDException";
364
+ $fault = "server";
365
+ Type;
366
+ Message;
367
+ constructor(opts) {
368
+ super({
369
+ name: "InvalidSubnetIDException",
370
+ $fault: "server",
371
+ ...opts,
372
+ });
373
+ Object.setPrototypeOf(this, InvalidSubnetIDException.prototype);
374
+ this.Type = opts.Type;
375
+ this.Message = opts.Message;
376
+ }
377
+ }
378
+ export class InvalidZipFileException extends __BaseException {
379
+ name = "InvalidZipFileException";
380
+ $fault = "server";
381
+ Type;
382
+ Message;
383
+ constructor(opts) {
384
+ super({
385
+ name: "InvalidZipFileException",
386
+ $fault: "server",
387
+ ...opts,
388
+ });
389
+ Object.setPrototypeOf(this, InvalidZipFileException.prototype);
390
+ this.Type = opts.Type;
391
+ this.Message = opts.Message;
392
+ }
393
+ }
394
+ export class KMSAccessDeniedException extends __BaseException {
395
+ name = "KMSAccessDeniedException";
396
+ $fault = "server";
397
+ Type;
398
+ Message;
399
+ constructor(opts) {
400
+ super({
401
+ name: "KMSAccessDeniedException",
402
+ $fault: "server",
403
+ ...opts,
404
+ });
405
+ Object.setPrototypeOf(this, KMSAccessDeniedException.prototype);
406
+ this.Type = opts.Type;
407
+ this.Message = opts.Message;
408
+ }
409
+ }
410
+ export class KMSDisabledException extends __BaseException {
411
+ name = "KMSDisabledException";
412
+ $fault = "server";
413
+ Type;
414
+ Message;
415
+ constructor(opts) {
416
+ super({
417
+ name: "KMSDisabledException",
418
+ $fault: "server",
419
+ ...opts,
420
+ });
421
+ Object.setPrototypeOf(this, KMSDisabledException.prototype);
422
+ this.Type = opts.Type;
423
+ this.Message = opts.Message;
424
+ }
425
+ }
426
+ export class KMSInvalidStateException extends __BaseException {
427
+ name = "KMSInvalidStateException";
428
+ $fault = "server";
429
+ Type;
430
+ Message;
431
+ constructor(opts) {
432
+ super({
433
+ name: "KMSInvalidStateException",
434
+ $fault: "server",
435
+ ...opts,
436
+ });
437
+ Object.setPrototypeOf(this, KMSInvalidStateException.prototype);
438
+ this.Type = opts.Type;
439
+ this.Message = opts.Message;
440
+ }
441
+ }
442
+ export class KMSNotFoundException extends __BaseException {
443
+ name = "KMSNotFoundException";
444
+ $fault = "server";
445
+ Type;
446
+ Message;
447
+ constructor(opts) {
448
+ super({
449
+ name: "KMSNotFoundException",
450
+ $fault: "server",
451
+ ...opts,
452
+ });
453
+ Object.setPrototypeOf(this, KMSNotFoundException.prototype);
454
+ this.Type = opts.Type;
455
+ this.Message = opts.Message;
456
+ }
457
+ }
458
+ export class RecursiveInvocationException extends __BaseException {
459
+ name = "RecursiveInvocationException";
460
+ $fault = "client";
461
+ Type;
462
+ Message;
463
+ constructor(opts) {
464
+ super({
465
+ name: "RecursiveInvocationException",
466
+ $fault: "client",
467
+ ...opts,
468
+ });
469
+ Object.setPrototypeOf(this, RecursiveInvocationException.prototype);
470
+ this.Type = opts.Type;
471
+ this.Message = opts.Message;
472
+ }
473
+ }
474
+ export class RequestTooLargeException extends __BaseException {
475
+ name = "RequestTooLargeException";
476
+ $fault = "client";
477
+ Type;
478
+ constructor(opts) {
479
+ super({
480
+ name: "RequestTooLargeException",
481
+ $fault: "client",
482
+ ...opts,
483
+ });
484
+ Object.setPrototypeOf(this, RequestTooLargeException.prototype);
485
+ this.Type = opts.Type;
486
+ }
487
+ }
488
+ export class ResourceNotReadyException extends __BaseException {
489
+ name = "ResourceNotReadyException";
490
+ $fault = "server";
491
+ Type;
492
+ constructor(opts) {
493
+ super({
494
+ name: "ResourceNotReadyException",
495
+ $fault: "server",
496
+ ...opts,
497
+ });
498
+ Object.setPrototypeOf(this, ResourceNotReadyException.prototype);
499
+ this.Type = opts.Type;
500
+ }
501
+ }
502
+ export class SerializedRequestEntityTooLargeException extends __BaseException {
503
+ name = "SerializedRequestEntityTooLargeException";
504
+ $fault = "client";
505
+ Type;
506
+ constructor(opts) {
507
+ super({
508
+ name: "SerializedRequestEntityTooLargeException",
509
+ $fault: "client",
510
+ ...opts,
511
+ });
512
+ Object.setPrototypeOf(this, SerializedRequestEntityTooLargeException.prototype);
513
+ this.Type = opts.Type;
514
+ }
515
+ }
516
+ export class SnapStartException extends __BaseException {
517
+ name = "SnapStartException";
518
+ $fault = "client";
519
+ Type;
520
+ Message;
521
+ constructor(opts) {
522
+ super({
523
+ name: "SnapStartException",
524
+ $fault: "client",
525
+ ...opts,
526
+ });
527
+ Object.setPrototypeOf(this, SnapStartException.prototype);
528
+ this.Type = opts.Type;
529
+ this.Message = opts.Message;
530
+ }
531
+ }
532
+ export class SnapStartNotReadyException extends __BaseException {
533
+ name = "SnapStartNotReadyException";
534
+ $fault = "client";
535
+ Type;
536
+ Message;
537
+ constructor(opts) {
538
+ super({
539
+ name: "SnapStartNotReadyException",
540
+ $fault: "client",
541
+ ...opts,
542
+ });
543
+ Object.setPrototypeOf(this, SnapStartNotReadyException.prototype);
544
+ this.Type = opts.Type;
545
+ this.Message = opts.Message;
546
+ }
547
+ }
548
+ export class SnapStartTimeoutException extends __BaseException {
549
+ name = "SnapStartTimeoutException";
550
+ $fault = "client";
551
+ Type;
552
+ Message;
553
+ constructor(opts) {
554
+ super({
555
+ name: "SnapStartTimeoutException",
556
+ $fault: "client",
557
+ ...opts,
558
+ });
559
+ Object.setPrototypeOf(this, SnapStartTimeoutException.prototype);
560
+ this.Type = opts.Type;
561
+ this.Message = opts.Message;
562
+ }
563
+ }
564
+ export class SubnetIPAddressLimitReachedException extends __BaseException {
565
+ name = "SubnetIPAddressLimitReachedException";
566
+ $fault = "server";
567
+ Type;
568
+ Message;
569
+ constructor(opts) {
570
+ super({
571
+ name: "SubnetIPAddressLimitReachedException",
572
+ $fault: "server",
573
+ ...opts,
574
+ });
575
+ Object.setPrototypeOf(this, SubnetIPAddressLimitReachedException.prototype);
576
+ this.Type = opts.Type;
577
+ this.Message = opts.Message;
578
+ }
579
+ }
580
+ export class UnsupportedMediaTypeException extends __BaseException {
581
+ name = "UnsupportedMediaTypeException";
582
+ $fault = "client";
583
+ Type;
584
+ constructor(opts) {
585
+ super({
586
+ name: "UnsupportedMediaTypeException",
587
+ $fault: "client",
588
+ ...opts,
589
+ });
590
+ Object.setPrototypeOf(this, UnsupportedMediaTypeException.prototype);
591
+ this.Type = opts.Type;
592
+ }
593
+ }
594
+ export class ProvisionedConcurrencyConfigNotFoundException extends __BaseException {
595
+ name = "ProvisionedConcurrencyConfigNotFoundException";
596
+ $fault = "client";
597
+ Type;
598
+ constructor(opts) {
599
+ super({
600
+ name: "ProvisionedConcurrencyConfigNotFoundException",
601
+ $fault: "client",
602
+ ...opts,
603
+ });
604
+ Object.setPrototypeOf(this, ProvisionedConcurrencyConfigNotFoundException.prototype);
605
+ this.Type = opts.Type;
606
+ }
607
+ }