@aws-sdk/client-ec2-instance-connect 3.1148.0 → 3.1149.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/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1147.0";
72
+ var version = "3.1148.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
132
132
  customEndpointFunctions.aws = awsEndpointFunctions;
133
133
 
134
134
  class EC2InstanceConnectServiceException extends ServiceException$1 {
135
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.ec2instanceconnect#EC2InstanceConnectServiceException";
135
136
  constructor(options) {
136
137
  super(options);
137
138
  Object.setPrototypeOf(this, EC2InstanceConnectServiceException.prototype);
@@ -139,6 +140,7 @@ class EC2InstanceConnectServiceException extends ServiceException$1 {
139
140
  }
140
141
 
141
142
  class AuthException extends EC2InstanceConnectServiceException {
143
+ static shapeId = "com.amazonaws.ec2instanceconnect#AuthException";
142
144
  name = "AuthException";
143
145
  $fault = "client";
144
146
  Message;
@@ -153,6 +155,7 @@ class AuthException extends EC2InstanceConnectServiceException {
153
155
  }
154
156
  }
155
157
  class EC2InstanceNotFoundException extends EC2InstanceConnectServiceException {
158
+ static shapeId = "com.amazonaws.ec2instanceconnect#EC2InstanceNotFoundException";
156
159
  name = "EC2InstanceNotFoundException";
157
160
  $fault = "client";
158
161
  Message;
@@ -167,6 +170,7 @@ class EC2InstanceNotFoundException extends EC2InstanceConnectServiceException {
167
170
  }
168
171
  }
169
172
  class EC2InstanceStateInvalidException extends EC2InstanceConnectServiceException {
173
+ static shapeId = "com.amazonaws.ec2instanceconnect#EC2InstanceStateInvalidException";
170
174
  name = "EC2InstanceStateInvalidException";
171
175
  $fault = "client";
172
176
  Message;
@@ -181,6 +185,7 @@ class EC2InstanceStateInvalidException extends EC2InstanceConnectServiceExceptio
181
185
  }
182
186
  }
183
187
  class EC2InstanceTypeInvalidException extends EC2InstanceConnectServiceException {
188
+ static shapeId = "com.amazonaws.ec2instanceconnect#EC2InstanceTypeInvalidException";
184
189
  name = "EC2InstanceTypeInvalidException";
185
190
  $fault = "client";
186
191
  Message;
@@ -195,6 +200,7 @@ class EC2InstanceTypeInvalidException extends EC2InstanceConnectServiceException
195
200
  }
196
201
  }
197
202
  class EC2InstanceUnavailableException extends EC2InstanceConnectServiceException {
203
+ static shapeId = "com.amazonaws.ec2instanceconnect#EC2InstanceUnavailableException";
198
204
  name = "EC2InstanceUnavailableException";
199
205
  $fault = "server";
200
206
  Message;
@@ -209,6 +215,7 @@ class EC2InstanceUnavailableException extends EC2InstanceConnectServiceException
209
215
  }
210
216
  }
211
217
  class InvalidArgsException extends EC2InstanceConnectServiceException {
218
+ static shapeId = "com.amazonaws.ec2instanceconnect#InvalidArgsException";
212
219
  name = "InvalidArgsException";
213
220
  $fault = "client";
214
221
  Message;
@@ -223,6 +230,7 @@ class InvalidArgsException extends EC2InstanceConnectServiceException {
223
230
  }
224
231
  }
225
232
  class SerialConsoleAccessDisabledException extends EC2InstanceConnectServiceException {
233
+ static shapeId = "com.amazonaws.ec2instanceconnect#SerialConsoleAccessDisabledException";
226
234
  name = "SerialConsoleAccessDisabledException";
227
235
  $fault = "client";
228
236
  Message;
@@ -237,6 +245,7 @@ class SerialConsoleAccessDisabledException extends EC2InstanceConnectServiceExce
237
245
  }
238
246
  }
239
247
  class SerialConsoleSessionLimitExceededException extends EC2InstanceConnectServiceException {
248
+ static shapeId = "com.amazonaws.ec2instanceconnect#SerialConsoleSessionLimitExceededException";
240
249
  name = "SerialConsoleSessionLimitExceededException";
241
250
  $fault = "client";
242
251
  Message;
@@ -251,6 +260,7 @@ class SerialConsoleSessionLimitExceededException extends EC2InstanceConnectServi
251
260
  }
