@aws-sdk/client-ec2-instance-connect 3.534.0 → 3.535.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.
@@ -17,7 +17,6 @@ export interface EC2InstanceConnect {
17
17
  sendSSHPublicKey(args: SendSSHPublicKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendSSHPublicKeyCommandOutput) => void): void;
18
18
  }
19
19
  /**
20
- * @public
21
20
  * <p>This is the <i> Amazon EC2 Instance Connect API Reference</i>. It
22
21
  * provides descriptions, syntax, and usage examples for each of the actions for Amazon EC2
23
22
  * Instance Connect. Amazon EC2 Instance Connect enables system administrators to publish
@@ -28,6 +27,7 @@ export interface EC2InstanceConnect {
28
27
  * your Linux instance using EC2 Instance Connect</a>.</p>
29
28
  * <p>For Amazon EC2 APIs, see the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Welcome.html">Amazon EC2 API
30
29
  * Reference</a>.</p>
30
+ * @public
31
31
  */
32
32
  export declare class EC2InstanceConnect extends EC2InstanceConnectClient implements EC2InstanceConnect {
33
33
  }
@@ -153,7 +153,6 @@ export type EC2InstanceConnectClientResolvedConfigType = __SmithyResolvedConfigu
153
153
  export interface EC2InstanceConnectClientResolvedConfig extends EC2InstanceConnectClientResolvedConfigType {
154
154
  }
155
155
  /**
156
- * @public
157
156
  * <p>This is the <i> Amazon EC2 Instance Connect API Reference</i>. It
158
157
  * provides descriptions, syntax, and usage examples for each of the actions for Amazon EC2
159
158
  * Instance Connect. Amazon EC2 Instance Connect enables system administrators to publish
@@ -164,6 +163,7 @@ export interface EC2InstanceConnectClientResolvedConfig extends EC2InstanceConne
164
163
  * your Linux instance using EC2 Instance Connect</a>.</p>
165
164
  * <p>For Amazon EC2 APIs, see the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Welcome.html">Amazon EC2 API
166
165
  * Reference</a>.</p>
166
+ * @public
167
167
  */
