@aws-sdk/client-ec2-instance-connect 3.170.0 → 3.171.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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-ec2-instance-connect
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
7
15
 
8
16
  **Note:** Version bump only for package @aws-sdk/client-ec2-instance-connect
@@ -8,7 +8,6 @@ import {
8
8
  SendSSHPublicKeyCommandOutput,
9
9
  } from "./commands/SendSSHPublicKeyCommand";
10
10
  import { EC2InstanceConnectClient } from "./EC2InstanceConnectClient";
11
-
12
11
  export declare class EC2InstanceConnect extends EC2InstanceConnectClient {
13
12
  sendSerialConsoleSSHPublicKey(
14
13
  args: SendSerialConsoleSSHPublicKeyCommandInput,
@@ -23,7 +22,6 @@ export declare class EC2InstanceConnect extends EC2InstanceConnectClient {
23
22
  options: __HttpHandlerOptions,
24
23
  cb: (err: any, data?: SendSerialConsoleSSHPublicKeyCommandOutput) => void
25
24
  ): void;
26
-
27
25
  sendSSHPublicKey(
28
26
  args: SendSSHPublicKeyCommandInput,
29
27
  options?: __HttpHandlerOptions
@@ -59,47 +59,26 @@ export declare type ServiceOutputTypes =
59
59
  export interface ClientDefaults
60
60
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
61
61
  requestHandler?: __HttpHandler;
62
-
63
62
  sha256?: __HashConstructor;
64
-
65
63
  urlParser?: __UrlParser;
66
-
67
64
  bodyLengthChecker?: __BodyLengthCalculator;
68
-
69
65
  streamCollector?: __StreamCollector;
70
-
71
66
  base64Decoder?: __Decoder;
72
-
73
67
  base64Encoder?: __Encoder;
74
-
75
68
  utf8Decoder?: __Decoder;
76
-
77
69
  utf8Encoder?: __Encoder;
78
-
79
70
  runtime?: string;
80
-
81
71
  disableHostPrefix?: boolean;
82
-
83
72
  maxAttempts?: number | __Provider<number>;
84
-
85
73
  retryMode?: string | __Provider<string>;
86
-
87
74
  logger?: __Logger;
88
-
89
75
  useDualstackEndpoint?: boolean | __Provider<boolean>;
90
-
91
76
  useFipsEndpoint?: boolean | __Provider<boolean>;
92
-
93
77
  serviceId?: string;
94
-
95
78
  region?: string | __Provider<string>;
96
-
97
79
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
98
-
99
80
  regionInfoProvider?: RegionInfoProvider;
100
-
101
81
  defaultUserAgentProvider?: Provider<__UserAgent>;
102
-
103
82
  defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
104
83
  }
105
84
  declare type EC2InstanceConnectClientConfigType = Partial<
@@ -112,7 +91,6 @@ declare type EC2InstanceConnectClientConfigType = Partial<
112
91
  HostHeaderInputConfig &
113
92
  AwsAuthInputConfig &
114
93
  UserAgentInputConfig;
115
-
116
94
  export interface EC2InstanceConnectClientConfig
117
95
  extends EC2InstanceConnectClientConfigType {}
118
96
  declare type EC2InstanceConnectClientResolvedConfigType =
@@ -124,10 +102,8 @@ declare type EC2InstanceConnectClientResolvedConfigType =
124
102
  HostHeaderResolvedConfig &
125
103
  AwsAuthResolvedConfig &
126
104
  UserAgentResolvedConfig;
127
-
128
105
  export interface EC2InstanceConnectClientResolvedConfig
129
106
  extends EC2InstanceConnectClientResolvedConfigType {}
130
-
131
107
  export declare class EC2InstanceConnectClient extends __Client<
132
108
  __HttpHandlerOptions,
133
109
  ServiceInputTypes,
@@ -136,7 +112,6 @@ export declare class EC2InstanceConnectClient extends __Client<
136
112
  > {
137
113
  readonly config: EC2InstanceConnectClientResolvedConfig;
138
114
  constructor(configuration: EC2InstanceConnectClientConfig);
139
-
140
115
  destroy(): void;
141
116
  }
142
117
  export {};
@@ -18,7 +18,6 @@ export interface SendSSHPublicKeyCommandInput extends SendSSHPublicKeyRequest {}
18
18
  export interface SendSSHPublicKeyCommandOutput
19
19
  extends SendSSHPublicKeyResponse,
20
20
  __MetadataBearer {}
21
-
22
21
  export declare class SendSSHPublicKeyCommand extends $Command<
23
22
  SendSSHPublicKeyCommandInput,
24
23
  SendSSHPublicKeyCommandOutput,
@@ -26,7 +25,6 @@ export declare class SendSSHPublicKeyCommand extends $Command<
26
25
  > {
27
26
  readonly input: SendSSHPublicKeyCommandInput;
28
27
  constructor(input: SendSSHPublicKeyCommandInput);
29
-
30
28
  resolveMiddleware(
31
29
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
32
30
  configuration: EC2InstanceConnectClientResolvedConfig,
@@ -19,7 +19,6 @@ export interface SendSerialConsoleSSHPublicKeyCommandInput
19
19
  export interface SendSerialConsoleSSHPublicKeyCommandOutput
20
20
  extends SendSerialConsoleSSHPublicKeyResponse,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class SendSerialConsoleSSHPublicKeyCommand extends $Command<
24
23
  SendSerialConsoleSSHPublicKeyCommandInput,
25
24
  SendSerialConsoleSSHPublicKeyCommandOutput,
@@ -27,7 +26,6 @@ export declare class SendSerialConsoleSSHPublicKeyCommand extends $Command<
27
26
  > {
28
27
  readonly input: SendSerialConsoleSSHPublicKeyCommandInput;
29
28
  constructor(input: SendSerialConsoleSSHPublicKeyCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: EC2InstanceConnectClientResolvedConfig,
@@ -2,7 +2,6 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@aws-sdk/smithy-client";
5
-
6
5
  export declare class EC2InstanceConnectServiceException extends __ServiceException {
7
6
  constructor(options: __ServiceExceptionOptions);
8
7
  }
@@ -1,29 +1,23 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { EC2InstanceConnectServiceException as __BaseException } from "./EC2InstanceConnectServiceException";
3
-
4
3
  export declare class AuthException extends __BaseException {
5
4
  readonly name: "AuthException";
6
5
  readonly $fault: "client";
7
6
  Message?: string;
8
-
9
7
  constructor(opts: __ExceptionOptionType<AuthException, __BaseException>);
10
8
  }
11
-
12
9
  export declare class EC2InstanceNotFoundException extends __BaseException {
13
10
  readonly name: "EC2InstanceNotFoundException";
14
11
  readonly $fault: "client";
15
12
  Message?: string;
16
-
17
13
  constructor(
18
14
  opts: __ExceptionOptionType<EC2InstanceNotFoundException, __BaseException>
19
15
  );
20
16
  }
21
-
22
17
  export declare class EC2InstanceStateInvalidException extends __BaseException {
23
18
  readonly name: "EC2InstanceStateInvalidException";
24
19
  readonly $fault: "client";
25
20
  Message?: string;
26
-
27
21
  constructor(
28
22
  opts: __ExceptionOptionType<
29
23
  EC2InstanceStateInvalidException,
@@ -31,12 +25,10 @@ export declare class EC2InstanceStateInvalidException extends __BaseException {
31
25
  >
32
26
  );
33
27
  }
34
-
35
28
  export declare class EC2InstanceTypeInvalidException extends __BaseException {
36
29
  readonly name: "EC2InstanceTypeInvalidException";
37
30
  readonly $fault: "client";
38
31
  Message?: string;
39
-
40
32
  constructor(
41
33
  opts: __ExceptionOptionType<
42
34
  EC2InstanceTypeInvalidException,
@@ -44,12 +36,10 @@ export declare class EC2InstanceTypeInvalidException extends __BaseException {
44
36
  >
45
37
  );
46
38
  }
47
-
48
39
  export declare class EC2InstanceUnavailableException extends __BaseException {
49
40
  readonly name: "EC2InstanceUnavailableException";
50
41
  readonly $fault: "server";
51
42
  Message?: string;
52
-
53
43
  constructor(
54
44
  opts: __ExceptionOptionType<
55
45
  EC2InstanceUnavailableException,
@@ -57,34 +47,27 @@ export declare class EC2InstanceUnavailableException extends __BaseException {
57
47
  >
58
48
  );
59
49
  }
60
-
61
50
  export declare class InvalidArgsException extends __BaseException {
62
51
  readonly name: "InvalidArgsException";
63
52
  readonly $fault: "client";
64
53
  Message?: string;
65
-
66
54
  constructor(
67
55
  opts: __ExceptionOptionType<InvalidArgsException, __BaseException>
68
56
  );
69
57
  }
70
58
  export interface SendSerialConsoleSSHPublicKeyRequest {
71
59
  InstanceId: string | undefined;
72
-
73
60
  SerialPort?: number;
74
-
75
61
  SSHPublicKey: string | undefined;
76
62
  }
77
63
  export interface SendSerialConsoleSSHPublicKeyResponse {
78
64
  RequestId?: string;
79
-
80
65
  Success?: boolean;
81
66
  }
82
-
83
67
  export declare class SerialConsoleAccessDisabledException extends __BaseException {
84
68
  readonly name: "SerialConsoleAccessDisabledException";
85
69
  readonly $fault: "client";
86
70
  Message?: string;
87
-
88
71
  constructor(
89
72
  opts: __ExceptionOptionType<
90
73
  SerialConsoleAccessDisabledException,
@@ -92,12 +75,10 @@ export declare class SerialConsoleAccessDisabledException extends __BaseExceptio
92
75
  >
93
76
  );
94
77
  }
95
-
96
78
  export declare class SerialConsoleSessionLimitExceededException extends __BaseException {
97
79
  readonly name: "SerialConsoleSessionLimitExceededException";
98
80
  readonly $fault: "client";
99
81
  Message?: string;
100
-
101
82
  constructor(
102
83
  opts: __ExceptionOptionType<
103
84
  SerialConsoleSessionLimitExceededException,
@@ -105,12 +86,10 @@ export declare class SerialConsoleSessionLimitExceededException extends __BaseEx
105
86
  >
106
87
  );
107
88
  }
108
-
109
89
  export declare class SerialConsoleSessionUnavailableException extends __BaseException {
110
90
  readonly name: "SerialConsoleSessionUnavailableException";
111
91
  readonly $fault: "server";
112
92
  Message?: string;
113
-
114
93
  constructor(
115
94
  opts: __ExceptionOptionType<
116
95
  SerialConsoleSessionUnavailableException,
@@ -118,51 +97,39 @@ export declare class SerialConsoleSessionUnavailableException extends __BaseExce
118
97
  >
119
98
  );
120
99
  }
121
-
122
100
  export declare class ServiceException extends __BaseException {
123
101
  readonly name: "ServiceException";
124
102
  readonly $fault: "server";
125
103
  Message?: string;
126
-
127
104
  constructor(opts: __ExceptionOptionType<ServiceException, __BaseException>);
128
105
  }
129
-
130
106
  export declare class ThrottlingException extends __BaseException {
131
107
  readonly name: "ThrottlingException";
132
108
  readonly $fault: "client";
133
109
  Message?: string;
134
-
135
110
  constructor(
136
111
  opts: __ExceptionOptionType<ThrottlingException, __BaseException>
137
112
  );
138
113
  }
139
114
  export interface SendSSHPublicKeyRequest {
140
115
  InstanceId: string | undefined;
141
-
142
116
  InstanceOSUser: string | undefined;
143
-
144
117
  SSHPublicKey: string | undefined;
145
-
146
118
  AvailabilityZone?: string;
147
119
  }
148
120
  export interface SendSSHPublicKeyResponse {
149
121
  RequestId?: string;
150
-
151
122
  Success?: boolean;
152
123
  }
153
-
154
124
  export declare const SendSerialConsoleSSHPublicKeyRequestFilterSensitiveLog: (
155
125
  obj: SendSerialConsoleSSHPublicKeyRequest
156
126
  ) => any;
157
-
158
127
  export declare const SendSerialConsoleSSHPublicKeyResponseFilterSensitiveLog: (
159
128
  obj: SendSerialConsoleSSHPublicKeyResponse
160
129
  ) => any;
161
-
162
130
  export declare const SendSSHPublicKeyRequestFilterSensitiveLog: (
163
131
  obj: SendSSHPublicKeyRequest
164
132
  ) => any;
165
-
166
133
  export declare const SendSSHPublicKeyResponseFilterSensitiveLog: (
167
134
  obj: SendSSHPublicKeyResponse
168
135
  ) => any;
@@ -1,6 +1,5 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { EC2InstanceConnectClientConfig } from "./EC2InstanceConnectClient";
3
-
4
3
  export declare const getRuntimeConfig: (
5
4
  config: EC2InstanceConnectClientConfig
6
5
  ) => {
@@ -1,6 +1,5 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { EC2InstanceConnectClientConfig } from "./EC2InstanceConnectClient";
3
-
4
3
  export declare const getRuntimeConfig: (
5
4
  config: EC2InstanceConnectClientConfig
6
5
  ) => {
@@ -1,5 +1,4 @@
1
1
  import { EC2InstanceConnectClientConfig } from "./EC2InstanceConnectClient";
2
-
3
2
  export declare const getRuntimeConfig: (
4
3
  config: EC2InstanceConnectClientConfig
5
4
  ) => {
@@ -1,6 +1,5 @@
1
1
  import { Logger as __Logger } from "@aws-sdk/types";
2
2
  import { EC2InstanceConnectClientConfig } from "./EC2InstanceConnectClient";
3
-
4
3
  export declare const getRuntimeConfig: (
5
4
  config: EC2InstanceConnectClientConfig
6
5
  ) => {
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.170.0",
4
+ "version": "3.171.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",
@@ -19,35 +19,35 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.170.0",
23
- "@aws-sdk/config-resolver": "3.170.0",
24
- "@aws-sdk/credential-provider-node": "3.170.0",
25
- "@aws-sdk/fetch-http-handler": "3.170.0",
26
- "@aws-sdk/hash-node": "3.170.0",
27
- "@aws-sdk/invalid-dependency": "3.170.0",
28
- "@aws-sdk/middleware-content-length": "3.170.0",
29
- "@aws-sdk/middleware-host-header": "3.170.0",
30
- "@aws-sdk/middleware-logger": "3.170.0",
31
- "@aws-sdk/middleware-recursion-detection": "3.170.0",
32
- "@aws-sdk/middleware-retry": "3.170.0",
33
- "@aws-sdk/middleware-serde": "3.170.0",
34
- "@aws-sdk/middleware-signing": "3.170.0",
35
- "@aws-sdk/middleware-stack": "3.170.0",
36
- "@aws-sdk/middleware-user-agent": "3.170.0",
37
- "@aws-sdk/node-config-provider": "3.170.0",
38
- "@aws-sdk/node-http-handler": "3.170.0",
39
- "@aws-sdk/protocol-http": "3.170.0",
40
- "@aws-sdk/smithy-client": "3.170.0",
41
- "@aws-sdk/types": "3.170.0",
42
- "@aws-sdk/url-parser": "3.170.0",
22
+ "@aws-sdk/client-sts": "3.171.0",
23
+ "@aws-sdk/config-resolver": "3.171.0",
24
+ "@aws-sdk/credential-provider-node": "3.171.0",
25
+ "@aws-sdk/fetch-http-handler": "3.171.0",
26
+ "@aws-sdk/hash-node": "3.171.0",
27
+ "@aws-sdk/invalid-dependency": "3.171.0",
28
+ "@aws-sdk/middleware-content-length": "3.171.0",
29
+ "@aws-sdk/middleware-host-header": "3.171.0",
30
+ "@aws-sdk/middleware-logger": "3.171.0",
31
+ "@aws-sdk/middleware-recursion-detection": "3.171.0",
32
+ "@aws-sdk/middleware-retry": "3.171.0",
33
+ "@aws-sdk/middleware-serde": "3.171.0",
34
+ "@aws-sdk/middleware-signing": "3.171.0",
35
+ "@aws-sdk/middleware-stack": "3.171.0",
36
+ "@aws-sdk/middleware-user-agent": "3.171.0",
37
+ "@aws-sdk/node-config-provider": "3.171.0",
38
+ "@aws-sdk/node-http-handler": "3.171.0",
39
+ "@aws-sdk/protocol-http": "3.171.0",
40
+ "@aws-sdk/smithy-client": "3.171.0",
41
+ "@aws-sdk/types": "3.171.0",
42
+ "@aws-sdk/url-parser": "3.171.0",
43
43
  "@aws-sdk/util-base64-browser": "3.170.0",
44
44
  "@aws-sdk/util-base64-node": "3.170.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.170.0",
46
46
  "@aws-sdk/util-body-length-node": "3.170.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.170.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.170.0",
49
- "@aws-sdk/util-user-agent-browser": "3.170.0",
50
- "@aws-sdk/util-user-agent-node": "3.170.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.171.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.171.0",
49
+ "@aws-sdk/util-user-agent-browser": "3.171.0",
50
+ "@aws-sdk/util-user-agent-node": "3.171.0",
51
51
  "@aws-sdk/util-utf8-browser": "3.170.0",
52
52
  "@aws-sdk/util-utf8-node": "3.170.0",
53
53
  "tslib": "^2.3.1"