@aws-sdk/client-ec2-instance-connect 3.135.0 → 3.137.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,17 @@
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.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26)
7
+
8
+
9
+ ### Features
10
+
11
+ * **namespaces:** remove namespaces with only a log filter ([#3823](https://github.com/aws/aws-sdk-js-v3/issues/3823)) ([33e6822](https://github.com/aws/aws-sdk-js-v3/commit/33e68228fb64c53dd8f89e6be76dd5f46edc3cfd))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.135.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.134.0...v3.135.0) (2022-07-21)
7
18
 
8
19
 
@@ -20,8 +20,8 @@ class SendSSHPublicKeyCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.SendSSHPublicKeyRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.SendSSHPublicKeyResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.SendSSHPublicKeyRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.SendSSHPublicKeyResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -20,8 +20,8 @@ class SendSerialConsoleSSHPublicKeyCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.SendSerialConsoleSSHPublicKeyRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.SendSerialConsoleSSHPublicKeyResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.SendSerialConsoleSSHPublicKeyRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.SendSerialConsoleSSHPublicKeyResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  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.SendSSHPublicKeyResponse = exports.SendSSHPublicKeyRequest = exports.ThrottlingException = exports.ServiceException = exports.SerialConsoleSessionUnavailableException = exports.SerialConsoleSessionLimitExceededException = exports.SerialConsoleAccessDisabledException = exports.SendSerialConsoleSSHPublicKeyResponse = exports.SendSerialConsoleSSHPublicKeyRequest = exports.InvalidArgsException = exports.EC2InstanceUnavailableException = exports.EC2InstanceTypeInvalidException = exports.EC2InstanceStateInvalidException = exports.EC2InstanceNotFoundException = exports.AuthException = void 0;
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;
4
4
  const EC2InstanceConnectServiceException_1 = require("./EC2InstanceConnectServiceException");
5
5
  class AuthException extends EC2InstanceConnectServiceException_1.EC2InstanceConnectServiceException {
6
6
  constructor(opts) {
@@ -86,18 +86,6 @@ class InvalidArgsException extends EC2InstanceConnectServiceException_1.EC2Insta
86
86
  }
87
87
  }
88
88
  exports.InvalidArgsException = InvalidArgsException;
89
- var SendSerialConsoleSSHPublicKeyRequest;
90
- (function (SendSerialConsoleSSHPublicKeyRequest) {
91
- SendSerialConsoleSSHPublicKeyRequest.filterSensitiveLog = (obj) => ({
92
- ...obj,
93
- });
94
- })(SendSerialConsoleSSHPublicKeyRequest = exports.SendSerialConsoleSSHPublicKeyRequest || (exports.SendSerialConsoleSSHPublicKeyRequest = {}));
95
- var SendSerialConsoleSSHPublicKeyResponse;
96
- (function (SendSerialConsoleSSHPublicKeyResponse) {
97
- SendSerialConsoleSSHPublicKeyResponse.filterSensitiveLog = (obj) => ({
98
- ...obj,
99
- });
100
- })(SendSerialConsoleSSHPublicKeyResponse = exports.SendSerialConsoleSSHPublicKeyResponse || (exports.SendSerialConsoleSSHPublicKeyResponse = {}));
101
89
  class SerialConsoleAccessDisabledException extends EC2InstanceConnectServiceException_1.EC2InstanceConnectServiceException {
102
90
  constructor(opts) {
103
91
  super({
@@ -168,15 +156,19 @@ class ThrottlingException extends EC2InstanceConnectServiceException_1.EC2Instan
168
156
  }
169
157
  }
170
158
  exports.ThrottlingException = ThrottlingException;
171
- var SendSSHPublicKeyRequest;
172
- (function (SendSSHPublicKeyRequest) {
173
- SendSSHPublicKeyRequest.filterSensitiveLog = (obj) => ({
174
- ...obj,
175
- });
176
- })(SendSSHPublicKeyRequest = exports.SendSSHPublicKeyRequest || (exports.SendSSHPublicKeyRequest = {}));
177
- var SendSSHPublicKeyResponse;
178
- (function (SendSSHPublicKeyResponse) {
179
- SendSSHPublicKeyResponse.filterSensitiveLog = (obj) => ({
180
- ...obj,
181
- });
182
- })(SendSSHPublicKeyResponse = exports.SendSSHPublicKeyResponse || (exports.SendSSHPublicKeyResponse = {}));
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,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { SendSSHPublicKeyRequest, SendSSHPublicKeyResponse } from "../models/models_0";
4
+ import { SendSSHPublicKeyRequestFilterSensitiveLog, SendSSHPublicKeyResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1SendSSHPublicKeyCommand, serializeAws_json1_1SendSSHPublicKeyCommand, } from "../protocols/Aws_json1_1";
6
6
  var SendSSHPublicKeyCommand = (function (_super) {
7
7
  __extends(SendSSHPublicKeyCommand, _super);
@@ -20,8 +20,8 @@ var SendSSHPublicKeyCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: SendSSHPublicKeyRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: SendSSHPublicKeyResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: SendSSHPublicKeyRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: SendSSHPublicKeyResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { SendSerialConsoleSSHPublicKeyRequest, SendSerialConsoleSSHPublicKeyResponse } from "../models/models_0";
4
+ import { SendSerialConsoleSSHPublicKeyRequestFilterSensitiveLog, SendSerialConsoleSSHPublicKeyResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1SendSerialConsoleSSHPublicKeyCommand, serializeAws_json1_1SendSerialConsoleSSHPublicKeyCommand, } from "../protocols/Aws_json1_1";
6
6
  var SendSerialConsoleSSHPublicKeyCommand = (function (_super) {
7
7
  __extends(SendSerialConsoleSSHPublicKeyCommand, _super);
@@ -20,8 +20,8 @@ var SendSerialConsoleSSHPublicKeyCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: SendSerialConsoleSSHPublicKeyRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: SendSerialConsoleSSHPublicKeyResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: SendSerialConsoleSSHPublicKeyRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: SendSerialConsoleSSHPublicKeyResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -78,14 +78,6 @@ var InvalidArgsException = (function (_super) {
78
78
  return InvalidArgsException;
79
79
  }(__BaseException));
80
80
  export { InvalidArgsException };
81
- export var SendSerialConsoleSSHPublicKeyRequest;
82
- (function (SendSerialConsoleSSHPublicKeyRequest) {
83
- SendSerialConsoleSSHPublicKeyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
84
- })(SendSerialConsoleSSHPublicKeyRequest || (SendSerialConsoleSSHPublicKeyRequest = {}));
85
- export var SendSerialConsoleSSHPublicKeyResponse;
86
- (function (SendSerialConsoleSSHPublicKeyResponse) {
87
- SendSerialConsoleSSHPublicKeyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
88
- })(SendSerialConsoleSSHPublicKeyResponse || (SendSerialConsoleSSHPublicKeyResponse = {}));
89
81
  var SerialConsoleAccessDisabledException = (function (_super) {
90
82
  __extends(SerialConsoleAccessDisabledException, _super);
91
83
  function SerialConsoleAccessDisabledException(opts) {
@@ -151,11 +143,7 @@ var ThrottlingException = (function (_super) {
151
143
  return ThrottlingException;
152
144
  }(__BaseException));
153
145
  export { ThrottlingException };
154
- export var SendSSHPublicKeyRequest;
155
- (function (SendSSHPublicKeyRequest) {
156
- SendSSHPublicKeyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
157
- })(SendSSHPublicKeyRequest || (SendSSHPublicKeyRequest = {}));
158
- export var SendSSHPublicKeyResponse;
159
- (function (SendSSHPublicKeyResponse) {
160
- SendSSHPublicKeyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
161
- })(SendSSHPublicKeyResponse || (SendSSHPublicKeyResponse = {}));
146
+ export var SendSerialConsoleSSHPublicKeyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
147
+ export var SendSerialConsoleSSHPublicKeyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
148
+ export var SendSSHPublicKeyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
149
+ export var SendSSHPublicKeyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -92,12 +92,6 @@ export interface SendSerialConsoleSSHPublicKeyRequest {
92
92
  */
93
93
  SSHPublicKey: string | undefined;
94
94
  }
95
- export declare namespace SendSerialConsoleSSHPublicKeyRequest {
96
- /**
97
- * @internal
98
- */
99
- const filterSensitiveLog: (obj: SendSerialConsoleSSHPublicKeyRequest) => any;
100
- }
101
95
  export interface SendSerialConsoleSSHPublicKeyResponse {
102
96
  /**
103
97
  * <p>The ID of the request. Please provide this ID when contacting AWS Support for assistance.</p>
@@ -108,12 +102,6 @@ export interface SendSerialConsoleSSHPublicKeyResponse {
108
102
  */
109
103
  Success?: boolean;
110
104
  }
111
- export declare namespace SendSerialConsoleSSHPublicKeyResponse {
112
- /**
113
- * @internal
114
- */
115
- const filterSensitiveLog: (obj: SendSerialConsoleSSHPublicKeyResponse) => any;
116
- }
117
105
  /**
118
106
  * <p>Your account is not authorized to use the EC2 Serial Console. To authorize your
119
107
  * account, run the EnableSerialConsoleAccess API. For more information, see
@@ -195,12 +183,6 @@ export interface SendSSHPublicKeyRequest {
195
183
  */
196
184
  AvailabilityZone?: string;
197
185
  }
198
- export declare namespace SendSSHPublicKeyRequest {
199
- /**
200
- * @internal
201
- */
202
- const filterSensitiveLog: (obj: SendSSHPublicKeyRequest) => any;
203
- }
204
186
  export interface SendSSHPublicKeyResponse {
205
187
  /**
206
188
  * <p>The ID of the request. Please provide this ID when contacting AWS Support for assistance.</p>
@@ -211,9 +193,19 @@ export interface SendSSHPublicKeyResponse {
211
193
  */
212
194
  Success?: boolean;
213
195
  }
214
- export declare namespace SendSSHPublicKeyResponse {
215
- /**
216
- * @internal
217
- */
218
- const filterSensitiveLog: (obj: SendSSHPublicKeyResponse) => any;
219
- }
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;
@@ -56,20 +56,12 @@ export interface SendSerialConsoleSSHPublicKeyRequest {
56
56
 
57
57
  SSHPublicKey: string | undefined;
58
58
  }
59
- export declare namespace SendSerialConsoleSSHPublicKeyRequest {
60
-
61
- const filterSensitiveLog: (obj: SendSerialConsoleSSHPublicKeyRequest) => any;
62
- }
63
59
  export interface SendSerialConsoleSSHPublicKeyResponse {
64
60
 
65
61
  RequestId?: string;
66
62
 
67
63
  Success?: boolean;
68
64
  }
69
- export declare namespace SendSerialConsoleSSHPublicKeyResponse {
70
-
71
- const filterSensitiveLog: (obj: SendSerialConsoleSSHPublicKeyResponse) => any;
72
- }
73
65
 
74
66
  export declare class SerialConsoleAccessDisabledException extends __BaseException {
75
67
  readonly name: "SerialConsoleAccessDisabledException";
@@ -120,17 +112,17 @@ export interface SendSSHPublicKeyRequest {
120
112
 
121
113
  AvailabilityZone?: string;
122
114
  }
123
- export declare namespace SendSSHPublicKeyRequest {
124
-
125
- const filterSensitiveLog: (obj: SendSSHPublicKeyRequest) => any;
126
- }
127
115
  export interface SendSSHPublicKeyResponse {
128
116
 
129
117
  RequestId?: string;
130
118
 
131
119
  Success?: boolean;
132
120
  }
133
- export declare namespace SendSSHPublicKeyResponse {
134
-
135
- const filterSensitiveLog: (obj: SendSSHPublicKeyResponse) => any;
136
- }
121
+
122
+ export declare const SendSerialConsoleSSHPublicKeyRequestFilterSensitiveLog: (obj: SendSerialConsoleSSHPublicKeyRequest) => any;
123
+
124
+ export declare const SendSerialConsoleSSHPublicKeyResponseFilterSensitiveLog: (obj: SendSerialConsoleSSHPublicKeyResponse) => any;
125
+
126
+ export declare const SendSSHPublicKeyRequestFilterSensitiveLog: (obj: SendSSHPublicKeyRequest) => any;
127
+
128
+ export declare const SendSSHPublicKeyResponseFilterSensitiveLog: (obj: SendSSHPublicKeyResponse) => 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.135.0",
4
+ "version": "3.137.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",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.131.0",
21
+ "@aws-sdk/client-sts": "3.137.0",
22
22
  "@aws-sdk/config-resolver": "3.130.0",
23
- "@aws-sdk/credential-provider-node": "3.131.0",
23
+ "@aws-sdk/credential-provider-node": "3.137.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.131.0",
25
25
  "@aws-sdk/hash-node": "3.127.0",
26
26
  "@aws-sdk/invalid-dependency": "3.127.0",
@@ -36,15 +36,15 @@
36
36
  "@aws-sdk/node-config-provider": "3.127.0",
37
37
  "@aws-sdk/node-http-handler": "3.127.0",
38
38
  "@aws-sdk/protocol-http": "3.127.0",
39
- "@aws-sdk/smithy-client": "3.127.0",
39
+ "@aws-sdk/smithy-client": "3.137.0",
40
40
  "@aws-sdk/types": "3.127.0",
41
41
  "@aws-sdk/url-parser": "3.127.0",
42
42
  "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.127.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.130.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.137.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.137.0",
48
48
  "@aws-sdk/util-user-agent-browser": "3.127.0",
49
49
  "@aws-sdk/util-user-agent-node": "3.127.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",