@aws-sdk/client-lambda 3.301.0 → 3.303.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
|
@@ -80,15 +80,14 @@ export class ServiceException extends __BaseException {
|
|
|
80
80
|
this.Message = opts.Message;
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
export
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
})(ThrottleReason || (ThrottleReason = {}));
|
|
83
|
+
export const ThrottleReason = {
|
|
84
|
+
CallerRateLimitExceeded: "CallerRateLimitExceeded",
|
|
85
|
+
ConcurrentInvocationLimitExceeded: "ConcurrentInvocationLimitExceeded",
|
|
86
|
+
ConcurrentSnapshotCreateLimitExceeded: "ConcurrentSnapshotCreateLimitExceeded",
|
|
87
|
+
FunctionInvocationRateLimitExceeded: "FunctionInvocationRateLimitExceeded",
|
|
88
|
+
ReservedFunctionConcurrentInvocationLimitExceeded: "ReservedFunctionConcurrentInvocationLimitExceeded",
|
|
89
|
+
ReservedFunctionInvocationRateLimitExceeded: "ReservedFunctionInvocationRateLimitExceeded",
|
|
90
|
+
};
|
|
92
91
|
export class TooManyRequestsException extends __BaseException {
|
|
93
92
|
constructor(opts) {
|
|
94
93
|
super({
|
|
@@ -104,51 +103,43 @@ export class TooManyRequestsException extends __BaseException {
|
|
|
104
103
|
this.Reason = opts.Reason;
|
|
105
104
|
}
|
|
106
105
|
}
|
|
107
|
-
export
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
SourceAccessType["VPC_SUBNET"] = "VPC_SUBNET";
|
|
145
|
-
})(SourceAccessType || (SourceAccessType = {}));
|
|
146
|
-
export var EventSourcePosition;
|
|
147
|
-
(function (EventSourcePosition) {
|
|
148
|
-
EventSourcePosition["AT_TIMESTAMP"] = "AT_TIMESTAMP";
|
|
149
|
-
EventSourcePosition["LATEST"] = "LATEST";
|
|
150
|
-
EventSourcePosition["TRIM_HORIZON"] = "TRIM_HORIZON";
|
|
151
|
-
})(EventSourcePosition || (EventSourcePosition = {}));
|
|
106
|
+
export const FunctionUrlAuthType = {
|
|
107
|
+
AWS_IAM: "AWS_IAM",
|
|
108
|
+
NONE: "NONE",
|
|
109
|
+
};
|
|
110
|
+
export const Architecture = {
|
|
111
|
+
arm64: "arm64",
|
|
112
|
+
x86_64: "x86_64",
|
|
113
|
+
};
|
|
114
|
+
export const CodeSigningPolicy = {
|
|
115
|
+
Enforce: "Enforce",
|
|
116
|
+
Warn: "Warn",
|
|
117
|
+
};
|
|
118
|
+
export const FullDocument = {
|
|
119
|
+
Default: "Default",
|
|
120
|
+
UpdateLookup: "UpdateLookup",
|
|
121
|
+
};
|
|
122
|
+
export const FunctionResponseType = {
|
|
123
|
+
ReportBatchItemFailures: "ReportBatchItemFailures",
|
|
124
|
+
};
|
|
125
|
+
export const EndPointType = {
|
|
126
|
+
KAFKA_BOOTSTRAP_SERVERS: "KAFKA_BOOTSTRAP_SERVERS",
|
|
127
|
+
};
|
|
128
|
+
export const SourceAccessType = {
|
|
129
|
+
BASIC_AUTH: "BASIC_AUTH",
|
|
130
|
+
CLIENT_CERTIFICATE_TLS_AUTH: "CLIENT_CERTIFICATE_TLS_AUTH",
|
|
131
|
+
SASL_SCRAM_256_AUTH: "SASL_SCRAM_256_AUTH",
|
|
132
|
+
SASL_SCRAM_512_AUTH: "SASL_SCRAM_512_AUTH",
|
|
133
|
+
SERVER_ROOT_CA_CERTIFICATE: "SERVER_ROOT_CA_CERTIFICATE",
|
|
134
|
+
VIRTUAL_HOST: "VIRTUAL_HOST",
|
|
135
|
+
VPC_SECURITY_GROUP: "VPC_SECURITY_GROUP",
|
|
136
|
+
VPC_SUBNET: "VPC_SUBNET",
|
|
137
|
+
};
|
|
138
|
+
export const EventSourcePosition = {
|
|
139
|
+
AT_TIMESTAMP: "AT_TIMESTAMP",
|
|
140
|
+
LATEST: "LATEST",
|
|
141
|
+
TRIM_HORIZON: "TRIM_HORIZON",
|
|
142
|
+
};
|
|
152
143
|
export class CodeSigningConfigNotFoundException extends __BaseException {
|
|
153
144
|
constructor(opts) {
|
|
154
145
|
super({
|
|
@@ -190,121 +181,112 @@ export class CodeVerificationFailedException extends __BaseException {
|
|
|
190
181
|
this.Message = opts.Message;
|
|
191
182
|
}
|
|
192
183
|
}
|
|
193
|
-
export
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
StateReasonCode["InvalidSecurityGroup"] = "InvalidSecurityGroup";
|
|
300
|
-
StateReasonCode["InvalidStateKMSKey"] = "InvalidStateKMSKey";
|
|
301
|
-
StateReasonCode["InvalidSubnet"] = "InvalidSubnet";
|
|
302
|
-
StateReasonCode["InvalidZipFileException"] = "InvalidZipFileException";
|
|
303
|
-
StateReasonCode["KMSKeyAccessDenied"] = "KMSKeyAccessDenied";
|
|
304
|
-
StateReasonCode["KMSKeyNotFound"] = "KMSKeyNotFound";
|
|
305
|
-
StateReasonCode["Restoring"] = "Restoring";
|
|
306
|
-
StateReasonCode["SubnetOutOfIPAddresses"] = "SubnetOutOfIPAddresses";
|
|
307
|
-
})(StateReasonCode || (StateReasonCode = {}));
|
|
184
|
+
export const PackageType = {
|
|
185
|
+
Image: "Image",
|
|
186
|
+
Zip: "Zip",
|
|
187
|
+
};
|
|
188
|
+
export const Runtime = {
|
|
189
|
+
dotnet6: "dotnet6",
|
|
190
|
+
dotnetcore10: "dotnetcore1.0",
|
|
191
|
+
dotnetcore20: "dotnetcore2.0",
|
|
192
|
+
dotnetcore21: "dotnetcore2.1",
|
|
193
|
+
dotnetcore31: "dotnetcore3.1",
|
|
194
|
+
go1x: "go1.x",
|
|
195
|
+
java11: "java11",
|
|
196
|
+
java8: "java8",
|
|
197
|
+
java8al2: "java8.al2",
|
|
198
|
+
nodejs: "nodejs",
|
|
199
|
+
nodejs10x: "nodejs10.x",
|
|
200
|
+
nodejs12x: "nodejs12.x",
|
|
201
|
+
nodejs14x: "nodejs14.x",
|
|
202
|
+
nodejs16x: "nodejs16.x",
|
|
203
|
+
nodejs18x: "nodejs18.x",
|
|
204
|
+
nodejs43: "nodejs4.3",
|
|
205
|
+
nodejs43edge: "nodejs4.3-edge",
|
|
206
|
+
nodejs610: "nodejs6.10",
|
|
207
|
+
nodejs810: "nodejs8.10",
|
|
208
|
+
provided: "provided",
|
|
209
|
+
providedal2: "provided.al2",
|
|
210
|
+
python27: "python2.7",
|
|
211
|
+
python36: "python3.6",
|
|
212
|
+
python37: "python3.7",
|
|
213
|
+
python38: "python3.8",
|
|
214
|
+
python39: "python3.9",
|
|
215
|
+
ruby25: "ruby2.5",
|
|
216
|
+
ruby27: "ruby2.7",
|
|
217
|
+
};
|
|
218
|
+
export const SnapStartApplyOn = {
|
|
219
|
+
None: "None",
|
|
220
|
+
PublishedVersions: "PublishedVersions",
|
|
221
|
+
};
|
|
222
|
+
export const TracingMode = {
|
|
223
|
+
Active: "Active",
|
|
224
|
+
PassThrough: "PassThrough",
|
|
225
|
+
};
|
|
226
|
+
export const LastUpdateStatus = {
|
|
227
|
+
Failed: "Failed",
|
|
228
|
+
InProgress: "InProgress",
|
|
229
|
+
Successful: "Successful",
|
|
230
|
+
};
|
|
231
|
+
export const LastUpdateStatusReasonCode = {
|
|
232
|
+
DisabledKMSKey: "DisabledKMSKey",
|
|
233
|
+
EFSIOError: "EFSIOError",
|
|
234
|
+
EFSMountConnectivityError: "EFSMountConnectivityError",
|
|
235
|
+
EFSMountFailure: "EFSMountFailure",
|
|
236
|
+
EFSMountTimeout: "EFSMountTimeout",
|
|
237
|
+
EniLimitExceeded: "EniLimitExceeded",
|
|
238
|
+
FunctionError: "FunctionError",
|
|
239
|
+
ImageAccessDenied: "ImageAccessDenied",
|
|
240
|
+
ImageDeleted: "ImageDeleted",
|
|
241
|
+
InsufficientRolePermissions: "InsufficientRolePermissions",
|
|
242
|
+
InternalError: "InternalError",
|
|
243
|
+
InvalidConfiguration: "InvalidConfiguration",
|
|
244
|
+
InvalidImage: "InvalidImage",
|
|
245
|
+
InvalidRuntime: "InvalidRuntime",
|
|
246
|
+
InvalidSecurityGroup: "InvalidSecurityGroup",
|
|
247
|
+
InvalidStateKMSKey: "InvalidStateKMSKey",
|
|
248
|
+
InvalidSubnet: "InvalidSubnet",
|
|
249
|
+
InvalidZipFileException: "InvalidZipFileException",
|
|
250
|
+
KMSKeyAccessDenied: "KMSKeyAccessDenied",
|
|
251
|
+
KMSKeyNotFound: "KMSKeyNotFound",
|
|
252
|
+
SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses",
|
|
253
|
+
};
|
|
254
|
+
export const SnapStartOptimizationStatus = {
|
|
255
|
+
Off: "Off",
|
|
256
|
+
On: "On",
|
|
257
|
+
};
|
|
258
|
+
export const State = {
|
|
259
|
+
Active: "Active",
|
|
260
|
+
Failed: "Failed",
|
|
261
|
+
Inactive: "Inactive",
|
|
262
|
+
Pending: "Pending",
|
|
263
|
+
};
|
|
264
|
+
export const StateReasonCode = {
|
|
265
|
+
Creating: "Creating",
|
|
266
|
+
DisabledKMSKey: "DisabledKMSKey",
|
|
267
|
+
EFSIOError: "EFSIOError",
|
|
268
|
+
EFSMountConnectivityError: "EFSMountConnectivityError",
|
|
269
|
+
EFSMountFailure: "EFSMountFailure",
|
|
270
|
+
EFSMountTimeout: "EFSMountTimeout",
|
|
271
|
+
EniLimitExceeded: "EniLimitExceeded",
|
|
272
|
+
FunctionError: "FunctionError",
|
|
273
|
+
Idle: "Idle",
|
|
274
|
+
ImageAccessDenied: "ImageAccessDenied",
|
|
275
|
+
ImageDeleted: "ImageDeleted",
|
|
276
|
+
InsufficientRolePermissions: "InsufficientRolePermissions",
|
|
277
|
+
InternalError: "InternalError",
|
|
278
|
+
InvalidConfiguration: "InvalidConfiguration",
|
|
279
|
+
InvalidImage: "InvalidImage",
|
|
280
|
+
InvalidRuntime: "InvalidRuntime",
|
|
281
|
+
InvalidSecurityGroup: "InvalidSecurityGroup",
|
|
282
|
+
InvalidStateKMSKey: "InvalidStateKMSKey",
|
|
283
|
+
InvalidSubnet: "InvalidSubnet",
|
|
284
|
+
InvalidZipFileException: "InvalidZipFileException",
|
|
285
|
+
KMSKeyAccessDenied: "KMSKeyAccessDenied",
|
|
286
|
+
KMSKeyNotFound: "KMSKeyNotFound",
|
|
287
|
+
Restoring: "Restoring",
|
|
288
|
+
SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses",
|
|
289
|
+
};
|
|
308
290
|
export class InvalidCodeSignatureException extends __BaseException {
|
|
309
291
|
constructor(opts) {
|
|
310
292
|
super({
|
|
@@ -333,12 +315,11 @@ export class ResourceInUseException extends __BaseException {
|
|
|
333
315
|
this.Message = opts.Message;
|
|
334
316
|
}
|
|
335
317
|
}
|
|
336
|
-
export
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
})(ProvisionedConcurrencyStatusEnum || (ProvisionedConcurrencyStatusEnum = {}));
|
|
318
|
+
export const ProvisionedConcurrencyStatusEnum = {
|
|
319
|
+
FAILED: "FAILED",
|
|
320
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
321
|
+
READY: "READY",
|
|
322
|
+
};
|
|
342
323
|
export class ProvisionedConcurrencyConfigNotFoundException extends __BaseException {
|
|
343
324
|
constructor(opts) {
|
|
344
325
|
super({
|
|
@@ -352,12 +333,11 @@ export class ProvisionedConcurrencyConfigNotFoundException extends __BaseExcepti
|
|
|
352
333
|
this.Type = opts.Type;
|
|
353
334
|
}
|
|
354
335
|
}
|
|
355
|
-
export
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
})(UpdateRuntimeOn || (UpdateRuntimeOn = {}));
|
|
336
|
+
export const UpdateRuntimeOn = {
|
|
337
|
+
Auto: "Auto",
|
|
338
|
+
FunctionUpdate: "FunctionUpdate",
|
|
339
|
+
Manual: "Manual",
|
|
340
|
+
};
|
|
361
341
|
export class EC2AccessDeniedException extends __BaseException {
|
|
362
342
|
constructor(opts) {
|
|
363
343
|
super({
|
|
@@ -540,17 +520,15 @@ export class InvalidZipFileException extends __BaseException {
|
|
|
540
520
|
this.Message = opts.Message;
|
|
541
521
|
}
|
|
542
522
|
}
|
|
543
|
-
export
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
LogType["Tail"] = "Tail";
|
|
553
|
-
})(LogType || (LogType = {}));
|
|
523
|
+
export const InvocationType = {
|
|
524
|
+
DryRun: "DryRun",
|
|
525
|
+
Event: "Event",
|
|
526
|
+
RequestResponse: "RequestResponse",
|
|
527
|
+
};
|
|
528
|
+
export const LogType = {
|
|
529
|
+
None: "None",
|
|
530
|
+
Tail: "Tail",
|
|
531
|
+
};
|
|
554
532
|
export class KMSAccessDeniedException extends __BaseException {
|
|
555
533
|
constructor(opts) {
|
|
556
534
|
super({
|
|
@@ -702,10 +680,9 @@ export class UnsupportedMediaTypeException extends __BaseException {
|
|
|
702
680
|
this.Type = opts.Type;
|
|
703
681
|
}
|
|
704
682
|
}
|
|
705
|
-
export
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
})(FunctionVersion || (FunctionVersion = {}));
|
|
683
|
+
export const FunctionVersion = {
|
|
684
|
+
ALL: "ALL",
|
|
685
|
+
};
|
|
709
686
|
export const FunctionCodeFilterSensitiveLog = (obj) => ({
|
|
710
687
|
...obj,
|
|
711
688
|
...(obj.ZipFile && { ZipFile: SENSITIVE_STRING }),
|