@aws-sdk/client-transfer 3.370.0 → 3.378.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/README.md CHANGED
@@ -595,6 +595,14 @@ TagResource
595
595
 
596
596
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-transfer/classes/tagresourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-transfer/interfaces/tagresourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-transfer/interfaces/tagresourcecommandoutput.html)
597
597
 
598
+ </details>
599
+ <details>
600
+ <summary>
601
+ TestConnection
602
+ </summary>
603
+
604
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-transfer/classes/testconnectioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-transfer/interfaces/testconnectioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-transfer/interfaces/testconnectioncommandoutput.html)
605
+
598
606
  </details>
599
607
  <details>
600
608
  <summary>
@@ -50,6 +50,7 @@ const StartFileTransferCommand_1 = require("./commands/StartFileTransferCommand"
50
50
  const StartServerCommand_1 = require("./commands/StartServerCommand");
51
51
  const StopServerCommand_1 = require("./commands/StopServerCommand");
52
52
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
53
+ const TestConnectionCommand_1 = require("./commands/TestConnectionCommand");
53
54
  const TestIdentityProviderCommand_1 = require("./commands/TestIdentityProviderCommand");
54
55
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
55
56
  const UpdateAccessCommand_1 = require("./commands/UpdateAccessCommand");
@@ -110,6 +111,7 @@ const commands = {
110
111
  StartServerCommand: StartServerCommand_1.StartServerCommand,
111
112
  StopServerCommand: StopServerCommand_1.StopServerCommand,
112
113
  TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
114
+ TestConnectionCommand: TestConnectionCommand_1.TestConnectionCommand,
113
115
  TestIdentityProviderCommand: TestIdentityProviderCommand_1.TestIdentityProviderCommand,
114
116
  UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
115
117
  UpdateAccessCommand: UpdateAccessCommand_1.UpdateAccessCommand,
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TestConnectionCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
9
+ class TestConnectionCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
16
+ };
17
+ }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, TestConnectionCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "TransferClient";
28
+ const commandName = "TestConnectionCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: (_) => _,
34
+ outputFilterSensitiveLog: (_) => _,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_json1_1_1.se_TestConnectionCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_json1_1_1.de_TestConnectionCommand)(output, context);
44
+ }
45
+ }
46
+ exports.TestConnectionCommand = TestConnectionCommand;
@@ -49,6 +49,7 @@ tslib_1.__exportStar(require("./StartFileTransferCommand"), exports);
49
49
  tslib_1.__exportStar(require("./StartServerCommand"), exports);
50
50
  tslib_1.__exportStar(require("./StopServerCommand"), exports);
51
51
  tslib_1.__exportStar(require("./TagResourceCommand"), exports);
52
+ tslib_1.__exportStar(require("./TestConnectionCommand"), exports);
52
53
  tslib_1.__exportStar(require("./TestIdentityProviderCommand"), exports);
53
54
  tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
54
55
  tslib_1.__exportStar(require("./UpdateAccessCommand"), exports);
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.se_UntagResourceCommand = exports.se_TestIdentityProviderCommand = exports.se_TagResourceCommand = exports.se_StopServerCommand = exports.se_StartServerCommand = exports.se_StartFileTransferCommand = exports.se_SendWorkflowStepStateCommand = exports.se_ListWorkflowsCommand = exports.se_ListUsersCommand = exports.se_ListTagsForResourceCommand = exports.se_ListServersCommand = exports.se_ListSecurityPoliciesCommand = exports.se_ListProfilesCommand = exports.se_ListHostKeysCommand = exports.se_ListExecutionsCommand = exports.se_ListConnectorsCommand = exports.se_ListCertificatesCommand = exports.se_ListAgreementsCommand = exports.se_ListAccessesCommand = exports.se_ImportSshPublicKeyCommand = exports.se_ImportHostKeyCommand = exports.se_ImportCertificateCommand = exports.se_DescribeWorkflowCommand = exports.se_DescribeUserCommand = exports.se_DescribeServerCommand = exports.se_DescribeSecurityPolicyCommand = exports.se_DescribeProfileCommand = exports.se_DescribeHostKeyCommand = exports.se_DescribeExecutionCommand = exports.se_DescribeConnectorCommand = exports.se_DescribeCertificateCommand = exports.se_DescribeAgreementCommand = exports.se_DescribeAccessCommand = exports.se_DeleteWorkflowCommand = exports.se_DeleteUserCommand = exports.se_DeleteSshPublicKeyCommand = exports.se_DeleteServerCommand = exports.se_DeleteProfileCommand = exports.se_DeleteHostKeyCommand = exports.se_DeleteConnectorCommand = exports.se_DeleteCertificateCommand = exports.se_DeleteAgreementCommand = exports.se_DeleteAccessCommand = exports.se_CreateWorkflowCommand = exports.se_CreateUserCommand = exports.se_CreateServerCommand = exports.se_CreateProfileCommand = exports.se_CreateConnectorCommand = exports.se_CreateAgreementCommand = exports.se_CreateAccessCommand = void 0;
4
- exports.de_ListUsersCommand = exports.de_ListTagsForResourceCommand = exports.de_ListServersCommand = exports.de_ListSecurityPoliciesCommand = exports.de_ListProfilesCommand = exports.de_ListHostKeysCommand = exports.de_ListExecutionsCommand = exports.de_ListConnectorsCommand = exports.de_ListCertificatesCommand = exports.de_ListAgreementsCommand = exports.de_ListAccessesCommand = exports.de_ImportSshPublicKeyCommand = exports.de_ImportHostKeyCommand = exports.de_ImportCertificateCommand = exports.de_DescribeWorkflowCommand = exports.de_DescribeUserCommand = exports.de_DescribeServerCommand = exports.de_DescribeSecurityPolicyCommand = exports.de_DescribeProfileCommand = exports.de_DescribeHostKeyCommand = exports.de_DescribeExecutionCommand = exports.de_DescribeConnectorCommand = exports.de_DescribeCertificateCommand = exports.de_DescribeAgreementCommand = exports.de_DescribeAccessCommand = exports.de_DeleteWorkflowCommand = exports.de_DeleteUserCommand = exports.de_DeleteSshPublicKeyCommand = exports.de_DeleteServerCommand = exports.de_DeleteProfileCommand = exports.de_DeleteHostKeyCommand = exports.de_DeleteConnectorCommand = exports.de_DeleteCertificateCommand = exports.de_DeleteAgreementCommand = exports.de_DeleteAccessCommand = exports.de_CreateWorkflowCommand = exports.de_CreateUserCommand = exports.de_CreateServerCommand = exports.de_CreateProfileCommand = exports.de_CreateConnectorCommand = exports.de_CreateAgreementCommand = exports.de_CreateAccessCommand = exports.se_UpdateUserCommand = exports.se_UpdateServerCommand = exports.se_UpdateProfileCommand = exports.se_UpdateHostKeyCommand = exports.se_UpdateConnectorCommand = exports.se_UpdateCertificateCommand = exports.se_UpdateAgreementCommand = exports.se_UpdateAccessCommand = void 0;
5
- exports.de_UpdateUserCommand = exports.de_UpdateServerCommand = exports.de_UpdateProfileCommand = exports.de_UpdateHostKeyCommand = exports.de_UpdateConnectorCommand = exports.de_UpdateCertificateCommand = exports.de_UpdateAgreementCommand = exports.de_UpdateAccessCommand = exports.de_UntagResourceCommand = exports.de_TestIdentityProviderCommand = exports.de_TagResourceCommand = exports.de_StopServerCommand = exports.de_StartServerCommand = exports.de_StartFileTransferCommand = exports.de_SendWorkflowStepStateCommand = exports.de_ListWorkflowsCommand = void 0;
3
+ exports.se_TestIdentityProviderCommand = exports.se_TestConnectionCommand = exports.se_TagResourceCommand = exports.se_StopServerCommand = exports.se_StartServerCommand = exports.se_StartFileTransferCommand = exports.se_SendWorkflowStepStateCommand = exports.se_ListWorkflowsCommand = exports.se_ListUsersCommand = exports.se_ListTagsForResourceCommand = exports.se_ListServersCommand = exports.se_ListSecurityPoliciesCommand = exports.se_ListProfilesCommand = exports.se_ListHostKeysCommand = exports.se_ListExecutionsCommand = exports.se_ListConnectorsCommand = exports.se_ListCertificatesCommand = exports.se_ListAgreementsCommand = exports.se_ListAccessesCommand = exports.se_ImportSshPublicKeyCommand = exports.se_ImportHostKeyCommand = exports.se_ImportCertificateCommand = exports.se_DescribeWorkflowCommand = exports.se_DescribeUserCommand = exports.se_DescribeServerCommand = exports.se_DescribeSecurityPolicyCommand = exports.se_DescribeProfileCommand = exports.se_DescribeHostKeyCommand = exports.se_DescribeExecutionCommand = exports.se_DescribeConnectorCommand = exports.se_DescribeCertificateCommand = exports.se_DescribeAgreementCommand = exports.se_DescribeAccessCommand = exports.se_DeleteWorkflowCommand = exports.se_DeleteUserCommand = exports.se_DeleteSshPublicKeyCommand = exports.se_DeleteServerCommand = exports.se_DeleteProfileCommand = exports.se_DeleteHostKeyCommand = exports.se_DeleteConnectorCommand = exports.se_DeleteCertificateCommand = exports.se_DeleteAgreementCommand = exports.se_DeleteAccessCommand = exports.se_CreateWorkflowCommand = exports.se_CreateUserCommand = exports.se_CreateServerCommand = exports.se_CreateProfileCommand = exports.se_CreateConnectorCommand = exports.se_CreateAgreementCommand = exports.se_CreateAccessCommand = void 0;
4
+ exports.de_ListTagsForResourceCommand = exports.de_ListServersCommand = exports.de_ListSecurityPoliciesCommand = exports.de_ListProfilesCommand = exports.de_ListHostKeysCommand = exports.de_ListExecutionsCommand = exports.de_ListConnectorsCommand = exports.de_ListCertificatesCommand = exports.de_ListAgreementsCommand = exports.de_ListAccessesCommand = exports.de_ImportSshPublicKeyCommand = exports.de_ImportHostKeyCommand = exports.de_ImportCertificateCommand = exports.de_DescribeWorkflowCommand = exports.de_DescribeUserCommand = exports.de_DescribeServerCommand = exports.de_DescribeSecurityPolicyCommand = exports.de_DescribeProfileCommand = exports.de_DescribeHostKeyCommand = exports.de_DescribeExecutionCommand = exports.de_DescribeConnectorCommand = exports.de_DescribeCertificateCommand = exports.de_DescribeAgreementCommand = exports.de_DescribeAccessCommand = exports.de_DeleteWorkflowCommand = exports.de_DeleteUserCommand = exports.de_DeleteSshPublicKeyCommand = exports.de_DeleteServerCommand = exports.de_DeleteProfileCommand = exports.de_DeleteHostKeyCommand = exports.de_DeleteConnectorCommand = exports.de_DeleteCertificateCommand = exports.de_DeleteAgreementCommand = exports.de_DeleteAccessCommand = exports.de_CreateWorkflowCommand = exports.de_CreateUserCommand = exports.de_CreateServerCommand = exports.de_CreateProfileCommand = exports.de_CreateConnectorCommand = exports.de_CreateAgreementCommand = exports.de_CreateAccessCommand = exports.se_UpdateUserCommand = exports.se_UpdateServerCommand = exports.se_UpdateProfileCommand = exports.se_UpdateHostKeyCommand = exports.se_UpdateConnectorCommand = exports.se_UpdateCertificateCommand = exports.se_UpdateAgreementCommand = exports.se_UpdateAccessCommand = exports.se_UntagResourceCommand = void 0;
5
+ exports.de_UpdateUserCommand = exports.de_UpdateServerCommand = exports.de_UpdateProfileCommand = exports.de_UpdateHostKeyCommand = exports.de_UpdateConnectorCommand = exports.de_UpdateCertificateCommand = exports.de_UpdateAgreementCommand = exports.de_UpdateAccessCommand = exports.de_UntagResourceCommand = exports.de_TestIdentityProviderCommand = exports.de_TestConnectionCommand = exports.de_TagResourceCommand = exports.de_StopServerCommand = exports.de_StartServerCommand = exports.de_StartFileTransferCommand = exports.de_SendWorkflowStepStateCommand = exports.de_ListWorkflowsCommand = exports.de_ListUsersCommand = void 0;
6
6
  const protocol_http_1 = require("@smithy/protocol-http");
