@aws-sdk/client-ec2-instance-connect 3.183.0 → 3.185.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/EC2InstanceConnect.js +17 -10
- package/dist-es/EC2InstanceConnectClient.js +28 -22
- package/dist-es/commands/SendSSHPublicKeyCommand.js +28 -21
- package/dist-es/commands/SendSerialConsoleSSHPublicKeyCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/EC2InstanceConnectServiceException.js +10 -5
- package/dist-es/models/models_0.js +137 -144
- package/dist-es/protocols/Aws_json1_1.js +358 -287
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.185.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.184.0...v3.185.0) (2022-10-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **codegen:** add deser check for x-amz-request-id ([#4015](https://github.com/aws/aws-sdk-js-v3/issues/4015)) ([6ff07bd](https://github.com/aws/aws-sdk-js-v3/commit/6ff07bd7e72bd56725f318013ac1d6d0fbbcdd9a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-ec2-instance-connect
|
|
@@ -323,10 +323,10 @@ const deserializeAws_json1_1ThrottlingException = (output, context) => {
|
|
|
323
323
|
};
|
|
324
324
|
};
|
|
325
325
|
const deserializeMetadata = (output) => {
|
|
326
|
-
var _a;
|
|
326
|
+
var _a, _b;
|
|
327
327
|
return ({
|
|
328
328
|
httpStatusCode: output.statusCode,
|
|
329
|
-
requestId: (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"],
|
|
329
|
+
requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
|
|
330
330
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
331
331
|
cfId: output.headers["x-amz-cf-id"],
|
|
332
332
|
});
|
|
@@ -1,33 +1,40 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { SendSerialConsoleSSHPublicKeyCommand, } from "./commands/SendSerialConsoleSSHPublicKeyCommand";
|
|
2
3
|
import { SendSSHPublicKeyCommand, } from "./commands/SendSSHPublicKeyCommand";
|
|
3
4
|
import { EC2InstanceConnectClient } from "./EC2InstanceConnectClient";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
var EC2InstanceConnect = (function (_super) {
|
|
6
|
+
__extends(EC2InstanceConnect, _super);
|
|
7
|
+
function EC2InstanceConnect() {
|
|
8
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
9
|
+
}
|
|
10
|
+
EC2InstanceConnect.prototype.sendSerialConsoleSSHPublicKey = function (args, optionsOrCb, cb) {
|
|
11
|
+
var command = new SendSerialConsoleSSHPublicKeyCommand(args);
|
|
7
12
|
if (typeof optionsOrCb === "function") {
|
|
8
13
|
this.send(command, optionsOrCb);
|
|
9
14
|
}
|
|
10
15
|
else if (typeof cb === "function") {
|
|
11
16
|
if (typeof optionsOrCb !== "object")
|
|
12
|
-
throw new Error(
|
|
17
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
13
18
|
this.send(command, optionsOrCb || {}, cb);
|
|
14
19
|
}
|
|
15
20
|
else {
|
|
16
21
|
return this.send(command, optionsOrCb);
|
|
17
22
|
}
|
|
18
|
-
}
|
|
19
|
-
sendSSHPublicKey(args, optionsOrCb, cb) {
|
|
20
|
-
|
|
23
|
+
};
|
|
24
|
+
EC2InstanceConnect.prototype.sendSSHPublicKey = function (args, optionsOrCb, cb) {
|
|
25
|
+
var command = new SendSSHPublicKeyCommand(args);
|
|
21
26
|
if (typeof optionsOrCb === "function") {
|
|
22
27
|
this.send(command, optionsOrCb);
|
|
23
28
|
}
|
|
24
29
|
else if (typeof cb === "function") {
|
|
25
30
|
if (typeof optionsOrCb !== "object")
|
|
26
|
-
throw new Error(
|
|
31
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
27
32
|
this.send(command, optionsOrCb || {}, cb);
|
|
28
33
|
}
|
|
29
34
|
else {
|
|
30
35
|
return this.send(command, optionsOrCb);
|
|
31
36
|
}
|
|
32
|
-
}
|
|
33
|
-
|
|
37
|
+
};
|
|
38
|
+
return EC2InstanceConnect;
|
|
39
|
+
}(EC2InstanceConnectClient));
|
|
40
|
+
export { EC2InstanceConnect };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
2
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
11
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
var EC2InstanceConnectClient = (function (_super) {
|
|
13
|
+
__extends(EC2InstanceConnectClient, _super);
|
|
14
|
+
function EC2InstanceConnectClient(configuration) {
|
|
15
|
+
var _this = this;
|
|
16
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
17
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
18
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
19
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
20
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
21
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
22
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
23
|
+
_this = _super.call(this, _config_6) || this;
|
|
24
|
+
_this.config = _config_6;
|
|
25
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
26
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
27
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
28
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
30
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
+
return _this;
|
|
29
33
|
}
|
|
30
|
-
destroy() {
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
+
EC2InstanceConnectClient.prototype.destroy = function () {
|
|
35
|
+
_super.prototype.destroy.call(this);
|
|
36
|
+
};
|
|
37
|
+
return EC2InstanceConnectClient;
|
|
38
|
+
}(__Client));
|
|
39
|
+
export { EC2InstanceConnectClient };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { SendSSHPublicKeyRequestFilterSensitiveLog, SendSSHPublicKeyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1SendSSHPublicKeyCommand, serializeAws_json1_1SendSSHPublicKeyCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var SendSSHPublicKeyCommand = (function (_super) {
|
|
7
|
+
__extends(SendSSHPublicKeyCommand, _super);
|
|
8
|
+
function SendSSHPublicKeyCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
SendSSHPublicKeyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "EC2InstanceConnectClient";
|
|
18
|
+
var commandName = "SendSSHPublicKeyCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: SendSSHPublicKeyRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: SendSSHPublicKeyResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
SendSSHPublicKeyCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1SendSSHPublicKeyCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
SendSSHPublicKeyCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1SendSSHPublicKeyCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return SendSSHPublicKeyCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { SendSSHPublicKeyCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { SendSerialConsoleSSHPublicKeyRequestFilterSensitiveLog, SendSerialConsoleSSHPublicKeyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1SendSerialConsoleSSHPublicKeyCommand, serializeAws_json1_1SendSerialConsoleSSHPublicKeyCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var SendSerialConsoleSSHPublicKeyCommand = (function (_super) {
|
|
7
|
+
__extends(SendSerialConsoleSSHPublicKeyCommand, _super);
|
|
8
|
+
function SendSerialConsoleSSHPublicKeyCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
SendSerialConsoleSSHPublicKeyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "EC2InstanceConnectClient";
|
|
18
|
+
var commandName = "SendSerialConsoleSSHPublicKeyCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: SendSerialConsoleSSHPublicKeyRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: SendSerialConsoleSSHPublicKeyResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
SendSerialConsoleSSHPublicKeyCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1SendSerialConsoleSSHPublicKeyCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
SendSerialConsoleSSHPublicKeyCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1SendSerialConsoleSSHPublicKeyCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return SendSerialConsoleSSHPublicKeyCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { SendSerialConsoleSSHPublicKeyCommand };
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
var regionHash = {};
|
|
4
|
+
var partitionHash = {
|
|
4
5
|
aws: {
|
|
5
6
|
regions: [
|
|
6
7
|
"af-south-1",
|
|
@@ -120,9 +121,8 @@ const partitionHash = {
|
|
|
120
121
|
],
|
|
121
122
|
},
|
|
122
123
|
};
|
|
123
|
-
export
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
});
|
|
124
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
125
|
+
return __generator(this, function (_a) {
|
|
126
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "ec2-instance-connect", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
127
|
+
});
|
|
128
|
+
}); };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
var EC2InstanceConnectServiceException = (function (_super) {
|
|
4
|
+
__extends(EC2InstanceConnectServiceException, _super);
|
|
5
|
+
function EC2InstanceConnectServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, EC2InstanceConnectServiceException.prototype);
|
|
8
|
+
return _this;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
return EC2InstanceConnectServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { EC2InstanceConnectServiceException };
|
|
@@ -1,156 +1,149 @@
|
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
1
2
|
import { EC2InstanceConnectServiceException as __BaseException } from "./EC2InstanceConnectServiceException";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
Object.setPrototypeOf(this, AuthException.prototype);
|
|
12
|
-
this.Message = opts.Message;
|
|
3
|
+
var AuthException = (function (_super) {
|
|
4
|
+
__extends(AuthException, _super);
|
|
5
|
+
function AuthException(opts) {
|
|
6
|
+
var _this = _super.call(this, __assign({ name: "AuthException", $fault: "client" }, opts)) || this;
|
|
7
|
+
_this.name = "AuthException";
|
|
8
|
+
_this.$fault = "client";
|
|
9
|
+
Object.setPrototypeOf(_this, AuthException.prototype);
|
|
10
|
+
_this.Message = opts.Message;
|
|
11
|
+
return _this;
|
|
13
12
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
13
|
+
return AuthException;
|
|
14
|
+
}(__BaseException));
|
|
15
|
+
export { AuthException };
|
|
16
|
+
var EC2InstanceNotFoundException = (function (_super) {
|
|
17
|
+
__extends(EC2InstanceNotFoundException, _super);
|
|
18
|
+
function EC2InstanceNotFoundException(opts) {
|
|
19
|
+
var _this = _super.call(this, __assign({ name: "EC2InstanceNotFoundException", $fault: "client" }, opts)) || this;
|
|
20
|
+
_this.name = "EC2InstanceNotFoundException";
|
|
21
|
+
_this.$fault = "client";
|
|
22
|
+
Object.setPrototypeOf(_this, EC2InstanceNotFoundException.prototype);
|
|
23
|
+
_this.Message = opts.Message;
|
|
24
|
+
return _this;
|
|
26
25
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
26
|
+
return EC2InstanceNotFoundException;
|
|
27
|
+
}(__BaseException));
|
|
28
|
+
export { EC2InstanceNotFoundException };
|
|
29
|
+
var EC2InstanceStateInvalidException = (function (_super) {
|
|
30
|
+
__extends(EC2InstanceStateInvalidException, _super);
|
|
31
|
+
function EC2InstanceStateInvalidException(opts) {
|
|
32
|
+
var _this = _super.call(this, __assign({ name: "EC2InstanceStateInvalidException", $fault: "client" }, opts)) || this;
|
|
33
|
+
_this.name = "EC2InstanceStateInvalidException";
|
|
34
|
+
_this.$fault = "client";
|
|
35
|
+
Object.setPrototypeOf(_this, EC2InstanceStateInvalidException.prototype);
|
|
36
|
+
_this.Message = opts.Message;
|
|
37
|
+
return _this;
|
|
39
38
|
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
39
|
+
return EC2InstanceStateInvalidException;
|
|
40
|
+
}(__BaseException));
|
|
41
|
+
export { EC2InstanceStateInvalidException };
|
|
42
|
+
var EC2InstanceTypeInvalidException = (function (_super) {
|
|
43
|
+
__extends(EC2InstanceTypeInvalidException, _super);
|
|
44
|
+
function EC2InstanceTypeInvalidException(opts) {
|
|
45
|
+
var _this = _super.call(this, __assign({ name: "EC2InstanceTypeInvalidException", $fault: "client" }, opts)) || this;
|
|
46
|
+
_this.name = "EC2InstanceTypeInvalidException";
|
|
47
|
+
_this.$fault = "client";
|
|
48
|
+
Object.setPrototypeOf(_this, EC2InstanceTypeInvalidException.prototype);
|
|
49
|
+
_this.Message = opts.Message;
|
|
50
|
+
return _this;
|
|
52
51
|
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
52
|
+
return EC2InstanceTypeInvalidException;
|
|
53
|
+
}(__BaseException));
|
|
54
|
+
export { EC2InstanceTypeInvalidException };
|
|
55
|
+
var EC2InstanceUnavailableException = (function (_super) {
|
|
56
|
+
__extends(EC2InstanceUnavailableException, _super);
|
|
57
|
+
function EC2InstanceUnavailableException(opts) {
|
|
58
|
+
var _this = _super.call(this, __assign({ name: "EC2InstanceUnavailableException", $fault: "server" }, opts)) || this;
|
|
59
|
+
_this.name = "EC2InstanceUnavailableException";
|
|
60
|
+
_this.$fault = "server";
|
|
61
|
+
Object.setPrototypeOf(_this, EC2InstanceUnavailableException.prototype);
|
|
62
|
+
_this.Message = opts.Message;
|
|
63
|
+
return _this;
|
|
65
64
|
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
65
|
+
return EC2InstanceUnavailableException;
|
|
66
|
+
}(__BaseException));
|
|
67
|
+
export { EC2InstanceUnavailableException };
|
|
68
|
+
var InvalidArgsException = (function (_super) {
|
|
69
|
+
__extends(InvalidArgsException, _super);
|
|
70
|
+
function InvalidArgsException(opts) {
|
|
71
|
+
var _this = _super.call(this, __assign({ name: "InvalidArgsException", $fault: "client" }, opts)) || this;
|
|
72
|
+
_this.name = "InvalidArgsException";
|
|
73
|
+
_this.$fault = "client";
|
|
74
|
+
Object.setPrototypeOf(_this, InvalidArgsException.prototype);
|
|
75
|
+
_this.Message = opts.Message;
|
|
76
|
+
return _this;
|
|
78
77
|
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
78
|
+
return InvalidArgsException;
|
|
79
|
+
}(__BaseException));
|
|
80
|
+
export { InvalidArgsException };
|
|
81
|
+
var SerialConsoleAccessDisabledException = (function (_super) {
|
|
82
|
+
__extends(SerialConsoleAccessDisabledException, _super);
|
|
83
|
+
function SerialConsoleAccessDisabledException(opts) {
|
|
84
|
+
var _this = _super.call(this, __assign({ name: "SerialConsoleAccessDisabledException", $fault: "client" }, opts)) || this;
|
|
85
|
+
_this.name = "SerialConsoleAccessDisabledException";
|
|
86
|
+
_this.$fault = "client";
|
|
87
|
+
Object.setPrototypeOf(_this, SerialConsoleAccessDisabledException.prototype);
|
|
88
|
+
_this.Message = opts.Message;
|
|
89
|
+
return _this;
|
|
91
90
|
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
91
|
+
return SerialConsoleAccessDisabledException;
|
|
92
|
+
}(__BaseException));
|
|
93
|
+
export { SerialConsoleAccessDisabledException };
|
|
94
|
+
var SerialConsoleSessionLimitExceededException = (function (_super) {
|
|
95
|
+
__extends(SerialConsoleSessionLimitExceededException, _super);
|
|
96
|
+
function SerialConsoleSessionLimitExceededException(opts) {
|
|
97
|
+
var _this = _super.call(this, __assign({ name: "SerialConsoleSessionLimitExceededException", $fault: "client" }, opts)) || this;
|
|
98
|
+
_this.name = "SerialConsoleSessionLimitExceededException";
|
|
99
|
+
_this.$fault = "client";
|
|
100
|
+
Object.setPrototypeOf(_this, SerialConsoleSessionLimitExceededException.prototype);
|
|
101
|
+
_this.Message = opts.Message;
|
|
102
|
+
return _this;
|
|
104
103
|
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
104
|
+
return SerialConsoleSessionLimitExceededException;
|
|
105
|
+
}(__BaseException));
|
|
106
|
+
export { SerialConsoleSessionLimitExceededException };
|
|
107
|
+
var SerialConsoleSessionUnavailableException = (function (_super) {
|
|
108
|
+
__extends(SerialConsoleSessionUnavailableException, _super);
|
|
109
|
+
function SerialConsoleSessionUnavailableException(opts) {
|
|
110
|
+
var _this = _super.call(this, __assign({ name: "SerialConsoleSessionUnavailableException", $fault: "server" }, opts)) || this;
|
|
111
|
+
_this.name = "SerialConsoleSessionUnavailableException";
|
|
112
|
+
_this.$fault = "server";
|
|
113
|
+
Object.setPrototypeOf(_this, SerialConsoleSessionUnavailableException.prototype);
|
|
114
|
+
_this.Message = opts.Message;
|
|
115
|
+
return _this;
|
|
117
116
|
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
117
|
+
return SerialConsoleSessionUnavailableException;
|
|
118
|
+
}(__BaseException));
|
|
119
|
+
export { SerialConsoleSessionUnavailableException };
|
|
120
|
+
var ServiceException = (function (_super) {
|
|
121
|
+
__extends(ServiceException, _super);
|
|
122
|
+
function ServiceException(opts) {
|
|
123
|
+
var _this = _super.call(this, __assign({ name: "ServiceException", $fault: "server" }, opts)) || this;
|
|
124
|
+
_this.name = "ServiceException";
|
|
125
|
+
_this.$fault = "server";
|
|
126
|
+
Object.setPrototypeOf(_this, ServiceException.prototype);
|
|
127
|
+
_this.Message = opts.Message;
|
|
128
|
+
return _this;
|
|
130
129
|
}
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
130
|
+
return ServiceException;
|
|
131
|
+
}(__BaseException));
|
|
132
|
+
export { ServiceException };
|
|
133
|
+
var ThrottlingException = (function (_super) {
|
|
134
|
+
__extends(ThrottlingException, _super);
|
|
135
|
+
function ThrottlingException(opts) {
|
|
136
|
+
var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
|
|
137
|
+
_this.name = "ThrottlingException";
|
|
138
|
+
_this.$fault = "client";
|
|
139
|
+
Object.setPrototypeOf(_this, ThrottlingException.prototype);
|
|
140
|
+
_this.Message = opts.Message;
|
|
141
|
+
return _this;
|
|
143
142
|
}
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
});
|
|
148
|
-
export
|
|
149
|
-
|
|
150
|
-
});
|
|
151
|
-
export const SendSSHPublicKeyRequestFilterSensitiveLog = (obj) => ({
|
|
152
|
-
...obj,
|
|
153
|
-
});
|
|
154
|
-
export const SendSSHPublicKeyResponseFilterSensitiveLog = (obj) => ({
|
|
155
|
-
...obj,
|
|
156
|
-
});
|
|
143
|
+
return ThrottlingException;
|
|
144
|
+
}(__BaseException));
|
|
145
|
+
export { ThrottlingException };
|
|
146
|
+
export var SendSerialConsoleSSHPublicKeyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
147
|
+
export var SendSerialConsoleSSHPublicKeyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
148
|
+
export var SendSSHPublicKeyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
149
|
+
export var SendSSHPublicKeyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|