@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.
Files changed (69) hide show
  1. package/dist-cjs/models/models_0.js +173 -196
  2. package/dist-es/models/models_0.js +173 -196
  3. package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +1 -1
  4. package/dist-types/commands/AddPermissionCommand.d.ts +1 -1
  5. package/dist-types/commands/CreateAliasCommand.d.ts +3 -3
  6. package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +4 -4
  7. package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +19 -19
  8. package/dist-types/commands/CreateFunctionCommand.d.ts +18 -18
  9. package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +5 -5
  10. package/dist-types/commands/DeleteAliasCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteFunctionCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteLayerVersionCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +1 -1
  20. package/dist-types/commands/GetAliasCommand.d.ts +1 -1
  21. package/dist-types/commands/GetCodeSigningConfigCommand.d.ts +1 -1
  22. package/dist-types/commands/GetEventSourceMappingCommand.d.ts +1 -1
  23. package/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +1 -1
  24. package/dist-types/commands/GetFunctionCommand.d.ts +1 -1
  25. package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +1 -1
  26. package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +1 -1
  27. package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +1 -1
  28. package/dist-types/commands/GetFunctionUrlConfigCommand.d.ts +1 -1
  29. package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +1 -1
  30. package/dist-types/commands/GetLayerVersionCommand.d.ts +1 -1
  31. package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +1 -1
  32. package/dist-types/commands/GetPolicyCommand.d.ts +1 -1
  33. package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +1 -1
  34. package/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts +1 -1
  35. package/dist-types/commands/InvokeAsyncCommand.d.ts +1 -1
  36. package/dist-types/commands/InvokeCommand.d.ts +1 -1
  37. package/dist-types/commands/ListAliasesCommand.d.ts +1 -1
  38. package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +1 -1
  39. package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +1 -1
  40. package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +1 -1
  41. package/dist-types/commands/ListFunctionUrlConfigsCommand.d.ts +1 -1
  42. package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +1 -1
  43. package/dist-types/commands/ListFunctionsCommand.d.ts +1 -1
  44. package/dist-types/commands/ListLayerVersionsCommand.d.ts +1 -1
  45. package/dist-types/commands/ListLayersCommand.d.ts +1 -1
  46. package/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +1 -1
  47. package/dist-types/commands/ListTagsCommand.d.ts +1 -1
  48. package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +1 -1
  49. package/dist-types/commands/PublishLayerVersionCommand.d.ts +4 -4
  50. package/dist-types/commands/PublishVersionCommand.d.ts +1 -1
  51. package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +1 -1
  52. package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +1 -1
  53. package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +4 -4
  54. package/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +1 -1
  55. package/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts +1 -1
  56. package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +1 -1
  57. package/dist-types/commands/RemovePermissionCommand.d.ts +1 -1
  58. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  59. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  60. package/dist-types/commands/UpdateAliasCommand.d.ts +3 -3
  61. package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +4 -4
  62. package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +12 -12
  63. package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +2 -2
  64. package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +15 -15
  65. package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +4 -4
  66. package/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +5 -5
  67. package/dist-types/models/models_0.d.ts +288 -173
  68. package/dist-types/ts3.4/models/models_0.d.ts +211 -173
  69. 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
