@aws-sdk/client-lambda 3.301.0 → 3.306.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/dist-cjs/models/models_0.js +173 -196
- package/dist-es/models/models_0.js +173 -196
- package/dist-types/models/models_0.d.ts +288 -173
- package/dist-types/ts3.4/models/models_0.d.ts +211 -173
- package/package.json +35 -35
|
@@ -90,15 +90,14 @@ class ServiceException extends LambdaServiceException_1.LambdaServiceException {
|
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
exports.ServiceException = ServiceException;
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
})(ThrottleReason = exports.ThrottleReason || (exports.ThrottleReason = {}));
|
|
93
|
+
exports.ThrottleReason = {
|
|
94
|
+
CallerRateLimitExceeded: "CallerRateLimitExceeded",
|
|
95
|
+
ConcurrentInvocationLimitExceeded: "ConcurrentInvocationLimitExceeded",
|
|
96
|
+
ConcurrentSnapshotCreateLimitExceeded: "ConcurrentSnapshotCreateLimitExceeded",
|
|
97
|
+
FunctionInvocationRateLimitExceeded: "FunctionInvocationRateLimitExceeded",
|
|
98
|
+
ReservedFunctionConcurrentInvocationLimitExceeded: "ReservedFunctionConcurrentInvocationLimitExceeded",
|
|
99
|
+
ReservedFunctionInvocationRateLimitExceeded: "ReservedFunctionInvocationRateLimitExceeded",
|
|
100
|
+
};
|
|
102
101
|
class TooManyRequestsException extends LambdaServiceException_1.LambdaServiceException {
|
|
103
102
|
constructor(opts) {
|
|
104
103
|
super({
|
|
@@ -115,51 +114,43 @@ class TooManyRequestsException extends LambdaServiceException_1.LambdaServiceExc
|
|
|
115
114
|
}
|
|
116
115
|
}
|
|
117
116
|
exports.TooManyRequestsException = TooManyRequestsException;
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
SourceAccessType["VPC_SUBNET"] = "VPC_SUBNET";
|
|
156
|
-
})(SourceAccessType = exports.SourceAccessType || (exports.SourceAccessType = {}));
|
|
157
|
-
var EventSourcePosition;
|
|
158
|
-
(function (EventSourcePosition) {
|
|
159
|
-
EventSourcePosition["AT_TIMESTAMP"] = "AT_TIMESTAMP";
|
|
160
|
-
EventSourcePosition["LATEST"] = "LATEST";
|
|
161
|
-
EventSourcePosition["TRIM_HORIZON"] = "TRIM_HORIZON";
|
|
162
|
-
})(EventSourcePosition = exports.EventSourcePosition || (exports.EventSourcePosition = {}));
|
|
117
|
+
exports.FunctionUrlAuthType = {
|
|
118
|
+
AWS_IAM: "AWS_IAM",
|
|
119
|
+
NONE: "NONE",
|
|
120
|
+
};
|
|
121
|
+
exports.Architecture = {
|
|
122
|
+
arm64: "arm64",
|
|
123
|
+
x86_64: "x86_64",
|
|
124
|
+
};
|
|
125
|
+
exports.CodeSigningPolicy = {
|
|
126
|
+
Enforce: "Enforce",
|
|
127
|
+
Warn: "Warn",
|
|
128
|
+
};
|
|
129
|
+
exports.FullDocument = {
|
|
130
|
+
Default: "Default",
|
|
131
|
+
UpdateLookup: "UpdateLookup",
|
|
132
|
+
};
|
|
133
|
+
exports.FunctionResponseType = {
|
|
134
|
+
ReportBatchItemFailures: "ReportBatchItemFailures",
|
|
135
|
+
};
|
|
136
|
+
exports.EndPointType = {
|
|
137
|
+
KAFKA_BOOTSTRAP_SERVERS: "KAFKA_BOOTSTRAP_SERVERS",
|
|
138
|
+
};
|
|
139
|
+
exports.SourceAccessType = {
|
|
140
|
+
BASIC_AUTH: "BASIC_AUTH",
|
|
141
|
+
CLIENT_CERTIFICATE_TLS_AUTH: "CLIENT_CERTIFICATE_TLS_AUTH",
|
|
142
|
+
SASL_SCRAM_256_AUTH: "SASL_SCRAM_256_AUTH",
|
|
143
|
+
SASL_SCRAM_512_AUTH: "SASL_SCRAM_512_AUTH",
|
|
144
|
+
SERVER_ROOT_CA_CERTIFICATE: "SERVER_ROOT_CA_CERTIFICATE",
|
|
145
|
+
VIRTUAL_HOST: "VIRTUAL_HOST",
|
|
146
|
+
VPC_SECURITY_GROUP: "VPC_SECURITY_GROUP",
|
|
147
|
+
VPC_SUBNET: "VPC_SUBNET",
|
|
148
|
+
};
|
|
149
|
+
exports.EventSourcePosition = {
|
|
150
|
+
AT_TIMESTAMP: "AT_TIMESTAMP",
|
|
151
|
+
LATEST: "LATEST",
|
|
152
|
+
TRIM_HORIZON: "TRIM_HORIZON",
|
|
153
|
+
};
|
|
163
154
|
class CodeSigningConfigNotFoundException extends LambdaServiceException_1.LambdaServiceException {
|
|
164
155
|
constructor(opts) {
|
|
165
156
|
super({
|
|
@@ -204,121 +195,112 @@ class CodeVerificationFailedException extends LambdaServiceException_1.LambdaSer
|
|
|
204
195
|
}
|
|
205
196
|
}
|
|
206
197
|
exports.CodeVerificationFailedException = CodeVerificationFailedException;
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
StateReasonCode["InvalidSecurityGroup"] = "InvalidSecurityGroup";
|
|
314
|
-
StateReasonCode["InvalidStateKMSKey"] = "InvalidStateKMSKey";
|
|
315
|
-
StateReasonCode["InvalidSubnet"] = "InvalidSubnet";
|
|
316
|
-
StateReasonCode["InvalidZipFileException"] = "InvalidZipFileException";
|
|
317
|
-
StateReasonCode["KMSKeyAccessDenied"] = "KMSKeyAccessDenied";
|
|
318
|
-
StateReasonCode["KMSKeyNotFound"] = "KMSKeyNotFound";
|
|
319
|
-
StateReasonCode["Restoring"] = "Restoring";
|
|
320
|
-
StateReasonCode["SubnetOutOfIPAddresses"] = "SubnetOutOfIPAddresses";
|
|
321
|
-
})(StateReasonCode = exports.StateReasonCode || (exports.StateReasonCode = {}));
|
|
198
|
+
exports.PackageType = {
|
|
199
|
+
Image: "Image",
|
|
200
|
+
Zip: "Zip",
|
|
201
|
+
};
|
|
202
|
+
exports.Runtime = {
|
|
203
|
+
dotnet6: "dotnet6",
|
|
204
|
+
dotnetcore10: "dotnetcore1.0",
|
|
205
|
+
dotnetcore20: "dotnetcore2.0",
|
|
206
|
+
dotnetcore21: "dotnetcore2.1",
|
|
207
|
+
dotnetcore31: "dotnetcore3.1",
|
|
208
|
+
go1x: "go1.x",
|
|
209
|
+
java11: "java11",
|
|
210
|
+
java8: "java8",
|
|
211
|
+
java8al2: "java8.al2",
|
|
212
|
+
nodejs: "nodejs",
|
|
213
|
+
nodejs10x: "nodejs10.x",
|
|
214
|
+
nodejs12x: "nodejs12.x",
|
|
215
|
+
nodejs14x: "nodejs14.x",
|
|
216
|
+
nodejs16x: "nodejs16.x",
|
|
217
|
+
nodejs18x: "nodejs18.x",
|
|
218
|
+
nodejs43: "nodejs4.3",
|
|
219
|
+
nodejs43edge: "nodejs4.3-edge",
|
|
220
|
+
nodejs610: "nodejs6.10",
|
|
221
|
+
nodejs810: "nodejs8.10",
|
|
222
|
+
provided: "provided",
|
|
223
|
+
providedal2: "provided.al2",
|
|
224
|
+
python27: "python2.7",
|
|
225
|
+
python36: "python3.6",
|
|
226
|
+
python37: "python3.7",
|
|
227
|
+
python38: "python3.8",
|
|
228
|
+
python39: "python3.9",
|
|
229
|
+
ruby25: "ruby2.5",
|
|
230
|
+
ruby27: "ruby2.7",
|
|
231
|
+
};
|
|
232
|
+
exports.SnapStartApplyOn = {
|
|
233
|
+
None: "None",
|
|
234
|
+
PublishedVersions: "PublishedVersions",
|
|
235
|
+
};
|
|
236
|
+
exports.TracingMode = {
|
|
237
|
+
Active: "Active",
|
|
238
|
+
PassThrough: "PassThrough",
|
|
239
|
+
};
|
|
240
|
+
exports.LastUpdateStatus = {
|
|
241
|
+
Failed: "Failed",
|
|
242
|
+
InProgress: "InProgress",
|
|
243
|
+
Successful: "Successful",
|
|
244
|
+
};
|
|
245
|
+
exports.LastUpdateStatusReasonCode = {
|
|
246
|
+
DisabledKMSKey: "DisabledKMSKey",
|
|
247
|
+
EFSIOError: "EFSIOError",
|
|
248
|
+
EFSMountConnectivityError: "EFSMountConnectivityError",
|
|
249
|
+
EFSMountFailure: "EFSMountFailure",
|
|
250
|
+
EFSMountTimeout: "EFSMountTimeout",
|
|
251
|
+
EniLimitExceeded: "EniLimitExceeded",
|
|
252
|
+
FunctionError: "FunctionError",
|
|
253
|
+
ImageAccessDenied: "ImageAccessDenied",
|
|
254
|
+
ImageDeleted: "ImageDeleted",
|
|
255
|
+
InsufficientRolePermissions: "InsufficientRolePermissions",
|
|
256
|
+
InternalError: "InternalError",
|
|
257
|
+
InvalidConfiguration: "InvalidConfiguration",
|
|
258
|
+
InvalidImage: "InvalidImage",
|
|
259
|
+
InvalidRuntime: "InvalidRuntime",
|
|
260
|
+
InvalidSecurityGroup: "InvalidSecurityGroup",
|
|
261
|
+
InvalidStateKMSKey: "InvalidStateKMSKey",
|
|
262
|
+
InvalidSubnet: "InvalidSubnet",
|
|
263
|
+
InvalidZipFileException: "InvalidZipFileException",
|
|
264
|
+
KMSKeyAccessDenied: "KMSKeyAccessDenied",
|
|
265
|
+
KMSKeyNotFound: "KMSKeyNotFound",
|
|
266
|
+
SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses",
|
|
267
|
+
};
|
|
268
|
+
exports.SnapStartOptimizationStatus = {
|
|
269
|
+
Off: "Off",
|
|
270
|
+
On: "On",
|
|
271
|
+
};
|
|
272
|
+
exports.State = {
|
|
273
|
+
Active: "Active",
|
|
274
|
+
Failed: "Failed",
|
|
275
|
+
Inactive: "Inactive",
|
|
276
|
+
Pending: "Pending",
|
|
277
|
+
};
|
|
278
|
+
exports.StateReasonCode = {
|
|
279
|
+
Creating: "Creating",
|
|
280
|
+
DisabledKMSKey: "DisabledKMSKey",
|
|
281
|
+
EFSIOError: "EFSIOError",
|
|
282
|
+
EFSMountConnectivityError: "EFSMountConnectivityError",
|
|
283
|
+
EFSMountFailure: "EFSMountFailure",
|
|
284
|
+
EFSMountTimeout: "EFSMountTimeout",
|
|
285
|
+
EniLimitExceeded: "EniLimitExceeded",
|
|
286
|
+
FunctionError: "FunctionError",
|
|
287
|
+
Idle: "Idle",
|
|
288
|
+
ImageAccessDenied: "ImageAccessDenied",
|
|
289
|
+
ImageDeleted: "ImageDeleted",
|
|
290
|
+
InsufficientRolePermissions: "InsufficientRolePermissions",
|
|
291
|
+
InternalError: "InternalError",
|
|
292
|
+
InvalidConfiguration: "InvalidConfiguration",
|
|
293
|
+
InvalidImage: "InvalidImage",
|
|
294
|
+
InvalidRuntime: "InvalidRuntime",
|
|
295
|
+
InvalidSecurityGroup: "InvalidSecurityGroup",
|
|
296
|
+
InvalidStateKMSKey: "InvalidStateKMSKey",
|
|
297
|
+
InvalidSubnet: "InvalidSubnet",
|
|
298
|
+
InvalidZipFileException: "InvalidZipFileException",
|
|
299
|
+
KMSKeyAccessDenied: "KMSKeyAccessDenied",
|
|
300
|
+
KMSKeyNotFound: "KMSKeyNotFound",
|
|
301
|
+
Restoring: "Restoring",
|
|
302
|
+
SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses",
|
|
303
|
+
};
|
|
322
304
|
class InvalidCodeSignatureException extends LambdaServiceException_1.LambdaServiceException {
|
|
323
305
|
constructor(opts) {
|
|
324
306
|
super({
|
|
@@ -349,12 +331,11 @@ class ResourceInUseException extends LambdaServiceException_1.LambdaServiceExcep
|
|
|
349
331
|
}
|
|
350
332
|
}
|
|
351
333
|
exports.ResourceInUseException = ResourceInUseException;
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
})(ProvisionedConcurrencyStatusEnum = exports.ProvisionedConcurrencyStatusEnum || (exports.ProvisionedConcurrencyStatusEnum = {}));
|
|
334
|
+
exports.ProvisionedConcurrencyStatusEnum = {
|
|
335
|
+
FAILED: "FAILED",
|
|
336
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
337
|
+
READY: "READY",
|
|
338
|
+
};
|
|
358
339
|
class ProvisionedConcurrencyConfigNotFoundException extends LambdaServiceException_1.LambdaServiceException {
|
|
359
340
|
constructor(opts) {
|
|
360
341
|
super({
|
|
@@ -369,12 +350,11 @@ class ProvisionedConcurrencyConfigNotFoundException extends LambdaServiceExcepti
|
|
|
369
350
|
}
|
|
370
351
|
}
|
|
371
352
|
exports.ProvisionedConcurrencyConfigNotFoundException = ProvisionedConcurrencyConfigNotFoundException;
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
})(UpdateRuntimeOn = exports.UpdateRuntimeOn || (exports.UpdateRuntimeOn = {}));
|
|
353
|
+
exports.UpdateRuntimeOn = {
|
|
354
|
+
Auto: "Auto",
|
|
355
|
+
FunctionUpdate: "FunctionUpdate",
|
|
356
|
+
Manual: "Manual",
|
|
357
|
+
};
|
|
378
358
|
class EC2AccessDeniedException extends LambdaServiceException_1.LambdaServiceException {
|
|
379
359
|
constructor(opts) {
|
|
380
360
|
super({
|
|
@@ -570,17 +550,15 @@ class InvalidZipFileException extends LambdaServiceException_1.LambdaServiceExce
|
|
|
570
550
|
}
|
|
571
551
|
}
|
|
572
552
|
exports.InvalidZipFileException = InvalidZipFileException;
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
LogType["Tail"] = "Tail";
|
|
583
|
-
})(LogType = exports.LogType || (exports.LogType = {}));
|
|
553
|
+
exports.InvocationType = {
|
|
554
|
+
DryRun: "DryRun",
|
|
555
|
+
Event: "Event",
|
|
556
|
+
RequestResponse: "RequestResponse",
|
|
557
|
+
};
|
|
558
|
+
exports.LogType = {
|
|
559
|
+
None: "None",
|
|
560
|
+
Tail: "Tail",
|
|
561
|
+
};
|
|
584
562
|
class KMSAccessDeniedException extends LambdaServiceException_1.LambdaServiceException {
|
|
585
563
|
constructor(opts) {
|
|
586
564
|
super({
|
|
@@ -743,10 +721,9 @@ class UnsupportedMediaTypeException extends LambdaServiceException_1.LambdaServi
|
|
|
743
721
|
}
|
|
744
722
|
}
|
|
745
723
|
exports.UnsupportedMediaTypeException = UnsupportedMediaTypeException;
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
})(FunctionVersion = exports.FunctionVersion || (exports.FunctionVersion = {}));
|
|
724
|
+
exports.FunctionVersion = {
|
|
725
|
+
ALL: "ALL",
|
|
726
|
+
};
|
|
750
727
|
const FunctionCodeFilterSensitiveLog = (obj) => ({
|
|
751
728
|
...obj,
|
|
752
729
|
...(obj.ZipFile && { ZipFile: smithy_client_1.SENSITIVE_STRING }),
|