252
261
  }
253
262
  class SerialConsoleSessionUnavailableException extends EC2InstanceConnectServiceException {
263
+ static shapeId = "com.amazonaws.ec2instanceconnect#SerialConsoleSessionUnavailableException";
254
264
  name = "SerialConsoleSessionUnavailableException";
255
265
  $fault = "server";
256
266
  Message;
@@ -265,6 +275,7 @@ class SerialConsoleSessionUnavailableException extends EC2InstanceConnectService
265
275
  }
266
276
  }
267
277
  class SerialConsoleSessionUnsupportedException extends EC2InstanceConnectServiceException {
278
+ static shapeId = "com.amazonaws.ec2instanceconnect#SerialConsoleSessionUnsupportedException";
268
279
  name = "SerialConsoleSessionUnsupportedException";
269
280
  $fault = "client";
270
281
  Message;
@@ -279,6 +290,7 @@ class SerialConsoleSessionUnsupportedException extends EC2InstanceConnectService
279
290
  }
280
291
  }
281
292
  class ServiceException extends EC2InstanceConnectServiceException {
293
+ static shapeId = "com.amazonaws.ec2instanceconnect#ServiceException";
282
294
  name = "ServiceException";
283
295
  $fault = "server";
284
296
  Message;
@@ -293,6 +305,7 @@ class ServiceException extends EC2InstanceConnectServiceException {
293
305
  }
294
306
  }
295
307
  class ThrottlingException extends EC2InstanceConnectServiceException {
308
+ static shapeId = "com.amazonaws.ec2instanceconnect#ThrottlingException";
296
309
  name = "ThrottlingException";
297
310
  $fault = "client";
298
311
  Message;
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class EC2InstanceConnectServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.ec2instanceconnect#EC2InstanceConnectServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, EC2InstanceConnectServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { EC2InstanceConnectServiceException as __BaseException } from "./EC2InstanceConnectServiceException";
2
2
  export class AuthException extends __BaseException {
3
+ static shapeId = "com.amazonaws.ec2instanceconnect#AuthException";
3
4
  name = "AuthException";
4
5
  $fault = "client";
5
6
  Message;
@@ -14,6 +15,7 @@ export class AuthException extends __BaseException {
14
15
  }
15
16
  }
16
17
  export class EC2InstanceNotFoundException extends __BaseException {
18
+ static shapeId = "com.amazonaws.ec2instanceconnect#EC2InstanceNotFoundException";
17
19
  name = "EC2InstanceNotFoundException";
18
20
  $fault = "client";
19
21
  Message;
@@ -28,6 +30,7 @@ export class EC2InstanceNotFoundException extends __BaseException {
28
30
  }
29
31
  }
30
32
  export class EC2InstanceStateInvalidException extends __BaseException {
33
+ static shapeId = "com.amazonaws.ec2instanceconnect#EC2InstanceStateInvalidException";
31
34
  name = "EC2InstanceStateInvalidException";
32
35
  $fault = "client";
33
36
  Message;
@@ -42,6 +45,7 @@ export class EC2InstanceStateInvalidException extends __BaseException {
42
45
  }
43
46
  }
44
47
  export class EC2InstanceTypeInvalidException extends __BaseException {
48
+ static shapeId = "com.amazonaws.ec2instanceconnect#EC2InstanceTypeInvalidException";
45
49
  name = "EC2InstanceTypeInvalidException";
46
50
  $fault = "client";
47
51
  Message;
@@ -56,6 +60,7 @@ export class EC2InstanceTypeInvalidException extends __BaseException {
56
60
  }
57
61
  }
58
62
  export class EC2InstanceUnavailableException extends __BaseException {
63
+ static shapeId = "com.amazonaws.ec2instanceconnect#EC2InstanceUnavailableException";
59
64
  name = "EC2InstanceUnavailableException";
60
65
  $fault = "server";
61
66
  Message;
@@ -70,6 +75,7 @@ export class EC2InstanceUnavailableException extends __BaseException {
70
75
  }
71
76
  }
72
77
  export class InvalidArgsException extends __BaseException {
78
+ static shapeId = "com.amazonaws.ec2instanceconnect#InvalidArgsException";
73
79
  name = "InvalidArgsException";
74
80
  $fault = "client";
75
81
  Message;
@@ -84,6 +90,7 @@ export class InvalidArgsException extends __BaseException {
84
90
  }
85
91
  }
86
92
  export class SerialConsoleAccessDisabledException extends __BaseException {
93
+ static shapeId = "com.amazonaws.ec2instanceconnect#SerialConsoleAccessDisabledException";
87
94
  name = "SerialConsoleAccessDisabledException";
88
95
  $fault = "client";
89
96
  Message;
@@ -98,6 +105,7 @@ export class SerialConsoleAccessDisabledException extends __BaseException {
98
105
  }
99
106
  }
100
107
  export class SerialConsoleSessionLimitExceededException extends __BaseException {
108
+ static shapeId = "com.amazonaws.ec2instanceconnect#SerialConsoleSessionLimitExceededException";
101
109
  name = "SerialConsoleSessionLimitExceededException";
102
110
  $fault = "client";
103
111
  Message;
@@ -112,6 +120,7 @@ export class SerialConsoleSessionLimitExceededException extends __BaseException
112
120
  }
113
121
  }