168
168
  export declare class EC2InstanceConnectClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, EC2InstanceConnectClientResolvedConfig> {
169
169
  /**
@@ -22,10 +22,10 @@ export interface SendSSHPublicKeyCommandOutput extends SendSSHPublicKeyResponse,
22
22
  }
23
23
  declare const SendSSHPublicKeyCommand_base: {
24
24
  new (input: SendSSHPublicKeyCommandInput): import("@smithy/smithy-client").CommandImpl<SendSSHPublicKeyCommandInput, SendSSHPublicKeyCommandOutput, EC2InstanceConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: SendSSHPublicKeyCommandInput): import("@smithy/smithy-client").CommandImpl<SendSSHPublicKeyCommandInput, SendSSHPublicKeyCommandOutput, EC2InstanceConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Pushes an SSH public key to the specified EC2 instance for use by the specified user.
30
30
  * The key remains for 60 seconds. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Connect-using-EC2-Instance-Connect.html">Connect to
31
31
  * your Linux instance using EC2 Instance Connect</a> in the <i>Amazon EC2
@@ -84,6 +84,7 @@ declare const SendSSHPublicKeyCommand_base: {
84
84
  * @throws {@link EC2InstanceConnectServiceException}
85
85
  * <p>Base exception class for all service exceptions from EC2InstanceConnect service.</p>
86
86
  *
87
+ * @public
87
88
  * @example To push an SSH key to an EC2 instance
88
89
  * ```javascript
89
90
  * // 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.
@@ -22,10 +22,10 @@ export interface SendSerialConsoleSSHPublicKeyCommandOutput extends SendSerialCo
22
22
  }
23
23
  declare const SendSerialConsoleSSHPublicKeyCommand_base: {
24
24
  new (input: SendSerialConsoleSSHPublicKeyCommandInput): import("@smithy/smithy-client").CommandImpl<SendSerialConsoleSSHPublicKeyCommandInput, SendSerialConsoleSSHPublicKeyCommandOutput, EC2InstanceConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: SendSerialConsoleSSHPublicKeyCommandInput): import("@smithy/smithy-client").CommandImpl<SendSerialConsoleSSHPublicKeyCommandInput, SendSerialConsoleSSHPublicKeyCommandOutput, EC2InstanceConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Pushes an SSH public key to the specified EC2 instance. The key remains for 60
30
30
  * seconds, which gives you 60 seconds to establish a serial console connection to the
31
31
  * instance using SSH. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-serial-console.html">EC2 Serial Console</a> in
@@ -101,6 +101,7 @@ declare const SendSerialConsoleSSHPublicKeyCommand_base: {
101
101
  * @throws {@link EC2InstanceConnectServiceException}
102
102
  * <p>Base exception class for all service exceptions from EC2InstanceConnect service.</p>
103
103
  *
104
+ * @public
104
105
  */
105
106
  export declare class SendSerialConsoleSSHPublicKeyCommand extends SendSerialConsoleSSHPublicKeyCommand_base {
106
107
  }
@@ -1,8 +1,8 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { EC2InstanceConnectServiceException as __BaseException } from "./EC2InstanceConnectServiceException";
3
3
  /**
4
- * @public
5
4
  * <p>Either your AWS credentials are not valid or you do not have access to the EC2 instance.</p>
5
+ * @public
6
6
  */
7
7
  export declare class AuthException extends __BaseException {
8
8
  readonly name: "AuthException";
@@ -14,8 +14,8 @@ export declare class AuthException extends __BaseException {
14
14
  constructor(opts: __ExceptionOptionType<AuthException, __BaseException>);
15
15
  }
16
16
  /**
17
- * @public
18
17
  * <p>The specified instance was not found.</p>
18
+ * @public
19
19
  */
20
20
  export declare class EC2InstanceNotFoundException extends __BaseException {
21
21
  readonly name: "EC2InstanceNotFoundException";
@@ -27,10 +27,10 @@ export declare class EC2InstanceNotFoundException extends __BaseException {
27
27
  constructor(opts: __ExceptionOptionType<EC2InstanceNotFoundException, __BaseException>);
28
28
  }
29
29
  /**
30
- * @public
31
30
  * <p>Unable to connect because the instance is not in a valid state.
32
31
  * Connecting to a stopped or terminated instance is not supported. If the instance is stopped,
33
32
  * start your instance, and try to connect again.</p>
33
+ * @public
34
34
  */
35
35
  export declare class EC2InstanceStateInvalidException extends __BaseException {
36
36
  readonly name: "EC2InstanceStateInvalidException";
@@ -42,9 +42,9 @@ export declare class EC2InstanceStateInvalidException extends __BaseException {
42
42
  constructor(opts: __ExceptionOptionType<EC2InstanceStateInvalidException, __BaseException>);
43
43
  }
44
44
  /**
45
- * @public
46
45
  * <p>The instance type is not supported for connecting via the serial console. Only Nitro
47
46
  * instance types are currently supported.</p>
47
+ * @public
48
48
  */
49
49
  export declare class EC2InstanceTypeInvalidException extends __BaseException {
50
50
  readonly name: "EC2InstanceTypeInvalidException";
@@ -56,8 +56,8 @@ export declare class EC2InstanceTypeInvalidException extends __BaseException {
56
56
  constructor(opts: __ExceptionOptionType<EC2InstanceTypeInvalidException, __BaseException>);
57
57
  }
58
58
  /**
59
- * @public
60
59
  * <p>The instance is currently unavailable. Wait a few minutes and try again.</p>
60
+ * @public
61
61
  */
62
62
  export declare class EC2InstanceUnavailableException extends __BaseException {
63
63
  readonly name: "EC2InstanceUnavailableException";
@@ -69,8 +69,8 @@ export declare class EC2InstanceUnavailableException extends __BaseException {
69
69
  constructor(opts: __ExceptionOptionType<EC2InstanceUnavailableException, __BaseException>);
70
70
  }
71
71
  /**
72
- * @public
73
72
  * <p>One of the parameters is not valid.</p>
73
+ * @public
74
74
  */
75
75
  export declare class InvalidArgsException extends __BaseException {
76
76
  readonly name: "InvalidArgsException";
@@ -86,21 +86,21 @@ export declare class InvalidArgsException extends __BaseException {
86
86
  */
87
87
  export interface SendSerialConsoleSSHPublicKeyRequest {
88
88
  /**
89
- * @public
90
89
  * <p>The ID of the EC2 instance.</p>
90
+ * @public
91
91
  */
92
92
  InstanceId: string | undefined;
93
93
  /**
94
- * @public
95
94
  * <p>The serial port of the EC2 instance. Currently only port 0 is supported.</p>
96
95
  * <p>Default: 0</p>
96
+ * @public
97
97
  */
98
98
  SerialPort?: number;
99
99
  /**
100
- * @public
101
100
  * <p>The public key material. To use the public key, you must have the matching private
102
101
  * key. For information about the supported key formats and lengths, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html#how-to-generate-your-own-key-and-import-it-to-aws">Requirements for key pairs</a> in the <i>Amazon EC2 User
103
102
  * Guide</i>.</p>
103
+ * @public
104
104
  */
105
105
  SSHPublicKey: string | undefined;
106
106
  }
@@ -109,21 +109,21 @@ export interface SendSerialConsoleSSHPublicKeyRequest {
109
109
  */
110
110
  export interface SendSerialConsoleSSHPublicKeyResponse {
111
111
  /**
112
- * @public
113
112
  * <p>The ID of the request. Please provide this ID when contacting AWS Support for assistance.</p>
113
+ * @public
114
114
  */
115
115
  RequestId?: string;
116
116
  /**
117
- * @public
118
117
  * <p>Is true if the request succeeds and an error otherwise.</p>
118
+ * @public
119
119
  */
120
120
  Success?: boolean;
121
121
  }
122
122
  /**
123
- * @public
124
123
  * <p>Your account is not authorized to use the EC2 Serial Console. To authorize your
125
124
  * account, run the EnableSerialConsoleAccess API. For more information, see
126
125
  * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EnableSerialConsoleAccess.html">EnableSerialConsoleAccess</a> in the <i>Amazon EC2 API Reference</i>.</p>
126
+ * @public
127
127
  */
128
128
  export declare class SerialConsoleAccessDisabledException extends __BaseException {
129
129
  readonly name: "SerialConsoleAccessDisabledException";
@@ -135,8 +135,8 @@ export declare class SerialConsoleAccessDisabledException extends __BaseExceptio
135
135
  constructor(opts: __ExceptionOptionType<SerialConsoleAccessDisabledException, __BaseException>);
136
136
  }
137
137
  /**
138
- * @public
139
138
  * <p>The instance currently has 1 active serial console session. Only 1 session is supported at a time.</p>
139
+ * @public
140
140
  */
141
141
  export declare class SerialConsoleSessionLimitExceededException extends __BaseException {
142
142
  readonly name: "SerialConsoleSessionLimitExceededException";
@@ -148,8 +148,8 @@ export declare class SerialConsoleSessionLimitExceededException extends __BaseEx
148
148
  constructor(opts: __ExceptionOptionType<SerialConsoleSessionLimitExceededException, __BaseException>);
149
149
  }
150
150
  /**
151
- * @public
152
151
  * <p>Unable to start a serial console session. Please try again.</p>
152
+ * @public
153
153
  */
154
154
  export declare class SerialConsoleSessionUnavailableException extends __BaseException {
155
155
  readonly name: "SerialConsoleSessionUnavailableException";
@@ -161,8 +161,8 @@ export declare class SerialConsoleSessionUnavailableException extends __BaseExce
161
161
  constructor(opts: __ExceptionOptionType<SerialConsoleSessionUnavailableException, __BaseException>);
162
162
  }
163
163
  /**
164
- * @public
165
164
  * <p>Your instance's BIOS version is unsupported for serial console connection. Reboot your instance to update its BIOS, and then try again to connect.</p>
165
+ * @public
166
166
  */
167
167
  export declare class SerialConsoleSessionUnsupportedException extends __BaseException {
168
168
  readonly name: "SerialConsoleSessionUnsupportedException";
@@ -174,8 +174,8 @@ export declare class SerialConsoleSessionUnsupportedException extends __BaseExce
174
174
  constructor(opts: __ExceptionOptionType<SerialConsoleSessionUnsupportedException, __BaseException>);
175
175
  }
176
176
  /**
177
- * @public
178
177
  * <p>The service encountered an error. Follow the instructions in the error message and try again.</p>
178
+ * @public
179
179
  */
180
180
  export declare class ServiceException extends __BaseException {
181
181
  readonly name: "ServiceException";
@@ -187,9 +187,9 @@ export declare class ServiceException extends __BaseException {
187
187
  constructor(opts: __ExceptionOptionType<ServiceException, __BaseException>);
188
188
  }
189
189
  /**
190
- * @public
191
190
  * <p>The requests were made too frequently and have been throttled. Wait a while and try again.
192
191
  * To increase the limit on your request frequency, contact AWS Support.</p>
192
+ * @public
193
193
  */
194
194
  export declare class ThrottlingException extends __BaseException {
195
195
  readonly name: "ThrottlingException";
@@ -205,23 +205,23 @@ export declare class ThrottlingException extends __BaseException {
205
205
  */
206
206
  export interface SendSSHPublicKeyRequest {
207
207
  /**
208
- * @public
209
208
  * <p>The ID of the EC2 instance.</p>
209
+ * @public
210
210
  */
211
211
  InstanceId: string | undefined;
212
212
  /**
213
- * @public
214
213
  * <p>The OS user on the EC2 instance for whom the key can be used to authenticate.</p>
214
+ * @public
215
215
  */
216
216
  InstanceOSUser: string | undefined;
217
217
  /**
218
- * @public
219
218
  * <p>The public key material. To use the public key, you must have the matching private key.</p>
219
+ * @public
220
220
  */
221
221
  SSHPublicKey: string | undefined;
222
222
  /**
223
- * @public
224
223
  * <p>The Availability Zone in which the EC2 instance was launched.</p>
224
+ * @public
225
225
  */
226
226
  AvailabilityZone?: string;
227
227
  }
@@ -230,13 +230,13 @@ export interface SendSSHPublicKeyRequest {
230
230
  */
231
231
  export interface SendSSHPublicKeyResponse {
232
232
  /**
233
- * @public
234
233
  * <p>The ID of the request. Please provide this ID when contacting AWS Support for assistance.</p>
234
+ * @public
235
235
  */
236
236
  RequestId?: string;
237
237
  /**
238
- * @public
239
238
  * <p>Is true if the request succeeds and an error otherwise.</p>
239
+ * @public
240
240
  */
241
241
  Success?: boolean;
242
242
  }
@@ -24,6 +24,15 @@ declare const SendSSHPublicKeyCommand_base: {
24
24
  ServiceInputTypes,
25
25
  ServiceOutputTypes
26
26
  >;
27
+ new (
28
+ __0_0: SendSSHPublicKeyCommandInput
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ SendSSHPublicKeyCommandInput,
31
+ SendSSHPublicKeyCommandOutput,
32
+ EC2InstanceConnectClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
27
36
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
37
  };
29
38
  export declare class SendSSHPublicKeyCommand extends SendSSHPublicKeyCommand_base {}
@@ -25,6 +25,15 @@ declare const SendSerialConsoleSSHPublicKeyCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: SendSerialConsoleSSHPublicKeyCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ SendSerialConsoleSSHPublicKeyCommandInput,
32
+ SendSerialConsoleSSHPublicKeyCommandOutput,
33
+ EC2InstanceConnectClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class SendSerialConsoleSSHPublicKeyCommand extends SendSerialConsoleSSHPublicKeyCommand_base {}
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.534.0",
4
+ "version": "3.535.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ec2-instance-connect",
@@ -20,47 +20,47 @@
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.533.0",
24
- "@aws-sdk/core": "3.533.0",
25
- "@aws-sdk/credential-provider-node": "3.533.0",
26
- "@aws-sdk/middleware-host-header": "3.533.0",
27
- "@aws-sdk/middleware-logger": "3.533.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.533.0",
29
- "@aws-sdk/middleware-user-agent": "3.533.0",
30
- "@aws-sdk/region-config-resolver": "3.533.0",
31
- "@aws-sdk/types": "3.533.0",
32
- "@aws-sdk/util-endpoints": "3.533.0",
33
- "@aws-sdk/util-user-agent-browser": "3.533.0",
34
- "@aws-sdk/util-user-agent-node": "3.533.0",
35
- "@smithy/config-resolver": "^2.1.5",
36
- "@smithy/core": "^1.3.8",
37
- "@smithy/fetch-http-handler": "^2.4.5",
38
- "@smithy/hash-node": "^2.1.4",
39
- "@smithy/invalid-dependency": "^2.1.4",
40
- "@smithy/middleware-content-length": "^2.1.4",
41
- "@smithy/middleware-endpoint": "^2.4.6",
42
- "@smithy/middleware-retry": "^2.1.7",
43
- "@smithy/middleware-serde": "^2.2.1",
44
- "@smithy/middleware-stack": "^2.1.4",
45
- "@smithy/node-config-provider": "^2.2.5",
46
- "@smithy/node-http-handler": "^2.4.3",
47
- "@smithy/protocol-http": "^3.2.2",
48
- "@smithy/smithy-client": "^2.4.5",
49
- "@smithy/types": "^2.11.0",
50
- "@smithy/url-parser": "^2.1.4",
51
- "@smithy/util-base64": "^2.2.1",
52
- "@smithy/util-body-length-browser": "^2.1.1",
53
- "@smithy/util-body-length-node": "^2.2.2",
54
- "@smithy/util-defaults-mode-browser": "^2.1.7",
55
- "@smithy/util-defaults-mode-node": "^2.2.7",
56
- "@smithy/util-endpoints": "^1.1.5",
57
- "@smithy/util-middleware": "^2.1.4",
58
- "@smithy/util-retry": "^2.1.4",
59
- "@smithy/util-utf8": "^2.2.0",
60
- "tslib": "^2.5.0"
23
+ "@aws-sdk/client-sts": "3.535.0",
24
+ "@aws-sdk/core": "3.535.0",
25
+ "@aws-sdk/credential-provider-node": "3.535.0",
26
+ "@aws-sdk/middleware-host-header": "3.535.0",
27
+ "@aws-sdk/middleware-logger": "3.535.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.535.0",
29
+ "@aws-sdk/middleware-user-agent": "3.535.0",
30
+ "@aws-sdk/region-config-resolver": "3.535.0",
31
+ "@aws-sdk/types": "3.535.0",
32
+ "@aws-sdk/util-endpoints": "3.535.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.535.0",
34
+ "@aws-sdk/util-user-agent-node": "3.535.0",
35
+ "@smithy/config-resolver": "^2.2.0",
36
+ "@smithy/core": "^1.4.0",
37
+ "@smithy/fetch-http-handler": "^2.5.0",
38
+ "@smithy/hash-node": "^2.2.0",
39
+ "@smithy/invalid-dependency": "^2.2.0",
40
+ "@smithy/middleware-content-length": "^2.2.0",
41
+ "@smithy/middleware-endpoint": "^2.5.0",
42
+ "@smithy/middleware-retry": "^2.2.0",
43
+ "@smithy/middleware-serde": "^2.3.0",
44
+ "@smithy/middleware-stack": "^2.2.0",
45
+ "@smithy/node-config-provider": "^2.3.0",
46
+ "@smithy/node-http-handler": "^2.5.0",
47
+ "@smithy/protocol-http": "^3.3.0",
48
+ "@smithy/smithy-client": "^2.5.0",
49
+ "@smithy/types": "^2.12.0",
50
+ "@smithy/url-parser": "^2.2.0",
51
+ "@smithy/util-base64": "^2.3.0",
52
+ "@smithy/util-body-length-browser": "^2.2.0",
53
+ "@smithy/util-body-length-node": "^2.3.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.2.0",
55
+ "@smithy/util-defaults-mode-node": "^2.3.0",
56
+ "@smithy/util-endpoints": "^1.2.0",
57
+ "@smithy/util-middleware": "^2.2.0",
58
+ "@smithy/util-retry": "^2.2.0",
59
+ "@smithy/util-utf8": "^2.3.0",
60
+ "tslib": "^2.6.2"
61
61
  },
62
62
  "devDependencies": {
63
- "@smithy/service-client-documentation-generator": "^2.1.1",
63
+ "@smithy/service-client-documentation-generator": "^2.2.0",
64
64
  "@tsconfig/node14": "1.0.3",
65
65
  "@types/node": "^14.14.31",
66
66
  "concurrently": "7.0.0",