7
7
  const smithy_client_1 = require("@smithy/smithy-client");
8
8
  const models_0_1 = require("../models/models_0");
@@ -343,6 +343,13 @@ const se_TagResourceCommand = async (input, context) => {
343
343
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
344
344
  };
345
345
  exports.se_TagResourceCommand = se_TagResourceCommand;
346
+ const se_TestConnectionCommand = async (input, context) => {
347
+ const headers = sharedHeaders("TestConnection");
348
+ let body;
349
+ body = JSON.stringify((0, smithy_client_1._json)(input));
350
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
351
+ };
352
+ exports.se_TestConnectionCommand = se_TestConnectionCommand;
346
353
  const se_TestIdentityProviderCommand = async (input, context) => {
347
354
  const headers = sharedHeaders("TestIdentityProvider");
348
355
  let body;
@@ -2489,6 +2496,48 @@ const de_TagResourceCommandError = async (output, context) => {
2489
2496
  });
2490
2497
  }
2491
2498
  };
2499
+ const de_TestConnectionCommand = async (output, context) => {
2500
+ if (output.statusCode >= 300) {
2501
+ return de_TestConnectionCommandError(output, context);
2502
+ }
2503
+ const data = await parseBody(output.body, context);
2504
+ let contents = {};
2505
+ contents = (0, smithy_client_1._json)(data);
2506
+ const response = {
2507
+ $metadata: deserializeMetadata(output),
2508
+ ...contents,
2509
+ };
2510
+ return response;
2511
+ };
2512
+ exports.de_TestConnectionCommand = de_TestConnectionCommand;
2513
+ const de_TestConnectionCommandError = async (output, context) => {
2514
+ const parsedOutput = {
2515
+ ...output,
2516
+ body: await parseErrorBody(output.body, context),
2517
+ };
2518
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2519
+ switch (errorCode) {
2520
+ case "InternalServiceError":
2521
+ case "com.amazonaws.transfer#InternalServiceError":
2522
+ throw await de_InternalServiceErrorRes(parsedOutput, context);
2523
+ case "InvalidRequestException":
2524
+ case "com.amazonaws.transfer#InvalidRequestException":
2525
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
2526
+ case "ResourceNotFoundException":
2527
+ case "com.amazonaws.transfer#ResourceNotFoundException":
2528
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2529
+ case "ServiceUnavailableException":
2530
+ case "com.amazonaws.transfer#ServiceUnavailableException":
2531
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
2532
+ default:
2533
+ const parsedBody = parsedOutput.body;
2534
+ return throwDefaultError({
2535
+ output,
2536
+ parsedBody,
2537
+ errorCode,
2538
+ });
2539
+ }
2540
+ };
2492
2541
  const de_TestIdentityProviderCommand = async (output, context) => {
2493
2542
  if (output.statusCode >= 300) {
2494
2543
  return de_TestIdentityProviderCommandError(output, context);
@@ -47,6 +47,7 @@ import { StartFileTransferCommand, } from "./commands/StartFileTransferCommand";
47
47
  import { StartServerCommand } from "./commands/StartServerCommand";
48
48
  import { StopServerCommand } from "./commands/StopServerCommand";
49
49
  import { TagResourceCommand } from "./commands/TagResourceCommand";
50
+ import { TestConnectionCommand, } from "./commands/TestConnectionCommand";
50
51
  import { TestIdentityProviderCommand, } from "./commands/TestIdentityProviderCommand";
51
52
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
52
53
  import { UpdateAccessCommand, } from "./commands/UpdateAccessCommand";
@@ -107,6 +108,7 @@ const commands = {
107
108
  StartServerCommand,
108
109
  StopServerCommand,
109
110
  TagResourceCommand,
111
+ TestConnectionCommand,
110
112
  TestIdentityProviderCommand,
111
113
  UntagResourceCommand,
112
114
  UpdateAccessCommand,
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { de_TestConnectionCommand, se_TestConnectionCommand } from "../protocols/Aws_json1_1";
5
+ export { $Command };
6
+ export class TestConnectionCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, TestConnectionCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "TransferClient";
25
+ const commandName = "TestConnectionCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: (_) => _,
31
+ outputFilterSensitiveLog: (_) => _,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return se_TestConnectionCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return de_TestConnectionCommand(output, context);
41
+ }
42
+ }
@@ -46,6 +46,7 @@ export * from "./StartFileTransferCommand";
46
46
  export * from "./StartServerCommand";
47
47
  export * from "./StopServerCommand";
48
48
  export * from "./TagResourceCommand";
49
+ export * from "./TestConnectionCommand";
49
50
  export * from "./TestIdentityProviderCommand";
50
51
  export * from "./UntagResourceCommand";
51
52
  export * from "./UpdateAccessCommand";
@@ -290,6 +290,12 @@ export const se_TagResourceCommand = async (input, context) => {
290
290
  body = JSON.stringify(_json(input));
291
291
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
292
292
  };
293
+ export const se_TestConnectionCommand = async (input, context) => {
294
+ const headers = sharedHeaders("TestConnection");
295
+ let body;
296
+ body = JSON.stringify(_json(input));
297
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
298
+ };
293
299
  export const se_TestIdentityProviderCommand = async (input, context) => {
294
300
  const headers = sharedHeaders("TestIdentityProvider");
295
301
  let body;
@@ -2378,6 +2384,47 @@ const de_TagResourceCommandError = async (output, context) => {
2378
2384
  });
2379
2385
  }
