@aws-sdk/client-ec2-instance-connect 3.687.0 → 3.692.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.
@@ -7,7 +7,7 @@ import { EC2InstanceConnectServiceException as __BaseException } from "./EC2Inst
7
7
  export declare class AuthException extends __BaseException {
8
8
  readonly name: "AuthException";
9
9
  readonly $fault: "client";
10
- Message?: string;
10
+ Message?: string | undefined;
11
11
  /**
12
12
  * @internal
13
13
  */
@@ -20,7 +20,7 @@ export declare class AuthException extends __BaseException {
20
20
  export declare class EC2InstanceNotFoundException extends __BaseException {
21
21
  readonly name: "EC2InstanceNotFoundException";
22
22
  readonly $fault: "client";
23
- Message?: string;
23
+ Message?: string | undefined;
24
24
  /**
25
25
  * @internal
26
26
  */
@@ -35,7 +35,7 @@ export declare class EC2InstanceNotFoundException extends __BaseException {
35
35
  export declare class EC2InstanceStateInvalidException extends __BaseException {
36
36
  readonly name: "EC2InstanceStateInvalidException";
37
37
  readonly $fault: "client";
38
- Message?: string;
38
+ Message?: string | undefined;
39
39
  /**
40
40
  * @internal
41
41
  */
@@ -49,7 +49,7 @@ export declare class EC2InstanceStateInvalidException extends __BaseException {
49
49
  export declare class EC2InstanceTypeInvalidException extends __BaseException {
50
50
  readonly name: "EC2InstanceTypeInvalidException";
51
51
  readonly $fault: "client";
52
- Message?: string;
52
+ Message?: string | undefined;
53
53
  /**
54
54
  * @internal
55
55
  */
@@ -62,7 +62,7 @@ export declare class EC2InstanceTypeInvalidException extends __BaseException {
62
62
  export declare class EC2InstanceUnavailableException extends __BaseException {
63
63
  readonly name: "EC2InstanceUnavailableException";
64
64
  readonly $fault: "server";
65
- Message?: string;
65
+ Message?: string | undefined;
66
66
  /**
67
67
  * @internal
68
68
  */
@@ -75,7 +75,7 @@ export declare class EC2InstanceUnavailableException extends __BaseException {
75
75
  export declare class InvalidArgsException extends __BaseException {
76
76
  readonly name: "InvalidArgsException";
77
77
  readonly $fault: "client";
78
- Message?: string;
78
+ Message?: string | undefined;
79
79
  /**
80
80
  * @internal
81
81
  */
@@ -95,7 +95,7 @@ export interface SendSerialConsoleSSHPublicKeyRequest {
95
95
  * <p>Default: 0</p>
96
96
  * @public
97
97
  */
98
- SerialPort?: number;
98
+ SerialPort?: number | undefined;
99
99
  /**
100
100
  * <p>The public key material. To use the public key, you must have the matching private
101
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
@@ -112,12 +112,12 @@ export interface SendSerialConsoleSSHPublicKeyResponse {
112
112
  * <p>The ID of the request. Please provide this ID when contacting AWS Support for assistance.</p>
113
113
  * @public
114
114
  */
115
- RequestId?: string;
115
+ RequestId?: string | undefined;
116
116
  /**
117
117
  * <p>Is true if the request succeeds and an error otherwise.</p>
118
118
  * @public
119
119
  */
120
- Success?: boolean;
120
+ Success?: boolean | undefined;
121
121
  }
122
122
  /**
123
123
  * <p>Your account is not authorized to use the EC2 Serial Console. To authorize your
@@ -128,7 +128,7 @@ export interface SendSerialConsoleSSHPublicKeyResponse {
128
128
  export declare class SerialConsoleAccessDisabledException extends __BaseException {
129
129
  readonly name: "SerialConsoleAccessDisabledException";
130
130
  readonly $fault: "client";
131
- Message?: string;
131
+ Message?: string | undefined;
132
132
  /**
133
133
  * @internal
134
134
  */
@@ -141,7 +141,7 @@ export declare class SerialConsoleAccessDisabledException extends __BaseExceptio
141
141
  export declare class SerialConsoleSessionLimitExceededException extends __BaseException {
142
142
  readonly name: "SerialConsoleSessionLimitExceededException";
143
143
  readonly $fault: "client";
144
- Message?: string;
144
+ Message?: string | undefined;
145
145
  /**
146
146
  * @internal
147
147
  */
@@ -154,7 +154,7 @@ export declare class SerialConsoleSessionLimitExceededException extends __BaseEx
154
154
  export declare class SerialConsoleSessionUnavailableException extends __BaseException {
155
155
  readonly name: "SerialConsoleSessionUnavailableException";
156
156
  readonly $fault: "server";
157
- Message?: string;
157
+ Message?: string | undefined;
158
158
  /**
159
159
  * @internal
160
160
  */
@@ -167,7 +167,7 @@ export declare class SerialConsoleSessionUnavailableException extends __BaseExce
167
167
  export declare class SerialConsoleSessionUnsupportedException extends __BaseException {
168
168
  readonly name: "SerialConsoleSessionUnsupportedException";
169
169
  readonly $fault: "client";
170
- Message?: string;
170
+ Message?: string | undefined;
171
171
  /**
172
172
  * @internal
173
173
  */
@@ -180,7 +180,7 @@ export declare class SerialConsoleSessionUnsupportedException extends __BaseExce
180
180
  export declare class ServiceException extends __BaseException {
181
181
  readonly name: "ServiceException";
182
182
  readonly $fault: "server";
183
- Message?: string;
183
+ Message?: string | undefined;
184
184
  /**
185
185
  * @internal
186
186
  */
@@ -194,7 +194,7 @@ export declare class ServiceException extends __BaseException {
194
194
  export declare class ThrottlingException extends __BaseException {
195
195
  readonly name: "ThrottlingException";
196
196
  readonly $fault: "client";
197
- Message?: string;
197
+ Message?: string | undefined;
198
198
  /**
199
199
  * @internal
200
200
  */
@@ -223,7 +223,7 @@ export interface SendSSHPublicKeyRequest {
223
223
  * <p>The Availability Zone in which the EC2 instance was launched.</p>
224
224
  * @public
225
225
  */
226
- AvailabilityZone?: string;
226
+ AvailabilityZone?: string | undefined;
227
227
  }
228
228
  /**
229
229
  * @public
@@ -233,10 +233,10 @@ export interface SendSSHPublicKeyResponse {
233
233
  * <p>The ID of the request. Please provide this ID when contacting AWS Support for assistance.</p>
234
234
  * @public
235
235
  */
236
- RequestId?: string;
236
+ RequestId?: string | undefined;
237
237
  /**
238
238
  * <p>Is true if the request succeeds and an error otherwise.</p>
239
239
  * @public
240
240
  */
241
- Success?: boolean;
241
+ Success?: boolean | undefined;
242
242
  }
@@ -3,13 +3,13 @@ import { EC2InstanceConnectServiceException as __BaseException } from "./EC2Inst
3
3
  export declare class AuthException extends __BaseException {
4
4
  readonly name: "AuthException";
5
5
  readonly $fault: "client";
6
- Message?: string;
6
+ Message?: string | undefined;
7
7
  constructor(opts: __ExceptionOptionType<AuthException, __BaseException>);
8
8
  }
9
9
  export declare class EC2InstanceNotFoundException extends __BaseException {
10
10
  readonly name: "EC2InstanceNotFoundException";
11
11
  readonly $fault: "client";
12
- Message?: string;
12
+ Message?: string | undefined;
13
13
  constructor(
14
14
  opts: __ExceptionOptionType<EC2InstanceNotFoundException, __BaseException>
15
15
  );
@@ -17,7 +17,7 @@ export declare class EC2InstanceNotFoundException extends __BaseException {
17
17
  export declare class EC2InstanceStateInvalidException extends __BaseException {
18
18
  readonly name: "EC2InstanceStateInvalidException";
19
19
  readonly $fault: "client";
20
- Message?: string;
20
+ Message?: string | undefined;
21
21
  constructor(
22
22
  opts: __ExceptionOptionType<
23
23
  EC2InstanceStateInvalidException,
@@ -28,7 +28,7 @@ export declare class EC2InstanceStateInvalidException extends __BaseException {
28
28
  export declare class EC2InstanceTypeInvalidException extends __BaseException {
29
29
  readonly name: "EC2InstanceTypeInvalidException";
30
30
  readonly $fault: "client";
31
- Message?: string;
31
+ Message?: string | undefined;
32
32
  constructor(
33
33
  opts: __ExceptionOptionType<
34
34
  EC2InstanceTypeInvalidException,
@@ -39,7 +39,7 @@ export declare class EC2InstanceTypeInvalidException extends __BaseException {
39
39
  export declare class EC2InstanceUnavailableException extends __BaseException {
40
40
  readonly name: "EC2InstanceUnavailableException";
41
41
  readonly $fault: "server";
42
- Message?: string;
42
+ Message?: string | undefined;
43
43
  constructor(
44
44
  opts: __ExceptionOptionType<
45
45
  EC2InstanceUnavailableException,
@@ -50,24 +50,24 @@ export declare class EC2InstanceUnavailableException extends __BaseException {
50
50
  export declare class InvalidArgsException extends __BaseException {
51
51
  readonly name: "InvalidArgsException";
52
52
  readonly $fault: "client";
53
- Message?: string;
53
+ Message?: string | undefined;
54
54
  constructor(
55
55
  opts: __ExceptionOptionType<InvalidArgsException, __BaseException>
56
56
  );
57
57
  }
58
58
  export interface SendSerialConsoleSSHPublicKeyRequest {
59
59
  InstanceId: string | undefined;
60
- SerialPort?: number;
60
+ SerialPort?: number | undefined;
61
61
  SSHPublicKey: string | undefined;
62
62
  }
63
63
  export interface SendSerialConsoleSSHPublicKeyResponse {
64
- RequestId?: string;
65
- Success?: boolean;
64
+ RequestId?: string | undefined;
65
+ Success?: boolean | undefined;
66
66
  }
67
67
  export declare class SerialConsoleAccessDisabledException extends __BaseException {
68
68
  readonly name: "SerialConsoleAccessDisabledException";
69
69
  readonly $fault: "client";
70
- Message?: string;
70
+ Message?: string | undefined;
71
71
  constructor(
72
72
  opts: __ExceptionOptionType<
73
73
  SerialConsoleAccessDisabledException,
@@ -78,7 +78,7 @@ export declare class SerialConsoleAccessDisabledException extends __BaseExceptio
78
78
  export declare class SerialConsoleSessionLimitExceededException extends __BaseException {
79
79
  readonly name: "SerialConsoleSessionLimitExceededException";
80
80
  readonly $fault: "client";
81
- Message?: string;
81
+ Message?: string | undefined;
82
82
  constructor(
83
83
  opts: __ExceptionOptionType<
84
84
  SerialConsoleSessionLimitExceededException,
@@ -89,7 +89,7 @@ export declare class SerialConsoleSessionLimitExceededException extends __BaseEx
89
89
  export declare class SerialConsoleSessionUnavailableException extends __BaseException {
90
90
  readonly name: "SerialConsoleSessionUnavailableException";
91
91
  readonly $fault: "server";
92
- Message?: string;
92
+ Message?: string | undefined;
93
93
  constructor(
94
94
  opts: __ExceptionOptionType<
95
95
  SerialConsoleSessionUnavailableException,
@@ -100,7 +100,7 @@ export declare class SerialConsoleSessionUnavailableException extends __BaseExce
100
100
  export declare class SerialConsoleSessionUnsupportedException extends __BaseException {
101
101
  readonly name: "SerialConsoleSessionUnsupportedException";
102
102
  readonly $fault: "client";
103
- Message?: string;
103
+ Message?: string | undefined;
104
104
  constructor(
105
105
  opts: __ExceptionOptionType<
106
106
  SerialConsoleSessionUnsupportedException,
@@ -111,13 +111,13 @@ export declare class SerialConsoleSessionUnsupportedException extends __BaseExce
111
111
  export declare class ServiceException extends __BaseException {
112
112
  readonly name: "ServiceException";
113
113
  readonly $fault: "server";
114
- Message?: string;
114
+ Message?: string | undefined;
115
115
  constructor(opts: __ExceptionOptionType<ServiceException, __BaseException>);
116
116
  }
117
117
  export declare class ThrottlingException extends __BaseException {
118
118
  readonly name: "ThrottlingException";
119
119
  readonly $fault: "client";
120
- Message?: string;
120
+ Message?: string | undefined;
121
121
  constructor(
122
122
  opts: __ExceptionOptionType<ThrottlingException, __BaseException>
123
123
  );
@@ -126,9 +126,9 @@ export interface SendSSHPublicKeyRequest {
126
126
  InstanceId: string | undefined;
127
127
  InstanceOSUser: string | undefined;
128
128
  SSHPublicKey: string | undefined;
129
- AvailabilityZone?: string;
129
+ AvailabilityZone?: string | undefined;
130
130
  }
131
131
  export interface SendSSHPublicKeyResponse {
132
- RequestId?: string;
133
- Success?: boolean;
132
+ RequestId?: string | undefined;
133
+ Success?: boolean | undefined;
134
134
  }
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.687.0",
4
+ "version": "3.692.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,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.687.0",
24
- "@aws-sdk/client-sts": "3.687.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.687.0",
27
- "@aws-sdk/middleware-host-header": "3.686.0",
28
- "@aws-sdk/middleware-logger": "3.686.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.687.0",
31
- "@aws-sdk/region-config-resolver": "3.686.0",
32
- "@aws-sdk/types": "3.686.0",
33
- "@aws-sdk/util-endpoints": "3.686.0",
34
- "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.687.0",
36
- "@smithy/config-resolver": "^3.0.10",
37
- "@smithy/core": "^2.5.1",
38
- "@smithy/fetch-http-handler": "^4.0.0",
39
- "@smithy/hash-node": "^3.0.8",
40
- "@smithy/invalid-dependency": "^3.0.8",
41
- "@smithy/middleware-content-length": "^3.0.10",
42
- "@smithy/middleware-endpoint": "^3.2.1",
43
- "@smithy/middleware-retry": "^3.0.25",
44
- "@smithy/middleware-serde": "^3.0.8",
45
- "@smithy/middleware-stack": "^3.0.8",
46
- "@smithy/node-config-provider": "^3.1.9",
47
- "@smithy/node-http-handler": "^3.2.5",
48
- "@smithy/protocol-http": "^4.1.5",
49
- "@smithy/smithy-client": "^3.4.2",
50
- "@smithy/types": "^3.6.0",
51
- "@smithy/url-parser": "^3.0.8",
23
+ "@aws-sdk/client-sso-oidc": "3.692.0",
24
+ "@aws-sdk/client-sts": "3.692.0",
25
+ "@aws-sdk/core": "3.692.0",
26
+ "@aws-sdk/credential-provider-node": "3.692.0",
27
+ "@aws-sdk/middleware-host-header": "3.692.0",
28
+ "@aws-sdk/middleware-logger": "3.692.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.692.0",
30
+ "@aws-sdk/middleware-user-agent": "3.692.0",
31
+ "@aws-sdk/region-config-resolver": "3.692.0",
32
+ "@aws-sdk/types": "3.692.0",
33
+ "@aws-sdk/util-endpoints": "3.692.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.692.0",
35
+ "@aws-sdk/util-user-agent-node": "3.692.0",
36
+ "@smithy/config-resolver": "^3.0.11",
37
+ "@smithy/core": "^2.5.2",
38
+ "@smithy/fetch-http-handler": "^4.1.0",
39
+ "@smithy/hash-node": "^3.0.9",
40
+ "@smithy/invalid-dependency": "^3.0.9",
41
+ "@smithy/middleware-content-length": "^3.0.11",
42
+ "@smithy/middleware-endpoint": "^3.2.2",
43
+ "@smithy/middleware-retry": "^3.0.26",
44
+ "@smithy/middleware-serde": "^3.0.9",
45
+ "@smithy/middleware-stack": "^3.0.9",
46
+ "@smithy/node-config-provider": "^3.1.10",
47
+ "@smithy/node-http-handler": "^3.3.0",
48
+ "@smithy/protocol-http": "^4.1.6",
49
+ "@smithy/smithy-client": "^3.4.3",
50
+ "@smithy/types": "^3.7.0",
51
+ "@smithy/url-parser": "^3.0.9",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.25",
56
- "@smithy/util-defaults-mode-node": "^3.0.25",
57
- "@smithy/util-endpoints": "^2.1.4",
58
- "@smithy/util-middleware": "^3.0.8",
59
- "@smithy/util-retry": "^3.0.8",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.26",
56
+ "@smithy/util-defaults-mode-node": "^3.0.26",
57
+ "@smithy/util-endpoints": "^2.1.5",
58
+ "@smithy/util-middleware": "^3.0.9",
59
+ "@smithy/util-retry": "^3.0.9",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },