@aws-sdk/client-lambda 3.52.0 → 3.54.1
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/CHANGELOG.md +28 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/LambdaServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +508 -3
- package/dist-cjs/protocols/Aws_restJson1.js +778 -2631
- package/dist-cjs/waiters/index.js +2 -0
- package/dist-cjs/waiters/waitForFunctionActiveV2.js +54 -0
- package/dist-cjs/waiters/waitForFunctionUpdatedV2.js +54 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/LambdaServiceException.js +12 -0
- package/dist-es/models/models_0.js +471 -1
- package/dist-es/protocols/Aws_restJson1.js +1467 -2898
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForFunctionActiveV2.js +69 -0
- package/dist-es/waiters/waitForFunctionUpdatedV2.js +69 -0
- package/dist-types/Lambda.d.ts +14 -1
- package/dist-types/LambdaClient.d.ts +2 -2
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +14 -1
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/LambdaServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +238 -124
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/LambdaClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/LambdaServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +168 -114
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForFunctionActiveV2.d.ts +7 -0
- package/dist-types/ts3.4/waiters/waitForFunctionUpdatedV2.d.ts +7 -0
- package/dist-types/waiters/index.d.ts +2 -0
- package/dist-types/waiters/waitForFunctionActive.d.ts +2 -2
- package/dist-types/waiters/waitForFunctionActiveV2.d.ts +14 -0
- package/dist-types/waiters/waitForFunctionUpdated.d.ts +2 -2
- package/dist-types/waiters/waitForFunctionUpdatedV2.d.ts +14 -0
- package/package.json +28 -28
|
@@ -2,5 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./waitForFunctionActive"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./waitForFunctionActiveV2"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./waitForFunctionExists"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./waitForFunctionUpdated"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./waitForFunctionUpdatedV2"), exports);
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.waitUntilFunctionActiveV2 = exports.waitForFunctionActiveV2 = void 0;
|
|
4
|
+
const util_waiter_1 = require("@aws-sdk/util-waiter");
|
|
5
|
+
const GetFunctionCommand_1 = require("../commands/GetFunctionCommand");
|
|
6
|
+
const checkState = async (client, input) => {
|
|
7
|
+
let reason;
|
|
8
|
+
try {
|
|
9
|
+
const result = await client.send(new GetFunctionCommand_1.GetFunctionCommand(input));
|
|
10
|
+
reason = result;
|
|
11
|
+
try {
|
|
12
|
+
const returnComparator = () => {
|
|
13
|
+
return result.Configuration.State;
|
|
14
|
+
};
|
|
15
|
+
if (returnComparator() === "Active") {
|
|
16
|
+
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
catch (e) { }
|
|
20
|
+
try {
|
|
21
|
+
const returnComparator = () => {
|
|
22
|
+
return result.Configuration.State;
|
|
23
|
+
};
|
|
24
|
+
if (returnComparator() === "Failed") {
|
|
25
|
+
return { state: util_waiter_1.WaiterState.FAILURE, reason };
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
catch (e) { }
|
|
29
|
+
try {
|
|
30
|
+
const returnComparator = () => {
|
|
31
|
+
return result.Configuration.State;
|
|
32
|
+
};
|
|
33
|
+
if (returnComparator() === "Pending") {
|
|
34
|
+
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
catch (e) { }
|
|
38
|
+
}
|
|
39
|
+
catch (exception) {
|
|
40
|
+
reason = exception;
|
|
41
|
+
}
|
|
42
|
+
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
43
|
+
};
|
|
44
|
+
const waitForFunctionActiveV2 = async (params, input) => {
|
|
45
|
+
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
|
|
46
|
+
return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
47
|
+
};
|
|
48
|
+
exports.waitForFunctionActiveV2 = waitForFunctionActiveV2;
|
|
49
|
+
const waitUntilFunctionActiveV2 = async (params, input) => {
|
|
50
|
+
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
|
|
51
|
+
const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
52
|
+
return util_waiter_1.checkExceptions(result);
|
|
53
|
+
};
|
|
54
|
+
exports.waitUntilFunctionActiveV2 = waitUntilFunctionActiveV2;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.waitUntilFunctionUpdatedV2 = exports.waitForFunctionUpdatedV2 = void 0;
|
|
4
|
+
const util_waiter_1 = require("@aws-sdk/util-waiter");
|
|
5
|
+
const GetFunctionCommand_1 = require("../commands/GetFunctionCommand");
|
|
6
|
+
const checkState = async (client, input) => {
|
|
7
|
+
let reason;
|
|
8
|
+
try {
|
|
9
|
+
const result = await client.send(new GetFunctionCommand_1.GetFunctionCommand(input));
|
|
10
|
+
reason = result;
|
|
11
|
+
try {
|
|
12
|
+
const returnComparator = () => {
|
|
13
|
+
return result.Configuration.LastUpdateStatus;
|
|
14
|
+
};
|
|
15
|
+
if (returnComparator() === "Successful") {
|
|
16
|
+
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
catch (e) { }
|
|
20
|
+
try {
|
|
21
|
+
const returnComparator = () => {
|
|
22
|
+
return result.Configuration.LastUpdateStatus;
|
|
23
|
+
};
|
|
24
|
+
if (returnComparator() === "Failed") {
|
|
25
|
+
return { state: util_waiter_1.WaiterState.FAILURE, reason };
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
catch (e) { }
|
|
29
|
+
try {
|
|
30
|
+
const returnComparator = () => {
|
|
31
|
+
return result.Configuration.LastUpdateStatus;
|
|
32
|
+
};
|
|
33
|
+
if (returnComparator() === "InProgress") {
|
|
34
|
+
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
catch (e) { }
|
|
38
|
+
}
|
|
39
|
+
catch (exception) {
|
|
40
|
+
reason = exception;
|
|
41
|
+
}
|
|
42
|
+
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
43
|
+
};
|
|
44
|
+
const waitForFunctionUpdatedV2 = async (params, input) => {
|
|
45
|
+
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
|
|
46
|
+
return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
47
|
+
};
|
|
48
|
+
exports.waitForFunctionUpdatedV2 = waitForFunctionUpdatedV2;
|
|
49
|
+
const waitUntilFunctionUpdatedV2 = async (params, input) => {
|
|
50
|
+
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
|
|
51
|
+
const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
52
|
+
return util_waiter_1.checkExceptions(result);
|
|
53
|
+
};
|
|
54
|
+
exports.waitUntilFunctionUpdatedV2 = waitUntilFunctionUpdatedV2;
|
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
+
var LambdaServiceException = (function (_super) {
|
|
4
|
+
__extends(LambdaServiceException, _super);
|
|
5
|
+
function LambdaServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, LambdaServiceException.prototype);
|
|
8
|
+
return _this;
|
|
9
|
+
}
|
|
10
|
+
return LambdaServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { LambdaServiceException };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { LambdaServiceException as __BaseException } from "./LambdaServiceException";
|
|
3
4
|
export var AccountLimit;
|
|
4
5
|
(function (AccountLimit) {
|
|
5
6
|
AccountLimit.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -16,6 +17,86 @@ export var AddLayerVersionPermissionResponse;
|
|
|
16
17
|
(function (AddLayerVersionPermissionResponse) {
|
|
17
18
|
AddLayerVersionPermissionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
18
19
|
})(AddLayerVersionPermissionResponse || (AddLayerVersionPermissionResponse = {}));
|
|
20
|
+
var InvalidParameterValueException = (function (_super) {
|
|
21
|
+
__extends(InvalidParameterValueException, _super);
|
|
22
|
+
function InvalidParameterValueException(opts) {
|
|
23
|
+
var _this = _super.call(this, __assign({ name: "InvalidParameterValueException", $fault: "client" }, opts)) || this;
|
|
24
|
+
_this.name = "InvalidParameterValueException";
|
|
25
|
+
_this.$fault = "client";
|
|
26
|
+
Object.setPrototypeOf(_this, InvalidParameterValueException.prototype);
|
|
27
|
+
_this.Type = opts.Type;
|
|
28
|
+
return _this;
|
|
29
|
+
}
|
|
30
|
+
return InvalidParameterValueException;
|
|
31
|
+
}(__BaseException));
|
|
32
|
+
export { InvalidParameterValueException };
|
|
33
|
+
var PolicyLengthExceededException = (function (_super) {
|
|
34
|
+
__extends(PolicyLengthExceededException, _super);
|
|
35
|
+
function PolicyLengthExceededException(opts) {
|
|
36
|
+
var _this = _super.call(this, __assign({ name: "PolicyLengthExceededException", $fault: "client" }, opts)) || this;
|
|
37
|
+
_this.name = "PolicyLengthExceededException";
|
|
38
|
+
_this.$fault = "client";
|
|
39
|
+
Object.setPrototypeOf(_this, PolicyLengthExceededException.prototype);
|
|
40
|
+
_this.Type = opts.Type;
|
|
41
|
+
return _this;
|
|
42
|
+
}
|
|
43
|
+
return PolicyLengthExceededException;
|
|
44
|
+
}(__BaseException));
|
|
45
|
+
export { PolicyLengthExceededException };
|
|
46
|
+
var PreconditionFailedException = (function (_super) {
|
|
47
|
+
__extends(PreconditionFailedException, _super);
|
|
48
|
+
function PreconditionFailedException(opts) {
|
|
49
|
+
var _this = _super.call(this, __assign({ name: "PreconditionFailedException", $fault: "client" }, opts)) || this;
|
|
50
|
+
_this.name = "PreconditionFailedException";
|
|
51
|
+
_this.$fault = "client";
|
|
52
|
+
Object.setPrototypeOf(_this, PreconditionFailedException.prototype);
|
|
53
|
+
_this.Type = opts.Type;
|
|
54
|
+
return _this;
|
|
55
|
+
}
|
|
56
|
+
return PreconditionFailedException;
|
|
57
|
+
}(__BaseException));
|
|
58
|
+
export { PreconditionFailedException };
|
|
59
|
+
var ResourceConflictException = (function (_super) {
|
|
60
|
+
__extends(ResourceConflictException, _super);
|
|
61
|
+
function ResourceConflictException(opts) {
|
|
62
|
+
var _this = _super.call(this, __assign({ name: "ResourceConflictException", $fault: "client" }, opts)) || this;
|
|
63
|
+
_this.name = "ResourceConflictException";
|
|
64
|
+
_this.$fault = "client";
|
|
65
|
+
Object.setPrototypeOf(_this, ResourceConflictException.prototype);
|
|
66
|
+
_this.Type = opts.Type;
|
|
67
|
+
return _this;
|
|
68
|
+
}
|
|
69
|
+
return ResourceConflictException;
|
|
70
|
+
}(__BaseException));
|
|
71
|
+
export { ResourceConflictException };
|
|
72
|
+
var ResourceNotFoundException = (function (_super) {
|
|
73
|
+
__extends(ResourceNotFoundException, _super);
|
|
74
|
+
function ResourceNotFoundException(opts) {
|
|
75
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
76
|
+
_this.name = "ResourceNotFoundException";
|
|
77
|
+
_this.$fault = "client";
|
|
78
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
79
|
+
_this.Type = opts.Type;
|
|
80
|
+
_this.Message = opts.Message;
|
|
81
|
+
return _this;
|
|
82
|
+
}
|
|
83
|
+
return ResourceNotFoundException;
|
|
84
|
+
}(__BaseException));
|
|
85
|
+
export { ResourceNotFoundException };
|
|
86
|
+
var ServiceException = (function (_super) {
|
|
87
|
+
__extends(ServiceException, _super);
|
|
88
|
+
function ServiceException(opts) {
|
|
89
|
+
var _this = _super.call(this, __assign({ name: "ServiceException", $fault: "server" }, opts)) || this;
|
|
90
|
+
_this.name = "ServiceException";
|
|
91
|
+
_this.$fault = "server";
|
|
92
|
+
Object.setPrototypeOf(_this, ServiceException.prototype);
|
|
93
|
+
_this.Type = opts.Type;
|
|
94
|
+
_this.Message = opts.Message;
|
|
95
|
+
return _this;
|
|
96
|
+
}
|
|
97
|
+
return ServiceException;
|
|
98
|
+
}(__BaseException));
|
|
99
|
+
export { ServiceException };
|
|
19
100
|
export var ThrottleReason;
|
|
20
101
|
(function (ThrottleReason) {
|
|
21
102
|
ThrottleReason["CallerRateLimitExceeded"] = "CallerRateLimitExceeded";
|
|
@@ -24,6 +105,21 @@ export var ThrottleReason;
|
|
|
24
105
|
ThrottleReason["ReservedFunctionConcurrentInvocationLimitExceeded"] = "ReservedFunctionConcurrentInvocationLimitExceeded";
|
|
25
106
|
ThrottleReason["ReservedFunctionInvocationRateLimitExceeded"] = "ReservedFunctionInvocationRateLimitExceeded";
|
|
26
107
|
})(ThrottleReason || (ThrottleReason = {}));
|
|
108
|
+
var TooManyRequestsException = (function (_super) {
|
|
109
|
+
__extends(TooManyRequestsException, _super);
|
|
110
|
+
function TooManyRequestsException(opts) {
|
|
111
|
+
var _this = _super.call(this, __assign({ name: "TooManyRequestsException", $fault: "client" }, opts)) || this;
|
|
112
|
+
_this.name = "TooManyRequestsException";
|
|
113
|
+
_this.$fault = "client";
|
|
114
|
+
Object.setPrototypeOf(_this, TooManyRequestsException.prototype);
|
|
115
|
+
_this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
116
|
+
_this.Type = opts.Type;
|
|
117
|
+
_this.Reason = opts.Reason;
|
|
118
|
+
return _this;
|
|
119
|
+
}
|
|
120
|
+
return TooManyRequestsException;
|
|
121
|
+
}(__BaseException));
|
|
122
|
+
export { TooManyRequestsException };
|
|
27
123
|
export var AddPermissionRequest;
|
|
28
124
|
(function (AddPermissionRequest) {
|
|
29
125
|
AddPermissionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -135,6 +231,47 @@ export var EventSourceMappingConfiguration;
|
|
|
135
231
|
(function (EventSourceMappingConfiguration) {
|
|
136
232
|
EventSourceMappingConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
137
233
|
})(EventSourceMappingConfiguration || (EventSourceMappingConfiguration = {}));
|
|
234
|
+
var CodeSigningConfigNotFoundException = (function (_super) {
|
|
235
|
+
__extends(CodeSigningConfigNotFoundException, _super);
|
|
236
|
+
function CodeSigningConfigNotFoundException(opts) {
|
|
237
|
+
var _this = _super.call(this, __assign({ name: "CodeSigningConfigNotFoundException", $fault: "client" }, opts)) || this;
|
|
238
|
+
_this.name = "CodeSigningConfigNotFoundException";
|
|
239
|
+
_this.$fault = "client";
|
|
240
|
+
Object.setPrototypeOf(_this, CodeSigningConfigNotFoundException.prototype);
|
|
241
|
+
_this.Type = opts.Type;
|
|
242
|
+
_this.Message = opts.Message;
|
|
243
|
+
return _this;
|
|
244
|
+
}
|
|
245
|
+
return CodeSigningConfigNotFoundException;
|
|
246
|
+
}(__BaseException));
|
|
247
|
+
export { CodeSigningConfigNotFoundException };
|
|
248
|
+
var CodeStorageExceededException = (function (_super) {
|
|
249
|
+
__extends(CodeStorageExceededException, _super);
|
|
250
|
+
function CodeStorageExceededException(opts) {
|
|
251
|
+
var _this = _super.call(this, __assign({ name: "CodeStorageExceededException", $fault: "client" }, opts)) || this;
|
|
252
|
+
_this.name = "CodeStorageExceededException";
|
|
253
|
+
_this.$fault = "client";
|
|
254
|
+
Object.setPrototypeOf(_this, CodeStorageExceededException.prototype);
|
|
255
|
+
_this.Type = opts.Type;
|
|
256
|
+
return _this;
|
|
257
|
+
}
|
|
258
|
+
return CodeStorageExceededException;
|
|
259
|
+
}(__BaseException));
|
|
260
|
+
export { CodeStorageExceededException };
|
|
261
|
+
var CodeVerificationFailedException = (function (_super) {
|
|
262
|
+
__extends(CodeVerificationFailedException, _super);
|
|
263
|
+
function CodeVerificationFailedException(opts) {
|
|
264
|
+
var _this = _super.call(this, __assign({ name: "CodeVerificationFailedException", $fault: "client" }, opts)) || this;
|
|
265
|
+
_this.name = "CodeVerificationFailedException";
|
|
266
|
+
_this.$fault = "client";
|
|
267
|
+
Object.setPrototypeOf(_this, CodeVerificationFailedException.prototype);
|
|
268
|
+
_this.Type = opts.Type;
|
|
269
|
+
_this.Message = opts.Message;
|
|
270
|
+
return _this;
|
|
271
|
+
}
|
|
272
|
+
return CodeVerificationFailedException;
|
|
273
|
+
}(__BaseException));
|
|
274
|
+
export { CodeVerificationFailedException };
|
|
138
275
|
export var FunctionCode;
|
|
139
276
|
(function (FunctionCode) {
|
|
140
277
|
FunctionCode.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ZipFile && { ZipFile: SENSITIVE_STRING }))); };
|
|
@@ -162,6 +299,7 @@ export var PackageType;
|
|
|
162
299
|
})(PackageType || (PackageType = {}));
|
|
163
300
|
export var Runtime;
|
|
164
301
|
(function (Runtime) {
|
|
302
|
+
Runtime["dotnet6"] = "dotnet6";
|
|
165
303
|
Runtime["dotnetcore10"] = "dotnetcore1.0";
|
|
166
304
|
Runtime["dotnetcore20"] = "dotnetcore2.0";
|
|
167
305
|
Runtime["dotnetcore21"] = "dotnetcore2.1";
|
|
@@ -281,6 +419,20 @@ export var FunctionConfiguration;
|
|
|
281
419
|
ImageConfigResponse: ImageConfigResponse.filterSensitiveLog(obj.ImageConfigResponse),
|
|
282
420
|
}))); };
|
|
283
421
|
})(FunctionConfiguration || (FunctionConfiguration = {}));
|
|
422
|
+
var InvalidCodeSignatureException = (function (_super) {
|
|
423
|
+
__extends(InvalidCodeSignatureException, _super);
|
|
424
|
+
function InvalidCodeSignatureException(opts) {
|
|
425
|
+
var _this = _super.call(this, __assign({ name: "InvalidCodeSignatureException", $fault: "client" }, opts)) || this;
|
|
426
|
+
_this.name = "InvalidCodeSignatureException";
|
|
427
|
+
_this.$fault = "client";
|
|
428
|
+
Object.setPrototypeOf(_this, InvalidCodeSignatureException.prototype);
|
|
429
|
+
_this.Type = opts.Type;
|
|
430
|
+
_this.Message = opts.Message;
|
|
431
|
+
return _this;
|
|
432
|
+
}
|
|
433
|
+
return InvalidCodeSignatureException;
|
|
434
|
+
}(__BaseException));
|
|
435
|
+
export { InvalidCodeSignatureException };
|
|
284
436
|
export var DeleteAliasRequest;
|
|
285
437
|
(function (DeleteAliasRequest) {
|
|
286
438
|
DeleteAliasRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -297,6 +449,20 @@ export var DeleteEventSourceMappingRequest;
|
|
|
297
449
|
(function (DeleteEventSourceMappingRequest) {
|
|
298
450
|
DeleteEventSourceMappingRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
299
451
|
})(DeleteEventSourceMappingRequest || (DeleteEventSourceMappingRequest = {}));
|
|
452
|
+
var ResourceInUseException = (function (_super) {
|
|
453
|
+
__extends(ResourceInUseException, _super);
|
|
454
|
+
function ResourceInUseException(opts) {
|
|
455
|
+
var _this = _super.call(this, __assign({ name: "ResourceInUseException", $fault: "client" }, opts)) || this;
|
|
456
|
+
_this.name = "ResourceInUseException";
|
|
457
|
+
_this.$fault = "client";
|
|
458
|
+
Object.setPrototypeOf(_this, ResourceInUseException.prototype);
|
|
459
|
+
_this.Type = opts.Type;
|
|
460
|
+
_this.Message = opts.Message;
|
|
461
|
+
return _this;
|
|
462
|
+
}
|
|
463
|
+
return ResourceInUseException;
|
|
464
|
+
}(__BaseException));
|
|
465
|
+
export { ResourceInUseException };
|
|
300
466
|
export var DeleteFunctionRequest;
|
|
301
467
|
(function (DeleteFunctionRequest) {
|
|
302
468
|
DeleteFunctionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -435,6 +601,201 @@ export var GetProvisionedConcurrencyConfigResponse;
|
|
|
435
601
|
(function (GetProvisionedConcurrencyConfigResponse) {
|
|
436
602
|
GetProvisionedConcurrencyConfigResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
437
603
|
})(GetProvisionedConcurrencyConfigResponse || (GetProvisionedConcurrencyConfigResponse = {}));
|
|
604
|
+
var ProvisionedConcurrencyConfigNotFoundException = (function (_super) {
|
|
605
|
+
__extends(ProvisionedConcurrencyConfigNotFoundException, _super);
|
|
606
|
+
function ProvisionedConcurrencyConfigNotFoundException(opts) {
|
|
607
|
+
var _this = _super.call(this, __assign({ name: "ProvisionedConcurrencyConfigNotFoundException", $fault: "client" }, opts)) || this;
|
|
608
|
+
_this.name = "ProvisionedConcurrencyConfigNotFoundException";
|
|
609
|
+
_this.$fault = "client";
|
|
610
|
+
Object.setPrototypeOf(_this, ProvisionedConcurrencyConfigNotFoundException.prototype);
|
|
611
|
+
_this.Type = opts.Type;
|
|
612
|
+
return _this;
|
|
613
|
+
}
|
|
614
|
+
return ProvisionedConcurrencyConfigNotFoundException;
|
|
615
|
+
}(__BaseException));
|
|
616
|
+
export { ProvisionedConcurrencyConfigNotFoundException };
|
|
617
|
+
var EC2AccessDeniedException = (function (_super) {
|
|
618
|
+
__extends(EC2AccessDeniedException, _super);
|
|
619
|
+
function EC2AccessDeniedException(opts) {
|
|
620
|
+
var _this = _super.call(this, __assign({ name: "EC2AccessDeniedException", $fault: "server" }, opts)) || this;
|
|
621
|
+
_this.name = "EC2AccessDeniedException";
|
|
622
|
+
_this.$fault = "server";
|
|
623
|
+
Object.setPrototypeOf(_this, EC2AccessDeniedException.prototype);
|
|
624
|
+
_this.Type = opts.Type;
|
|
625
|
+
_this.Message = opts.Message;
|
|
626
|
+
return _this;
|
|
627
|
+
}
|
|
628
|
+
return EC2AccessDeniedException;
|
|
629
|
+
}(__BaseException));
|
|
630
|
+
export { EC2AccessDeniedException };
|
|
631
|
+
var EC2ThrottledException = (function (_super) {
|
|
632
|
+
__extends(EC2ThrottledException, _super);
|
|
633
|
+
function EC2ThrottledException(opts) {
|
|
634
|
+
var _this = _super.call(this, __assign({ name: "EC2ThrottledException", $fault: "server" }, opts)) || this;
|
|
635
|
+
_this.name = "EC2ThrottledException";
|
|
636
|
+
_this.$fault = "server";
|
|
637
|
+
Object.setPrototypeOf(_this, EC2ThrottledException.prototype);
|
|
638
|
+
_this.Type = opts.Type;
|
|
639
|
+
_this.Message = opts.Message;
|
|
640
|
+
return _this;
|
|
641
|
+
}
|
|
642
|
+
return EC2ThrottledException;
|
|
643
|
+
}(__BaseException));
|
|
644
|
+
export { EC2ThrottledException };
|
|
645
|
+
var EC2UnexpectedException = (function (_super) {
|
|
646
|
+
__extends(EC2UnexpectedException, _super);
|
|
647
|
+
function EC2UnexpectedException(opts) {
|
|
648
|
+
var _this = _super.call(this, __assign({ name: "EC2UnexpectedException", $fault: "server" }, opts)) || this;
|
|
649
|
+
_this.name = "EC2UnexpectedException";
|
|
650
|
+
_this.$fault = "server";
|
|
651
|
+
Object.setPrototypeOf(_this, EC2UnexpectedException.prototype);
|
|
652
|
+
_this.Type = opts.Type;
|
|
653
|
+
_this.Message = opts.Message;
|
|
654
|
+
_this.EC2ErrorCode = opts.EC2ErrorCode;
|
|
655
|
+
return _this;
|
|
656
|
+
}
|
|
657
|
+
return EC2UnexpectedException;
|
|
658
|
+
}(__BaseException));
|
|
659
|
+
export { EC2UnexpectedException };
|
|
660
|
+
var EFSIOException = (function (_super) {
|
|
661
|
+
__extends(EFSIOException, _super);
|
|
662
|
+
function EFSIOException(opts) {
|
|
663
|
+
var _this = _super.call(this, __assign({ name: "EFSIOException", $fault: "client" }, opts)) || this;
|
|
664
|
+
_this.name = "EFSIOException";
|
|
665
|
+
_this.$fault = "client";
|
|
666
|
+
Object.setPrototypeOf(_this, EFSIOException.prototype);
|
|
667
|
+
_this.Type = opts.Type;
|
|
668
|
+
_this.Message = opts.Message;
|
|
669
|
+
return _this;
|
|
670
|
+
}
|
|
671
|
+
return EFSIOException;
|
|
672
|
+
}(__BaseException));
|
|
673
|
+
export { EFSIOException };
|
|
674
|
+
var EFSMountConnectivityException = (function (_super) {
|
|
675
|
+
__extends(EFSMountConnectivityException, _super);
|
|
676
|
+
function EFSMountConnectivityException(opts) {
|
|
677
|
+
var _this = _super.call(this, __assign({ name: "EFSMountConnectivityException", $fault: "client" }, opts)) || this;
|
|
678
|
+
_this.name = "EFSMountConnectivityException";
|
|
679
|
+
_this.$fault = "client";
|
|
680
|
+
Object.setPrototypeOf(_this, EFSMountConnectivityException.prototype);
|
|
681
|
+
_this.Type = opts.Type;
|
|
682
|
+
_this.Message = opts.Message;
|
|
683
|
+
return _this;
|
|
684
|
+
}
|
|
685
|
+
return EFSMountConnectivityException;
|
|
686
|
+
}(__BaseException));
|
|
687
|
+
export { EFSMountConnectivityException };
|
|
688
|
+
var EFSMountFailureException = (function (_super) {
|
|
689
|
+
__extends(EFSMountFailureException, _super);
|
|
690
|
+
function EFSMountFailureException(opts) {
|
|
691
|
+
var _this = _super.call(this, __assign({ name: "EFSMountFailureException", $fault: "client" }, opts)) || this;
|
|
692
|
+
_this.name = "EFSMountFailureException";
|
|
693
|
+
_this.$fault = "client";
|
|
694
|
+
Object.setPrototypeOf(_this, EFSMountFailureException.prototype);
|
|
695
|
+
_this.Type = opts.Type;
|
|
696
|
+
_this.Message = opts.Message;
|
|
697
|
+
return _this;
|
|
698
|
+
}
|
|
699
|
+
return EFSMountFailureException;
|
|
700
|
+
}(__BaseException));
|
|
701
|
+
export { EFSMountFailureException };
|
|
702
|
+
var EFSMountTimeoutException = (function (_super) {
|
|
703
|
+
__extends(EFSMountTimeoutException, _super);
|
|
704
|
+
function EFSMountTimeoutException(opts) {
|
|
705
|
+
var _this = _super.call(this, __assign({ name: "EFSMountTimeoutException", $fault: "client" }, opts)) || this;
|
|
706
|
+
_this.name = "EFSMountTimeoutException";
|
|
707
|
+
_this.$fault = "client";
|
|
708
|
+
Object.setPrototypeOf(_this, EFSMountTimeoutException.prototype);
|
|
709
|
+
_this.Type = opts.Type;
|
|
710
|
+
_this.Message = opts.Message;
|
|
711
|
+
return _this;
|
|
712
|
+
}
|
|
713
|
+
return EFSMountTimeoutException;
|
|
714
|
+
}(__BaseException));
|
|
715
|
+
export { EFSMountTimeoutException };
|
|
716
|
+
var ENILimitReachedException = (function (_super) {
|
|
717
|
+
__extends(ENILimitReachedException, _super);
|
|
718
|
+
function ENILimitReachedException(opts) {
|
|
719
|
+
var _this = _super.call(this, __assign({ name: "ENILimitReachedException", $fault: "server" }, opts)) || this;
|
|
720
|
+
_this.name = "ENILimitReachedException";
|
|
721
|
+
_this.$fault = "server";
|
|
722
|
+
Object.setPrototypeOf(_this, ENILimitReachedException.prototype);
|
|
723
|
+
_this.Type = opts.Type;
|
|
724
|
+
_this.Message = opts.Message;
|
|
725
|
+
return _this;
|
|
726
|
+
}
|
|
727
|
+
return ENILimitReachedException;
|
|
728
|
+
}(__BaseException));
|
|
729
|
+
export { ENILimitReachedException };
|
|
730
|
+
var InvalidRequestContentException = (function (_super) {
|
|
731
|
+
__extends(InvalidRequestContentException, _super);
|
|
732
|
+
function InvalidRequestContentException(opts) {
|
|
733
|
+
var _this = _super.call(this, __assign({ name: "InvalidRequestContentException", $fault: "client" }, opts)) || this;
|
|
734
|
+
_this.name = "InvalidRequestContentException";
|
|
735
|
+
_this.$fault = "client";
|
|
736
|
+
Object.setPrototypeOf(_this, InvalidRequestContentException.prototype);
|
|
737
|
+
_this.Type = opts.Type;
|
|
738
|
+
return _this;
|
|
739
|
+
}
|
|
740
|
+
return InvalidRequestContentException;
|
|
741
|
+
}(__BaseException));
|
|
742
|
+
export { InvalidRequestContentException };
|
|
743
|
+
var InvalidRuntimeException = (function (_super) {
|
|
744
|
+
__extends(InvalidRuntimeException, _super);
|
|
745
|
+
function InvalidRuntimeException(opts) {
|
|
746
|
+
var _this = _super.call(this, __assign({ name: "InvalidRuntimeException", $fault: "server" }, opts)) || this;
|
|
747
|
+
_this.name = "InvalidRuntimeException";
|
|
748
|
+
_this.$fault = "server";
|
|
749
|
+
Object.setPrototypeOf(_this, InvalidRuntimeException.prototype);
|
|
750
|
+
_this.Type = opts.Type;
|
|
751
|
+
_this.Message = opts.Message;
|
|
752
|
+
return _this;
|
|
753
|
+
}
|
|
754
|
+
return InvalidRuntimeException;
|
|
755
|
+
}(__BaseException));
|
|
756
|
+
export { InvalidRuntimeException };
|
|
757
|
+
var InvalidSecurityGroupIDException = (function (_super) {
|
|
758
|
+
__extends(InvalidSecurityGroupIDException, _super);
|
|
759
|
+
function InvalidSecurityGroupIDException(opts) {
|
|
760
|
+
var _this = _super.call(this, __assign({ name: "InvalidSecurityGroupIDException", $fault: "server" }, opts)) || this;
|
|
761
|
+
_this.name = "InvalidSecurityGroupIDException";
|
|
762
|
+
_this.$fault = "server";
|
|
763
|
+
Object.setPrototypeOf(_this, InvalidSecurityGroupIDException.prototype);
|
|
764
|
+
_this.Type = opts.Type;
|
|
765
|
+
_this.Message = opts.Message;
|
|
766
|
+
return _this;
|
|
767
|
+
}
|
|
768
|
+
return InvalidSecurityGroupIDException;
|
|
769
|
+
}(__BaseException));
|
|
770
|
+
export { InvalidSecurityGroupIDException };
|
|
771
|
+
var InvalidSubnetIDException = (function (_super) {
|
|
772
|
+
__extends(InvalidSubnetIDException, _super);
|
|
773
|
+
function InvalidSubnetIDException(opts) {
|
|
774
|
+
var _this = _super.call(this, __assign({ name: "InvalidSubnetIDException", $fault: "server" }, opts)) || this;
|
|
775
|
+
_this.name = "InvalidSubnetIDException";
|
|
776
|
+
_this.$fault = "server";
|
|
777
|
+
Object.setPrototypeOf(_this, InvalidSubnetIDException.prototype);
|
|
778
|
+
_this.Type = opts.Type;
|
|
779
|
+
_this.Message = opts.Message;
|
|
780
|
+
return _this;
|
|
781
|
+
}
|
|
782
|
+
return InvalidSubnetIDException;
|
|
783
|
+
}(__BaseException));
|
|
784
|
+
export { InvalidSubnetIDException };
|
|
785
|
+
var InvalidZipFileException = (function (_super) {
|
|
786
|
+
__extends(InvalidZipFileException, _super);
|
|
787
|
+
function InvalidZipFileException(opts) {
|
|
788
|
+
var _this = _super.call(this, __assign({ name: "InvalidZipFileException", $fault: "server" }, opts)) || this;
|
|
789
|
+
_this.name = "InvalidZipFileException";
|
|
790
|
+
_this.$fault = "server";
|
|
791
|
+
Object.setPrototypeOf(_this, InvalidZipFileException.prototype);
|
|
792
|
+
_this.Type = opts.Type;
|
|
793
|
+
_this.Message = opts.Message;
|
|
794
|
+
return _this;
|
|
795
|
+
}
|
|
796
|
+
return InvalidZipFileException;
|
|
797
|
+
}(__BaseException));
|
|
798
|
+
export { InvalidZipFileException };
|
|
438
799
|
export var InvocationType;
|
|
439
800
|
(function (InvocationType) {
|
|
440
801
|
InvocationType["DryRun"] = "DryRun";
|
|
@@ -454,6 +815,115 @@ export var InvocationResponse;
|
|
|
454
815
|
(function (InvocationResponse) {
|
|
455
816
|
InvocationResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Payload && { Payload: SENSITIVE_STRING }))); };
|
|
456
817
|
})(InvocationResponse || (InvocationResponse = {}));
|
|
818
|
+
var KMSAccessDeniedException = (function (_super) {
|
|
819
|
+
__extends(KMSAccessDeniedException, _super);
|
|
820
|
+
function KMSAccessDeniedException(opts) {
|
|
821
|
+
var _this = _super.call(this, __assign({ name: "KMSAccessDeniedException", $fault: "server" }, opts)) || this;
|
|
822
|
+
_this.name = "KMSAccessDeniedException";
|
|
823
|
+
_this.$fault = "server";
|
|
824
|
+
Object.setPrototypeOf(_this, KMSAccessDeniedException.prototype);
|
|
825
|
+
_this.Type = opts.Type;
|
|
826
|
+
_this.Message = opts.Message;
|
|
827
|
+
return _this;
|
|
828
|
+
}
|
|
829
|
+
return KMSAccessDeniedException;
|
|
830
|
+
}(__BaseException));
|
|
831
|
+
export { KMSAccessDeniedException };
|
|
832
|
+
var KMSDisabledException = (function (_super) {
|
|
833
|
+
__extends(KMSDisabledException, _super);
|
|
834
|
+
function KMSDisabledException(opts) {
|
|
835
|
+
var _this = _super.call(this, __assign({ name: "KMSDisabledException", $fault: "server" }, opts)) || this;
|
|
836
|
+
_this.name = "KMSDisabledException";
|
|
837
|
+
_this.$fault = "server";
|
|
838
|
+
Object.setPrototypeOf(_this, KMSDisabledException.prototype);
|
|
839
|
+
_this.Type = opts.Type;
|
|
840
|
+
_this.Message = opts.Message;
|
|
841
|
+
return _this;
|
|
842
|
+
}
|
|
843
|
+
return KMSDisabledException;
|
|
844
|
+
}(__BaseException));
|
|
845
|
+
export { KMSDisabledException };
|
|
846
|
+
var KMSInvalidStateException = (function (_super) {
|
|
847
|
+
__extends(KMSInvalidStateException, _super);
|
|
848
|
+
function KMSInvalidStateException(opts) {
|
|
849
|
+
var _this = _super.call(this, __assign({ name: "KMSInvalidStateException", $fault: "server" }, opts)) || this;
|
|
850
|
+
_this.name = "KMSInvalidStateException";
|
|
851
|
+
_this.$fault = "server";
|
|
852
|
+
Object.setPrototypeOf(_this, KMSInvalidStateException.prototype);
|
|
853
|
+
_this.Type = opts.Type;
|
|
854
|
+
_this.Message = opts.Message;
|
|
855
|
+
return _this;
|
|
856
|
+
}
|
|
857
|
+
return KMSInvalidStateException;
|
|
858
|
+
}(__BaseException));
|
|
859
|
+
export { KMSInvalidStateException };
|
|
860
|
+
var KMSNotFoundException = (function (_super) {
|
|
861
|
+
__extends(KMSNotFoundException, _super);
|
|
862
|
+
function KMSNotFoundException(opts) {
|
|
863
|
+
var _this = _super.call(this, __assign({ name: "KMSNotFoundException", $fault: "server" }, opts)) || this;
|
|
864
|
+
_this.name = "KMSNotFoundException";
|
|
865
|
+
_this.$fault = "server";
|
|
866
|
+
Object.setPrototypeOf(_this, KMSNotFoundException.prototype);
|
|
867
|
+
_this.Type = opts.Type;
|
|
868
|
+
_this.Message = opts.Message;
|
|
869
|
+
return _this;
|
|
870
|
+
}
|
|
871
|
+
return KMSNotFoundException;
|
|
872
|
+
}(__BaseException));
|
|
873
|
+
export { KMSNotFoundException };
|
|
874
|
+
var RequestTooLargeException = (function (_super) {
|
|
875
|
+
__extends(RequestTooLargeException, _super);
|
|
876
|
+
function RequestTooLargeException(opts) {
|
|
877
|
+
var _this = _super.call(this, __assign({ name: "RequestTooLargeException", $fault: "client" }, opts)) || this;
|
|
878
|
+
_this.name = "RequestTooLargeException";
|
|
879
|
+
_this.$fault = "client";
|
|
880
|
+
Object.setPrototypeOf(_this, RequestTooLargeException.prototype);
|
|
881
|
+
_this.Type = opts.Type;
|
|
882
|
+
return _this;
|
|
883
|
+
}
|
|
884
|
+
return RequestTooLargeException;
|
|
885
|
+
}(__BaseException));
|
|
886
|
+
export { RequestTooLargeException };
|
|
887
|
+
var ResourceNotReadyException = (function (_super) {
|
|
888
|
+
__extends(ResourceNotReadyException, _super);
|
|
889
|
+
function ResourceNotReadyException(opts) {
|
|
890
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotReadyException", $fault: "server" }, opts)) || this;
|
|
891
|
+
_this.name = "ResourceNotReadyException";
|
|
892
|
+
_this.$fault = "server";
|
|
893
|
+
Object.setPrototypeOf(_this, ResourceNotReadyException.prototype);
|
|
894
|
+
_this.Type = opts.Type;
|
|
895
|
+
return _this;
|
|
896
|
+
}
|
|
897
|
+
return ResourceNotReadyException;
|
|
898
|
+
}(__BaseException));
|
|
899
|
+
export { ResourceNotReadyException };
|
|
900
|
+
var SubnetIPAddressLimitReachedException = (function (_super) {
|
|
901
|
+
__extends(SubnetIPAddressLimitReachedException, _super);
|
|
902
|
+
function SubnetIPAddressLimitReachedException(opts) {
|
|
903
|
+
var _this = _super.call(this, __assign({ name: "SubnetIPAddressLimitReachedException", $fault: "server" }, opts)) || this;
|
|
904
|
+
_this.name = "SubnetIPAddressLimitReachedException";
|
|
905
|
+
_this.$fault = "server";
|
|
906
|
+
Object.setPrototypeOf(_this, SubnetIPAddressLimitReachedException.prototype);
|
|
907
|
+
_this.Type = opts.Type;
|
|
908
|
+
_this.Message = opts.Message;
|
|
909
|
+
return _this;
|
|
910
|
+
}
|
|
911
|
+
return SubnetIPAddressLimitReachedException;
|
|
912
|
+
}(__BaseException));
|
|
913
|
+
export { SubnetIPAddressLimitReachedException };
|
|
914
|
+
var UnsupportedMediaTypeException = (function (_super) {
|
|
915
|
+
__extends(UnsupportedMediaTypeException, _super);
|
|
916
|
+
function UnsupportedMediaTypeException(opts) {
|
|
917
|
+
var _this = _super.call(this, __assign({ name: "UnsupportedMediaTypeException", $fault: "client" }, opts)) || this;
|
|
918
|
+
_this.name = "UnsupportedMediaTypeException";
|
|
919
|
+
_this.$fault = "client";
|
|
920
|
+
Object.setPrototypeOf(_this, UnsupportedMediaTypeException.prototype);
|
|
921
|
+
_this.Type = opts.Type;
|
|
922
|
+
return _this;
|
|
923
|
+
}
|
|
924
|
+
return UnsupportedMediaTypeException;
|
|
925
|
+
}(__BaseException));
|
|
926
|
+
export { UnsupportedMediaTypeException };
|
|
457
927
|
export var InvokeAsyncRequest;
|
|
458
928
|
(function (InvokeAsyncRequest) {
|
|
459
929
|
InvokeAsyncRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|