@aws-sdk/client-lambda 3.934.0 → 3.935.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 +12 -12
  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,509 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const ThrottleReason: {
6
+ readonly CallerRateLimitExceeded: "CallerRateLimitExceeded";
7
+ readonly ConcurrentInvocationLimitExceeded: "ConcurrentInvocationLimitExceeded";
8
+ readonly ConcurrentSnapshotCreateLimitExceeded: "ConcurrentSnapshotCreateLimitExceeded";
9
+ readonly FunctionInvocationRateLimitExceeded: "FunctionInvocationRateLimitExceeded";
10
+ readonly ReservedFunctionConcurrentInvocationLimitExceeded: "ReservedFunctionConcurrentInvocationLimitExceeded";
11
+ readonly ReservedFunctionInvocationRateLimitExceeded: "ReservedFunctionInvocationRateLimitExceeded";
12
+ };
13
+ /**
14
+ * @public
15
+ */
16
+ export type ThrottleReason = (typeof ThrottleReason)[keyof typeof ThrottleReason];
17
+ /**
18
+ * @public
19
+ * @enum
20
+ */
21
+ export declare const FunctionUrlAuthType: {
22
+ readonly AWS_IAM: "AWS_IAM";
23
+ readonly NONE: "NONE";
24
+ };
25
+ /**
26
+ * @public
27
+ */
28
+ export type FunctionUrlAuthType = (typeof FunctionUrlAuthType)[keyof typeof FunctionUrlAuthType];
29
+ /**
30
+ * @public
31
+ * @enum
32
+ */
33
+ export declare const KafkaSchemaRegistryAuthType: {
34
+ readonly BASIC_AUTH: "BASIC_AUTH";
35
+ readonly CLIENT_CERTIFICATE_TLS_AUTH: "CLIENT_CERTIFICATE_TLS_AUTH";
36
+ readonly SERVER_ROOT_CA_CERTIFICATE: "SERVER_ROOT_CA_CERTIFICATE";
37
+ };
38
+ /**
39
+ * @public
40
+ */
41
+ export type KafkaSchemaRegistryAuthType = (typeof KafkaSchemaRegistryAuthType)[keyof typeof KafkaSchemaRegistryAuthType];
42
+ /**
43
+ * @public
44
+ * @enum
45
+ */
46
+ export declare const SchemaRegistryEventRecordFormat: {
47
+ readonly JSON: "JSON";
48
+ readonly SOURCE: "SOURCE";
49
+ };
50
+ /**
51
+ * @public
52
+ */
53
+ export type SchemaRegistryEventRecordFormat = (typeof SchemaRegistryEventRecordFormat)[keyof typeof SchemaRegistryEventRecordFormat];
54
+ /**
55
+ * @public
56
+ * @enum
57
+ */
58
+ export declare const KafkaSchemaValidationAttribute: {
59
+ readonly KEY: "KEY";
60
+ readonly VALUE: "VALUE";
61
+ };
62
+ /**
63
+ * @public
64
+ */
65
+ export type KafkaSchemaValidationAttribute = (typeof KafkaSchemaValidationAttribute)[keyof typeof KafkaSchemaValidationAttribute];
66
+ /**
67
+ * @public
68
+ * @enum
69
+ */
70
+ export declare const ApplicationLogLevel: {
71
+ readonly Debug: "DEBUG";
72
+ readonly Error: "ERROR";
73
+ readonly Fatal: "FATAL";
74
+ readonly Info: "INFO";
75
+ readonly Trace: "TRACE";
76
+ readonly Warn: "WARN";
77
+ };
78
+ /**
79
+ * @public
80
+ */
81
+ export type ApplicationLogLevel = (typeof ApplicationLogLevel)[keyof typeof ApplicationLogLevel];
82
+ /**
83
+ * @public
84
+ * @enum
85
+ */
86
+ export declare const Architecture: {
87
+ readonly arm64: "arm64";
88
+ readonly x86_64: "x86_64";
89
+ };
90
+ /**
91
+ * @public
92
+ */
93
+ export type Architecture = (typeof Architecture)[keyof typeof Architecture];
94
+ /**
95
+ * @public
96
+ * @enum
97
+ */
98
+ export declare const CodeSigningPolicy: {
99
+ readonly Enforce: "Enforce";
100
+ readonly Warn: "Warn";
101
+ };
102
+ /**
103
+ * @public
104
+ */
105
+ export type CodeSigningPolicy = (typeof CodeSigningPolicy)[keyof typeof CodeSigningPolicy];
106
+ /**
107
+ * @public
108
+ * @enum
109
+ */
110
+ export declare const FullDocument: {
111
+ readonly Default: "Default";
112
+ readonly UpdateLookup: "UpdateLookup";
113
+ };
114
+ /**
115
+ * @public
116
+ */
117
+ export type FullDocument = (typeof FullDocument)[keyof typeof FullDocument];
118
+ /**
119
+ * @public
120
+ * @enum
121
+ */
122
+ export declare const FunctionResponseType: {
123
+ readonly ReportBatchItemFailures: "ReportBatchItemFailures";
124
+ };
125
+ /**
126
+ * @public
127
+ */
128
+ export type FunctionResponseType = (typeof FunctionResponseType)[keyof typeof FunctionResponseType];
129
+ /**
130
+ * @public
131
+ * @enum
132
+ */
133
+ export declare const EventSourceMappingMetric: {
134
+ readonly EventCount: "EventCount";
135
+ };
136
+ /**
137
+ * @public
138
+ */
139
+ export type EventSourceMappingMetric = (typeof EventSourceMappingMetric)[keyof typeof EventSourceMappingMetric];
140
+ /**
141
+ * @public
142
+ * @enum
143
+ */
144
+ export declare const EndPointType: {
145
+ readonly KAFKA_BOOTSTRAP_SERVERS: "KAFKA_BOOTSTRAP_SERVERS";
146
+ };
147
+ /**
148
+ * @public
149
+ */
150
+ export type EndPointType = (typeof EndPointType)[keyof typeof EndPointType];
151
+ /**
152
+ * @public
153
+ * @enum
154
+ */
155
+ export declare const SourceAccessType: {
156
+ readonly BASIC_AUTH: "BASIC_AUTH";
157
+ readonly CLIENT_CERTIFICATE_TLS_AUTH: "CLIENT_CERTIFICATE_TLS_AUTH";
158
+ readonly SASL_SCRAM_256_AUTH: "SASL_SCRAM_256_AUTH";
159
+ readonly SASL_SCRAM_512_AUTH: "SASL_SCRAM_512_AUTH";
160
+ readonly SERVER_ROOT_CA_CERTIFICATE: "SERVER_ROOT_CA_CERTIFICATE";
161
+ readonly VIRTUAL_HOST: "VIRTUAL_HOST";
162
+ readonly VPC_SECURITY_GROUP: "VPC_SECURITY_GROUP";
163
+ readonly VPC_SUBNET: "VPC_SUBNET";
164
+ };
165
+ /**
166
+ * @public
167
+ */
168
+ export type SourceAccessType = (typeof SourceAccessType)[keyof typeof SourceAccessType];
169
+ /**
170
+ * @public
171
+ * @enum
172
+ */
173
+ export declare const EventSourcePosition: {
174
+ readonly AT_TIMESTAMP: "AT_TIMESTAMP";
175
+ readonly LATEST: "LATEST";
176
+ readonly TRIM_HORIZON: "TRIM_HORIZON";
177
+ };
178
+ /**
179
+ * @public
180
+ */
181
+ export type EventSourcePosition = (typeof EventSourcePosition)[keyof typeof EventSourcePosition];
182
+ /**
183
+ * @public
184
+ * @enum
185
+ */
186
+ export declare const LogFormat: {
187
+ readonly Json: "JSON";
188
+ readonly Text: "Text";
189
+ };
190
+ /**
191
+ * @public
192
+ */
193
+ export type LogFormat = (typeof LogFormat)[keyof typeof LogFormat];
194
+ /**
195
+ * @public
196
+ * @enum
197
+ */
198
+ export declare const SystemLogLevel: {
199
+ readonly Debug: "DEBUG";
200
+ readonly Info: "INFO";
201
+ readonly Warn: "WARN";
202
+ };
203
+ /**
204
+ * @public
205
+ */
206
+ export type SystemLogLevel = (typeof SystemLogLevel)[keyof typeof SystemLogLevel];
207
+ /**
208
+ * @public
209
+ * @enum
210
+ */
211
+ export declare const PackageType: {
212
+ readonly Image: "Image";
213
+ readonly Zip: "Zip";
214
+ };
215
+ /**
216
+ * @public
217
+ */
218
+ export type PackageType = (typeof PackageType)[keyof typeof PackageType];
219
+ /**
220
+ * @public
221
+ * @enum
222
+ */
223
+ export declare const Runtime: {
224
+ readonly dotnet6: "dotnet6";
225
+ readonly dotnet8: "dotnet8";
226
+ readonly dotnetcore10: "dotnetcore1.0";
227
+ readonly dotnetcore20: "dotnetcore2.0";
228
+ readonly dotnetcore21: "dotnetcore2.1";
229
+ readonly dotnetcore31: "dotnetcore3.1";
230
+ readonly go1x: "go1.x";
231
+ readonly java11: "java11";
232
+ readonly java17: "java17";
233
+ readonly java21: "java21";
234
+ readonly java25: "java25";
235
+ readonly java8: "java8";
236
+ readonly java8al2: "java8.al2";
237
+ readonly nodejs: "nodejs";
238
+ readonly nodejs10x: "nodejs10.x";
239
+ readonly nodejs12x: "nodejs12.x";
240
+ readonly nodejs14x: "nodejs14.x";
241
+ readonly nodejs16x: "nodejs16.x";
242
+ readonly nodejs18x: "nodejs18.x";
243
+ readonly nodejs20x: "nodejs20.x";
244
+ readonly nodejs22x: "nodejs22.x";
245
+ readonly nodejs24x: "nodejs24.x";
246
+ readonly nodejs43: "nodejs4.3";
247
+ readonly nodejs43edge: "nodejs4.3-edge";
248
+ readonly nodejs610: "nodejs6.10";
249
+ readonly nodejs810: "nodejs8.10";
250
+ readonly provided: "provided";
251
+ readonly providedal2: "provided.al2";
252
+ readonly providedal2023: "provided.al2023";
253
+ readonly python27: "python2.7";
254
+ readonly python310: "python3.10";
255
+ readonly python311: "python3.11";
256
+ readonly python312: "python3.12";
257
+ readonly python313: "python3.13";
258
+ readonly python314: "python3.14";
259
+ readonly python36: "python3.6";
260
+ readonly python37: "python3.7";
261
+ readonly python38: "python3.8";
262
+ readonly python39: "python3.9";
263
+ readonly ruby25: "ruby2.5";
264
+ readonly ruby27: "ruby2.7";
265
+ readonly ruby32: "ruby3.2";
266
+ readonly ruby33: "ruby3.3";
267
+ readonly ruby34: "ruby3.4";
268
+ };
269
+ /**
270
+ * @public
271
+ */
272
+ export type Runtime = (typeof Runtime)[keyof typeof Runtime];
273
+ /**
274
+ * @public
275
+ * @enum
276
+ */
277
+ export declare const SnapStartApplyOn: {
278
+ readonly None: "None";
279
+ readonly PublishedVersions: "PublishedVersions";
280
+ };
281
+ /**
282
+ * @public
283
+ */
284
+ export type SnapStartApplyOn = (typeof SnapStartApplyOn)[keyof typeof SnapStartApplyOn];
285
+ /**
286
+ * @public
287
+ * @enum
288
+ */
289
+ export declare const TenantIsolationMode: {
290
+ readonly PER_TENANT: "PER_TENANT";
291
+ };
292
+ /**
293
+ * @public
294
+ */
295
+ export type TenantIsolationMode = (typeof TenantIsolationMode)[keyof typeof TenantIsolationMode];
296
+ /**
297
+ * @public
298
+ * @enum
299
+ */
300
+ export declare const TracingMode: {
301
+ readonly Active: "Active";
302
+ readonly PassThrough: "PassThrough";
303
+ };
304
+ /**
305
+ * @public
306
+ */
307
+ export type TracingMode = (typeof TracingMode)[keyof typeof TracingMode];
308
+ /**
309
+ * @public
310
+ * @enum
311
+ */
312
+ export declare const LastUpdateStatus: {
313
+ readonly Failed: "Failed";
314
+ readonly InProgress: "InProgress";
315
+ readonly Successful: "Successful";
316
+ };
317
+ /**
318
+ * @public
319
+ */
320
+ export type LastUpdateStatus = (typeof LastUpdateStatus)[keyof typeof LastUpdateStatus];
321
+ /**
322
+ * @public
323
+ * @enum
324
+ */
325
+ export declare const LastUpdateStatusReasonCode: {
326
+ readonly DisabledKMSKey: "DisabledKMSKey";
327
+ readonly EFSIOError: "EFSIOError";
328
+ readonly EFSMountConnectivityError: "EFSMountConnectivityError";
329
+ readonly EFSMountFailure: "EFSMountFailure";
330
+ readonly EFSMountTimeout: "EFSMountTimeout";
331
+ readonly EniLimitExceeded: "EniLimitExceeded";
332
+ readonly FunctionError: "FunctionError";
333
+ readonly ImageAccessDenied: "ImageAccessDenied";
334
+ readonly ImageDeleted: "ImageDeleted";
335
+ readonly InsufficientRolePermissions: "InsufficientRolePermissions";
336
+ readonly InternalError: "InternalError";
337
+ readonly InvalidConfiguration: "InvalidConfiguration";
338
+ readonly InvalidImage: "InvalidImage";
339
+ readonly InvalidRuntime: "InvalidRuntime";
340
+ readonly InvalidSecurityGroup: "InvalidSecurityGroup";
341
+ readonly InvalidStateKMSKey: "InvalidStateKMSKey";
342
+ readonly InvalidSubnet: "InvalidSubnet";
343
+ readonly InvalidZipFileException: "InvalidZipFileException";
344
+ readonly KMSKeyAccessDenied: "KMSKeyAccessDenied";
345
+ readonly KMSKeyNotFound: "KMSKeyNotFound";
346
+ readonly SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses";
347
+ };
348
+ /**
349
+ * @public
350
+ */
351
+ export type LastUpdateStatusReasonCode = (typeof LastUpdateStatusReasonCode)[keyof typeof LastUpdateStatusReasonCode];
352
+ /**
353
+ * @public
354
+ * @enum
355
+ */
356
+ export declare const SnapStartOptimizationStatus: {
357
+ readonly Off: "Off";
358
+ readonly On: "On";
359
+ };
360
+ /**
361
+ * @public
362
+ */
363
+ export type SnapStartOptimizationStatus = (typeof SnapStartOptimizationStatus)[keyof typeof SnapStartOptimizationStatus];
364
+ /**
365
+ * @public
366
+ * @enum
367
+ */
368
+ export declare const State: {
369
+ readonly Active: "Active";
370
+ readonly Failed: "Failed";
371
+ readonly Inactive: "Inactive";
372
+ readonly Pending: "Pending";
373
+ };
374
+ /**
375
+ * @public
376
+ */
377
+ export type State = (typeof State)[keyof typeof State];
378
+ /**
379
+ * @public
380
+ * @enum
381
+ */
382
+ export declare const StateReasonCode: {
383
+ readonly Creating: "Creating";
384
+ readonly DisabledKMSKey: "DisabledKMSKey";
385
+ readonly EFSIOError: "EFSIOError";
386
+ readonly EFSMountConnectivityError: "EFSMountConnectivityError";
387
+ readonly EFSMountFailure: "EFSMountFailure";
388
+ readonly EFSMountTimeout: "EFSMountTimeout";
389
+ readonly EniLimitExceeded: "EniLimitExceeded";
390
+ readonly FunctionError: "FunctionError";
391
+ readonly Idle: "Idle";
392
+ readonly ImageAccessDenied: "ImageAccessDenied";
393
+ readonly ImageDeleted: "ImageDeleted";
394
+ readonly InsufficientRolePermissions: "InsufficientRolePermissions";
395
+ readonly InternalError: "InternalError";
396
+ readonly InvalidConfiguration: "InvalidConfiguration";
397
+ readonly InvalidImage: "InvalidImage";
398
+ readonly InvalidRuntime: "InvalidRuntime";
399
+ readonly InvalidSecurityGroup: "InvalidSecurityGroup";
400
+ readonly InvalidStateKMSKey: "InvalidStateKMSKey";
401
+ readonly InvalidSubnet: "InvalidSubnet";
402
+ readonly InvalidZipFileException: "InvalidZipFileException";
403
+ readonly KMSKeyAccessDenied: "KMSKeyAccessDenied";
404
+ readonly KMSKeyNotFound: "KMSKeyNotFound";
405
+ readonly Restoring: "Restoring";
406
+ readonly SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses";
407
+ };
408
+ /**
409
+ * @public
410
+ */
411
+ export type StateReasonCode = (typeof StateReasonCode)[keyof typeof StateReasonCode];
412
+ /**
413
+ * @public
414
+ * @enum
415
+ */
416
+ export declare const InvokeMode: {
417
+ readonly BUFFERED: "BUFFERED";
418
+ readonly RESPONSE_STREAM: "RESPONSE_STREAM";
419
+ };
420
+ /**
421
+ * @public
422
+ */
423
+ export type InvokeMode = (typeof InvokeMode)[keyof typeof InvokeMode];
424
+ /**
425
+ * @public
426
+ * @enum
427
+ */
428
+ export declare const RecursiveLoop: {
429
+ readonly Allow: "Allow";
430
+ readonly Terminate: "Terminate";
431
+ };
432
+ /**
433
+ * @public
434
+ */
435
+ export type RecursiveLoop = (typeof RecursiveLoop)[keyof typeof RecursiveLoop];
436
+ /**
437
+ * @public
438
+ * @enum
439
+ */
440
+ export declare const UpdateRuntimeOn: {
441
+ readonly Auto: "Auto";
442
+ readonly FunctionUpdate: "FunctionUpdate";
443
+ readonly Manual: "Manual";
444
+ };
445
+ /**
446
+ * @public
447
+ */
448
+ export type UpdateRuntimeOn = (typeof UpdateRuntimeOn)[keyof typeof UpdateRuntimeOn];
449
+ /**
450
+ * @public
451
+ * @enum
452
+ */
453
+ export declare const InvocationType: {
454
+ readonly DryRun: "DryRun";
455
+ readonly Event: "Event";
456
+ readonly RequestResponse: "RequestResponse";
457
+ };
458
+ /**
459
+ * @public
460
+ */
461
+ export type InvocationType = (typeof InvocationType)[keyof typeof InvocationType];
462
+ /**
463
+ * @public
464
+ * @enum
465
+ */
466
+ export declare const LogType: {
467
+ readonly None: "None";
468
+ readonly Tail: "Tail";
469
+ };
470
+ /**
471
+ * @public
472
+ */
473
+ export type LogType = (typeof LogType)[keyof typeof LogType];
474
+ /**
475
+ * @public
476
+ * @enum
477
+ */
478
+ export declare const ResponseStreamingInvocationType: {
479
+ readonly DryRun: "DryRun";
480
+ readonly RequestResponse: "RequestResponse";
481
+ };
482
+ /**
483
+ * @public
484
+ */
485
+ export type ResponseStreamingInvocationType = (typeof ResponseStreamingInvocationType)[keyof typeof ResponseStreamingInvocationType];
486
+ /**
487
+ * @public
488
+ * @enum
489
+ */
490
+ export declare const FunctionVersion: {
491
+ readonly ALL: "ALL";
492
+ };
493
+ /**
494
+ * @public
495
+ */
496
+ export type FunctionVersion = (typeof FunctionVersion)[keyof typeof FunctionVersion];
497
+ /**
498
+ * @public
499
+ * @enum
500
+ */
501
+ export declare const ProvisionedConcurrencyStatusEnum: {
502
+ readonly FAILED: "FAILED";
503
+ readonly IN_PROGRESS: "IN_PROGRESS";
504
+ readonly READY: "READY";
505
+ };
506
+ /**
507
+ * @public
508
+ */
509
+ export type ProvisionedConcurrencyStatusEnum = (typeof ProvisionedConcurrencyStatusEnum)[keyof typeof ProvisionedConcurrencyStatusEnum];