@aws-sdk/client-lambda 3.52.0 → 3.53.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 (32) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/LambdaServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +508 -3
  5. package/dist-cjs/protocols/Aws_restJson1.js +778 -2631
  6. package/dist-cjs/waiters/index.js +2 -0
  7. package/dist-cjs/waiters/waitForFunctionActiveV2.js +54 -0
  8. package/dist-cjs/waiters/waitForFunctionUpdatedV2.js +54 -0
  9. package/dist-es/index.js +1 -0
  10. package/dist-es/models/LambdaServiceException.js +12 -0
  11. package/dist-es/models/models_0.js +471 -1
  12. package/dist-es/protocols/Aws_restJson1.js +1467 -2898
  13. package/dist-es/waiters/index.js +2 -0
  14. package/dist-es/waiters/waitForFunctionActiveV2.js +69 -0
  15. package/dist-es/waiters/waitForFunctionUpdatedV2.js +69 -0
  16. package/dist-types/Lambda.d.ts +14 -1
  17. package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +14 -1
  18. package/dist-types/index.d.ts +1 -0
  19. package/dist-types/models/LambdaServiceException.d.ts +10 -0
  20. package/dist-types/models/models_0.d.ts +238 -124
  21. package/dist-types/ts3.4/index.d.ts +1 -0
  22. package/dist-types/ts3.4/models/LambdaServiceException.d.ts +6 -0
  23. package/dist-types/ts3.4/models/models_0.d.ts +168 -114
  24. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  25. package/dist-types/ts3.4/waiters/waitForFunctionActiveV2.d.ts +7 -0
  26. package/dist-types/ts3.4/waiters/waitForFunctionUpdatedV2.d.ts +7 -0
  27. package/dist-types/waiters/index.d.ts +2 -0
  28. package/dist-types/waiters/waitForFunctionActive.d.ts +2 -2
  29. package/dist-types/waiters/waitForFunctionActiveV2.d.ts +14 -0
  30. package/dist-types/waiters/waitForFunctionUpdated.d.ts +2 -2
  31. package/dist-types/waiters/waitForFunctionUpdatedV2.d.ts +14 -0
  32. package/package.json +26 -26