- var ThrottleReason;
94
- (function (ThrottleReason) {
95
- ThrottleReason["CallerRateLimitExceeded"] = "CallerRateLimitExceeded";
96
- ThrottleReason["ConcurrentInvocationLimitExceeded"] = "ConcurrentInvocationLimitExceeded";
97
- ThrottleReason["ConcurrentSnapshotCreateLimitExceeded"] = "ConcurrentSnapshotCreateLimitExceeded";
98
- ThrottleReason["FunctionInvocationRateLimitExceeded"] = "FunctionInvocationRateLimitExceeded";
99
- ThrottleReason["ReservedFunctionConcurrentInvocationLimitExceeded"] = "ReservedFunctionConcurrentInvocationLimitExceeded";
100
- ThrottleReason["ReservedFunctionInvocationRateLimitExceeded"] = "ReservedFunctionInvocationRateLimitExceeded";
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
- var FunctionUrlAuthType;
119
- (function (FunctionUrlAuthType) {
120
- FunctionUrlAuthType["AWS_IAM"] = "AWS_IAM";
121
- FunctionUrlAuthType["NONE"] = "NONE";
122
- })(FunctionUrlAuthType = exports.FunctionUrlAuthType || (exports.FunctionUrlAuthType = {}));
123
- var Architecture;
124
- (function (Architecture) {
125
- Architecture["arm64"] = "arm64";
126
- Architecture["x86_64"] = "x86_64";
127
- })(Architecture = exports.Architecture || (exports.Architecture = {}));
128
- var CodeSigningPolicy;
129
- (function (CodeSigningPolicy) {
130
- CodeSigningPolicy["Enforce"] = "Enforce";
131
- CodeSigningPolicy["Warn"] = "Warn";
132
- })(CodeSigningPolicy = exports.CodeSigningPolicy || (exports.CodeSigningPolicy = {}));
133
- var FullDocument;
134
- (function (FullDocument) {
135
- FullDocument["Default"] = "Default";
136
- FullDocument["UpdateLookup"] = "UpdateLookup";
137
- })(FullDocument = exports.FullDocument || (exports.FullDocument = {}));
138
- var FunctionResponseType;
139
- (function (FunctionResponseType) {
140
- FunctionResponseType["ReportBatchItemFailures"] = "ReportBatchItemFailures";
141
- })(FunctionResponseType = exports.FunctionResponseType || (exports.FunctionResponseType = {}));
142
- var EndPointType;
143
- (function (EndPointType) {
144
- EndPointType["KAFKA_BOOTSTRAP_SERVERS"] = "KAFKA_BOOTSTRAP_SERVERS";
145
- })(EndPointType = exports.EndPointType || (exports.EndPointType = {}));
146
- var SourceAccessType;
147
- (function (SourceAccessType) {
148
- SourceAccessType["BASIC_AUTH"] = "BASIC_AUTH";
149
- SourceAccessType["CLIENT_CERTIFICATE_TLS_AUTH"] = "CLIENT_CERTIFICATE_TLS_AUTH";
150
- SourceAccessType["SASL_SCRAM_256_AUTH"] = "SASL_SCRAM_256_AUTH";
151
- SourceAccessType["SASL_SCRAM_512_AUTH"] = "SASL_SCRAM_512_AUTH";
152
- SourceAccessType["SERVER_ROOT_CA_CERTIFICATE"] = "SERVER_ROOT_CA_CERTIFICATE";
153
- SourceAccessType["VIRTUAL_HOST"] = "VIRTUAL_HOST";
154
- SourceAccessType["VPC_SECURITY_GROUP"] = "VPC_SECURITY_GROUP";
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
- var PackageType;
208
- (function (PackageType) {
209
- PackageType["Image"] = "Image";
210
- PackageType["Zip"] = "Zip";
211
- })(PackageType = exports.PackageType || (exports.PackageType = {}));
212
- var Runtime;
213
- (function (Runtime) {
214
- Runtime["dotnet6"] = "dotnet6";
215
- Runtime["dotnetcore10"] = "dotnetcore1.0";
216
- Runtime["dotnetcore20"] = "dotnetcore2.0";
217
- Runtime["dotnetcore21"] = "dotnetcore2.1";
218
- Runtime["dotnetcore31"] = "dotnetcore3.1";
219
- Runtime["go1x"] = "go1.x";
220
- Runtime["java11"] = "java11";
221
- Runtime["java8"] = "java8";
222
- Runtime["java8al2"] = "java8.al2";
223
- Runtime["nodejs"] = "nodejs";
224
- Runtime["nodejs10x"] = "nodejs10.x";
225
- Runtime["nodejs12x"] = "nodejs12.x";
226
- Runtime["nodejs14x"] = "nodejs14.x";
227
- Runtime["nodejs16x"] = "nodejs16.x";
228
- Runtime["nodejs18x"] = "nodejs18.x";
229
- Runtime["nodejs43"] = "nodejs4.3";
230
- Runtime["nodejs43edge"] = "nodejs4.3-edge";
231
- Runtime["nodejs610"] = "nodejs6.10";
232
- Runtime["nodejs810"] = "nodejs8.10";
233
- Runtime["provided"] = "provided";
234
- Runtime["providedal2"] = "provided.al2";
235
- Runtime["python27"] = "python2.7";
236
- Runtime["python36"] = "python3.6";
237
- Runtime["python37"] = "python3.7";
238
- Runtime["python38"] = "python3.8";
239
- Runtime["python39"] = "python3.9";
240
- Runtime["ruby25"] = "ruby2.5";
241
- Runtime["ruby27"] = "ruby2.7";
242
- })(Runtime = exports.Runtime || (exports.Runtime = {}));
243
- var SnapStartApplyOn;
244
- (function (SnapStartApplyOn) {
245
- SnapStartApplyOn["None"] = "None";
246
- SnapStartApplyOn["PublishedVersions"] = "PublishedVersions";
247
- })(SnapStartApplyOn = exports.SnapStartApplyOn || (exports.SnapStartApplyOn = {}));
248
- var TracingMode;
249
- (function (TracingMode) {
250
- TracingMode["Active"] = "Active";
251
- TracingMode["PassThrough"] = "PassThrough";
252
- })(TracingMode = exports.TracingMode || (exports.TracingMode = {}));
253
- var LastUpdateStatus;
254
- (function (LastUpdateStatus) {
255
- LastUpdateStatus["Failed"] = "Failed";
256
- LastUpdateStatus["InProgress"] = "InProgress";
257
- LastUpdateStatus["Successful"] = "Successful";
258
- })(LastUpdateStatus = exports.LastUpdateStatus || (exports.LastUpdateStatus = {}));
259
- var LastUpdateStatusReasonCode;
260
- (function (LastUpdateStatusReasonCode) {
261
- LastUpdateStatusReasonCode["DisabledKMSKey"] = "DisabledKMSKey";
262
- LastUpdateStatusReasonCode["EFSIOError"] = "EFSIOError";
263
- LastUpdateStatusReasonCode["EFSMountConnectivityError"] = "EFSMountConnectivityError";
264
- LastUpdateStatusReasonCode["EFSMountFailure"] = "EFSMountFailure";
265
- LastUpdateStatusReasonCode["EFSMountTimeout"] = "EFSMountTimeout";
266
- LastUpdateStatusReasonCode["EniLimitExceeded"] = "EniLimitExceeded";
267
- LastUpdateStatusReasonCode["FunctionError"] = "FunctionError";
268
- LastUpdateStatusReasonCode["ImageAccessDenied"] = "ImageAccessDenied";
269
- LastUpdateStatusReasonCode["ImageDeleted"] = "ImageDeleted";
270
- LastUpdateStatusReasonCode["InsufficientRolePermissions"] = "InsufficientRolePermissions";
271
- LastUpdateStatusReasonCode["InternalError"] = "InternalError";
272
- LastUpdateStatusReasonCode["InvalidConfiguration"] = "InvalidConfiguration";
273
- LastUpdateStatusReasonCode["InvalidImage"] = "InvalidImage";
274
- LastUpdateStatusReasonCode["InvalidRuntime"] = "InvalidRuntime";
275
- LastUpdateStatusReasonCode["InvalidSecurityGroup"] = "InvalidSecurityGroup";
276
- LastUpdateStatusReasonCode["InvalidStateKMSKey"] = "InvalidStateKMSKey";
277
- LastUpdateStatusReasonCode["InvalidSubnet"] = "InvalidSubnet";
278
- LastUpdateStatusReasonCode["InvalidZipFileException"] = "InvalidZipFileException";
279
- LastUpdateStatusReasonCode["KMSKeyAccessDenied"] = "KMSKeyAccessDenied";
280
- LastUpdateStatusReasonCode["KMSKeyNotFound"] = "KMSKeyNotFound";
281
- LastUpdateStatusReasonCode["SubnetOutOfIPAddresses"] = "SubnetOutOfIPAddresses";
282
- })(LastUpdateStatusReasonCode = exports.LastUpdateStatusReasonCode || (exports.LastUpdateStatusReasonCode = {}));
283
- var SnapStartOptimizationStatus;
284
- (function (SnapStartOptimizationStatus) {
285
- SnapStartOptimizationStatus["Off"] = "Off";
286
- SnapStartOptimizationStatus["On"] = "On";
287
- })(SnapStartOptimizationStatus = exports.SnapStartOptimizationStatus || (exports.SnapStartOptimizationStatus = {}));
288
- var State;
289
- (function (State) {
290
- State["Active"] = "Active";
291
- State["Failed"] = "Failed";
292
- State["Inactive"] = "Inactive";
293
- State["Pending"] = "Pending";
294
- })(State = exports.State || (exports.State = {}));
295
- var StateReasonCode;
296
- (function (StateReasonCode) {
297
- StateReasonCode["Creating"] = "Creating";
298
- StateReasonCode["DisabledKMSKey"] = "DisabledKMSKey";
299
- StateReasonCode["EFSIOError"] = "EFSIOError";
300
- StateReasonCode["EFSMountConnectivityError"] = "EFSMountConnectivityError";
301
- StateReasonCode["EFSMountFailure"] = "EFSMountFailure";
302
- StateReasonCode["EFSMountTimeout"] = "EFSMountTimeout";
303
- StateReasonCode["EniLimitExceeded"] = "EniLimitExceeded";
304
- StateReasonCode["FunctionError"] = "FunctionError";
305
- StateReasonCode["Idle"] = "Idle";
306
- StateReasonCode["ImageAccessDenied"] = "ImageAccessDenied";
307
- StateReasonCode["ImageDeleted"] = "ImageDeleted";
308
- StateReasonCode["InsufficientRolePermissions"] = "InsufficientRolePermissions";
309
- StateReasonCode["InternalError"] = "InternalError";
310
- StateReasonCode["InvalidConfiguration"] = "InvalidConfiguration";
311
- StateReasonCode["InvalidImage"] = "InvalidImage";
312
- StateReasonCode["InvalidRuntime"] = "InvalidRuntime";
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
- var ProvisionedConcurrencyStatusEnum;
353
- (function (ProvisionedConcurrencyStatusEnum) {
354
- ProvisionedConcurrencyStatusEnum["FAILED"] = "FAILED";
355
- ProvisionedConcurrencyStatusEnum["IN_PROGRESS"] = "IN_PROGRESS";
356
- ProvisionedConcurrencyStatusEnum["READY"] = "READY";
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
- var UpdateRuntimeOn;
373
- (function (UpdateRuntimeOn) {
374
- UpdateRuntimeOn["Auto"] = "Auto";
375
- UpdateRuntimeOn["FunctionUpdate"] = "FunctionUpdate";
376
- UpdateRuntimeOn["Manual"] = "Manual";
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
- var InvocationType;
574
- (function (InvocationType) {
575
- InvocationType["DryRun"] = "DryRun";
576
- InvocationType["Event"] = "Event";
577
- InvocationType["RequestResponse"] = "RequestResponse";
578
- })(InvocationType = exports.InvocationType || (exports.InvocationType = {}));
579
- var LogType;
580
- (function (LogType) {
581
- LogType["None"] = "None";
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
- var FunctionVersion;
747
- (function (FunctionVersion) {
748
- FunctionVersion["ALL"] = "ALL";
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 }),