@aws-sdk/client-ec2-instance-connect 3.289.0 → 3.292.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.
|
@@ -32,6 +32,31 @@ export interface SendSSHPublicKeyCommandOutput extends SendSSHPublicKeyResponse,
|
|
|
32
32
|
* @see {@link SendSSHPublicKeyCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link EC2InstanceConnectClientResolvedConfig | config} for EC2InstanceConnectClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link AuthException} (client fault)
|
|
36
|
+
* <p>Either your AWS credentials are not valid or you do not have access to the EC2 instance.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link EC2InstanceNotFoundException} (client fault)
|
|
39
|
+
* <p>The specified instance was not found.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link EC2InstanceStateInvalidException} (client fault)
|
|
42
|
+
* <p>Unable to connect because the instance is not in a valid state.
|
|
43
|
+
* Connecting to a stopped or terminated instance is not supported. If the instance is stopped,
|
|
44
|
+
* start your instance, and try to connect again.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link EC2InstanceUnavailableException} (server fault)
|
|
47
|
+
* <p>The instance is currently unavailable. Wait a few minutes and try again.</p>
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link InvalidArgsException} (client fault)
|
|
50
|
+
* <p>One of the parameters is not valid.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link ServiceException} (server fault)
|
|
53
|
+
* <p>The service encountered an error. Follow the instructions in the error message and try again.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
56
|
+
* <p>The requests were made too frequently and have been throttled. Wait a while and try again.
|
|
57
|
+
* To increase the limit on your request frequency, contact AWS Support.</p>
|
|
58
|
+
*
|
|
59
|
+
*
|
|
35
60
|
* @example To push an SSH key to an EC2 instance
|
|
36
61
|
* ```javascript
|
|
37
62
|
* // The following example pushes a sample SSH public key to the EC2 instance i-abcd1234 in AZ us-west-2b for use by the instance OS user ec2-user.
|
|
@@ -32,6 +32,46 @@ export interface SendSerialConsoleSSHPublicKeyCommandOutput extends SendSerialCo
|
|
|
32
32
|
* @see {@link SendSerialConsoleSSHPublicKeyCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link EC2InstanceConnectClientResolvedConfig | config} for EC2InstanceConnectClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link AuthException} (client fault)
|
|
36
|
+
* <p>Either your AWS credentials are not valid or you do not have access to the EC2 instance.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link EC2InstanceNotFoundException} (client fault)
|
|
39
|
+
* <p>The specified instance was not found.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link EC2InstanceStateInvalidException} (client fault)
|
|
42
|
+
* <p>Unable to connect because the instance is not in a valid state.
|
|
43
|
+
* Connecting to a stopped or terminated instance is not supported. If the instance is stopped,
|
|
44
|
+
* start your instance, and try to connect again.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link EC2InstanceTypeInvalidException} (client fault)
|
|
47
|
+
* <p>The instance type is not supported for connecting via the serial console. Only Nitro
|
|
48
|
+
* instance types are currently supported.</p>
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link EC2InstanceUnavailableException} (server fault)
|
|
51
|
+
* <p>The instance is currently unavailable. Wait a few minutes and try again.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link InvalidArgsException} (client fault)
|
|
54
|
+
* <p>One of the parameters is not valid.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link SerialConsoleAccessDisabledException} (client fault)
|
|
57
|
+
* <p>Your account is not authorized to use the EC2 Serial Console. To authorize your
|
|
58
|
+
* account, run the EnableSerialConsoleAccess API. For more information, see
|
|
59
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EnableSerialConsoleAccess.html">EnableSerialConsoleAccess</a> in the <i>Amazon EC2 API Reference</i>.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link SerialConsoleSessionLimitExceededException} (client fault)
|
|
62
|
+
* <p>The instance currently has 1 active serial console session. Only 1 session is supported at a time.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link SerialConsoleSessionUnavailableException} (server fault)
|
|
65
|
+
* <p>Unable to start a serial console session. Please try again.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ServiceException} (server fault)
|
|
68
|
+
* <p>The service encountered an error. Follow the instructions in the error message and try again.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* <p>The requests were made too frequently and have been throttled. Wait a while and try again.
|
|
72
|
+
* To increase the limit on your request frequency, contact AWS Support.</p>
|
|
73
|
+
*
|
|
74
|
+
*
|
|
35
75
|
*/
|
|
36
76
|
export declare class SendSerialConsoleSSHPublicKeyCommand extends $Command<SendSerialConsoleSSHPublicKeyCommandInput, SendSerialConsoleSSHPublicKeyCommandOutput, EC2InstanceConnectClientResolvedConfig> {
|
|
37
77
|
readonly input: SendSerialConsoleSSHPublicKeyCommandInput;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ec2-instance-connect",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ec2 Instance Connect Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.292.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,55 +20,50 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
45
|
-
"@aws-sdk/util-base64": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
-
"@aws-sdk/util-utf8": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.292.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.292.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.292.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.292.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.292.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.292.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.292.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.292.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.292.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.292.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.292.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.292.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.292.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.292.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.292.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.292.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.292.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.292.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.292.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.292.0",
|
|
43
|
+
"@aws-sdk/types": "3.292.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.292.0",
|
|
45
|
+
"@aws-sdk/util-base64": "3.292.0",
|
|
46
|
+
"@aws-sdk/util-body-length-browser": "3.292.0",
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.292.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.292.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.292.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.292.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.292.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.292.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.292.0",
|
|
54
|
+
"@aws-sdk/util-utf8": "3.292.0",
|
|
55
55
|
"tslib": "^2.3.1"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
58
|
+
"@aws-sdk/service-client-documentation-generator": "3.292.0",
|
|
59
59
|
"@tsconfig/node14": "1.0.3",
|
|
60
60
|
"@types/node": "^14.14.31",
|
|
61
61
|
"concurrently": "7.0.0",
|
|
62
62
|
"downlevel-dts": "0.10.1",
|
|
63
63
|
"rimraf": "3.0.2",
|
|
64
|
-
"typedoc": "0.
|
|
64
|
+
"typedoc": "0.23.23",
|
|
65
65
|
"typescript": "~4.6.2"
|
|
66
66
|
},
|
|
67
|
-
"overrides": {
|
|
68
|
-
"typedoc": {
|
|
69
|
-
"typescript": "~4.6.2"
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
67
|
"engines": {
|
|
73
68
|
"node": ">=14.0.0"
|
|
74
69
|
},
|