@aws-sdk/client-ec2-instance-connect 3.296.0 → 3.298.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.
@@ -4,7 +4,6 @@ exports.SendSSHPublicKeyCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
8
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
8
  class SendSSHPublicKeyCommand extends smithy_client_1.Command {
10
9
  static getEndpointParameterInstructions() {
@@ -30,8 +29,8 @@ class SendSSHPublicKeyCommand extends smithy_client_1.Command {
30
29
  logger,
31
30
  clientName,
32
31
  commandName,
33
- inputFilterSensitiveLog: models_0_1.SendSSHPublicKeyRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_0_1.SendSSHPublicKeyResponseFilterSensitiveLog,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
35
34
  };
36
35
  const { requestHandler } = configuration;
37
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -4,7 +4,6 @@ exports.SendSerialConsoleSSHPublicKeyCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
8
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
8
  class SendSerialConsoleSSHPublicKeyCommand extends smithy_client_1.Command {
10
9
  static getEndpointParameterInstructions() {
@@ -30,8 +29,8 @@ class SendSerialConsoleSSHPublicKeyCommand extends smithy_client_1.Command {
30
29
  logger,
31
30
  clientName,
32
31
  commandName,
33
- inputFilterSensitiveLog: models_0_1.SendSerialConsoleSSHPublicKeyRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_0_1.SendSerialConsoleSSHPublicKeyResponseFilterSensitiveLog,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: (_) => _,
35
34
  };
36
35
  const { requestHandler } = configuration;
37
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SendSSHPublicKeyResponseFilterSensitiveLog = exports.SendSSHPublicKeyRequestFilterSensitiveLog = exports.SendSerialConsoleSSHPublicKeyResponseFilterSensitiveLog = exports.SendSerialConsoleSSHPublicKeyRequestFilterSensitiveLog = exports.ThrottlingException = exports.ServiceException = exports.SerialConsoleSessionUnavailableException = exports.SerialConsoleSessionLimitExceededException = exports.SerialConsoleAccessDisabledException = exports.InvalidArgsException = exports.EC2InstanceUnavailableException = exports.EC2InstanceTypeInvalidException = exports.EC2InstanceStateInvalidException = exports.EC2InstanceNotFoundException = exports.AuthException = void 0;
3
+ exports.ThrottlingException = exports.ServiceException = exports.SerialConsoleSessionUnavailableException = exports.SerialConsoleSessionLimitExceededException = exports.SerialConsoleAccessDisabledException = exports.InvalidArgsException = exports.EC2InstanceUnavailableException = exports.EC2InstanceTypeInvalidException = exports.EC2InstanceStateInvalidException = exports.EC2InstanceNotFoundException = exports.AuthException = void 0;
4
4
  const EC2InstanceConnectServiceException_1 = require("./EC2InstanceConnectServiceException");
5
5
  class AuthException extends EC2InstanceConnectServiceException_1.EC2InstanceConnectServiceException {
6
6
  constructor(opts) {
@@ -156,19 +156,3 @@ class ThrottlingException extends EC2InstanceConnectServiceException_1.EC2Instan
156
156
  }
157
157
  }
158
158
  exports.ThrottlingException = ThrottlingException;
159
- const SendSerialConsoleSSHPublicKeyRequestFilterSensitiveLog = (obj) => ({
160
- ...obj,
161
- });
162
- exports.SendSerialConsoleSSHPublicKeyRequestFilterSensitiveLog = SendSerialConsoleSSHPublicKeyRequestFilterSensitiveLog;
163
- const SendSerialConsoleSSHPublicKeyResponseFilterSensitiveLog = (obj) => ({
164
- ...obj,
165
- });
166
- exports.SendSerialConsoleSSHPublicKeyResponseFilterSensitiveLog = SendSerialConsoleSSHPublicKeyResponseFilterSensitiveLog;
167
- const SendSSHPublicKeyRequestFilterSensitiveLog = (obj) => ({
168
- ...obj,
169
- });
170
- exports.SendSSHPublicKeyRequestFilterSensitiveLog = SendSSHPublicKeyRequestFilterSensitiveLog;
171
- const SendSSHPublicKeyResponseFilterSensitiveLog = (obj) => ({
172
- ...obj,
173
- });
174
- exports.SendSSHPublicKeyResponseFilterSensitiveLog = SendSSHPublicKeyResponseFilterSensitiveLog;
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { SendSSHPublicKeyRequestFilterSensitiveLog, SendSSHPublicKeyResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1SendSSHPublicKeyCommand, serializeAws_json1_1SendSSHPublicKeyCommand, } from "../protocols/Aws_json1_1";
6
5
  export class SendSSHPublicKeyCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class SendSSHPublicKeyCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: SendSSHPublicKeyRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: SendSSHPublicKeyResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,7 +1,6 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { SendSerialConsoleSSHPublicKeyRequestFilterSensitiveLog, SendSerialConsoleSSHPublicKeyResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1SendSerialConsoleSSHPublicKeyCommand, serializeAws_json1_1SendSerialConsoleSSHPublicKeyCommand, } from "../protocols/Aws_json1_1";
6
5
  export class SendSerialConsoleSSHPublicKeyCommand extends $Command {
7
6
  static getEndpointParameterInstructions() {
@@ -27,8 +26,8 @@ export class SendSerialConsoleSSHPublicKeyCommand extends $Command {
27
26
  logger,
28
27
  clientName,
29
28
  commandName,
30
- inputFilterSensitiveLog: SendSerialConsoleSSHPublicKeyRequestFilterSensitiveLog,
31
- outputFilterSensitiveLog: SendSerialConsoleSSHPublicKeyResponseFilterSensitiveLog,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
32
31
  };
33
32
  const { requestHandler } = configuration;
34
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -142,15 +142,3 @@ export class ThrottlingException extends __BaseException {
142
142
  this.Message = opts.Message;
143
143
  }
144
144
  }
145
- export const SendSerialConsoleSSHPublicKeyRequestFilterSensitiveLog = (obj) => ({
146
- ...obj,
147
- });
148
- export const SendSerialConsoleSSHPublicKeyResponseFilterSensitiveLog = (obj) => ({
149
- ...obj,
150
- });
151
- export const SendSSHPublicKeyRequestFilterSensitiveLog = (obj) => ({
152
- ...obj,
153
- });
154
- export const SendSSHPublicKeyResponseFilterSensitiveLog = (obj) => ({
155
- ...obj,
156
- });
@@ -3,12 +3,14 @@ import { SendSerialConsoleSSHPublicKeyCommandInput, SendSerialConsoleSSHPublicKe
3
3
  import { SendSSHPublicKeyCommandInput, SendSSHPublicKeyCommandOutput } from "./commands/SendSSHPublicKeyCommand";
4
4
  import { EC2InstanceConnectClient } from "./EC2InstanceConnectClient";
5
5
  /**
6
+ * @public
6
7
  * <p>Amazon EC2 Instance Connect enables system administrators to publish one-time use SSH
7
8
  * public keys to EC2, providing users a simple and secure way to connect to their
8
9
  * instances.</p>
9
10
  */
10
11
  export declare class EC2InstanceConnect extends EC2InstanceConnectClient {
11
12
  /**
13
+ * @public
12
14
  * <p>Pushes an SSH public key to the specified EC2 instance. The key remains for 60
13
15
  * seconds, which gives you 60 seconds to establish a serial console connection to the
14
16
  * 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
@@ -18,6 +20,7 @@ export declare class EC2InstanceConnect extends EC2InstanceConnectClient {
18
20
  sendSerialConsoleSSHPublicKey(args: SendSerialConsoleSSHPublicKeyCommandInput, cb: (err: any, data?: SendSerialConsoleSSHPublicKeyCommandOutput) => void): void;
19
21
  sendSerialConsoleSSHPublicKey(args: SendSerialConsoleSSHPublicKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendSerialConsoleSSHPublicKeyCommandOutput) => void): void;
20
22
  /**
23
+ * @public
21
24
  * <p>Pushes an SSH public key to the specified EC2 instance for use by the specified user.
22
25
  * 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
23
26
  * your Linux instance using EC2 Instance Connect</a> in the <i>Amazon EC2
@@ -10,15 +10,24 @@ import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as
10
10
  import { SendSerialConsoleSSHPublicKeyCommandInput, SendSerialConsoleSSHPublicKeyCommandOutput } from "./commands/SendSerialConsoleSSHPublicKeyCommand";
11
11
  import { SendSSHPublicKeyCommandInput, SendSSHPublicKeyCommandOutput } from "./commands/SendSSHPublicKeyCommand";
12
12
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
13
+ /**
14
+ * @public
15
+ */
13
16
  export type ServiceInputTypes = SendSSHPublicKeyCommandInput | SendSerialConsoleSSHPublicKeyCommandInput;
17
+ /**
18
+ * @public
19
+ */
14
20
  export type ServiceOutputTypes = SendSSHPublicKeyCommandOutput | SendSerialConsoleSSHPublicKeyCommandOutput;
21
+ /**
22
+ * @public
23
+ */
15
24
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
16
25
  /**
17
26
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
18
27
  */
19
28
  requestHandler?: __HttpHandler;
20
29
  /**
21
- * A constructor for a class implementing the {@link __Checksum} interface
30
+ * A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
22
31
  * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
23
32
  * @internal
24
33
  */
@@ -108,23 +117,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
108
117
  */
109
118
  logger?: __Logger;
110
119
  /**
111
- * The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
120
+ * The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
112
121
  */
113
122
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
114
123
  }
124
+ /**
125
+ * @public
126
+ */
115
127
  type EC2InstanceConnectClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
116
128
  /**
117
- * The configuration interface of EC2InstanceConnectClient class constructor that set the region, credentials and other options.
129
+ * @public
130
+ *
131
+ * The configuration interface of EC2InstanceConnectClient class constructor that set the region, credentials and other options.
118
132
  */
119
133
  export interface EC2InstanceConnectClientConfig extends EC2InstanceConnectClientConfigType {
120
134
  }
135
+ /**
136
+ * @public
137
+ */
121
138
  type EC2InstanceConnectClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
122
139
  /**
123
- * The resolved configuration interface of EC2InstanceConnectClient class. This is resolved and normalized from the {@link EC2InstanceConnectClientConfig | constructor configuration interface}.
140
+ * @public
141
+ *
142
+ * The resolved configuration interface of EC2InstanceConnectClient class. This is resolved and normalized from the {@link EC2InstanceConnectClientConfig | constructor configuration interface}.
124
143
  */
125
144
  export interface EC2InstanceConnectClientResolvedConfig extends EC2InstanceConnectClientResolvedConfigType {
126
145
  }
127
146
  /**
147
+ * @public
128
148
  * <p>Amazon EC2 Instance Connect enables system administrators to publish one-time use SSH
129
149
  * public keys to EC2, providing users a simple and secure way to connect to their
130
150
  * instances.</p>
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { EC2InstanceConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2InstanceConnectClient";
5
5
  import { SendSSHPublicKeyRequest, SendSSHPublicKeyResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link SendSSHPublicKeyCommand}.
8
10
  */
9
11
  export interface SendSSHPublicKeyCommandInput extends SendSSHPublicKeyRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link SendSSHPublicKeyCommand}.
13
17
  */
14
18
  export interface SendSSHPublicKeyCommandOutput extends SendSSHPublicKeyResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Pushes an SSH public key to the specified EC2 instance for use by the specified user.
18
23
  * 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
19
24
  * your Linux instance using EC2 Instance Connect</a> in the <i>Amazon EC2
@@ -28,6 +33,8 @@ export interface SendSSHPublicKeyCommandOutput extends SendSSHPublicKeyResponse,
28
33
  * const response = await client.send(command);
29
34
  * ```
30
35
  *
36
+ * @param SendSSHPublicKeyCommandInput - {@link SendSSHPublicKeyCommandInput}
37
+ * @returns {@link SendSSHPublicKeyCommandOutput}
31
38
  * @see {@link SendSSHPublicKeyCommandInput} for command's `input` shape.
32
39
  * @see {@link SendSSHPublicKeyCommandOutput} for command's `response` shape.
33
40
  * @see {@link EC2InstanceConnectClientResolvedConfig | config} for EC2InstanceConnectClient's `config` shape.
@@ -81,11 +88,20 @@ export interface SendSSHPublicKeyCommandOutput extends SendSSHPublicKeyResponse,
81
88
  export declare class SendSSHPublicKeyCommand extends $Command<SendSSHPublicKeyCommandInput, SendSSHPublicKeyCommandOutput, EC2InstanceConnectClientResolvedConfig> {
82
89
  readonly input: SendSSHPublicKeyCommandInput;
83
90
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
91
+ /**
92
+ * @public
93
+ */
84
94
  constructor(input: SendSSHPublicKeyCommandInput);
85
95
  /**
86
96
  * @internal
87
97
  */
88
98
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EC2InstanceConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SendSSHPublicKeyCommandInput, SendSSHPublicKeyCommandOutput>;
99
+ /**
100
+ * @internal
101
+ */
89
102
  private serialize;
103
+ /**
104
+ * @internal
105
+ */
90
106
  private deserialize;
91
107
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { EC2InstanceConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2InstanceConnectClient";
5
5
  import { SendSerialConsoleSSHPublicKeyRequest, SendSerialConsoleSSHPublicKeyResponse } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link SendSerialConsoleSSHPublicKeyCommand}.
8
10
  */
9
11
  export interface SendSerialConsoleSSHPublicKeyCommandInput extends SendSerialConsoleSSHPublicKeyRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link SendSerialConsoleSSHPublicKeyCommand}.
13
17
  */
14
18
  export interface SendSerialConsoleSSHPublicKeyCommandOutput extends SendSerialConsoleSSHPublicKeyResponse, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Pushes an SSH public key to the specified EC2 instance. The key remains for 60
18
23
  * seconds, which gives you 60 seconds to establish a serial console connection to the
19
24
  * 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
@@ -28,6 +33,8 @@ export interface SendSerialConsoleSSHPublicKeyCommandOutput extends SendSerialCo
28
33
  * const response = await client.send(command);
29
34
  * ```
30
35
  *
36
+ * @param SendSerialConsoleSSHPublicKeyCommandInput - {@link SendSerialConsoleSSHPublicKeyCommandInput}
37
+ * @returns {@link SendSerialConsoleSSHPublicKeyCommandOutput}
31
38
  * @see {@link SendSerialConsoleSSHPublicKeyCommandInput} for command's `input` shape.
32
39
  * @see {@link SendSerialConsoleSSHPublicKeyCommandOutput} for command's `response` shape.
33
40
  * @see {@link EC2InstanceConnectClientResolvedConfig | config} for EC2InstanceConnectClient's `config` shape.
@@ -76,11 +83,20 @@ export interface SendSerialConsoleSSHPublicKeyCommandOutput extends SendSerialCo
76
83
  export declare class SendSerialConsoleSSHPublicKeyCommand extends $Command<SendSerialConsoleSSHPublicKeyCommandInput, SendSerialConsoleSSHPublicKeyCommandOutput, EC2InstanceConnectClientResolvedConfig> {
77
84
  readonly input: SendSerialConsoleSSHPublicKeyCommandInput;
78
85
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
86
+ /**
87
+ * @public
88
+ */
79
89
  constructor(input: SendSerialConsoleSSHPublicKeyCommandInput);
80
90
  /**
81
91
  * @internal
82
92
  */
83
93
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EC2InstanceConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SendSerialConsoleSSHPublicKeyCommandInput, SendSerialConsoleSSHPublicKeyCommandOutput>;
94
+ /**
95
+ * @internal
96
+ */
84
97
  private serialize;
98
+ /**
99
+ * @internal
100
+ */
85
101
  private deserialize;
86
102
  }
@@ -1,5 +1,7 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
2
  /**
3
+ * @public
4
+ *
3
5
  * Base exception class for all service exceptions from EC2InstanceConnect service.
4
6
  */
5
7
  export declare class EC2InstanceConnectServiceException extends __ServiceException {
@@ -1,6 +1,7 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { EC2InstanceConnectServiceException as __BaseException } from "./EC2InstanceConnectServiceException";
3
3
  /**
4
+ * @public
4
5
  * <p>Either your AWS credentials are not valid or you do not have access to the EC2 instance.</p>
5
6
  */
6
7
  export declare class AuthException extends __BaseException {
@@ -13,6 +14,7 @@ export declare class AuthException extends __BaseException {
13
14
  constructor(opts: __ExceptionOptionType<AuthException, __BaseException>);
14
15
  }
15
16
  /**
17
+ * @public
16
18
  * <p>The specified instance was not found.</p>
17
19
  */
18
20
  export declare class EC2InstanceNotFoundException extends __BaseException {
@@ -25,6 +27,7 @@ export declare class EC2InstanceNotFoundException extends __BaseException {
25
27
  constructor(opts: __ExceptionOptionType<EC2InstanceNotFoundException, __BaseException>);
26
28
  }
27
29
  /**
30
+ * @public
28
31
  * <p>Unable to connect because the instance is not in a valid state.
29
32
  * Connecting to a stopped or terminated instance is not supported. If the instance is stopped,
30
33
  * start your instance, and try to connect again.</p>
@@ -39,6 +42,7 @@ export declare class EC2InstanceStateInvalidException extends __BaseException {
39
42
  constructor(opts: __ExceptionOptionType<EC2InstanceStateInvalidException, __BaseException>);
40
43
  }
41
44
  /**
45
+ * @public
42
46
  * <p>The instance type is not supported for connecting via the serial console. Only Nitro
43
47
  * instance types are currently supported.</p>
44
48
  */
@@ -52,6 +56,7 @@ export declare class EC2InstanceTypeInvalidException extends __BaseException {
52
56
  constructor(opts: __ExceptionOptionType<EC2InstanceTypeInvalidException, __BaseException>);
53
57
  }
54
58
  /**
59
+ * @public
55
60
  * <p>The instance is currently unavailable. Wait a few minutes and try again.</p>
56
61
  */
57
62
  export declare class EC2InstanceUnavailableException extends __BaseException {
@@ -64,6 +69,7 @@ export declare class EC2InstanceUnavailableException extends __BaseException {
64
69
  constructor(opts: __ExceptionOptionType<EC2InstanceUnavailableException, __BaseException>);
65
70
  }
66
71
  /**
72
+ * @public
67
73
  * <p>One of the parameters is not valid.</p>
68
74
  */
69
75
  export declare class InvalidArgsException extends __BaseException {
@@ -75,6 +81,9 @@ export declare class InvalidArgsException extends __BaseException {
75
81
  */
76
82
  constructor(opts: __ExceptionOptionType<InvalidArgsException, __BaseException>);
77
83
  }
84
+ /**
85
+ * @public
86
+ */
78
87
  export interface SendSerialConsoleSSHPublicKeyRequest {
79
88
  /**
80
89
  * <p>The ID of the EC2 instance.</p>
@@ -92,6 +101,9 @@ export interface SendSerialConsoleSSHPublicKeyRequest {
92
101
  */
93
102
  SSHPublicKey: string | undefined;
94
103
  }
104
+ /**
105
+ * @public
106
+ */
95
107
  export interface SendSerialConsoleSSHPublicKeyResponse {
96
108
  /**
97
109
  * <p>The ID of the request. Please provide this ID when contacting AWS Support for assistance.</p>
@@ -103,6 +115,7 @@ export interface SendSerialConsoleSSHPublicKeyResponse {
103
115
  Success?: boolean;
104
116
  }
105
117
  /**
118
+ * @public
106
119
  * <p>Your account is not authorized to use the EC2 Serial Console. To authorize your
107
120
  * account, run the EnableSerialConsoleAccess API. For more information, see
108
121
  * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EnableSerialConsoleAccess.html">EnableSerialConsoleAccess</a> in the <i>Amazon EC2 API Reference</i>.</p>
@@ -117,6 +130,7 @@ export declare class SerialConsoleAccessDisabledException extends __BaseExceptio
117
130
  constructor(opts: __ExceptionOptionType<SerialConsoleAccessDisabledException, __BaseException>);
118
131
  }
119
132
  /**
133
+ * @public
120
134
  * <p>The instance currently has 1 active serial console session. Only 1 session is supported at a time.</p>
121
135
  */
122
136
  export declare class SerialConsoleSessionLimitExceededException extends __BaseException {
@@ -129,6 +143,7 @@ export declare class SerialConsoleSessionLimitExceededException extends __BaseEx
129
143
  constructor(opts: __ExceptionOptionType<SerialConsoleSessionLimitExceededException, __BaseException>);
130
144
  }
131
145
  /**
146
+ * @public
132
147
  * <p>Unable to start a serial console session. Please try again.</p>
133
148
  */
134
149
  export declare class SerialConsoleSessionUnavailableException extends __BaseException {
@@ -141,6 +156,7 @@ export declare class SerialConsoleSessionUnavailableException extends __BaseExce
141
156
  constructor(opts: __ExceptionOptionType<SerialConsoleSessionUnavailableException, __BaseException>);
142
157
  }
143
158
  /**
159
+ * @public
144
160
  * <p>The service encountered an error. Follow the instructions in the error message and try again.</p>
145
161
  */
146
162
  export declare class ServiceException extends __BaseException {
@@ -153,6 +169,7 @@ export declare class ServiceException extends __BaseException {
153
169
  constructor(opts: __ExceptionOptionType<ServiceException, __BaseException>);
154
170
  }
155
171
  /**
172
+ * @public
156
173
  * <p>The requests were made too frequently and have been throttled. Wait a while and try again.
157
174
  * To increase the limit on your request frequency, contact AWS Support.</p>
158
175
  */
@@ -165,6 +182,9 @@ export declare class ThrottlingException extends __BaseException {
165
182
  */
166
183
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
167
184
  }
185
+ /**
186
+ * @public
187
+ */
168
188
  export interface SendSSHPublicKeyRequest {
169
189
  /**
170
190
  * <p>The ID of the EC2 instance.</p>
@@ -183,6 +203,9 @@ export interface SendSSHPublicKeyRequest {
183
203
  */
184
204
  AvailabilityZone?: string;
185
205
  }
206
+ /**
207
+ * @public
208
+ */
186
209
  export interface SendSSHPublicKeyResponse {
187
210
  /**
188
211
  * <p>The ID of the request. Please provide this ID when contacting AWS Support for assistance.</p>
@@ -193,19 +216,3 @@ export interface SendSSHPublicKeyResponse {
193
216
  */
194
217
  Success?: boolean;
195
218
  }
196
- /**
197
- * @internal
198
- */
199
- export declare const SendSerialConsoleSSHPublicKeyRequestFilterSensitiveLog: (obj: SendSerialConsoleSSHPublicKeyRequest) => any;
200
- /**
201
- * @internal
202
- */
203
- export declare const SendSerialConsoleSSHPublicKeyResponseFilterSensitiveLog: (obj: SendSerialConsoleSSHPublicKeyResponse) => any;
204
- /**
205
- * @internal
206
- */
207
- export declare const SendSSHPublicKeyRequestFilterSensitiveLog: (obj: SendSSHPublicKeyRequest) => any;
208
- /**
209
- * @internal
210
- */
211
- export declare const SendSSHPublicKeyResponseFilterSensitiveLog: (obj: SendSSHPublicKeyResponse) => any;
@@ -121,15 +121,3 @@ export interface SendSSHPublicKeyResponse {
121
121
  RequestId?: string;
122
122
  Success?: boolean;
123
123
  }
124
- export declare const SendSerialConsoleSSHPublicKeyRequestFilterSensitiveLog: (
125
- obj: SendSerialConsoleSSHPublicKeyRequest
126
- ) => any;
127
- export declare const SendSerialConsoleSSHPublicKeyResponseFilterSensitiveLog: (
128
- obj: SendSerialConsoleSSHPublicKeyResponse
129
- ) => any;
130
- export declare const SendSSHPublicKeyRequestFilterSensitiveLog: (
131
- obj: SendSSHPublicKeyRequest
132
- ) => any;
133
- export declare const SendSSHPublicKeyResponseFilterSensitiveLog: (
134
- obj: SendSSHPublicKeyResponse
135
- ) => any;
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.296.0",
4
+ "version": "3.298.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",
@@ -11,6 +11,7 @@
11
11
  "build:types": "tsc -p tsconfig.types.json",
12
12
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
13
13
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
14
+ "extract:docs": "api-extractor run --local",
14
15
  "generate:client": "node ../../scripts/generate-clients/single-service --solo ec2-instance-connect"
15
16
  },
16
17
  "main": "./dist-cjs/index.js",
@@ -20,9 +21,9 @@
20
21
  "dependencies": {
21
22
  "@aws-crypto/sha256-browser": "3.0.0",
22
23
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.296.0",
24
+ "@aws-sdk/client-sts": "3.298.0",
24
25
  "@aws-sdk/config-resolver": "3.296.0",
25
- "@aws-sdk/credential-provider-node": "3.296.0",
26
+ "@aws-sdk/credential-provider-node": "3.298.0",
26
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
27
28
  "@aws-sdk/hash-node": "3.296.0",
28
29
  "@aws-sdk/invalid-dependency": "3.296.0",