114
122
  export class SerialConsoleSessionUnavailableException extends __BaseException {
123
+ static shapeId = "com.amazonaws.ec2instanceconnect#SerialConsoleSessionUnavailableException";
115
124
  name = "SerialConsoleSessionUnavailableException";
116
125
  $fault = "server";
117
126
  Message;
@@ -126,6 +135,7 @@ export class SerialConsoleSessionUnavailableException extends __BaseException {
126
135
  }
127
136
  }
128
137
  export class SerialConsoleSessionUnsupportedException extends __BaseException {
138
+ static shapeId = "com.amazonaws.ec2instanceconnect#SerialConsoleSessionUnsupportedException";
129
139
  name = "SerialConsoleSessionUnsupportedException";
130
140
  $fault = "client";
131
141
  Message;
@@ -140,6 +150,7 @@ export class SerialConsoleSessionUnsupportedException extends __BaseException {
140
150
  }
141
151
  }
142
152
  export class ServiceException extends __BaseException {
153
+ static shapeId = "com.amazonaws.ec2instanceconnect#ServiceException";
143
154
  name = "ServiceException";
144
155
  $fault = "server";
145
156
  Message;
@@ -154,6 +165,7 @@ export class ServiceException extends __BaseException {
154
165
  }
155
166
  }