2380
2386
  };
2387
+ export const de_TestConnectionCommand = async (output, context) => {
2388
+ if (output.statusCode >= 300) {
2389
+ return de_TestConnectionCommandError(output, context);
2390
+ }
2391
+ const data = await parseBody(output.body, context);
2392
+ let contents = {};
2393
+ contents = _json(data);
2394
+ const response = {
2395
+ $metadata: deserializeMetadata(output),
2396
+ ...contents,
2397
+ };
2398
+ return response;
2399
+ };
2400
+ const de_TestConnectionCommandError = async (output, context) => {
2401
+ const parsedOutput = {
2402
+ ...output,
2403
+ body: await parseErrorBody(output.body, context),
2404
+ };
2405
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2406
+ switch (errorCode) {
2407
+ case "InternalServiceError":
2408
+ case "com.amazonaws.transfer#InternalServiceError":
2409
+ throw await de_InternalServiceErrorRes(parsedOutput, context);
2410
+ case "InvalidRequestException":
2411
+ case "com.amazonaws.transfer#InvalidRequestException":
2412
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
2413
+ case "ResourceNotFoundException":
2414
+ case "com.amazonaws.transfer#ResourceNotFoundException":
2415
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2416
+ case "ServiceUnavailableException":
2417
+ case "com.amazonaws.transfer#ServiceUnavailableException":
2418
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
2419
+ default:
2420
+ const parsedBody = parsedOutput.body;
2421
+ return throwDefaultError({
2422
+ output,
2423
+ parsedBody,
2424
+ errorCode,
2425
+ });
2426
+ }
2427
+ };
2381
2428
  export const de_TestIdentityProviderCommand = async (output, context) => {
2382
2429
  if (output.statusCode >= 300) {
2383
2430
  return de_TestIdentityProviderCommandError(output, context);
@@ -47,6 +47,7 @@ import { StartFileTransferCommandInput, StartFileTransferCommandOutput } from ".
47
47
  import { StartServerCommandInput, StartServerCommandOutput } from "./commands/StartServerCommand";
48
48
  import { StopServerCommandInput, StopServerCommandOutput } from "./commands/StopServerCommand";
49
49
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
50
+ import { TestConnectionCommandInput, TestConnectionCommandOutput } from "./commands/TestConnectionCommand";
50
51
  import { TestIdentityProviderCommandInput, TestIdentityProviderCommandOutput } from "./commands/TestIdentityProviderCommand";
51
52
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
52
53
  import { UpdateAccessCommandInput, UpdateAccessCommandOutput } from "./commands/UpdateAccessCommand";
@@ -347,6 +348,12 @@ export interface Transfer {
347
348
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
348
349
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
349
350
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
351
+ /**
352
+ * @see {@link TestConnectionCommand}
353
+ */
354
+ testConnection(args: TestConnectionCommandInput, options?: __HttpHandlerOptions): Promise<TestConnectionCommandOutput>;
355
+ testConnection(args: TestConnectionCommandInput, cb: (err: any, data?: TestConnectionCommandOutput) => void): void;
356
+ testConnection(args: TestConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TestConnectionCommandOutput) => void): void;
350
357
  /**
351
358
  * @see {@link TestIdentityProviderCommand}
352
359
  */
@@ -56,6 +56,7 @@ import { StartFileTransferCommandInput, StartFileTransferCommandOutput } from ".
56
56
  import { StartServerCommandInput, StartServerCommandOutput } from "./commands/StartServerCommand";
57
57
  import { StopServerCommandInput, StopServerCommandOutput } from "./commands/StopServerCommand";
58
58
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
59
+ import { TestConnectionCommandInput, TestConnectionCommandOutput } from "./commands/TestConnectionCommand";
59
60
  import { TestIdentityProviderCommandInput, TestIdentityProviderCommandOutput } from "./commands/TestIdentityProviderCommand";
60
61
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
61
62
  import { UpdateAccessCommandInput, UpdateAccessCommandOutput } from "./commands/UpdateAccessCommand";
@@ -71,11 +72,11 @@ export { __Client };
71
72
  /**
72
73
  * @public
73
74
  */
74
- export type ServiceInputTypes = CreateAccessCommandInput | CreateAgreementCommandInput | CreateConnectorCommandInput | CreateProfileCommandInput | CreateServerCommandInput | CreateUserCommandInput | CreateWorkflowCommandInput | DeleteAccessCommandInput | DeleteAgreementCommandInput | DeleteCertificateCommandInput | DeleteConnectorCommandInput | DeleteHostKeyCommandInput | DeleteProfileCommandInput | DeleteServerCommandInput | DeleteSshPublicKeyCommandInput | DeleteUserCommandInput | DeleteWorkflowCommandInput | DescribeAccessCommandInput | DescribeAgreementCommandInput | DescribeCertificateCommandInput | DescribeConnectorCommandInput | DescribeExecutionCommandInput | DescribeHostKeyCommandInput | DescribeProfileCommandInput | DescribeSecurityPolicyCommandInput | DescribeServerCommandInput | DescribeUserCommandInput | DescribeWorkflowCommandInput | ImportCertificateCommandInput | ImportHostKeyCommandInput | ImportSshPublicKeyCommandInput | ListAccessesCommandInput | ListAgreementsCommandInput | ListCertificatesCommandInput | ListConnectorsCommandInput | ListExecutionsCommandInput | ListHostKeysCommandInput | ListProfilesCommandInput | ListSecurityPoliciesCommandInput | ListServersCommandInput | ListTagsForResourceCommandInput | ListUsersCommandInput | ListWorkflowsCommandInput | SendWorkflowStepStateCommandInput | StartFileTransferCommandInput | StartServerCommandInput | StopServerCommandInput | TagResourceCommandInput | TestIdentityProviderCommandInput | UntagResourceCommandInput | UpdateAccessCommandInput | UpdateAgreementCommandInput | UpdateCertificateCommandInput | UpdateConnectorCommandInput | UpdateHostKeyCommandInput | UpdateProfileCommandInput | UpdateServerCommandInput | UpdateUserCommandInput;
75
+ export type ServiceInputTypes = CreateAccessCommandInput | CreateAgreementCommandInput | CreateConnectorCommandInput | CreateProfileCommandInput | CreateServerCommandInput | CreateUserCommandInput | CreateWorkflowCommandInput | DeleteAccessCommandInput | DeleteAgreementCommandInput | DeleteCertificateCommandInput | DeleteConnectorCommandInput | DeleteHostKeyCommandInput | DeleteProfileCommandInput | DeleteServerCommandInput | DeleteSshPublicKeyCommandInput | DeleteUserCommandInput | DeleteWorkflowCommandInput | DescribeAccessCommandInput | DescribeAgreementCommandInput | DescribeCertificateCommandInput | DescribeConnectorCommandInput | DescribeExecutionCommandInput | DescribeHostKeyCommandInput | DescribeProfileCommandInput | DescribeSecurityPolicyCommandInput | DescribeServerCommandInput | DescribeUserCommandInput | DescribeWorkflowCommandInput | ImportCertificateCommandInput | ImportHostKeyCommandInput | ImportSshPublicKeyCommandInput | ListAccessesCommandInput | ListAgreementsCommandInput | ListCertificatesCommandInput | ListConnectorsCommandInput | ListExecutionsCommandInput | ListHostKeysCommandInput | ListProfilesCommandInput | ListSecurityPoliciesCommandInput | ListServersCommandInput | ListTagsForResourceCommandInput | ListUsersCommandInput | ListWorkflowsCommandInput | SendWorkflowStepStateCommandInput | StartFileTransferCommandInput | StartServerCommandInput | StopServerCommandInput | TagResourceCommandInput | TestConnectionCommandInput | TestIdentityProviderCommandInput | UntagResourceCommandInput | UpdateAccessCommandInput | UpdateAgreementCommandInput | UpdateCertificateCommandInput | UpdateConnectorCommandInput | UpdateHostKeyCommandInput | UpdateProfileCommandInput | UpdateServerCommandInput | UpdateUserCommandInput;
75
76
  /**
76
77
  * @public
77
78
  */
78
- export type ServiceOutputTypes = CreateAccessCommandOutput | CreateAgreementCommandOutput | CreateConnectorCommandOutput | CreateProfileCommandOutput | CreateServerCommandOutput | CreateUserCommandOutput | CreateWorkflowCommandOutput | DeleteAccessCommandOutput | DeleteAgreementCommandOutput | DeleteCertificateCommandOutput | DeleteConnectorCommandOutput | DeleteHostKeyCommandOutput | DeleteProfileCommandOutput | DeleteServerCommandOutput | DeleteSshPublicKeyCommandOutput | DeleteUserCommandOutput | DeleteWorkflowCommandOutput | DescribeAccessCommandOutput | DescribeAgreementCommandOutput | DescribeCertificateCommandOutput | DescribeConnectorCommandOutput | DescribeExecutionCommandOutput | DescribeHostKeyCommandOutput | DescribeProfileCommandOutput | DescribeSecurityPolicyCommandOutput | DescribeServerCommandOutput | DescribeUserCommandOutput | DescribeWorkflowCommandOutput | ImportCertificateCommandOutput | ImportHostKeyCommandOutput | ImportSshPublicKeyCommandOutput | ListAccessesCommandOutput | ListAgreementsCommandOutput | ListCertificatesCommandOutput | ListConnectorsCommandOutput | ListExecutionsCommandOutput | ListHostKeysCommandOutput | ListProfilesCommandOutput | ListSecurityPoliciesCommandOutput | ListServersCommandOutput | ListTagsForResourceCommandOutput | ListUsersCommandOutput | ListWorkflowsCommandOutput | SendWorkflowStepStateCommandOutput | StartFileTransferCommandOutput | StartServerCommandOutput | StopServerCommandOutput | TagResourceCommandOutput | TestIdentityProviderCommandOutput | UntagResourceCommandOutput | UpdateAccessCommandOutput | UpdateAgreementCommandOutput | UpdateCertificateCommandOutput | UpdateConnectorCommandOutput | UpdateHostKeyCommandOutput | UpdateProfileCommandOutput | UpdateServerCommandOutput | UpdateUserCommandOutput;
79
+ export type ServiceOutputTypes = CreateAccessCommandOutput | CreateAgreementCommandOutput | CreateConnectorCommandOutput | CreateProfileCommandOutput | CreateServerCommandOutput | CreateUserCommandOutput | CreateWorkflowCommandOutput | DeleteAccessCommandOutput | DeleteAgreementCommandOutput | DeleteCertificateCommandOutput | DeleteConnectorCommandOutput | DeleteHostKeyCommandOutput | DeleteProfileCommandOutput | DeleteServerCommandOutput | DeleteSshPublicKeyCommandOutput | DeleteUserCommandOutput | DeleteWorkflowCommandOutput | DescribeAccessCommandOutput | DescribeAgreementCommandOutput | DescribeCertificateCommandOutput | DescribeConnectorCommandOutput | DescribeExecutionCommandOutput | DescribeHostKeyCommandOutput | DescribeProfileCommandOutput | DescribeSecurityPolicyCommandOutput | DescribeServerCommandOutput | DescribeUserCommandOutput | DescribeWorkflowCommandOutput | ImportCertificateCommandOutput | ImportHostKeyCommandOutput | ImportSshPublicKeyCommandOutput | ListAccessesCommandOutput | ListAgreementsCommandOutput | ListCertificatesCommandOutput | ListConnectorsCommandOutput | ListExecutionsCommandOutput | ListHostKeysCommandOutput | ListProfilesCommandOutput | ListSecurityPoliciesCommandOutput | ListServersCommandOutput | ListTagsForResourceCommandOutput | ListUsersCommandOutput | ListWorkflowsCommandOutput | SendWorkflowStepStateCommandOutput | StartFileTransferCommandOutput | StartServerCommandOutput | StopServerCommandOutput | TagResourceCommandOutput | TestConnectionCommandOutput | TestIdentityProviderCommandOutput | UntagResourceCommandOutput | UpdateAccessCommandOutput | UpdateAgreementCommandOutput | UpdateCertificateCommandOutput | UpdateConnectorCommandOutput | UpdateHostKeyCommandOutput | UpdateProfileCommandOutput | UpdateServerCommandOutput | UpdateUserCommandOutput;
79
80
  /**
80
81
  * @public
81
82
  */
@@ -24,8 +24,11 @@ export interface CreateConnectorCommandOutput extends CreateConnectorResponse, _
24
24
  /**
25
25
  * @public
26
26
  * <p>Creates the connector, which captures the parameters for an outbound connection for the
27
- * AS2 protocol. The connector is required for sending files to an externally hosted AS2 server.
28
- * For more details about connectors, see <a href="https://docs.aws.amazon.com/transfer/latest/userguide/create-b2b-server.html#configure-as2-connector">Create AS2 connectors</a>.</p>
27
+ * AS2 or SFTP protocol. The connector is required for sending files to an externally hosted AS2 or SFTP server.
28
+ * For more details about AS2 connectors, see <a href="https://docs.aws.amazon.com/transfer/latest/userguide/create-b2b-server.html#configure-as2-connector">Create AS2 connectors</a>.</p>
29
+ * <note>
30
+ * <p>You must specify exactly one configuration object: either for AS2 (<code>As2Config</code>) or SFTP (<code>SftpConfig</code>).</p>
31
+ * </note>
29
32
  * @example
30
33
  * Use a bare-bones client and the command you need to make an API call.
31
34
  * ```javascript
@@ -53,6 +56,12 @@ export interface CreateConnectorCommandOutput extends CreateConnectorResponse, _
53
56
  * Value: "STRING_VALUE", // required
54
57
  * },
55
58
  * ],
59
+ * SftpConfig: { // SftpConnectorConfig
60
+ * UserSecretId: "STRING_VALUE",
61
+ * TrustedHostKeys: [ // SftpConnectorTrustedHostKeyList
62
+ * "STRING_VALUE",
63
+ * ],
64
+ * },
56
65
  * };
57
66
  * const command = new CreateConnectorCommand(input);
58
67
  * const response = await client.send(command);
@@ -23,7 +23,7 @@ export interface DeleteConnectorCommandOutput extends __MetadataBearer {
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Deletes the agreement that's specified in the provided <code>ConnectorId</code>.</p>
26
+ * <p>Deletes the connector that's specified in the provided <code>ConnectorId</code>.</p>
27
27
  * @example
28
28
  * Use a bare-bones client and the command you need to make an API call.
29
29
  * ```javascript
@@ -60,6 +60,12 @@ export interface DescribeConnectorCommandOutput extends DescribeConnectorRespons
60
60
  * // Value: "STRING_VALUE", // required
61
61
  * // },
62
62
  * // ],
63
+ * // SftpConfig: { // SftpConnectorConfig
64
+ * // UserSecretId: "STRING_VALUE",
65
+ * // TrustedHostKeys: [ // SftpConnectorTrustedHostKeyList
66
+ * // "STRING_VALUE",
67
+ * // ],
68
+ * // },
63
69
  * // },
64
70
  * // };
65
71
  *
@@ -23,8 +23,32 @@ export interface StartFileTransferCommandOutput extends StartFileTransferRespons
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Begins an outbound file transfer to a remote AS2 server. You specify the <code>ConnectorId</code> and the file
27
- * paths for where to send the files. </p>
26
+ * <p>Begins a file transfer between local Amazon Web Services storage and a remote AS2 or SFTP server.</p>
27
+ * <ul>
28
+ * <li>
29
+ * <p>For an AS2 connector, you specify the <code>ConnectorId</code> and one or more <code>SendFilePaths</code> to identify the files
30
+ * you want to transfer.</p>
31
+ * </li>
32
+ * <li>
33
+ * <p>For an SFTP connector, the file transfer can be either outbound or inbound. In both
34
+ * cases, you specify the <code>ConnectorId</code>. Depending on the direction of the transfer,
35
+ * you also specify the following items:</p>
36
+ * <ul>
37
+ * <li>
38
+ * <p>If you are transferring file from a partner's SFTP server to a Transfer Family
39
+ * server, you specify one or more <code>RetreiveFilePaths</code> to identify the files
40
+ * you want to transfer, and a <code>LocalDirectoryPath</code> to specify the destination
41
+ * folder.</p>
42
+ * </li>
43
+ * <li>
44
+ * <p>If you are transferring file to a partner's SFTP server from Amazon Web Services
45
+ * storage, you specify one or more <code>SendFilePaths</code> to identify the files you
46
+ * want to transfer, and a <code>RemoteDirectoryPath</code> to specify the destination
47
+ * folder.</p>
48
+ * </li>
49
+ * </ul>
50
+ * </li>
51
+ * </ul>
28
52
  * @example
29
53
  * Use a bare-bones client and the command you need to make an API call.
30
54
  * ```javascript
@@ -33,9 +57,14 @@ export interface StartFileTransferCommandOutput extends StartFileTransferRespons
33
57
  * const client = new TransferClient(config);
34
58
  * const input = { // StartFileTransferRequest
35
59
  * ConnectorId: "STRING_VALUE", // required
36
- * SendFilePaths: [ // FilePaths // required
60
+ * SendFilePaths: [ // FilePaths
37
61
  * "STRING_VALUE",
38
62
  * ],
63
+ * RetrieveFilePaths: [
64
+ * "STRING_VALUE",
65
+ * ],
66
+ * LocalDirectoryPath: "STRING_VALUE",
67
+ * RemoteDirectoryPath: "STRING_VALUE",
39
68
  * };
40
69
  * const command = new StartFileTransferCommand(input);
41
70
  * const response = await client.send(command);
@@ -0,0 +1,90 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { TestConnectionRequest, TestConnectionResponse } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link TestConnectionCommand}.
14
+ */
15
+ export interface TestConnectionCommandInput extends TestConnectionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TestConnectionCommand}.
21
+ */
22
+ export interface TestConnectionCommandOutput extends TestConnectionResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Tests whether your SFTP connector is set up successfully. We highly recommend that you call this
27
+ * operation to test your ability to transfer files between a Transfer Family server and a trading partner's
28
+ * SFTP server.</p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { TransferClient, TestConnectionCommand } from "@aws-sdk/client-transfer"; // ES Modules import
33
+ * // const { TransferClient, TestConnectionCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
34
+ * const client = new TransferClient(config);
35
+ * const input = { // TestConnectionRequest
36
+ * ConnectorId: "STRING_VALUE", // required
37
+ * };
38
+ * const command = new TestConnectionCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // TestConnectionResponse
41
+ * // ConnectorId: "STRING_VALUE",
42
+ * // Status: "STRING_VALUE",
43
+ * // StatusMessage: "STRING_VALUE",
44
+ * // };
45
+ *
46
+ * ```
47
+ *
48
+ * @param TestConnectionCommandInput - {@link TestConnectionCommandInput}
49
+ * @returns {@link TestConnectionCommandOutput}
50
+ * @see {@link TestConnectionCommandInput} for command's `input` shape.
51
+ * @see {@link TestConnectionCommandOutput} for command's `response` shape.
52
+ * @see {@link TransferClientResolvedConfig | config} for TransferClient's `config` shape.
53
+ *
54
+ * @throws {@link InternalServiceError} (server fault)
55
+ * <p>This exception is thrown when an error occurs in the Amazon Web ServicesTransfer Family service.</p>
56
+ *
57
+ * @throws {@link InvalidRequestException} (client fault)
58
+ * <p>This exception is thrown when the client submits a malformed request.</p>
59
+ *
60
+ * @throws {@link ResourceNotFoundException} (client fault)
61
+ * <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family
62
+ * service.</p>
63
+ *
64
+ * @throws {@link ServiceUnavailableException} (server fault)
65
+ * <p>The request has failed because the Amazon Web ServicesTransfer Family service is not available.</p>
66
+ *
67
+ * @throws {@link TransferServiceException}
68
+ * <p>Base exception class for all service exceptions from Transfer service.</p>
69
+ *
70
+ */
71
+ export declare class TestConnectionCommand extends $Command<TestConnectionCommandInput, TestConnectionCommandOutput, TransferClientResolvedConfig> {
72
+ readonly input: TestConnectionCommandInput;
73
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
74
+ /**
75
+ * @public
76
+ */
77
+ constructor(input: TestConnectionCommandInput);
78
+ /**
79
+ * @internal
80
+ */
81
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TransferClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TestConnectionCommandInput, TestConnectionCommandOutput>;
82
+ /**
83
+ * @internal
84
+ */
85
+ private serialize;
86
+ /**
87
+ * @internal
88
+ */
89
+ private deserialize;
90
+ }
@@ -48,6 +48,12 @@ export interface UpdateConnectorCommandOutput extends UpdateConnectorResponse, _
48
48
  * },
49
49
  * AccessRole: "STRING_VALUE",
50
50
  * LoggingRole: "STRING_VALUE",
51
+ * SftpConfig: { // SftpConnectorConfig
52
+ * UserSecretId: "STRING_VALUE",
53
+ * TrustedHostKeys: [ // SftpConnectorTrustedHostKeyList
54
+ * "STRING_VALUE",
55
+ * ],
56
+ * },
51
57
  * };
52
58
  * const command = new UpdateConnectorCommand(input);
53
59
  * const response = await client.send(command);
@@ -46,6 +46,7 @@ export * from "./StartFileTransferCommand";
46
46
  export * from "./StartServerCommand";
47
47
  export * from "./StopServerCommand";
48
48
  export * from "./TagResourceCommand";
49
+ export * from "./TestConnectionCommand";
49
50
  export * from "./TestIdentityProviderCommand";
50
51
  export * from "./UntagResourceCommand";
51
52
  export * from "./UpdateAccessCommand";
@@ -96,7 +96,7 @@ export declare const SigningAlg: {
96
96
  export type SigningAlg = (typeof SigningAlg)[keyof typeof SigningAlg];
97
97
  /**
98
98
  * @public
99
- * <p>Contains the details for a connector object. The connector object is used for AS2 outbound
99
+ * <p>Contains the details for an AS2 connector object. The connector object is used for AS2 outbound
100
100
  * processes, to connect the Transfer Family customer with the trading partner.</p>
101
101
  */
102
102
  export interface As2ConnectorConfig {
@@ -692,18 +692,47 @@ export declare class ThrottlingException extends __BaseException {
692
692
  */
693
693
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
694
694
  }
695
+ /**
696
+ * @public
697
+ * <p>Contains the details for an SFTP connector object. The connector object is used for transferring files to and from a
698
+ * partner's SFTP server.</p>
699
+ */
700
+ export interface SftpConnectorConfig {
701
+ /**
702
+ * <p>The identifiers for the secrets (in Amazon Web Services Secrets Manager) that contain the SFTP user's private keys or passwords.</p>
703
+ */
704
+ UserSecretId?: string;
705
+ /**
706
+ * <p>The public portion of the host key, or keys, that are used to authenticate the user to the external server to which you are connecting. You can use the <code>ssh-keyscan</code> command against the SFTP server to retrieve the necessary key.</p>
707
+ * <p>The three standard SSH public key format elements are <code><key type></code>,
708
+ * <code><body base64></code>, and an optional <code><comment></code>, with spaces
709
+ * between each element.</p>
710
+ * <p>For the trusted host key, Transfer Family accepts RSA and ECDSA keys.</p>
711
+ * <ul>
712
+ * <li>
713
+ * <p>For RSA keys, the key type is <code>ssh-rsa</code>.</p>
714
+ * </li>
715
+ * <li>
716
+ * <p>For ECDSA keys, the key type is either <code>ecdsa-sha2-nistp256</code>,
717
+ * <code>ecdsa-sha2-nistp384</code>, or <code>ecdsa-sha2-nistp521</code>, depending on the
718
+ * size of the key you generated.</p>
719
+ * </li>
720
+ * </ul>
721
+ */
722
+ TrustedHostKeys?: string[];
723
+ }
695
724
  /**
696
725
  * @public
697
726
  */
698
727
  export interface CreateConnectorRequest {
699
728
  /**
700
- * <p>The URL of the partner's AS2 endpoint.</p>
729
+ * <p>The URL of the partner's AS2 or SFTP endpoint.</p>
701
730
  */
702
731
  Url: string | undefined;
703
732
  /**
704
- * <p>A structure that contains the parameters for a connector object.</p>
733
+ * <p>A structure that contains the parameters for an AS2 connector object.</p>
705
734
  */
706
- As2Config: As2ConnectorConfig | undefined;
735
+ As2Config?: As2ConnectorConfig;
707
736
  /**
708
737
  * <p>With AS2, you can send files by calling <code>StartFileTransfer</code> and specifying the
709
738
  * file paths in the request parameter, <code>SendFilePaths</code>. We use the file’s parent
@@ -731,6 +760,10 @@ export interface CreateConnectorRequest {
731
760
  * <p>Key-value pairs that can be used to group and search for connectors. Tags are metadata attached to connectors for any purpose.</p>
732
761
  */
733
762
  Tags?: Tag[];
763
+ /**
764
+ * <p>A structure that contains the parameters for an SFTP connector object.</p>
765
+ */
766
+ SftpConfig?: SftpConnectorConfig;
734
767
  }
735
768
  /**
736
769
  * @public
@@ -1422,10 +1455,10 @@ export interface CreateUserRequest {
1422
1455
  * <code>[ \{ "Entry": "/directory1", "Target":
1423
1456
  * "/bucket_name/home/mydirectory" \} ]</code>
1424
1457
  * </p>
1425
- * <p>In most cases, you can use this value instead of the session policy to lock your user
1426
- * down to the designated home directory ("<code>chroot</code>"). To do this, you can set
1427
- * <code>Entry</code> to <code>/</code> and set <code>Target</code> to the HomeDirectory
1428
- * parameter value.</p>
1458
+ * <p>In most cases, you can use this value instead of the session policy to lock your user down
1459
+ * to the designated home directory ("<code>chroot</code>"). To do this, you can set
1460
+ * <code>Entry</code> to <code>/</code> and set <code>Target</code> to the value the user
1461
+ * should see for their home directory when they log in.</p>
1429
1462
  * <p>The following is an <code>Entry</code> and <code>Target</code> pair example for <code>chroot</code>.</p>
1430
1463
  * <p>
1431
1464
  * <code>[ \{ "Entry": "/", "Target": "/bucket_name/home/mydirectory" \} ]</code>
@@ -2319,11 +2352,11 @@ export interface DescribedConnector {
2319
2352
  */
2320
2353
  ConnectorId?: string;
2321
2354
  /**
2322
- * <p>The URL of the partner's AS2 endpoint.</p>
2355
+ * <p>The URL of the partner's AS2 or SFTP endpoint.</p>
2323
2356
  */
2324
2357
  Url?: string;
2325
2358
  /**
2326
- * <p>A structure that contains the parameters for a connector object.</p>
2359
+ * <p>A structure that contains the parameters for an AS2 connector object.</p>
2327
2360
  */
2328
2361
  As2Config?: As2ConnectorConfig;
2329
2362
  /**
@@ -2353,6 +2386,10 @@ export interface DescribedConnector {
2353
2386
  * <p>Key-value pairs that can be used to group and search for connectors.</p>
2354
2387
  */
2355
2388
  Tags?: Tag[];
2389
+ /**
2390
+ * <p>A structure that contains the parameters for an SFTP connector object.</p>
2391
+ */
2392
+ SftpConfig?: SftpConnectorConfig;
2356
2393
  }
2357
2394
  /**
2358
2395
  * @public
@@ -3687,7 +3724,7 @@ export interface ListedConnector {
3687
3724
  */
3688
3725
  ConnectorId?: string;
3689
3726
  /**
3690
- * <p>The URL of the partner's AS2 endpoint.</p>
3727
+ * <p>The URL of the partner's AS2 or SFTP endpoint.</p>
3691
3728
  */
3692
3729
  Url?: string;
3693
3730
  }
@@ -4278,23 +4315,39 @@ export interface SendWorkflowStepStateResponse {
4278
4315
  */
4279
4316
  export interface StartFileTransferRequest {
4280
4317
  /**
4281
- * <p>The unique identifier for the connector. </p>
4318
+ * <p>The unique identifier for the connector.</p>
4282
4319
  */
4283
4320
  ConnectorId: string | undefined;
4284
4321
  /**
4285
- * <p>An array of strings. Each string represents the absolute path for one outbound file transfer. For example,
4286
- * <code>
4322
+ * <p>One or more source paths for the Transfer Family server. Each string represents a source file path for one outbound file transfer. For example,
4323
+ * <code>
4287
4324
  * <i>DOC-EXAMPLE-BUCKET</i>/<i>myfile.txt</i>
4288
- * </code>. </p>
4325
+ * </code>.</p>
4326
+ */
4327
+ SendFilePaths?: string[];
4328
+ /**
4329
+ * <p>One or more source paths for the partner's SFTP server. Each string represents a source file path for one inbound file transfer.</p>
4330
+ */
4331
+ RetrieveFilePaths?: string[];
4332
+ /**
4333
+ * <p>For an inbound transfer, the <code>LocaDirectoryPath</code> specifies the destination for one or more files
4334
+ * that are transferred from the partner's SFTP server.</p>
4335
+ */
4336
+ LocalDirectoryPath?: string;
4337
+ /**
4338
+ * <p>For an outbound transfer, the <code>RemoteDirectoryPath</code> specifies the destination
4339
+ * for one or more files that are transferred to the partner's SFTP server. If you don't specify
4340
+ * a <code>RemoteDirectoryPath</code>, the destination for transferred files is the SFTP user's
4341
+ * home directory.</p>
4289
4342
  */
4290
- SendFilePaths: string[] | undefined;
4343
+ RemoteDirectoryPath?: string;
4291
4344
  }
4292
4345
  /**
4293
4346
  * @public
4294
4347
  */
4295
4348
  export interface StartFileTransferResponse {
4296
4349
  /**
4297
- * <p>Returns the unique identifier for this file transfer. </p>
4350
+ * <p>Returns the unique identifier for the file transfer.</p>
4298
4351
  */
4299
4352
  TransferId: string | undefined;
4300
4353
  }
@@ -4331,6 +4384,55 @@ export interface TagResourceRequest {
4331
4384
  */
4332
4385
  Tags: Tag[] | undefined;
4333
4386
  }
4387
+ /**
4388
+ * @public
4389
+ */
4390
+ export interface TestConnectionRequest {
4391
+ /**
4392
+ * <p>The unique identifier for the connector.</p>
4393
+ */
4394
+ ConnectorId: string | undefined;
4395
+ }
4396
+ /**
4397
+ * @public
4398
+ */
4399
+ export interface TestConnectionResponse {
4400
+ /**
4401
+ * <p>Returns the identifier of the connector object that you are testing.</p>
4402
+ */
4403
+ ConnectorId?: string;
4404
+ /**
4405
+ * <p>Returns <code>OK</code> for successful test, or <code>ERROR</code> if the test fails.</p>
4406
+ */
4407
+ Status?: string;
4408
+ /**
4409
+ * <p>Returns <code>Connection succeeded</code> if the test is successful. Or, returns a descriptive error message
4410
+ * if the test fails. The following list provides the details for some error messages and troubleshooting steps for each.</p>
4411
+ * <ul>
4412
+ * <li>
4413
+ * <p>
4414
+ * <b>Unable to access secrets manager</b>: Verify that your secret name aligns with the one in
4415
+ * Transfer Role permissions.</p>
4416
+ * </li>
4417
+ * <li>
4418
+ * <p>
4419
+ * <b>Unknown Host/Connection failed</b>: Verify the server URL in the connector
4420
+ * configuration , and
4421
+ * verify that the login credentials work successfully outside of the connector.</p>
4422
+ * </li>
4423
+ * <li>
4424
+ * <p>
4425
+ * <b>Private key not found</b>: Verify that the secret exists and is formatted correctly.</p>
4426
+ * </li>
4427
+ * <li>
4428
+ * <p>
4429
+ * <b>Invalid trusted host keys</b>: Verify that the trusted host key in the connector
4430
+ * configuration matches the <code>ssh-keyscan</code> output.</p>
4431
+ * </li>
4432
+ * </ul>
4433
+ */
4434
+ StatusMessage?: string;
4435
+ }
4334
4436
  /**
4335
4437
  * @public
4336
4438
  */
@@ -4618,11 +4720,11 @@ export interface UpdateConnectorRequest {
4618
4720
  */
4619
4721
  ConnectorId: string | undefined;
4620
4722
  /**
4621
- * <p>The URL of the partner's AS2 endpoint.</p>
4723
+ * <p>The URL of the partner's AS2 or SFTP endpoint.</p>
4622
4724
  */
4623
4725
  Url?: string;
4624
4726
  /**
4625
- * <p>A structure that contains the parameters for a connector object.</p>
4727
+ * <p>A structure that contains the parameters for an AS2 connector object.</p>
4626
4728
  */
4627
4729
  As2Config?: As2ConnectorConfig;
4628
4730
  /**
@@ -4648,6 +4750,10 @@ export interface UpdateConnectorRequest {
4648
4750
  * activity in your CloudWatch logs.</p>
4649
4751
  */
4650
4752
  LoggingRole?: string;
4753
+ /**
4754
+ * <p>A structure that contains the parameters for an SFTP connector object.</p>
4755
+ */
4756
+ SftpConfig?: SftpConnectorConfig;
4651
4757
  }
4652
4758
  /**
4653
4759
  * @public
@@ -48,6 +48,7 @@ import { StartFileTransferCommandInput, StartFileTransferCommandOutput } from ".
48
48
  import { StartServerCommandInput, StartServerCommandOutput } from "../commands/StartServerCommand";
49
49
  import { StopServerCommandInput, StopServerCommandOutput } from "../commands/StopServerCommand";
50
50
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
51
+ import { TestConnectionCommandInput, TestConnectionCommandOutput } from "../commands/TestConnectionCommand";
51
52
  import { TestIdentityProviderCommandInput, TestIdentityProviderCommandOutput } from "../commands/TestIdentityProviderCommand";
52
53
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
53
54
  import { UpdateAccessCommandInput, UpdateAccessCommandOutput } from "../commands/UpdateAccessCommand";
@@ -250,6 +251,10 @@ export declare const se_StopServerCommand: (input: StopServerCommandInput, conte
250
251
  * serializeAws_json1_1TagResourceCommand
251
252
  */
252
253
  export declare const se_TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
254
+ /**
255
+ * serializeAws_json1_1TestConnectionCommand
256
+ */
257
+ export declare const se_TestConnectionCommand: (input: TestConnectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
253
258
  /**
254
259
  * serializeAws_json1_1TestIdentityProviderCommand
255
260
  */
@@ -482,6 +487,10 @@ export declare const de_StopServerCommand: (output: __HttpResponse, context: __S
482
487
  * deserializeAws_json1_1TagResourceCommand
483
488
  */
484
489
  export declare const de_TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
490
+ /**
491
+ * deserializeAws_json1_1TestConnectionCommand
492
+ */
493
+ export declare const de_TestConnectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TestConnectionCommandOutput>;
485
494
  /**
486
495
  * deserializeAws_json1_1TestIdentityProviderCommand
487
496
  */
@@ -191,6 +191,10 @@ import {
191
191
  TagResourceCommandInput,
192
192
  TagResourceCommandOutput,
193
193
  } from "./commands/TagResourceCommand";
194
+ import {
195
+ TestConnectionCommandInput,
196
+ TestConnectionCommandOutput,
197
+ } from "./commands/TestConnectionCommand";
194
198
  import {
195
199
  TestIdentityProviderCommandInput,
196
200
  TestIdentityProviderCommandOutput,
@@ -857,6 +861,19 @@ export interface Transfer {
857
861
  options: __HttpHandlerOptions,
858
862
  cb: (err: any, data?: TagResourceCommandOutput) => void
859
863
  ): void;
864
+ testConnection(
865
+ args: TestConnectionCommandInput,
866
+ options?: __HttpHandlerOptions
867
+ ): Promise<TestConnectionCommandOutput>;
868
+ testConnection(
869
+ args: TestConnectionCommandInput,
870
+ cb: (err: any, data?: TestConnectionCommandOutput) => void
871
+ ): void;
872
+ testConnection(
873
+ args: TestConnectionCommandInput,
874
+ options: __HttpHandlerOptions,
875
+ cb: (err: any, data?: TestConnectionCommandOutput) => void
876
+ ): void;
860
877
  testIdentityProvider(
861
878
  args: TestIdentityProviderCommandInput,
862
879
  options?: __HttpHandlerOptions
@@ -236,6 +236,10 @@ import {
236
236
  TagResourceCommandInput,
237
237
  TagResourceCommandOutput,
238
238
  } from "./commands/TagResourceCommand";
239
+ import {
240
+ TestConnectionCommandInput,
241
+ TestConnectionCommandOutput,
242
+ } from "./commands/TestConnectionCommand";
239
243
  import {
240
244
  TestIdentityProviderCommandInput,
241
245
  TestIdentityProviderCommandOutput,
@@ -331,6 +335,7 @@ export type ServiceInputTypes =
331
335
  | StartServerCommandInput
332
336
  | StopServerCommandInput
333
337
  | TagResourceCommandInput
338
+ | TestConnectionCommandInput
334
339
  | TestIdentityProviderCommandInput
335
340
  | UntagResourceCommandInput
336
341
  | UpdateAccessCommandInput
@@ -390,6 +395,7 @@ export type ServiceOutputTypes =
390
395
  | StartServerCommandOutput
391
396
  | StopServerCommandOutput
392
397
  | TagResourceCommandOutput
398
+ | TestConnectionCommandOutput
393
399
  | TestIdentityProviderCommandOutput
394
400
  | UntagResourceCommandOutput
395
401
  | UpdateAccessCommandOutput
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ TestConnectionRequest,
11
+ TestConnectionResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ TransferClientResolvedConfig,
17
+ } from "../TransferClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface TestConnectionCommandInput extends TestConnectionRequest {}
20
+ export interface TestConnectionCommandOutput
21
+ extends TestConnectionResponse,
22
+ __MetadataBearer {}
23
+ export declare class TestConnectionCommand extends $Command<
24
+ TestConnectionCommandInput,
25
+ TestConnectionCommandOutput,
26
+ TransferClientResolvedConfig
27
+ > {
28
+ readonly input: TestConnectionCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: TestConnectionCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: TransferClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<TestConnectionCommandInput, TestConnectionCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -46,6 +46,7 @@ export * from "./StartFileTransferCommand";
46
46
  export * from "./StartServerCommand";
47
47
  export * from "./StopServerCommand";
48
48
  export * from "./TagResourceCommand";
49
+ export * from "./TestConnectionCommand";
49
50
  export * from "./TestIdentityProviderCommand";
50
51
  export * from "./UntagResourceCommand";
51
52
  export * from "./UpdateAccessCommand";
@@ -211,12 +211,17 @@ export declare class ThrottlingException extends __BaseException {
211
211
  opts: __ExceptionOptionType<ThrottlingException, __BaseException>
212
212
  );
213
213
  }
214
+ export interface SftpConnectorConfig {
215
+ UserSecretId?: string;
216
+ TrustedHostKeys?: string[];
217
+ }
214
218
  export interface CreateConnectorRequest {
215
219
  Url: string | undefined;
216
- As2Config: As2ConnectorConfig | undefined;
220
+ As2Config?: As2ConnectorConfig;
217
221
  AccessRole: string | undefined;
218
222
  LoggingRole?: string;
219
223
  Tags?: Tag[];
224
+ SftpConfig?: SftpConnectorConfig;
220
225
  }
221
226
  export interface CreateConnectorResponse {
222
227
  ConnectorId: string | undefined;
@@ -514,6 +519,7 @@ export interface DescribedConnector {
514
519
  AccessRole?: string;
515
520
  LoggingRole?: string;
516
521
  Tags?: Tag[];
522
+ SftpConfig?: SftpConnectorConfig;
517
523
  }
518
524
  export interface DescribeConnectorResponse {
519
525
  Connector: DescribedConnector | undefined;
@@ -942,7 +948,10 @@ export interface SendWorkflowStepStateRequest {
942
948
  export interface SendWorkflowStepStateResponse {}
943
949
  export interface StartFileTransferRequest {
944
950
  ConnectorId: string | undefined;
945
- SendFilePaths: string[] | undefined;
951
+ SendFilePaths?: string[];
952
+ RetrieveFilePaths?: string[];
953
+ LocalDirectoryPath?: string;
954
+ RemoteDirectoryPath?: string;
946
955
  }
947
956
  export interface StartFileTransferResponse {
948
957
  TransferId: string | undefined;
@@ -957,6 +966,14 @@ export interface TagResourceRequest {
957
966
  Arn: string | undefined;
958
967
  Tags: Tag[] | undefined;
959
968
  }
969
+ export interface TestConnectionRequest {
970
+ ConnectorId: string | undefined;
971
+ }
972
+ export interface TestConnectionResponse {
973
+ ConnectorId?: string;
974
+ Status?: string;
975
+ StatusMessage?: string;
976
+ }
960
977
  export interface TestIdentityProviderRequest {
961
978
  ServerId: string | undefined;
962
979
  ServerProtocol?: Protocol | string;
@@ -1016,6 +1033,7 @@ export interface UpdateConnectorRequest {
1016
1033
  As2Config?: As2ConnectorConfig;
1017
1034
  AccessRole?: string;
1018
1035
  LoggingRole?: string;
1036
+ SftpConfig?: SftpConnectorConfig;
1019
1037
  }
1020
1038
  export interface UpdateConnectorResponse {
1021
1039
  ConnectorId: string | undefined;
@@ -195,6 +195,10 @@ import {
195
195
  TagResourceCommandInput,
196
196
  TagResourceCommandOutput,
197
197
  } from "../commands/TagResourceCommand";
198
+ import {
199
+ TestConnectionCommandInput,
200
+ TestConnectionCommandOutput,
201
+ } from "../commands/TestConnectionCommand";
198
202
  import {
199
203
  TestIdentityProviderCommandInput,
200
204
  TestIdentityProviderCommandOutput,
@@ -427,6 +431,10 @@ export declare const se_TagResourceCommand: (
427
431
  input: TagResourceCommandInput,
428
432
  context: __SerdeContext
429
433
  ) => Promise<__HttpRequest>;
434
+ export declare const se_TestConnectionCommand: (
435
+ input: TestConnectionCommandInput,
436
+ context: __SerdeContext
437
+ ) => Promise<__HttpRequest>;
430
438
  export declare const se_TestIdentityProviderCommand: (
431
439
  input: TestIdentityProviderCommandInput,
432
440
  context: __SerdeContext
@@ -659,6 +667,10 @@ export declare const de_TagResourceCommand: (
659
667
  output: __HttpResponse,
660
668
  context: __SerdeContext
661
669
  ) => Promise<TagResourceCommandOutput>;
670
+ export declare const de_TestConnectionCommand: (
671
+ output: __HttpResponse,
672
+ context: __SerdeContext
673
+ ) => Promise<TestConnectionCommandOutput>;
662
674
  export declare const de_TestIdentityProviderCommand: (
663
675
  output: __HttpResponse,
664
676
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-transfer",
3
3
  "description": "AWS SDK for JavaScript Transfer Client for Node.js, Browser and React Native",
4
- "version": "3.370.0",
4
+ "version": "3.378.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",
@@ -21,44 +21,44 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.370.0",
25
- "@aws-sdk/credential-provider-node": "3.370.0",
26
- "@aws-sdk/middleware-host-header": "3.370.0",
27
- "@aws-sdk/middleware-logger": "3.370.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.370.0",
29
- "@aws-sdk/middleware-signing": "3.370.0",
30
- "@aws-sdk/middleware-user-agent": "3.370.0",
31
- "@aws-sdk/types": "3.370.0",
32
- "@aws-sdk/util-endpoints": "3.370.0",
33
- "@aws-sdk/util-user-agent-browser": "3.370.0",
34
- "@aws-sdk/util-user-agent-node": "3.370.0",
35
- "@smithy/config-resolver": "^1.0.1",
36
- "@smithy/fetch-http-handler": "^1.0.1",
37
- "@smithy/hash-node": "^1.0.1",
38
- "@smithy/invalid-dependency": "^1.0.1",
39
- "@smithy/middleware-content-length": "^1.0.1",
40
- "@smithy/middleware-endpoint": "^1.0.2",
41
- "@smithy/middleware-retry": "^1.0.3",
42
- "@smithy/middleware-serde": "^1.0.1",
43
- "@smithy/middleware-stack": "^1.0.1",
44
- "@smithy/node-config-provider": "^1.0.1",
45
- "@smithy/node-http-handler": "^1.0.2",
46
- "@smithy/protocol-http": "^1.1.0",
47
- "@smithy/smithy-client": "^1.0.3",
48
- "@smithy/types": "^1.1.0",
49
- "@smithy/url-parser": "^1.0.1",
50
- "@smithy/util-base64": "^1.0.1",
51
- "@smithy/util-body-length-browser": "^1.0.1",
52
- "@smithy/util-body-length-node": "^1.0.1",
53
- "@smithy/util-defaults-mode-browser": "^1.0.1",
54
- "@smithy/util-defaults-mode-node": "^1.0.1",
55
- "@smithy/util-retry": "^1.0.3",
56
- "@smithy/util-utf8": "^1.0.1",
57
- "@smithy/util-waiter": "^1.0.1",
24
+ "@aws-sdk/client-sts": "3.378.0",
25
+ "@aws-sdk/credential-provider-node": "3.378.0",
26
+ "@aws-sdk/middleware-host-header": "3.378.0",
27
+ "@aws-sdk/middleware-logger": "3.378.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.378.0",
29
+ "@aws-sdk/middleware-signing": "3.378.0",
30
+ "@aws-sdk/middleware-user-agent": "3.378.0",
31
+ "@aws-sdk/types": "3.378.0",
32
+ "@aws-sdk/util-endpoints": "3.378.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.378.0",
34
+ "@aws-sdk/util-user-agent-node": "3.378.0",
35
+ "@smithy/config-resolver": "^2.0.1",
36
+ "@smithy/fetch-http-handler": "^2.0.1",
37
+ "@smithy/hash-node": "^2.0.1",
38
+ "@smithy/invalid-dependency": "^2.0.1",
39
+ "@smithy/middleware-content-length": "^2.0.1",
40
+ "@smithy/middleware-endpoint": "^2.0.1",
41
+ "@smithy/middleware-retry": "^2.0.1",
42
+ "@smithy/middleware-serde": "^2.0.1",
43
+ "@smithy/middleware-stack": "^2.0.0",
44
+ "@smithy/node-config-provider": "^2.0.1",
45
+ "@smithy/node-http-handler": "^2.0.1",
46
+ "@smithy/protocol-http": "^2.0.1",
47
+ "@smithy/smithy-client": "^2.0.1",
48
+ "@smithy/types": "^2.0.2",
49
+ "@smithy/url-parser": "^2.0.1",
50
+ "@smithy/util-base64": "^2.0.0",
51
+ "@smithy/util-body-length-browser": "^2.0.0",
52
+ "@smithy/util-body-length-node": "^2.0.0",
53
+ "@smithy/util-defaults-mode-browser": "^2.0.1",
54
+ "@smithy/util-defaults-mode-node": "^2.0.1",
55
+ "@smithy/util-retry": "^2.0.0",
56
+ "@smithy/util-utf8": "^2.0.0",
57
+ "@smithy/util-waiter": "^2.0.1",
58
58
  "tslib": "^2.5.0"
59
59
  },
60
60
  "devDependencies": {
61
- "@smithy/service-client-documentation-generator": "^1.0.1",
61
+ "@smithy/service-client-documentation-generator": "^2.0.0",
62
62
  "@tsconfig/node14": "1.0.3",
63
63
  "@types/node": "^14.14.31",
64
64
  "concurrently": "7.0.0",