@aws-sdk/client-ec2-instance-connect 3.297.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
- });
@@ -216,19 +216,3 @@ export interface SendSSHPublicKeyResponse {
216
216
  */
217
217
  Success?: boolean;
218
218
  }
219
- /**
220
- * @internal
221
- */
222
- export declare const SendSerialConsoleSSHPublicKeyRequestFilterSensitiveLog: (obj: SendSerialConsoleSSHPublicKeyRequest) => any;
223
- /**
224
- * @internal
225
- */
226
- export declare const SendSerialConsoleSSHPublicKeyResponseFilterSensitiveLog: (obj: SendSerialConsoleSSHPublicKeyResponse) => any;
227
- /**
228
- * @internal
229
- */
230
- export declare const SendSSHPublicKeyRequestFilterSensitiveLog: (obj: SendSSHPublicKeyRequest) => any;
231
- /**
232
- * @internal
233
- */
234
- 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.297.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.297.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.297.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",