package/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
12
+ * **clients:** update clients as of 2022/02/23 ([#3356](https://github.com/aws/aws-sdk-js-v3/issues/3356)) ([b6b2e25](https://github.com/aws/aws-sdk-js-v3/commit/b6b2e258add12c73d807483ca078401a6d84a12b))
13
+
14
+
15
+
16
+
17
+
6
18
  # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
19
 
8
20
  **Note:** Version bump only for package @aws-sdk/client-lambda
package/dist-cjs/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LambdaServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./Lambda"), exports);
5
6
  tslib_1.__exportStar(require("./LambdaClient"), exports);
@@ -7,3 +8,5 @@ tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
9
10
  tslib_1.__exportStar(require("./waiters"), exports);
11
+ var LambdaServiceException_1 = require("./models/LambdaServiceException");
12
+ Object.defineProperty(exports, "LambdaServiceException", { enumerable: true, get: function () { return LambdaServiceException_1.LambdaServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LambdaServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class LambdaServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, LambdaServiceException.prototype);
9
+ }
10
+ }
11
+ exports.LambdaServiceException = LambdaServiceException;
@@ -1,9 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StateReasonCode = exports.State = exports.Layer = exports.LastUpdateStatusReasonCode = exports.LastUpdateStatus = exports.ImageConfigResponse = exports.ImageConfigError = exports.EnvironmentResponse = exports.EnvironmentError = exports.CreateFunctionRequest = exports.VpcConfig = exports.TracingConfig = exports.TracingMode = exports.Runtime = exports.PackageType = exports.ImageConfig = exports.FileSystemConfig = exports.Environment = exports.DeadLetterConfig = exports.FunctionCode = exports.EventSourceMappingConfiguration = exports.CreateEventSourceMappingRequest = exports.EventSourcePosition = exports.SourceAccessConfiguration = exports.SourceAccessType = exports.SelfManagedEventSource = exports.EndPointType = exports.FunctionResponseType = exports.FilterCriteria = exports.Filter = exports.DestinationConfig = exports.OnSuccess = exports.OnFailure = exports.CreateCodeSigningConfigResponse = exports.CodeSigningConfig = exports.CreateCodeSigningConfigRequest = exports.CodeSigningPolicies = exports.CodeSigningPolicy = exports.CreateAliasRequest = exports.Architecture = exports.AllowedPublishers = exports.AliasConfiguration = exports.AliasRoutingConfiguration = exports.AddPermissionResponse = exports.AddPermissionRequest = exports.ThrottleReason = exports.AddLayerVersionPermissionResponse = exports.AddLayerVersionPermissionRequest = exports.AccountUsage = exports.AccountLimit = void 0;
4
- exports.ListCodeSigningConfigsRequest = exports.ListAliasesResponse = exports.ListAliasesRequest = exports.InvokeAsyncResponse = exports.InvokeAsyncRequest = exports.InvocationResponse = exports.InvocationRequest = exports.LogType = exports.InvocationType = exports.GetProvisionedConcurrencyConfigResponse = exports.ProvisionedConcurrencyStatusEnum = exports.GetProvisionedConcurrencyConfigRequest = exports.GetPolicyResponse = exports.GetPolicyRequest = exports.GetLayerVersionPolicyResponse = exports.GetLayerVersionPolicyRequest = exports.GetLayerVersionByArnRequest = exports.GetLayerVersionResponse = exports.LayerVersionContentOutput = exports.GetLayerVersionRequest = exports.GetFunctionEventInvokeConfigRequest = exports.FunctionEventInvokeConfig = exports.GetFunctionConfigurationRequest = exports.GetFunctionConcurrencyResponse = exports.GetFunctionConcurrencyRequest = exports.GetFunctionCodeSigningConfigResponse = exports.GetFunctionCodeSigningConfigRequest = exports.GetFunctionResponse = exports.Concurrency = exports.FunctionCodeLocation = exports.GetFunctionRequest = exports.GetEventSourceMappingRequest = exports.GetCodeSigningConfigResponse = exports.GetCodeSigningConfigRequest = exports.GetAliasRequest = exports.GetAccountSettingsResponse = exports.GetAccountSettingsRequest = exports.DeleteProvisionedConcurrencyConfigRequest = exports.DeleteLayerVersionRequest = exports.DeleteFunctionEventInvokeConfigRequest = exports.DeleteFunctionConcurrencyRequest = exports.DeleteFunctionCodeSigningConfigRequest = exports.DeleteFunctionRequest = exports.DeleteEventSourceMappingRequest = exports.DeleteCodeSigningConfigResponse = exports.DeleteCodeSigningConfigRequest = exports.DeleteAliasRequest = exports.FunctionConfiguration = exports.VpcConfigResponse = exports.TracingConfigResponse = void 0;
5
- exports.UpdateFunctionEventInvokeConfigRequest = exports.UpdateFunctionConfigurationRequest = exports.UpdateFunctionCodeRequest = exports.UpdateEventSourceMappingRequest = exports.UpdateCodeSigningConfigResponse = exports.UpdateCodeSigningConfigRequest = exports.UpdateAliasRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.RemovePermissionRequest = exports.RemoveLayerVersionPermissionRequest = exports.PutProvisionedConcurrencyConfigResponse = exports.PutProvisionedConcurrencyConfigRequest = exports.PutFunctionEventInvokeConfigRequest = exports.PutFunctionConcurrencyRequest = exports.PutFunctionCodeSigningConfigResponse = exports.PutFunctionCodeSigningConfigRequest = exports.PublishVersionRequest = exports.PublishLayerVersionResponse = exports.PublishLayerVersionRequest = exports.LayerVersionContentInput = exports.ListVersionsByFunctionResponse = exports.ListVersionsByFunctionRequest = exports.ListTagsResponse = exports.ListTagsRequest = exports.ListProvisionedConcurrencyConfigsResponse = exports.ProvisionedConcurrencyConfigListItem = exports.ListProvisionedConcurrencyConfigsRequest = exports.ListLayerVersionsResponse = exports.ListLayerVersionsRequest = exports.ListLayersResponse = exports.LayersListItem = exports.LayerVersionsListItem = exports.ListLayersRequest = exports.ListFunctionsByCodeSigningConfigResponse = exports.ListFunctionsByCodeSigningConfigRequest = exports.ListFunctionsResponse = exports.ListFunctionsRequest = exports.FunctionVersion = exports.ListFunctionEventInvokeConfigsResponse = exports.ListFunctionEventInvokeConfigsRequest = exports.ListEventSourceMappingsResponse = exports.ListEventSourceMappingsRequest = exports.ListCodeSigningConfigsResponse = void 0;
3
+ exports.VpcConfig = exports.TracingConfig = exports.TracingMode = exports.Runtime = exports.PackageType = exports.ImageConfig = exports.FileSystemConfig = exports.Environment = exports.DeadLetterConfig = exports.FunctionCode = exports.CodeVerificationFailedException = exports.CodeStorageExceededException = exports.CodeSigningConfigNotFoundException = exports.EventSourceMappingConfiguration = exports.CreateEventSourceMappingRequest = exports.EventSourcePosition = exports.SourceAccessConfiguration = exports.SourceAccessType = exports.SelfManagedEventSource = exports.EndPointType = exports.FunctionResponseType = exports.FilterCriteria = exports.Filter = exports.DestinationConfig = exports.OnSuccess = exports.OnFailure = exports.CreateCodeSigningConfigResponse = exports.CodeSigningConfig = exports.CreateCodeSigningConfigRequest = exports.CodeSigningPolicies = exports.CodeSigningPolicy = exports.CreateAliasRequest = exports.Architecture = exports.AllowedPublishers = exports.AliasConfiguration = exports.AliasRoutingConfiguration = exports.AddPermissionResponse = exports.AddPermissionRequest = exports.TooManyRequestsException = exports.ThrottleReason = exports.ServiceException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.PreconditionFailedException = exports.PolicyLengthExceededException = exports.InvalidParameterValueException = exports.AddLayerVersionPermissionResponse = exports.AddLayerVersionPermissionRequest = exports.AccountUsage = exports.AccountLimit = void 0;
4
+ exports.GetPolicyResponse = exports.GetPolicyRequest = exports.GetLayerVersionPolicyResponse = exports.GetLayerVersionPolicyRequest = exports.GetLayerVersionByArnRequest = exports.GetLayerVersionResponse = exports.LayerVersionContentOutput = exports.GetLayerVersionRequest = exports.GetFunctionEventInvokeConfigRequest = exports.FunctionEventInvokeConfig = exports.GetFunctionConfigurationRequest = exports.GetFunctionConcurrencyResponse = exports.GetFunctionConcurrencyRequest = exports.GetFunctionCodeSigningConfigResponse = exports.GetFunctionCodeSigningConfigRequest = exports.GetFunctionResponse = exports.Concurrency = exports.FunctionCodeLocation = exports.GetFunctionRequest = exports.GetEventSourceMappingRequest = exports.GetCodeSigningConfigResponse = exports.GetCodeSigningConfigRequest = exports.GetAliasRequest = exports.GetAccountSettingsResponse = exports.GetAccountSettingsRequest = exports.DeleteProvisionedConcurrencyConfigRequest = exports.DeleteLayerVersionRequest = exports.DeleteFunctionEventInvokeConfigRequest = exports.DeleteFunctionConcurrencyRequest = exports.DeleteFunctionCodeSigningConfigRequest = exports.DeleteFunctionRequest = exports.ResourceInUseException = exports.DeleteEventSourceMappingRequest = exports.DeleteCodeSigningConfigResponse = exports.DeleteCodeSigningConfigRequest = exports.DeleteAliasRequest = exports.InvalidCodeSignatureException = exports.FunctionConfiguration = exports.VpcConfigResponse = exports.TracingConfigResponse = exports.StateReasonCode = exports.State = exports.Layer = exports.LastUpdateStatusReasonCode = exports.LastUpdateStatus = exports.ImageConfigResponse = exports.ImageConfigError = exports.EnvironmentResponse = exports.EnvironmentError = exports.CreateFunctionRequest = void 0;
5
+ exports.ListLayerVersionsResponse = exports.ListLayerVersionsRequest = exports.ListLayersResponse = exports.LayersListItem = exports.LayerVersionsListItem = exports.ListLayersRequest = exports.ListFunctionsByCodeSigningConfigResponse = exports.ListFunctionsByCodeSigningConfigRequest = exports.ListFunctionsResponse = exports.ListFunctionsRequest = exports.FunctionVersion = exports.ListFunctionEventInvokeConfigsResponse = exports.ListFunctionEventInvokeConfigsRequest = exports.ListEventSourceMappingsResponse = exports.ListEventSourceMappingsRequest = exports.ListCodeSigningConfigsResponse = exports.ListCodeSigningConfigsRequest = exports.ListAliasesResponse = exports.ListAliasesRequest = exports.InvokeAsyncResponse = exports.InvokeAsyncRequest = exports.UnsupportedMediaTypeException = exports.SubnetIPAddressLimitReachedException = exports.ResourceNotReadyException = exports.RequestTooLargeException = exports.KMSNotFoundException = exports.KMSInvalidStateException = exports.KMSDisabledException = exports.KMSAccessDeniedException = exports.InvocationResponse = exports.InvocationRequest = exports.LogType = exports.InvocationType = exports.InvalidZipFileException = exports.InvalidSubnetIDException = exports.InvalidSecurityGroupIDException = exports.InvalidRuntimeException = exports.InvalidRequestContentException = exports.ENILimitReachedException = exports.EFSMountTimeoutException = exports.EFSMountFailureException = exports.EFSMountConnectivityException = exports.EFSIOException = exports.EC2UnexpectedException = exports.EC2ThrottledException = exports.EC2AccessDeniedException = exports.ProvisionedConcurrencyConfigNotFoundException = exports.GetProvisionedConcurrencyConfigResponse = exports.ProvisionedConcurrencyStatusEnum = exports.GetProvisionedConcurrencyConfigRequest = void 0;
6
+ exports.UpdateFunctionEventInvokeConfigRequest = exports.UpdateFunctionConfigurationRequest = exports.UpdateFunctionCodeRequest = exports.UpdateEventSourceMappingRequest = exports.UpdateCodeSigningConfigResponse = exports.UpdateCodeSigningConfigRequest = exports.UpdateAliasRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.RemovePermissionRequest = exports.RemoveLayerVersionPermissionRequest = exports.PutProvisionedConcurrencyConfigResponse = exports.PutProvisionedConcurrencyConfigRequest = exports.PutFunctionEventInvokeConfigRequest = exports.PutFunctionConcurrencyRequest = exports.PutFunctionCodeSigningConfigResponse = exports.PutFunctionCodeSigningConfigRequest = exports.PublishVersionRequest = exports.PublishLayerVersionResponse = exports.PublishLayerVersionRequest = exports.LayerVersionContentInput = exports.ListVersionsByFunctionResponse = exports.ListVersionsByFunctionRequest = exports.ListTagsResponse = exports.ListTagsRequest = exports.ListProvisionedConcurrencyConfigsResponse = exports.ProvisionedConcurrencyConfigListItem = exports.ListProvisionedConcurrencyConfigsRequest = void 0;
6
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
+ const LambdaServiceException_1 = require("./LambdaServiceException");
7
9
  var AccountLimit;
8
10
  (function (AccountLimit) {
9
11
  AccountLimit.filterSensitiveLog = (obj) => ({
@@ -28,6 +30,92 @@ var AddLayerVersionPermissionResponse;
28
30
  ...obj,
29
31
  });
30
32
  })(AddLayerVersionPermissionResponse = exports.AddLayerVersionPermissionResponse || (exports.AddLayerVersionPermissionResponse = {}));
33
+ class InvalidParameterValueException extends LambdaServiceException_1.LambdaServiceException {
34
+ constructor(opts) {
35
+ super({
36
+ name: "InvalidParameterValueException",
37
+ $fault: "client",
38
+ ...opts,
39
+ });
40
+ this.name = "InvalidParameterValueException";
41
+ this.$fault = "client";
42
+ Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
43
+ this.Type = opts.Type;
44
+ }
45
+ }
46
+ exports.InvalidParameterValueException = InvalidParameterValueException;
47
+ class PolicyLengthExceededException extends LambdaServiceException_1.LambdaServiceException {
48
+ constructor(opts) {
49
+ super({
50
+ name: "PolicyLengthExceededException",
51
+ $fault: "client",
52
+ ...opts,
53
+ });
54
+ this.name = "PolicyLengthExceededException";
55
+ this.$fault = "client";
56
+ Object.setPrototypeOf(this, PolicyLengthExceededException.prototype);
57
+ this.Type = opts.Type;
58
+ }
59
+ }
60
+ exports.PolicyLengthExceededException = PolicyLengthExceededException;
61
+ class PreconditionFailedException extends LambdaServiceException_1.LambdaServiceException {
62
+ constructor(opts) {
63
+ super({
64
+ name: "PreconditionFailedException",
65
+ $fault: "client",
66
+ ...opts,
67
+ });
68
+ this.name = "PreconditionFailedException";
69
+ this.$fault = "client";
70
+ Object.setPrototypeOf(this, PreconditionFailedException.prototype);
71
+ this.Type = opts.Type;
72
+ }
73
+ }
74
+ exports.PreconditionFailedException = PreconditionFailedException;
75
+ class ResourceConflictException extends LambdaServiceException_1.LambdaServiceException {
76
+ constructor(opts) {
77
+ super({
78
+ name: "ResourceConflictException",
79
+ $fault: "client",
80
+ ...opts,
81
+ });
82
+ this.name = "ResourceConflictException";
83
+ this.$fault = "client";
84
+ Object.setPrototypeOf(this, ResourceConflictException.prototype);
85
+ this.Type = opts.Type;
86
+ }
87
+ }
88
+ exports.ResourceConflictException = ResourceConflictException;
89
+ class ResourceNotFoundException extends LambdaServiceException_1.LambdaServiceException {
90
+ constructor(opts) {
91
+ super({
92
+ name: "ResourceNotFoundException",
93
+ $fault: "client",
94
+ ...opts,
95
+ });
96
+ this.name = "ResourceNotFoundException";
97
+ this.$fault = "client";
98
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
99
+ this.Type = opts.Type;
100
+ this.Message = opts.Message;
101
+ }
102
+ }
103
+ exports.ResourceNotFoundException = ResourceNotFoundException;
104
+ class ServiceException extends LambdaServiceException_1.LambdaServiceException {
105
+ constructor(opts) {
106
+ super({
107
+ name: "ServiceException",
108
+ $fault: "server",
109
+ ...opts,
110
+ });
111
+ this.name = "ServiceException";
112
+ this.$fault = "server";
113
+ Object.setPrototypeOf(this, ServiceException.prototype);
114
+ this.Type = opts.Type;
115
+ this.Message = opts.Message;
116
+ }
117
+ }
118
+ exports.ServiceException = ServiceException;
31
119
  var ThrottleReason;
32
120
  (function (ThrottleReason) {
33
121
  ThrottleReason["CallerRateLimitExceeded"] = "CallerRateLimitExceeded";
@@ -36,6 +124,22 @@ var ThrottleReason;
36
124
  ThrottleReason["ReservedFunctionConcurrentInvocationLimitExceeded"] = "ReservedFunctionConcurrentInvocationLimitExceeded";
37
125
  ThrottleReason["ReservedFunctionInvocationRateLimitExceeded"] = "ReservedFunctionInvocationRateLimitExceeded";
38
126
  })(ThrottleReason = exports.ThrottleReason || (exports.ThrottleReason = {}));
127
+ class TooManyRequestsException extends LambdaServiceException_1.LambdaServiceException {
128
+ constructor(opts) {
129
+ super({
130
+ name: "TooManyRequestsException",
131
+ $fault: "client",
132
+ ...opts,
133
+ });
134
+ this.name = "TooManyRequestsException";
135
+ this.$fault = "client";
136
+ Object.setPrototypeOf(this, TooManyRequestsException.prototype);
137
+ this.retryAfterSeconds = opts.retryAfterSeconds;
138
+ this.Type = opts.Type;
139
+ this.Reason = opts.Reason;
140
+ }
141
+ }
142
+ exports.TooManyRequestsException = TooManyRequestsException;
39
143
  var AddPermissionRequest;
40
144
  (function (AddPermissionRequest) {
41
145
  AddPermissionRequest.filterSensitiveLog = (obj) => ({
@@ -185,6 +289,50 @@ var EventSourceMappingConfiguration;
185
289
  ...obj,
186
290
  });
187
291
  })(EventSourceMappingConfiguration = exports.EventSourceMappingConfiguration || (exports.EventSourceMappingConfiguration = {}));
292
+ class CodeSigningConfigNotFoundException extends LambdaServiceException_1.LambdaServiceException {
293
+ constructor(opts) {
294
+ super({
295
+ name: "CodeSigningConfigNotFoundException",
296
+ $fault: "client",
297
+ ...opts,
298
+ });
299
+ this.name = "CodeSigningConfigNotFoundException";
300
+ this.$fault = "client";
301
+ Object.setPrototypeOf(this, CodeSigningConfigNotFoundException.prototype);
302
+ this.Type = opts.Type;
303
+ this.Message = opts.Message;
304
+ }
305
+ }
306
+ exports.CodeSigningConfigNotFoundException = CodeSigningConfigNotFoundException;
307
+ class CodeStorageExceededException extends LambdaServiceException_1.LambdaServiceException {
308
+ constructor(opts) {
309
+ super({
310
+ name: "CodeStorageExceededException",
311
+ $fault: "client",
312
+ ...opts,
313
+ });
314
+ this.name = "CodeStorageExceededException";
315
+ this.$fault = "client";
316
+ Object.setPrototypeOf(this, CodeStorageExceededException.prototype);
317
+ this.Type = opts.Type;
318
+ }
319
+ }
320
+ exports.CodeStorageExceededException = CodeStorageExceededException;
321
+ class CodeVerificationFailedException extends LambdaServiceException_1.LambdaServiceException {
322
+ constructor(opts) {
323
+ super({
324
+ name: "CodeVerificationFailedException",
325
+ $fault: "client",
326
+ ...opts,
327
+ });
328
+ this.name = "CodeVerificationFailedException";
329
+ this.$fault = "client";
330
+ Object.setPrototypeOf(this, CodeVerificationFailedException.prototype);
331
+ this.Type = opts.Type;
332
+ this.Message = opts.Message;
333
+ }
334
+ }
335
+ exports.CodeVerificationFailedException = CodeVerificationFailedException;
188
336
  var FunctionCode;
189
337
  (function (FunctionCode) {
190
338
  FunctionCode.filterSensitiveLog = (obj) => ({
@@ -224,6 +372,7 @@ var PackageType;
224
372
  })(PackageType = exports.PackageType || (exports.PackageType = {}));
225
373
  var Runtime;
226
374
  (function (Runtime) {
375
+ Runtime["dotnet6"] = "dotnet6";
227
376
  Runtime["dotnetcore10"] = "dotnetcore1.0";
228
377
  Runtime["dotnetcore20"] = "dotnetcore2.0";
229
378
  Runtime["dotnetcore21"] = "dotnetcore2.1";
@@ -374,6 +523,21 @@ var FunctionConfiguration;
374
523
  }),
375
524
  });
376
525
  })(FunctionConfiguration = exports.FunctionConfiguration || (exports.FunctionConfiguration = {}));
