@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
@@ -80,15 +80,14 @@ export class ServiceException extends __BaseException {
80
80
  this.Message = opts.Message;
81
81
  }
82
82
  }
83
- export var ThrottleReason;
84
- (function (ThrottleReason) {
85
- ThrottleReason["CallerRateLimitExceeded"] = "CallerRateLimitExceeded";
86
- ThrottleReason["ConcurrentInvocationLimitExceeded"] = "ConcurrentInvocationLimitExceeded";
87
- ThrottleReason["ConcurrentSnapshotCreateLimitExceeded"] = "ConcurrentSnapshotCreateLimitExceeded";
88
- ThrottleReason["FunctionInvocationRateLimitExceeded"] = "FunctionInvocationRateLimitExceeded";
89
- ThrottleReason["ReservedFunctionConcurrentInvocationLimitExceeded"] = "ReservedFunctionConcurrentInvocationLimitExceeded";
90
- ThrottleReason["ReservedFunctionInvocationRateLimitExceeded"] = "ReservedFunctionInvocationRateLimitExceeded";
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 var FunctionUrlAuthType;
108
- (function (FunctionUrlAuthType) {
109
- FunctionUrlAuthType["AWS_IAM"] = "AWS_IAM";
110
- FunctionUrlAuthType["NONE"] = "NONE";
111
- })(FunctionUrlAuthType || (FunctionUrlAuthType = {}));
112
- export var Architecture;
113
- (function (Architecture) {
114
- Architecture["arm64"] = "arm64";
115
- Architecture["x86_64"] = "x86_64";
116
- })(Architecture || (Architecture = {}));
117
- export var CodeSigningPolicy;
118
- (function (CodeSigningPolicy) {
119
- CodeSigningPolicy["Enforce"] = "Enforce";
120
- CodeSigningPolicy["Warn"] = "Warn";
121
- })(CodeSigningPolicy || (CodeSigningPolicy = {}));
122
- export var FullDocument;
123
- (function (FullDocument) {
124
- FullDocument["Default"] = "Default";
125
- FullDocument["UpdateLookup"] = "UpdateLookup";
126
- })(FullDocument || (FullDocument = {}));
127
- export var FunctionResponseType;
128
- (function (FunctionResponseType) {
129
- FunctionResponseType["ReportBatchItemFailures"] = "ReportBatchItemFailures";
130
- })(FunctionResponseType || (FunctionResponseType = {}));
131
- export var EndPointType;
132
- (function (EndPointType) {
133
- EndPointType["KAFKA_BOOTSTRAP_SERVERS"] = "KAFKA_BOOTSTRAP_SERVERS";
134
- })(EndPointType || (EndPointType = {}));
135
- export var SourceAccessType;
136
- (function (SourceAccessType) {
137
- SourceAccessType["BASIC_AUTH"] = "BASIC_AUTH";
138
- SourceAccessType["CLIENT_CERTIFICATE_TLS_AUTH"] = "CLIENT_CERTIFICATE_TLS_AUTH";
139
- SourceAccessType["SASL_SCRAM_256_AUTH"] = "SASL_SCRAM_256_AUTH";
140
- SourceAccessType["SASL_SCRAM_512_AUTH"] = "SASL_SCRAM_512_AUTH";
141
- SourceAccessType["SERVER_ROOT_CA_CERTIFICATE"] = "SERVER_ROOT_CA_CERTIFICATE";
142
- SourceAccessType["VIRTUAL_HOST"] = "VIRTUAL_HOST";
143
- SourceAccessType["VPC_SECURITY_GROUP"] = "VPC_SECURITY_GROUP";
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 var PackageType;
194
- (function (PackageType) {
195
- PackageType["Image"] = "Image";
196
- PackageType["Zip"] = "Zip";
197
- })(PackageType || (PackageType = {}));
198
- export var Runtime;
199
- (function (Runtime) {
200
- Runtime["dotnet6"] = "dotnet6";
201
- Runtime["dotnetcore10"] = "dotnetcore1.0";
202
- Runtime["dotnetcore20"] = "dotnetcore2.0";
203
- Runtime["dotnetcore21"] = "dotnetcore2.1";
204
- Runtime["dotnetcore31"] = "dotnetcore3.1";
205
- Runtime["go1x"] = "go1.x";
206
- Runtime["java11"] = "java11";
207
- Runtime["java8"] = "java8";
208
- Runtime["java8al2"] = "java8.al2";
209
- Runtime["nodejs"] = "nodejs";
210
- Runtime["nodejs10x"] = "nodejs10.x";
211
- Runtime["nodejs12x"] = "nodejs12.x";
212
- Runtime["nodejs14x"] = "nodejs14.x";
213
- Runtime["nodejs16x"] = "nodejs16.x";
214
- Runtime["nodejs18x"] = "nodejs18.x";
215
- Runtime["nodejs43"] = "nodejs4.3";
216
- Runtime["nodejs43edge"] = "nodejs4.3-edge";
217
- Runtime["nodejs610"] = "nodejs6.10";
218
- Runtime["nodejs810"] = "nodejs8.10";
219
- Runtime["provided"] = "provided";
220
- Runtime["providedal2"] = "provided.al2";
221
- Runtime["python27"] = "python2.7";
222
- Runtime["python36"] = "python3.6";
223
- Runtime["python37"] = "python3.7";
224
- Runtime["python38"] = "python3.8";
225
- Runtime["python39"] = "python3.9";
226
- Runtime["ruby25"] = "ruby2.5";
227
- Runtime["ruby27"] = "ruby2.7";
228
- })(Runtime || (Runtime = {}));
229
- export var SnapStartApplyOn;
230
- (function (SnapStartApplyOn) {
231
- SnapStartApplyOn["None"] = "None";
232
- SnapStartApplyOn["PublishedVersions"] = "PublishedVersions";
233
- })(SnapStartApplyOn || (SnapStartApplyOn = {}));
234
- export var TracingMode;
235
- (function (TracingMode) {
236
- TracingMode["Active"] = "Active";
237
- TracingMode["PassThrough"] = "PassThrough";
238
- })(TracingMode || (TracingMode = {}));
239
- export var LastUpdateStatus;
240
- (function (LastUpdateStatus) {
241
- LastUpdateStatus["Failed"] = "Failed";
242
- LastUpdateStatus["InProgress"] = "InProgress";
243
- LastUpdateStatus["Successful"] = "Successful";
244
- })(LastUpdateStatus || (LastUpdateStatus = {}));
245
- export var LastUpdateStatusReasonCode;
246
- (function (LastUpdateStatusReasonCode) {
247
- LastUpdateStatusReasonCode["DisabledKMSKey"] = "DisabledKMSKey";
248
- LastUpdateStatusReasonCode["EFSIOError"] = "EFSIOError";
249
- LastUpdateStatusReasonCode["EFSMountConnectivityError"] = "EFSMountConnectivityError";
250
- LastUpdateStatusReasonCode["EFSMountFailure"] = "EFSMountFailure";
251
- LastUpdateStatusReasonCode["EFSMountTimeout"] = "EFSMountTimeout";
252
- LastUpdateStatusReasonCode["EniLimitExceeded"] = "EniLimitExceeded";
253
- LastUpdateStatusReasonCode["FunctionError"] = "FunctionError";
254
- LastUpdateStatusReasonCode["ImageAccessDenied"] = "ImageAccessDenied";
255
- LastUpdateStatusReasonCode["ImageDeleted"] = "ImageDeleted";
256
- LastUpdateStatusReasonCode["InsufficientRolePermissions"] = "InsufficientRolePermissions";
257
- LastUpdateStatusReasonCode["InternalError"] = "InternalError";
258
- LastUpdateStatusReasonCode["InvalidConfiguration"] = "InvalidConfiguration";
259
- LastUpdateStatusReasonCode["InvalidImage"] = "InvalidImage";
260
- LastUpdateStatusReasonCode["InvalidRuntime"] = "InvalidRuntime";
261
- LastUpdateStatusReasonCode["InvalidSecurityGroup"] = "InvalidSecurityGroup";
262
- LastUpdateStatusReasonCode["InvalidStateKMSKey"] = "InvalidStateKMSKey";
263
- LastUpdateStatusReasonCode["InvalidSubnet"] = "InvalidSubnet";
264
- LastUpdateStatusReasonCode["InvalidZipFileException"] = "InvalidZipFileException";
265
- LastUpdateStatusReasonCode["KMSKeyAccessDenied"] = "KMSKeyAccessDenied";
266
- LastUpdateStatusReasonCode["KMSKeyNotFound"] = "KMSKeyNotFound";
267
- LastUpdateStatusReasonCode["SubnetOutOfIPAddresses"] = "SubnetOutOfIPAddresses";
268
- })(LastUpdateStatusReasonCode || (LastUpdateStatusReasonCode = {}));
269
- export var SnapStartOptimizationStatus;
270
- (function (SnapStartOptimizationStatus) {
271
- SnapStartOptimizationStatus["Off"] = "Off";
272
- SnapStartOptimizationStatus["On"] = "On";
273
- })(SnapStartOptimizationStatus || (SnapStartOptimizationStatus = {}));
274
- export var State;
275
- (function (State) {
276
- State["Active"] = "Active";
277
- State["Failed"] = "Failed";
278
- State["Inactive"] = "Inactive";
279
- State["Pending"] = "Pending";
280
- })(State || (State = {}));
281
- export var StateReasonCode;
282
- (function (StateReasonCode) {
283
- StateReasonCode["Creating"] = "Creating";
284
- StateReasonCode["DisabledKMSKey"] = "DisabledKMSKey";
285
- StateReasonCode["EFSIOError"] = "EFSIOError";
286
- StateReasonCode["EFSMountConnectivityError"] = "EFSMountConnectivityError";
287
- StateReasonCode["EFSMountFailure"] = "EFSMountFailure";
288
- StateReasonCode["EFSMountTimeout"] = "EFSMountTimeout";
289
- StateReasonCode["EniLimitExceeded"] = "EniLimitExceeded";
290
- StateReasonCode["FunctionError"] = "FunctionError";
291
- StateReasonCode["Idle"] = "Idle";
292
- StateReasonCode["ImageAccessDenied"] = "ImageAccessDenied";
293
- StateReasonCode["ImageDeleted"] = "ImageDeleted";
294
- StateReasonCode["InsufficientRolePermissions"] = "InsufficientRolePermissions";
295
- StateReasonCode["InternalError"] = "InternalError";
296
- StateReasonCode["InvalidConfiguration"] = "InvalidConfiguration";
297
- StateReasonCode["InvalidImage"] = "InvalidImage";
298
- StateReasonCode["InvalidRuntime"] = "InvalidRuntime";
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 var ProvisionedConcurrencyStatusEnum;
337
- (function (ProvisionedConcurrencyStatusEnum) {
338
- ProvisionedConcurrencyStatusEnum["FAILED"] = "FAILED";
339
- ProvisionedConcurrencyStatusEnum["IN_PROGRESS"] = "IN_PROGRESS";
340
- ProvisionedConcurrencyStatusEnum["READY"] = "READY";
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 var UpdateRuntimeOn;
356
- (function (UpdateRuntimeOn) {
357
- UpdateRuntimeOn["Auto"] = "Auto";
358
- UpdateRuntimeOn["FunctionUpdate"] = "FunctionUpdate";
359
- UpdateRuntimeOn["Manual"] = "Manual";
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 var InvocationType;
544
- (function (InvocationType) {
545
- InvocationType["DryRun"] = "DryRun";
546
- InvocationType["Event"] = "Event";
547
- InvocationType["RequestResponse"] = "RequestResponse";
548
- })(InvocationType || (InvocationType = {}));
549
- export var LogType;
550
- (function (LogType) {
551
- LogType["None"] = "None";
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 var FunctionVersion;
706
- (function (FunctionVersion) {
707
- FunctionVersion["ALL"] = "ALL";
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",