@aws-sdk/client-lambda 3.300.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/commands/AddLayerVersionPermissionCommand.d.ts +1 -1
- package/dist-types/commands/AddPermissionCommand.d.ts +1 -1
- package/dist-types/commands/CreateAliasCommand.d.ts +3 -3
- package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +4 -4
- package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +19 -19
- package/dist-types/commands/CreateFunctionCommand.d.ts +18 -18
- package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +5 -5
- package/dist-types/commands/DeleteAliasCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFunctionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLayerVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetAliasCommand.d.ts +1 -1
- package/dist-types/commands/GetCodeSigningConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetEventSourceMappingCommand.d.ts +1 -1
- package/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetFunctionCommand.d.ts +1 -1
- package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +1 -1
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetFunctionUrlConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +1 -1
- package/dist-types/commands/GetLayerVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts +1 -1
- package/dist-types/commands/InvokeAsyncCommand.d.ts +1 -1
- package/dist-types/commands/InvokeCommand.d.ts +1 -1
- package/dist-types/commands/ListAliasesCommand.d.ts +1 -1
- package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +1 -1
- package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListFunctionUrlConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +1 -1
- package/dist-types/commands/ListFunctionsCommand.d.ts +1 -1
- package/dist-types/commands/ListLayerVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListLayersCommand.d.ts +1 -1
- package/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsCommand.d.ts +1 -1
- package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +1 -1
- package/dist-types/commands/PublishLayerVersionCommand.d.ts +4 -4
- package/dist-types/commands/PublishVersionCommand.d.ts +1 -1
- package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +1 -1
- package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +1 -1
- package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +4 -4
- package/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +1 -1
- package/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts +1 -1
- package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +1 -1
- package/dist-types/commands/RemovePermissionCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateAliasCommand.d.ts +3 -3
- package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +4 -4
- package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +12 -12
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +2 -2
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +15 -15
- package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +4 -4
- package/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +5 -5
- 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 }),
|
|
@@ -31,7 +31,7 @@ export interface AddLayerVersionPermissionCommandOutput extends AddLayerVersionP
|
|
|
31
31
|
* import { LambdaClient, AddLayerVersionPermissionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
32
32
|
* // const { LambdaClient, AddLayerVersionPermissionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
33
33
|
* const client = new LambdaClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // AddLayerVersionPermissionRequest
|
|
35
35
|
* LayerName: "STRING_VALUE", // required
|
|
36
36
|
* VersionNumber: Number("long"), // required
|
|
37
37
|
* StatementId: "STRING_VALUE", // required
|
|
@@ -38,7 +38,7 @@ export interface AddPermissionCommandOutput extends AddPermissionResponse, __Met
|
|
|
38
38
|
* import { LambdaClient, AddPermissionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
39
39
|
* // const { LambdaClient, AddPermissionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
40
40
|
* const client = new LambdaClient(config);
|
|
41
|
-
* const input = {
|
|
41
|
+
* const input = { // AddPermissionRequest
|
|
42
42
|
* FunctionName: "STRING_VALUE", // required
|
|
43
43
|
* StatementId: "STRING_VALUE", // required
|
|
44
44
|
* Action: "STRING_VALUE", // required
|
|
@@ -31,13 +31,13 @@ export interface CreateAliasCommandOutput extends AliasConfiguration, __Metadata
|
|
|
31
31
|
* import { LambdaClient, CreateAliasCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
32
32
|
* // const { LambdaClient, CreateAliasCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
33
33
|
* const client = new LambdaClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // CreateAliasRequest
|
|
35
35
|
* FunctionName: "STRING_VALUE", // required
|
|
36
36
|
* Name: "STRING_VALUE", // required
|
|
37
37
|
* FunctionVersion: "STRING_VALUE", // required
|
|
38
38
|
* Description: "STRING_VALUE",
|
|
39
|
-
* RoutingConfig: {
|
|
40
|
-
* AdditionalVersionWeights: {
|
|
39
|
+
* RoutingConfig: { // AliasRoutingConfiguration
|
|
40
|
+
* AdditionalVersionWeights: { // AdditionalVersionWeights
|
|
41
41
|
* "<keys>": Number("double"),
|
|
42
42
|
* },
|
|
43
43
|
* },
|
|
@@ -28,14 +28,14 @@ export interface CreateCodeSigningConfigCommandOutput extends CreateCodeSigningC
|
|
|
28
28
|
* import { LambdaClient, CreateCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
29
29
|
* // const { LambdaClient, CreateCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
30
30
|
* const client = new LambdaClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // CreateCodeSigningConfigRequest
|
|
32
32
|
* Description: "STRING_VALUE",
|
|
33
|
-
* AllowedPublishers: {
|
|
34
|
-
* SigningProfileVersionArns: [ // required
|
|
33
|
+
* AllowedPublishers: { // AllowedPublishers
|
|
34
|
+
* SigningProfileVersionArns: [ // SigningProfileVersionArns // required
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
37
|
* },
|
|
38
|
-
* CodeSigningPolicies: {
|
|
38
|
+
* CodeSigningPolicies: { // CodeSigningPolicies
|
|
39
39
|
* UntrustedArtifactOnDeployment: "Warn" || "Enforce",
|
|
40
40
|
* },
|
|
41
41
|
* };
|
|
@@ -127,14 +127,14 @@ export interface CreateEventSourceMappingCommandOutput extends EventSourceMappin
|
|
|
127
127
|
* import { LambdaClient, CreateEventSourceMappingCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
128
128
|
* // const { LambdaClient, CreateEventSourceMappingCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
129
129
|
* const client = new LambdaClient(config);
|
|
130
|
-
* const input = {
|
|
130
|
+
* const input = { // CreateEventSourceMappingRequest
|
|
131
131
|
* EventSourceArn: "STRING_VALUE",
|
|
132
132
|
* FunctionName: "STRING_VALUE", // required
|
|
133
133
|
* Enabled: true || false,
|
|
134
134
|
* BatchSize: Number("int"),
|
|
135
|
-
* FilterCriteria: {
|
|
136
|
-
* Filters: [
|
|
137
|
-
* {
|
|
135
|
+
* FilterCriteria: { // FilterCriteria
|
|
136
|
+
* Filters: [ // FilterList
|
|
137
|
+
* { // Filter
|
|
138
138
|
* Pattern: "STRING_VALUE",
|
|
139
139
|
* },
|
|
140
140
|
* ],
|
|
@@ -143,11 +143,11 @@ export interface CreateEventSourceMappingCommandOutput extends EventSourceMappin
|
|
|
143
143
|
* ParallelizationFactor: Number("int"),
|
|
144
144
|
* StartingPosition: "TRIM_HORIZON" || "LATEST" || "AT_TIMESTAMP",
|
|
145
145
|
* StartingPositionTimestamp: new Date("TIMESTAMP"),
|
|
146
|
-
* DestinationConfig: {
|
|
147
|
-
* OnSuccess: {
|
|
146
|
+
* DestinationConfig: { // DestinationConfig
|
|
147
|
+
* OnSuccess: { // OnSuccess
|
|
148
148
|
* Destination: "STRING_VALUE",
|
|
149
149
|
* },
|
|
150
|
-
* OnFailure: {
|
|
150
|
+
* OnFailure: { // OnFailure
|
|
151
151
|
* Destination: "STRING_VALUE",
|
|
152
152
|
* },
|
|
153
153
|
* },
|
|
@@ -155,38 +155,38 @@ export interface CreateEventSourceMappingCommandOutput extends EventSourceMappin
|
|
|
155
155
|
* BisectBatchOnFunctionError: true || false,
|
|
156
156
|
* MaximumRetryAttempts: Number("int"),
|
|
157
157
|
* TumblingWindowInSeconds: Number("int"),
|
|
158
|
-
* Topics: [
|
|
158
|
+
* Topics: [ // Topics
|
|
159
159
|
* "STRING_VALUE",
|
|
160
160
|
* ],
|
|
161
|
-
* Queues: [
|
|
161
|
+
* Queues: [ // Queues
|
|
162
162
|
* "STRING_VALUE",
|
|
163
163
|
* ],
|
|
164
|
-
* SourceAccessConfigurations: [
|
|
165
|
-
* {
|
|
164
|
+
* SourceAccessConfigurations: [ // SourceAccessConfigurations
|
|
165
|
+
* { // SourceAccessConfiguration
|
|
166
166
|
* Type: "BASIC_AUTH" || "VPC_SUBNET" || "VPC_SECURITY_GROUP" || "SASL_SCRAM_512_AUTH" || "SASL_SCRAM_256_AUTH" || "VIRTUAL_HOST" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE",
|
|
167
167
|
* URI: "STRING_VALUE",
|
|
168
168
|
* },
|
|
169
169
|
* ],
|
|
170
|
-
* SelfManagedEventSource: {
|
|
171
|
-
* Endpoints: {
|
|
172
|
-
* "<keys>": [
|
|
170
|
+
* SelfManagedEventSource: { // SelfManagedEventSource
|
|
171
|
+
* Endpoints: { // Endpoints
|
|
172
|
+
* "<keys>": [ // EndpointLists
|
|
173
173
|
* "STRING_VALUE",
|
|
174
174
|
* ],
|
|
175
175
|
* },
|
|
176
176
|
* },
|
|
177
|
-
* FunctionResponseTypes: [
|
|
177
|
+
* FunctionResponseTypes: [ // FunctionResponseTypeList
|
|
178
178
|
* "ReportBatchItemFailures",
|
|
179
179
|
* ],
|
|
180
|
-
* AmazonManagedKafkaEventSourceConfig: {
|
|
180
|
+
* AmazonManagedKafkaEventSourceConfig: { // AmazonManagedKafkaEventSourceConfig
|
|
181
181
|
* ConsumerGroupId: "STRING_VALUE",
|
|
182
182
|
* },
|
|
183
|
-
* SelfManagedKafkaEventSourceConfig: {
|
|
183
|
+
* SelfManagedKafkaEventSourceConfig: { // SelfManagedKafkaEventSourceConfig
|
|
184
184
|
* ConsumerGroupId: "STRING_VALUE",
|
|
185
185
|
* },
|
|
186
|
-
* ScalingConfig: {
|
|
186
|
+
* ScalingConfig: { // ScalingConfig
|
|
187
187
|
* MaximumConcurrency: Number("int"),
|
|
188
188
|
* },
|
|
189
|
-
* DocumentDBEventSourceConfig: {
|
|
189
|
+
* DocumentDBEventSourceConfig: { // DocumentDBEventSourceConfig
|
|
190
190
|
* DatabaseName: "STRING_VALUE",
|
|
191
191
|
* CollectionName: "STRING_VALUE",
|
|
192
192
|
* FullDocument: "UpdateLookup" || "Default",
|