526
+ class InvalidCodeSignatureException extends LambdaServiceException_1.LambdaServiceException {
527
+ constructor(opts) {
528
+ super({
529
+ name: "InvalidCodeSignatureException",
530
+ $fault: "client",
531
+ ...opts,
532
+ });
533
+ this.name = "InvalidCodeSignatureException";
534
+ this.$fault = "client";
535
+ Object.setPrototypeOf(this, InvalidCodeSignatureException.prototype);
536
+ this.Type = opts.Type;
537
+ this.Message = opts.Message;
538
+ }
539
+ }
540
+ exports.InvalidCodeSignatureException = InvalidCodeSignatureException;
377
541
  var DeleteAliasRequest;
378
542
  (function (DeleteAliasRequest) {
379
543
  DeleteAliasRequest.filterSensitiveLog = (obj) => ({
@@ -398,6 +562,21 @@ var DeleteEventSourceMappingRequest;
398
562
  ...obj,
399
563
  });
400
564
  })(DeleteEventSourceMappingRequest = exports.DeleteEventSourceMappingRequest || (exports.DeleteEventSourceMappingRequest = {}));
565
+ class ResourceInUseException extends LambdaServiceException_1.LambdaServiceException {
566
+ constructor(opts) {
567
+ super({
568
+ name: "ResourceInUseException",
569
+ $fault: "client",
570
+ ...opts,
571
+ });
572
+ this.name = "ResourceInUseException";
573
+ this.$fault = "client";
574
+ Object.setPrototypeOf(this, ResourceInUseException.prototype);
575
+ this.Type = opts.Type;
576
+ this.Message = opts.Message;
577
+ }
578
+ }
579
+ exports.ResourceInUseException = ResourceInUseException;
401
580
  var DeleteFunctionRequest;