156
167
  export class ThrottlingException extends __BaseException {
168
+ static shapeId = "com.amazonaws.ec2instanceconnect#ThrottlingException";
157
169
  name = "ThrottlingException";
158
170
  $fault = "client";
159
171
  Message;
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from EC2InstanceConnect service.
8
8
  */
9
9
  export declare class EC2InstanceConnectServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -5,6 +5,7 @@ import { EC2InstanceConnectServiceException as __BaseException } from "./EC2Inst
5
5
  * @public
6
6
  */
7
7
  export declare class AuthException extends __BaseException {
8
+ static readonly shapeId: string;
8
9
  readonly name: "AuthException";
9
10
  readonly $fault: "client";
10
11
  Message?: string | undefined;
@@ -18,6 +19,7 @@ export declare class AuthException extends __BaseException {
18
19
  * @public
19
20
  */
20
21
  export declare class EC2InstanceNotFoundException extends __BaseException {
22
+ static readonly shapeId: string;
21
23
  readonly name: "EC2InstanceNotFoundException";
22
24
  readonly $fault: "client";
23
25
  Message?: string | undefined;
@@ -33,6 +35,7 @@ export declare class EC2InstanceNotFoundException extends __BaseException {
33
35
  * @public
34
36
  */
35
37
  export declare class EC2InstanceStateInvalidException extends __BaseException {
38
+ static readonly shapeId: string;
36
39
  readonly name: "EC2InstanceStateInvalidException";
37
40
  readonly $fault: "client";
38
41
  Message?: string | undefined;
@@ -47,6 +50,7 @@ export declare class EC2InstanceStateInvalidException extends __BaseException {
47
50
  * @public
48
51
  */
49
52
  export declare class EC2InstanceTypeInvalidException extends __BaseException {
53
+ static readonly shapeId: string;
50
54
  readonly name: "EC2InstanceTypeInvalidException";
51
55
  readonly $fault: "client";
52
56
  Message?: string | undefined;
@@ -60,6 +64,7 @@ export declare class EC2InstanceTypeInvalidException extends __BaseException {
60
64
  * @public
61
65
  */
62
66
  export declare class EC2InstanceUnavailableException extends __BaseException {
67
+ static readonly shapeId: string;
63
68
  readonly name: "EC2InstanceUnavailableException";
64
69
  readonly $fault: "server";
65
70
  Message?: string | undefined;
@@ -73,6 +78,7 @@ export declare class EC2InstanceUnavailableException extends __BaseException {
73
78
  * @public
74
79
  */
75
80
  export declare class InvalidArgsException extends __BaseException {
81
+ static readonly shapeId: string;
76
82
  readonly name: "InvalidArgsException";
77
83
  readonly $fault: "client";
78
84
  Message?: string | undefined;
@@ -88,6 +94,7 @@ export declare class InvalidArgsException extends __BaseException {
88
94
  * @public
89
95
  */
90
96
  export declare class SerialConsoleAccessDisabledException extends __BaseException {
97
+ static readonly shapeId: string;
91
98
  readonly name: "SerialConsoleAccessDisabledException";
92
99
  readonly $fault: "client";
93
100
  Message?: string | undefined;
@@ -101,6 +108,7 @@ export declare class SerialConsoleAccessDisabledException extends __BaseExceptio
101
108
  * @public
102
109
  */
103
110
  export declare class SerialConsoleSessionLimitExceededException extends __BaseException {
111
+ static readonly shapeId: string;
104
112
  readonly name: "SerialConsoleSessionLimitExceededException";
105
113
  readonly $fault: "client";
106
114
  Message?: string | undefined;
@@ -114,6 +122,7 @@ export declare class SerialConsoleSessionLimitExceededException extends __BaseEx
114
122
  * @public
115
123
  */
116
124
  export declare class SerialConsoleSessionUnavailableException extends __BaseException {
125
+ static readonly shapeId: string;
117
126
  readonly name: "SerialConsoleSessionUnavailableException";
118
127
  readonly $fault: "server";
119
128
  Message?: string | undefined;
@@ -127,6 +136,7 @@ export declare class SerialConsoleSessionUnavailableException extends __BaseExce
127
136
  * @public
128
137
  */
129
138
  export declare class SerialConsoleSessionUnsupportedException extends __BaseException {
139
+ static readonly shapeId: string;
130
140
  readonly name: "SerialConsoleSessionUnsupportedException";
131
141
  readonly $fault: "client";
132
142
  Message?: string | undefined;
@@ -140,6 +150,7 @@ export declare class SerialConsoleSessionUnsupportedException extends __BaseExce
140
150
  * @public
141
151
  */
142
152
  export declare class ServiceException extends __BaseException {
153
+ static readonly shapeId: string;
143
154
  readonly name: "ServiceException";
144
155
  readonly $fault: "server";
145
156
  Message?: string | undefined;
@@ -154,6 +165,7 @@ export declare class ServiceException extends __BaseException {
154
165
  * @public
155
166
  */
156
167
  export declare class ThrottlingException extends __BaseException {
168
+ static readonly shapeId: string;
157
169
  readonly name: "ThrottlingException";
158
170
  readonly $fault: "client";
159
171
  Message?: string | undefined;
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class EC2InstanceConnectServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -1,48 +1,56 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { EC2InstanceConnectServiceException as __BaseException } from "./EC2InstanceConnectServiceException";
3
3
  export declare class AuthException extends __BaseException {
4
+ static readonly shapeId: string;
4
5
  readonly name: "AuthException";
5
6
  readonly $fault: "client";
6
7
  Message?: string | undefined;
7
8
  constructor(opts: __ExceptionOptionType<AuthException, __BaseException>);
8
9
  }
9
10
  export declare class EC2InstanceNotFoundException extends __BaseException {
11
+ static readonly shapeId: string;
10
12
  readonly name: "EC2InstanceNotFoundException";
11
13
  readonly $fault: "client";
12
14
  Message?: string | undefined;
13
15
  constructor(opts: __ExceptionOptionType<EC2InstanceNotFoundException, __BaseException>);
14
16
  }
15
17
  export declare class EC2InstanceStateInvalidException extends __BaseException {
18
+ static readonly shapeId: string;
16
19
  readonly name: "EC2InstanceStateInvalidException";
17
20
  readonly $fault: "client";
18
21
  Message?: string | undefined;
19
22
  constructor(opts: __ExceptionOptionType<EC2InstanceStateInvalidException, __BaseException>);
20
23
  }
21
24
  export declare class EC2InstanceTypeInvalidException extends __BaseException {
25
+ static readonly shapeId: string;
22
26
  readonly name: "EC2InstanceTypeInvalidException";
23
27
  readonly $fault: "client";
24
28
  Message?: string | undefined;
25
29
  constructor(opts: __ExceptionOptionType<EC2InstanceTypeInvalidException, __BaseException>);
26
30
  }
27
31
  export declare class EC2InstanceUnavailableException extends __BaseException {
32
+ static readonly shapeId: string;
28
33
  readonly name: "EC2InstanceUnavailableException";
29
34
  readonly $fault: "server";
30
35
  Message?: string | undefined;
31
36
  constructor(opts: __ExceptionOptionType<EC2InstanceUnavailableException, __BaseException>);
32
37
  }
33
38
  export declare class InvalidArgsException extends __BaseException {
39
+ static readonly shapeId: string;
34
40
  readonly name: "InvalidArgsException";
35
41
  readonly $fault: "client";
36
42
  Message?: string | undefined;
37
43
  constructor(opts: __ExceptionOptionType<InvalidArgsException, __BaseException>);
38
44
  }
39
45
  export declare class SerialConsoleAccessDisabledException extends __BaseException {
46
+ static readonly shapeId: string;
40
47
  readonly name: "SerialConsoleAccessDisabledException";
41
48
  readonly $fault: "client";
42
49
  Message?: string | undefined;
43
50
  constructor(opts: __ExceptionOptionType<SerialConsoleAccessDisabledException, __BaseException>);
44
51
  }
45
52
  export declare class SerialConsoleSessionLimitExceededException extends __BaseException {
53
+ static readonly shapeId: string;
46
54
  readonly name: "SerialConsoleSessionLimitExceededException";
47
55
  readonly $fault: "client";
48
56
  Message?: string | undefined;
@@ -51,6 +59,7 @@ export declare class SerialConsoleSessionLimitExceededException extends __BaseEx
51
59
  );
52
60
  }
53
61
  export declare class SerialConsoleSessionUnavailableException extends __BaseException {
62
+ static readonly shapeId: string;
54
63
  readonly name: "SerialConsoleSessionUnavailableException";
55
64
  readonly $fault: "server";
56
65
  Message?: string | undefined;
@@ -59,6 +68,7 @@ export declare class SerialConsoleSessionUnavailableException extends __BaseExce
59
68
  );
60
69
  }
61
70
  export declare class SerialConsoleSessionUnsupportedException extends __BaseException {
71
+ static readonly shapeId: string;
62
72
  readonly name: "SerialConsoleSessionUnsupportedException";
63
73
  readonly $fault: "client";
64
74
  Message?: string | undefined;
@@ -67,12 +77,14 @@ export declare class SerialConsoleSessionUnsupportedException extends __BaseExce
67
77
  );
68
78
  }
69
79
  export declare class ServiceException extends __BaseException {
80
+ static readonly shapeId: string;
70
81
  readonly name: "ServiceException";
71
82
  readonly $fault: "server";
72
83
  Message?: string | undefined;
73
84
  constructor(opts: __ExceptionOptionType<ServiceException, __BaseException>);
74
85
  }
75
86
  export declare class ThrottlingException extends __BaseException {
87
+ static readonly shapeId: string;
76
88
  readonly name: "ThrottlingException";
77
89
  readonly $fault: "client";
78
90
  Message?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2-instance-connect",
3
- "version": "3.1148.0",
3
+ "version": "3.1149.0",
4
4
  "description": "AWS SDK for JavaScript Ec2 Instance Connect Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ec2-instance-connect",
6
6
  "license": "Apache-2.0",
@@ -46,10 +46,10 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.1",
50
- "@aws-sdk/credential-provider-node": "^3.972.84",
49
+ "@aws-sdk/core": "^3.978.2",
50
+ "@aws-sdk/credential-provider-node": "^3.972.85",
51
51
  "@aws-sdk/types": "^3.974.6",
52
- "@smithy/core": "^3.35.0",
52
+ "@smithy/core": "^3.35.2",
53
53
  "@smithy/fetch-http-handler": "^5.8.0",
54
54
  "@smithy/node-http-handler": "^4.12.1",
55
55
  "@smithy/types": "^4.19.0",