402
581
  (function (DeleteFunctionRequest) {
403
582
  DeleteFunctionRequest.filterSensitiveLog = (obj) => ({
@@ -603,6 +782,215 @@ var GetProvisionedConcurrencyConfigResponse;
603
782
  ...obj,
604
783
  });
605
784
  })(GetProvisionedConcurrencyConfigResponse = exports.GetProvisionedConcurrencyConfigResponse || (exports.GetProvisionedConcurrencyConfigResponse = {}));
785
+ class ProvisionedConcurrencyConfigNotFoundException extends LambdaServiceException_1.LambdaServiceException {
786
+ constructor(opts) {
787
+ super({
788
+ name: "ProvisionedConcurrencyConfigNotFoundException",
789
+ $fault: "client",
790
+ ...opts,
791
+ });
792
+ this.name = "ProvisionedConcurrencyConfigNotFoundException";
793
+ this.$fault = "client";
794
+ Object.setPrototypeOf(this, ProvisionedConcurrencyConfigNotFoundException.prototype);
795
+ this.Type = opts.Type;
796
+ }
797
+ }
798
+ exports.ProvisionedConcurrencyConfigNotFoundException = ProvisionedConcurrencyConfigNotFoundException;
799
+ class EC2AccessDeniedException extends LambdaServiceException_1.LambdaServiceException {
800
+ constructor(opts) {
801
+ super({
802
+ name: "EC2AccessDeniedException",
803
+ $fault: "server",
804
+ ...opts,
805
+ });
806
+ this.name = "EC2AccessDeniedException";
807
+ this.$fault = "server";
808
+ Object.setPrototypeOf(this, EC2AccessDeniedException.prototype);
809
+ this.Type = opts.Type;
810
+ this.Message = opts.Message;
811
+ }
812
+ }
813
+ exports.EC2AccessDeniedException = EC2AccessDeniedException;
814
+ class EC2ThrottledException extends LambdaServiceException_1.LambdaServiceException {
815
+ constructor(opts) {
816
+ super({
817
+ name: "EC2ThrottledException",
818
+ $fault: "server",
819
+ ...opts,
820
+ });
821
+ this.name = "EC2ThrottledException";
822
+ this.$fault = "server";
823
+ Object.setPrototypeOf(this, EC2ThrottledException.prototype);
824
+ this.Type = opts.Type;
825
+ this.Message = opts.Message;
826
+ }
827
+ }
828
+ exports.EC2ThrottledException = EC2ThrottledException;
829
+ class EC2UnexpectedException extends LambdaServiceException_1.LambdaServiceException {
830
+ constructor(opts) {
831
+ super({
832
+ name: "EC2UnexpectedException",
833
+ $fault: "server",
834
+ ...opts,
835
+ });
836
+ this.name = "EC2UnexpectedException";
837
+ this.$fault = "server";
838
+ Object.setPrototypeOf(this, EC2UnexpectedException.prototype);
839
+ this.Type = opts.Type;
840
+ this.Message = opts.Message;
841
+ this.EC2ErrorCode = opts.EC2ErrorCode;
842
+ }
843
+ }
844
+ exports.EC2UnexpectedException = EC2UnexpectedException;
845
+ class EFSIOException extends LambdaServiceException_1.LambdaServiceException {
846
+ constructor(opts) {
847
+ super({
848
+ name: "EFSIOException",
849
+ $fault: "client",
850
+ ...opts,
851
+ });
852
+ this.name = "EFSIOException";
853
+ this.$fault = "client";
854
+ Object.setPrototypeOf(this, EFSIOException.prototype);
855
+ this.Type = opts.Type;
856
+ this.Message = opts.Message;
857
+ }
858
+ }
859
+ exports.EFSIOException = EFSIOException;
860
+ class EFSMountConnectivityException extends LambdaServiceException_1.LambdaServiceException {
861
+ constructor(opts) {
862
+ super({
863
+ name: "EFSMountConnectivityException",
864
+ $fault: "client",
865
+ ...opts,
866
+ });
867
+ this.name = "EFSMountConnectivityException";
868
+ this.$fault = "client";
869
+ Object.setPrototypeOf(this, EFSMountConnectivityException.prototype);
870
+ this.Type = opts.Type;
871
+ this.Message = opts.Message;
872
+ }
873
+ }
874
+ exports.EFSMountConnectivityException = EFSMountConnectivityException;
875
+ class EFSMountFailureException extends LambdaServiceException_1.LambdaServiceException {
876
+ constructor(opts) {
877
+ super({
878
+ name: "EFSMountFailureException",
879
+ $fault: "client",
880
+ ...opts,
881
+ });
882
+ this.name = "EFSMountFailureException";
883
+ this.$fault = "client";
884
+ Object.setPrototypeOf(this, EFSMountFailureException.prototype);
885
+ this.Type = opts.Type;
886
+ this.Message = opts.Message;
887
+ }
888
+ }
889
+ exports.EFSMountFailureException = EFSMountFailureException;
890
+ class EFSMountTimeoutException extends LambdaServiceException_1.LambdaServiceException {
891
+ constructor(opts) {
892
+ super({
893
+ name: "EFSMountTimeoutException",
894
+ $fault: "client",
895
+ ...opts,
896
+ });
897
+ this.name = "EFSMountTimeoutException";
898
+ this.$fault = "client";
899
+ Object.setPrototypeOf(this, EFSMountTimeoutException.prototype);
900
+ this.Type = opts.Type;
901
+ this.Message = opts.Message;
902
+ }
903
+ }
904
+ exports.EFSMountTimeoutException = EFSMountTimeoutException;
905
+ class ENILimitReachedException extends LambdaServiceException_1.LambdaServiceException {
906
+ constructor(opts) {
907
+ super({
908
+ name: "ENILimitReachedException",
909
+ $fault: "server",
910
+ ...opts,
911
+ });
912
+ this.name = "ENILimitReachedException";
913
+ this.$fault = "server";
914
+ Object.setPrototypeOf(this, ENILimitReachedException.prototype);
915
+ this.Type = opts.Type;
916
+ this.Message = opts.Message;
917
+ }
918
+ }
919
+ exports.ENILimitReachedException = ENILimitReachedException;
920
+ class InvalidRequestContentException extends LambdaServiceException_1.LambdaServiceException {
921
+ constructor(opts) {
922
+ super({
923
+ name: "InvalidRequestContentException",
924
+ $fault: "client",
925
+ ...opts,
926
+ });
927
+ this.name = "InvalidRequestContentException";
928
+ this.$fault = "client";
929
+ Object.setPrototypeOf(this, InvalidRequestContentException.prototype);
930
+ this.Type = opts.Type;
931
+ }
932
+ }
933
+ exports.InvalidRequestContentException = InvalidRequestContentException;
934
+ class InvalidRuntimeException extends LambdaServiceException_1.LambdaServiceException {
935
+ constructor(opts) {
936
+ super({
937
+ name: "InvalidRuntimeException",
938
+ $fault: "server",
939
+ ...opts,
940
+ });
941
+ this.name = "InvalidRuntimeException";
942
+ this.$fault = "server";
943
+ Object.setPrototypeOf(this, InvalidRuntimeException.prototype);
944
+ this.Type = opts.Type;
945
+ this.Message = opts.Message;
946
+ }
947
+ }
948
+ exports.InvalidRuntimeException = InvalidRuntimeException;
949
+ class InvalidSecurityGroupIDException extends LambdaServiceException_1.LambdaServiceException {
950
+ constructor(opts) {
951
+ super({
952
+ name: "InvalidSecurityGroupIDException",
953
+ $fault: "server",
954
+ ...opts,
955
+ });
956
+ this.name = "InvalidSecurityGroupIDException";
957
+ this.$fault = "server";
958
+ Object.setPrototypeOf(this, InvalidSecurityGroupIDException.prototype);
959
+ this.Type = opts.Type;
960
+ this.Message = opts.Message;
961
+ }
962
+ }
963
+ exports.InvalidSecurityGroupIDException = InvalidSecurityGroupIDException;
964
+ class InvalidSubnetIDException extends LambdaServiceException_1.LambdaServiceException {
965
+ constructor(opts) {
966
+ super({
967
+ name: "InvalidSubnetIDException",
968
+ $fault: "server",
969
+ ...opts,
970
+ });
971
+ this.name = "InvalidSubnetIDException";
972
+ this.$fault = "server";
973
+ Object.setPrototypeOf(this, InvalidSubnetIDException.prototype);
974
+ this.Type = opts.Type;
975
+ this.Message = opts.Message;
976
+ }
977
+ }
978
+ exports.InvalidSubnetIDException = InvalidSubnetIDException;
979
+ class InvalidZipFileException extends LambdaServiceException_1.LambdaServiceException {
980
+ constructor(opts) {
981
+ super({
982
+ name: "InvalidZipFileException",
983
+ $fault: "server",
984
+ ...opts,
985
+ });
986
+ this.name = "InvalidZipFileException";
987
+ this.$fault = "server";
988
+ Object.setPrototypeOf(this, InvalidZipFileException.prototype);
989
+ this.Type = opts.Type;
990
+ this.Message = opts.Message;
991
+ }
992
+ }
993
+ exports.InvalidZipFileException = InvalidZipFileException;
606
994
  var InvocationType;
607
995
  (function (InvocationType) {
608
996
  InvocationType["DryRun"] = "DryRun";
@@ -628,6 +1016,123 @@ var InvocationResponse;
628
1016
  ...(obj.Payload && { Payload: smithy_client_1.SENSITIVE_STRING }),
629
1017
  });
630
1018
  })(InvocationResponse = exports.InvocationResponse || (exports.InvocationResponse = {}));
1019
+ class KMSAccessDeniedException extends LambdaServiceException_1.LambdaServiceException {
1020
+ constructor(opts) {
1021
+ super({
1022
+ name: "KMSAccessDeniedException",
1023
+ $fault: "server",
1024
+ ...opts,
1025
+ });
1026
+ this.name = "KMSAccessDeniedException";
1027
+ this.$fault = "server";
1028
+ Object.setPrototypeOf(this, KMSAccessDeniedException.prototype);
1029
+ this.Type = opts.Type;
1030
+ this.Message = opts.Message;
1031
+ }
1032
+ }
1033
+ exports.KMSAccessDeniedException = KMSAccessDeniedException;
1034
+ class KMSDisabledException extends LambdaServiceException_1.LambdaServiceException {
1035
+ constructor(opts) {
1036
+ super({
1037
+ name: "KMSDisabledException",
1038
+ $fault: "server",
1039
+ ...opts,
1040
+ });
1041
+ this.name = "KMSDisabledException";
1042
+ this.$fault = "server";
1043
+ Object.setPrototypeOf(this, KMSDisabledException.prototype);
1044
+ this.Type = opts.Type;
1045
+ this.Message = opts.Message;
1046
+ }
1047
+ }
1048
+ exports.KMSDisabledException = KMSDisabledException;
1049
+ class KMSInvalidStateException extends LambdaServiceException_1.LambdaServiceException {
1050
+ constructor(opts) {
1051
+ super({
1052
+ name: "KMSInvalidStateException",
1053
+ $fault: "server",
1054
+ ...opts,
1055
+ });
1056
+ this.name = "KMSInvalidStateException";
1057
+ this.$fault = "server";
1058
+ Object.setPrototypeOf(this, KMSInvalidStateException.prototype);
1059
+ this.Type = opts.Type;
1060
+ this.Message = opts.Message;
1061
+ }
1062
+ }
1063
+ exports.KMSInvalidStateException = KMSInvalidStateException;
1064
+ class KMSNotFoundException extends LambdaServiceException_1.LambdaServiceException {
1065
+ constructor(opts) {
1066
+ super({
1067
+ name: "KMSNotFoundException",
1068
+ $fault: "server",
1069
+ ...opts,
1070
+ });
1071
+ this.name = "KMSNotFoundException";
1072
+ this.$fault = "server";
1073
+ Object.setPrototypeOf(this, KMSNotFoundException.prototype);
1074
+ this.Type = opts.Type;
1075
+ this.Message = opts.Message;
1076
+ }
1077
+ }
1078
+ exports.KMSNotFoundException = KMSNotFoundException;
1079
+ class RequestTooLargeException extends LambdaServiceException_1.LambdaServiceException {
1080
+ constructor(opts) {
1081
+ super({
1082
+ name: "RequestTooLargeException",
1083
+ $fault: "client",
1084
+ ...opts,
1085
+ });
1086
+ this.name = "RequestTooLargeException";
1087
+ this.$fault = "client";
1088
+ Object.setPrototypeOf(this, RequestTooLargeException.prototype);
1089
+ this.Type = opts.Type;
1090
+ }
1091
+ }
1092
+ exports.RequestTooLargeException = RequestTooLargeException;
1093
+ class ResourceNotReadyException extends LambdaServiceException_1.LambdaServiceException {
1094
+ constructor(opts) {
1095
+ super({
1096
+ name: "ResourceNotReadyException",
1097
+ $fault: "server",
1098
+ ...opts,
1099
+ });
1100
+ this.name = "ResourceNotReadyException";
1101
+ this.$fault = "server";
1102
+ Object.setPrototypeOf(this, ResourceNotReadyException.prototype);
1103
+ this.Type = opts.Type;
1104
+ }
1105
+ }
1106
+ exports.ResourceNotReadyException = ResourceNotReadyException;
1107
+ class SubnetIPAddressLimitReachedException extends LambdaServiceException_1.LambdaServiceException {
1108
+ constructor(opts) {
1109
+ super({
1110
+ name: "SubnetIPAddressLimitReachedException",
1111
+ $fault: "server",
1112
+ ...opts,
1113
+ });
1114
+ this.name = "SubnetIPAddressLimitReachedException";
1115
+ this.$fault = "server";
1116
+ Object.setPrototypeOf(this, SubnetIPAddressLimitReachedException.prototype);
1117
+ this.Type = opts.Type;
1118
+ this.Message = opts.Message;
1119
+ }
1120
+ }
1121
+ exports.SubnetIPAddressLimitReachedException = SubnetIPAddressLimitReachedException;
1122
+ class UnsupportedMediaTypeException extends LambdaServiceException_1.LambdaServiceException {
1123
+ constructor(opts) {
1124
+ super({
1125
+ name: "UnsupportedMediaTypeException",
1126
+ $fault: "client",
1127
+ ...opts,
1128
+ });
1129
+ this.name = "UnsupportedMediaTypeException";
1130
+ this.$fault = "client";
1131
+ Object.setPrototypeOf(this, UnsupportedMediaTypeException.prototype);
1132
+ this.Type = opts.Type;
1133
+ }
1134
+ }
1135
+ exports.UnsupportedMediaTypeException = UnsupportedMediaTypeException;
631
1136
  var InvokeAsyncRequest;
632
1137
  (function (InvokeAsyncRequest) {
633
1138
  InvokeAsyncRequest.filterSensitiveLog = (obj) => ({