@aws-sdk/client-transfer 3.169.0 → 3.170.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.
Files changed (117) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/Transfer.js +75 -0
  3. package/dist-cjs/commands/DeleteHostKeyCommand.js +36 -0
  4. package/dist-cjs/commands/DescribeHostKeyCommand.js +36 -0
  5. package/dist-cjs/commands/ImportHostKeyCommand.js +36 -0
  6. package/dist-cjs/commands/ListHostKeysCommand.js +36 -0
  7. package/dist-cjs/commands/UpdateHostKeyCommand.js +36 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/models/models_0.js +48 -3
  10. package/dist-cjs/protocols/Aws_json1_1.js +374 -3
  11. package/dist-es/Transfer.js +75 -0
  12. package/dist-es/commands/DeleteHostKeyCommand.js +39 -0
  13. package/dist-es/commands/DescribeHostKeyCommand.js +39 -0
  14. package/dist-es/commands/ImportHostKeyCommand.js +39 -0
  15. package/dist-es/commands/ListHostKeysCommand.js +39 -0
  16. package/dist-es/commands/UpdateHostKeyCommand.js +39 -0
  17. package/dist-es/commands/index.js +5 -0
  18. package/dist-es/models/models_0.js +11 -0
  19. package/dist-es/protocols/Aws_json1_1.js +465 -0
  20. package/dist-types/Transfer.d.ts +35 -0
  21. package/dist-types/TransferClient.d.ts +7 -2
  22. package/dist-types/commands/DeleteHostKeyCommand.d.ts +35 -0
  23. package/dist-types/commands/DescribeHostKeyCommand.d.ts +35 -0
  24. package/dist-types/commands/ImportHostKeyCommand.d.ts +35 -0
  25. package/dist-types/commands/ListHostKeysCommand.d.ts +35 -0
  26. package/dist-types/commands/UpdateHostKeyCommand.d.ts +35 -0
  27. package/dist-types/commands/index.d.ts +5 -0
  28. package/dist-types/models/models_0.d.ts +254 -0
  29. package/dist-types/protocols/Aws_json1_1.d.ts +15 -0
  30. package/dist-types/ts3.4/Transfer.d.ts +1048 -270
  31. package/dist-types/ts3.4/TransferClient.d.ts +477 -126
  32. package/dist-types/ts3.4/commands/CreateAccessCommand.d.ts +34 -17
  33. package/dist-types/ts3.4/commands/CreateAgreementCommand.d.ts +37 -17
  34. package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +37 -17
  35. package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +37 -17
  36. package/dist-types/ts3.4/commands/CreateServerCommand.d.ts +34 -17
  37. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +34 -17
  38. package/dist-types/ts3.4/commands/CreateWorkflowCommand.d.ts +37 -17
  39. package/dist-types/ts3.4/commands/DeleteAccessCommand.d.ts +32 -17
  40. package/dist-types/ts3.4/commands/DeleteAgreementCommand.d.ts +32 -17
  41. package/dist-types/ts3.4/commands/DeleteCertificateCommand.d.ts +33 -17
  42. package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +32 -17
  43. package/dist-types/ts3.4/commands/DeleteHostKeyCommand.d.ts +32 -0
  44. package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +32 -17
  45. package/dist-types/ts3.4/commands/DeleteServerCommand.d.ts +32 -17
  46. package/dist-types/ts3.4/commands/DeleteSshPublicKeyCommand.d.ts +33 -17
  47. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +32 -17
  48. package/dist-types/ts3.4/commands/DeleteWorkflowCommand.d.ts +32 -17
  49. package/dist-types/ts3.4/commands/DescribeAccessCommand.d.ts +37 -17
  50. package/dist-types/ts3.4/commands/DescribeAgreementCommand.d.ts +38 -17
  51. package/dist-types/ts3.4/commands/DescribeCertificateCommand.d.ts +38 -17
  52. package/dist-types/ts3.4/commands/DescribeConnectorCommand.d.ts +38 -17
  53. package/dist-types/ts3.4/commands/DescribeExecutionCommand.d.ts +38 -17
  54. package/dist-types/ts3.4/commands/DescribeHostKeyCommand.d.ts +37 -0
  55. package/dist-types/ts3.4/commands/DescribeProfileCommand.d.ts +37 -17
  56. package/dist-types/ts3.4/commands/DescribeSecurityPolicyCommand.d.ts +41 -17
  57. package/dist-types/ts3.4/commands/DescribeServerCommand.d.ts +37 -17
  58. package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +34 -17
  59. package/dist-types/ts3.4/commands/DescribeWorkflowCommand.d.ts +37 -17
  60. package/dist-types/ts3.4/commands/ImportCertificateCommand.d.ts +38 -17
  61. package/dist-types/ts3.4/commands/ImportHostKeyCommand.d.ts +37 -0
  62. package/dist-types/ts3.4/commands/ImportSshPublicKeyCommand.d.ts +38 -17
  63. package/dist-types/ts3.4/commands/ListAccessesCommand.d.ts +34 -17
  64. package/dist-types/ts3.4/commands/ListAgreementsCommand.d.ts +37 -17
  65. package/dist-types/ts3.4/commands/ListCertificatesCommand.d.ts +37 -17
  66. package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +37 -17
  67. package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +37 -17
  68. package/dist-types/ts3.4/commands/ListHostKeysCommand.d.ts +34 -0
  69. package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +34 -17
  70. package/dist-types/ts3.4/commands/ListSecurityPoliciesCommand.d.ts +41 -17
  71. package/dist-types/ts3.4/commands/ListServersCommand.d.ts +34 -17
  72. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -17
  73. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +34 -17
  74. package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +37 -17
  75. package/dist-types/ts3.4/commands/SendWorkflowStepStateCommand.d.ts +41 -17
  76. package/dist-types/ts3.4/commands/StartFileTransferCommand.d.ts +38 -17
  77. package/dist-types/ts3.4/commands/StartServerCommand.d.ts +32 -17
  78. package/dist-types/ts3.4/commands/StopServerCommand.d.ts +32 -17
  79. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +32 -17
  80. package/dist-types/ts3.4/commands/TestIdentityProviderCommand.d.ts +41 -17
  81. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +32 -17
  82. package/dist-types/ts3.4/commands/UpdateAccessCommand.d.ts +34 -17
  83. package/dist-types/ts3.4/commands/UpdateAgreementCommand.d.ts +37 -17
  84. package/dist-types/ts3.4/commands/UpdateCertificateCommand.d.ts +38 -17
  85. package/dist-types/ts3.4/commands/UpdateConnectorCommand.d.ts +37 -17
  86. package/dist-types/ts3.4/commands/UpdateHostKeyCommand.d.ts +37 -0
  87. package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +37 -17
  88. package/dist-types/ts3.4/commands/UpdateServerCommand.d.ts +34 -17
  89. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +34 -17
  90. package/dist-types/ts3.4/commands/index.d.ts +58 -53
  91. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  92. package/dist-types/ts3.4/index.d.ts +7 -7
  93. package/dist-types/ts3.4/models/TransferServiceException.d.ts +8 -6
  94. package/dist-types/ts3.4/models/index.d.ts +1 -1
  95. package/dist-types/ts3.4/models/models_0.d.ts +2010 -1748
  96. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -6
  97. package/dist-types/ts3.4/pagination/ListAccessesPaginator.d.ts +11 -4
  98. package/dist-types/ts3.4/pagination/ListAgreementsPaginator.d.ts +11 -4
  99. package/dist-types/ts3.4/pagination/ListCertificatesPaginator.d.ts +11 -4
  100. package/dist-types/ts3.4/pagination/ListConnectorsPaginator.d.ts +11 -4
  101. package/dist-types/ts3.4/pagination/ListExecutionsPaginator.d.ts +11 -4
  102. package/dist-types/ts3.4/pagination/ListProfilesPaginator.d.ts +11 -4
  103. package/dist-types/ts3.4/pagination/ListSecurityPoliciesPaginator.d.ts +11 -4
  104. package/dist-types/ts3.4/pagination/ListServersPaginator.d.ts +11 -4
  105. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +11 -4
  106. package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +11 -4
  107. package/dist-types/ts3.4/pagination/ListWorkflowsPaginator.d.ts +11 -4
  108. package/dist-types/ts3.4/pagination/index.d.ts +12 -12
  109. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +701 -161
  110. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
  111. package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
  112. package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
  113. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
  114. package/dist-types/ts3.4/waiters/index.d.ts +2 -2
  115. package/dist-types/ts3.4/waiters/waitForServerOffline.d.ts +13 -7
  116. package/dist-types/ts3.4/waiters/waitForServerOnline.d.ts +13 -7
  117. package/package.json +35 -35
@@ -10,6 +10,7 @@ import { DeleteAccessCommand, } from "./commands/DeleteAccessCommand";
10
10
  import { DeleteAgreementCommand, } from "./commands/DeleteAgreementCommand";
11
11
  import { DeleteCertificateCommand, } from "./commands/DeleteCertificateCommand";
12
12
  import { DeleteConnectorCommand, } from "./commands/DeleteConnectorCommand";
13
+ import { DeleteHostKeyCommand, } from "./commands/DeleteHostKeyCommand";
13
14
  import { DeleteProfileCommand, } from "./commands/DeleteProfileCommand";
14
15
  import { DeleteServerCommand, } from "./commands/DeleteServerCommand";
15
16
  import { DeleteSshPublicKeyCommand, } from "./commands/DeleteSshPublicKeyCommand";
@@ -20,18 +21,21 @@ import { DescribeAgreementCommand, } from "./commands/DescribeAgreementCommand";
20
21
  import { DescribeCertificateCommand, } from "./commands/DescribeCertificateCommand";
21
22
  import { DescribeConnectorCommand, } from "./commands/DescribeConnectorCommand";
22
23
  import { DescribeExecutionCommand, } from "./commands/DescribeExecutionCommand";
24
+ import { DescribeHostKeyCommand, } from "./commands/DescribeHostKeyCommand";
23
25
  import { DescribeProfileCommand, } from "./commands/DescribeProfileCommand";
24
26
  import { DescribeSecurityPolicyCommand, } from "./commands/DescribeSecurityPolicyCommand";
25
27
  import { DescribeServerCommand, } from "./commands/DescribeServerCommand";
26
28
  import { DescribeUserCommand, } from "./commands/DescribeUserCommand";
27
29
  import { DescribeWorkflowCommand, } from "./commands/DescribeWorkflowCommand";
28
30
  import { ImportCertificateCommand, } from "./commands/ImportCertificateCommand";
31
+ import { ImportHostKeyCommand, } from "./commands/ImportHostKeyCommand";
29
32
  import { ImportSshPublicKeyCommand, } from "./commands/ImportSshPublicKeyCommand";
30
33
  import { ListAccessesCommand, } from "./commands/ListAccessesCommand";
31
34
  import { ListAgreementsCommand, } from "./commands/ListAgreementsCommand";
32
35
  import { ListCertificatesCommand, } from "./commands/ListCertificatesCommand";
33
36
  import { ListConnectorsCommand, } from "./commands/ListConnectorsCommand";
34
37
  import { ListExecutionsCommand, } from "./commands/ListExecutionsCommand";
38
+ import { ListHostKeysCommand, } from "./commands/ListHostKeysCommand";
35
39
  import { ListProfilesCommand, } from "./commands/ListProfilesCommand";
36
40
  import { ListSecurityPoliciesCommand, } from "./commands/ListSecurityPoliciesCommand";
37
41
  import { ListServersCommand } from "./commands/ListServersCommand";
@@ -49,6 +53,7 @@ import { UpdateAccessCommand, } from "./commands/UpdateAccessCommand";
49
53
  import { UpdateAgreementCommand, } from "./commands/UpdateAgreementCommand";
50
54
  import { UpdateCertificateCommand, } from "./commands/UpdateCertificateCommand";
51
55
  import { UpdateConnectorCommand, } from "./commands/UpdateConnectorCommand";
56
+ import { UpdateHostKeyCommand, } from "./commands/UpdateHostKeyCommand";
52
57
  import { UpdateProfileCommand, } from "./commands/UpdateProfileCommand";
53
58
  import { UpdateServerCommand, } from "./commands/UpdateServerCommand";
54
59
  import { UpdateUserCommand } from "./commands/UpdateUserCommand";
@@ -212,6 +217,20 @@ var Transfer = (function (_super) {
212
217
  return this.send(command, optionsOrCb);
213
218
  }
214
219
  };
220
+ Transfer.prototype.deleteHostKey = function (args, optionsOrCb, cb) {
221
+ var command = new DeleteHostKeyCommand(args);
222
+ if (typeof optionsOrCb === "function") {
223
+ this.send(command, optionsOrCb);
224
+ }
225
+ else if (typeof cb === "function") {
226
+ if (typeof optionsOrCb !== "object")
227
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
228
+ this.send(command, optionsOrCb || {}, cb);
229
+ }
230
+ else {
231
+ return this.send(command, optionsOrCb);
232
+ }
233
+ };
215
234
  Transfer.prototype.deleteProfile = function (args, optionsOrCb, cb) {
216
235
  var command = new DeleteProfileCommand(args);
217
236
  if (typeof optionsOrCb === "function") {
@@ -352,6 +371,20 @@ var Transfer = (function (_super) {
352
371
  return this.send(command, optionsOrCb);
353
372
  }
354
373
  };
374
+ Transfer.prototype.describeHostKey = function (args, optionsOrCb, cb) {
375
+ var command = new DescribeHostKeyCommand(args);
376
+ if (typeof optionsOrCb === "function") {
377
+ this.send(command, optionsOrCb);
378
+ }
379
+ else if (typeof cb === "function") {
380
+ if (typeof optionsOrCb !== "object")
381
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
382
+ this.send(command, optionsOrCb || {}, cb);
383
+ }
384
+ else {
385
+ return this.send(command, optionsOrCb);
386
+ }
387
+ };
355
388
  Transfer.prototype.describeProfile = function (args, optionsOrCb, cb) {
356
389
  var command = new DescribeProfileCommand(args);
357
390
  if (typeof optionsOrCb === "function") {
@@ -436,6 +469,20 @@ var Transfer = (function (_super) {
436
469
  return this.send(command, optionsOrCb);
437
470
  }
438
471
  };
472
+ Transfer.prototype.importHostKey = function (args, optionsOrCb, cb) {
473
+ var command = new ImportHostKeyCommand(args);
474
+ if (typeof optionsOrCb === "function") {
475
+ this.send(command, optionsOrCb);
476
+ }
477
+ else if (typeof cb === "function") {
478
+ if (typeof optionsOrCb !== "object")
479
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
480
+ this.send(command, optionsOrCb || {}, cb);
481
+ }
482
+ else {
483
+ return this.send(command, optionsOrCb);
484
+ }
485
+ };
439
486
  Transfer.prototype.importSshPublicKey = function (args, optionsOrCb, cb) {
440
487
  var command = new ImportSshPublicKeyCommand(args);
441
488
  if (typeof optionsOrCb === "function") {
@@ -520,6 +567,20 @@ var Transfer = (function (_super) {
520
567
  return this.send(command, optionsOrCb);
521
568
  }
522
569
  };
570
+ Transfer.prototype.listHostKeys = function (args, optionsOrCb, cb) {
571
+ var command = new ListHostKeysCommand(args);
572
+ if (typeof optionsOrCb === "function") {
573
+ this.send(command, optionsOrCb);
574
+ }
575
+ else if (typeof cb === "function") {
576
+ if (typeof optionsOrCb !== "object")
577
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
578
+ this.send(command, optionsOrCb || {}, cb);
579
+ }
580
+ else {
581
+ return this.send(command, optionsOrCb);
582
+ }
583
+ };
523
584
  Transfer.prototype.listProfiles = function (args, optionsOrCb, cb) {
524
585
  var command = new ListProfilesCommand(args);
525
586
  if (typeof optionsOrCb === "function") {
@@ -758,6 +819,20 @@ var Transfer = (function (_super) {
758
819
  return this.send(command, optionsOrCb);
759
820
  }
760
821
  };
822
+ Transfer.prototype.updateHostKey = function (args, optionsOrCb, cb) {
823
+ var command = new UpdateHostKeyCommand(args);
824
+ if (typeof optionsOrCb === "function") {
825
+ this.send(command, optionsOrCb);
826
+ }
827
+ else if (typeof cb === "function") {
828
+ if (typeof optionsOrCb !== "object")
829
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
830
+ this.send(command, optionsOrCb || {}, cb);
831
+ }
832
+ else {
833
+ return this.send(command, optionsOrCb);
834
+ }
835
+ };
761
836
  Transfer.prototype.updateProfile = function (args, optionsOrCb, cb) {
762
837
  var command = new UpdateProfileCommand(args);
763
838
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteHostKeyRequestFilterSensitiveLog } from "../models/models_0";
5
+ import { deserializeAws_json1_1DeleteHostKeyCommand, serializeAws_json1_1DeleteHostKeyCommand, } from "../protocols/Aws_json1_1";
6
+ var DeleteHostKeyCommand = (function (_super) {
7
+ __extends(DeleteHostKeyCommand, _super);
8
+ function DeleteHostKeyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DeleteHostKeyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "TransferClient";
18
+ var commandName = "DeleteHostKeyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DeleteHostKeyRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: function (output) { return output; },
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteHostKeyCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1DeleteHostKeyCommand(input, context);
33
+ };
34
+ DeleteHostKeyCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1DeleteHostKeyCommand(output, context);
36
+ };
37
+ return DeleteHostKeyCommand;
38
+ }($Command));
39
+ export { DeleteHostKeyCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DescribeHostKeyRequestFilterSensitiveLog, DescribeHostKeyResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_json1_1DescribeHostKeyCommand, serializeAws_json1_1DescribeHostKeyCommand, } from "../protocols/Aws_json1_1";
6
+ var DescribeHostKeyCommand = (function (_super) {
7
+ __extends(DescribeHostKeyCommand, _super);
8
+ function DescribeHostKeyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DescribeHostKeyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "TransferClient";
18
+ var commandName = "DescribeHostKeyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DescribeHostKeyRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: DescribeHostKeyResponseFilterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeHostKeyCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1DescribeHostKeyCommand(input, context);
33
+ };
34
+ DescribeHostKeyCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1DescribeHostKeyCommand(output, context);
36
+ };
37
+ return DescribeHostKeyCommand;
38
+ }($Command));
39
+ export { DescribeHostKeyCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ImportHostKeyRequestFilterSensitiveLog, ImportHostKeyResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_json1_1ImportHostKeyCommand, serializeAws_json1_1ImportHostKeyCommand, } from "../protocols/Aws_json1_1";
6
+ var ImportHostKeyCommand = (function (_super) {
7
+ __extends(ImportHostKeyCommand, _super);
8
+ function ImportHostKeyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ImportHostKeyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "TransferClient";
18
+ var commandName = "ImportHostKeyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ImportHostKeyRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: ImportHostKeyResponseFilterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ImportHostKeyCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1ImportHostKeyCommand(input, context);
33
+ };
34
+ ImportHostKeyCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1ImportHostKeyCommand(output, context);
36
+ };
37
+ return ImportHostKeyCommand;
38
+ }($Command));
39
+ export { ImportHostKeyCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListHostKeysRequestFilterSensitiveLog, ListHostKeysResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_json1_1ListHostKeysCommand, serializeAws_json1_1ListHostKeysCommand, } from "../protocols/Aws_json1_1";
6
+ var ListHostKeysCommand = (function (_super) {
7
+ __extends(ListHostKeysCommand, _super);
8
+ function ListHostKeysCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ListHostKeysCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "TransferClient";
18
+ var commandName = "ListHostKeysCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListHostKeysRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: ListHostKeysResponseFilterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListHostKeysCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1ListHostKeysCommand(input, context);
33
+ };
34
+ ListHostKeysCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1ListHostKeysCommand(output, context);
36
+ };
37
+ return ListHostKeysCommand;
38
+ }($Command));
39
+ export { ListHostKeysCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateHostKeyRequestFilterSensitiveLog, UpdateHostKeyResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_json1_1UpdateHostKeyCommand, serializeAws_json1_1UpdateHostKeyCommand, } from "../protocols/Aws_json1_1";
6
+ var UpdateHostKeyCommand = (function (_super) {
7
+ __extends(UpdateHostKeyCommand, _super);
8
+ function UpdateHostKeyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UpdateHostKeyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "TransferClient";
18
+ var commandName = "UpdateHostKeyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UpdateHostKeyRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: UpdateHostKeyResponseFilterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateHostKeyCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1UpdateHostKeyCommand(input, context);
33
+ };
34
+ UpdateHostKeyCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1UpdateHostKeyCommand(output, context);
36
+ };
37
+ return UpdateHostKeyCommand;
38
+ }($Command));
39
+ export { UpdateHostKeyCommand };
@@ -9,6 +9,7 @@ export * from "./DeleteAccessCommand";
9
9
  export * from "./DeleteAgreementCommand";
10
10
  export * from "./DeleteCertificateCommand";
11
11
  export * from "./DeleteConnectorCommand";
12
+ export * from "./DeleteHostKeyCommand";
12
13
  export * from "./DeleteProfileCommand";
13
14
  export * from "./DeleteServerCommand";
14
15
  export * from "./DeleteSshPublicKeyCommand";
@@ -19,18 +20,21 @@ export * from "./DescribeAgreementCommand";
19
20
  export * from "./DescribeCertificateCommand";
20
21
  export * from "./DescribeConnectorCommand";
21
22
  export * from "./DescribeExecutionCommand";
23
+ export * from "./DescribeHostKeyCommand";
22
24
  export * from "./DescribeProfileCommand";
23
25
  export * from "./DescribeSecurityPolicyCommand";
24
26
  export * from "./DescribeServerCommand";
25
27
  export * from "./DescribeUserCommand";
26
28
  export * from "./DescribeWorkflowCommand";
27
29
  export * from "./ImportCertificateCommand";
30
+ export * from "./ImportHostKeyCommand";
28
31
  export * from "./ImportSshPublicKeyCommand";
29
32
  export * from "./ListAccessesCommand";
30
33
  export * from "./ListAgreementsCommand";
31
34
  export * from "./ListCertificatesCommand";
32
35
  export * from "./ListConnectorsCommand";
33
36
  export * from "./ListExecutionsCommand";
37
+ export * from "./ListHostKeysCommand";
34
38
  export * from "./ListProfilesCommand";
35
39
  export * from "./ListSecurityPoliciesCommand";
36
40
  export * from "./ListServersCommand";
@@ -48,6 +52,7 @@ export * from "./UpdateAccessCommand";
48
52
  export * from "./UpdateAgreementCommand";
49
53
  export * from "./UpdateCertificateCommand";
50
54
  export * from "./UpdateConnectorCommand";
55
+ export * from "./UpdateHostKeyCommand";
51
56
  export * from "./UpdateProfileCommand";
52
57
  export * from "./UpdateServerCommand";
53
58
  export * from "./UpdateUserCommand";
@@ -306,6 +306,7 @@ export var DeleteAccessRequestFilterSensitiveLog = function (obj) { return (__as
306
306
  export var DeleteAgreementRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
307
307
  export var DeleteCertificateRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
308
308
  export var DeleteConnectorRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
309
+ export var DeleteHostKeyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
309
310
  export var DeleteProfileRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
310
311
  export var DeleteServerRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
311
312
  export var DeleteSshPublicKeyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -332,6 +333,7 @@ export var ExecutionResultsFilterSensitiveLog = function (obj) { return (__assig
332
333
  export var UserDetailsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
333
334
  export var ServiceMetadataFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
334
335
  export var DescribedExecutionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
336
+ export var DescribedHostKeyFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
335
337
  export var DescribedProfileFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
336
338
  export var DescribedSecurityPolicyFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
337
339
  export var DescribedServerFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -340,6 +342,8 @@ export var DescribedUserFilterSensitiveLog = function (obj) { return (__assign({
340
342
  export var DescribedWorkflowFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
341
343
  export var DescribeExecutionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
342
344
  export var DescribeExecutionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
345
+ export var DescribeHostKeyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
346
+ export var DescribeHostKeyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
343
347
  export var DescribeProfileRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
344
348
  export var DescribeProfileResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
345
349
  export var DescribeSecurityPolicyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -352,6 +356,8 @@ export var DescribeWorkflowRequestFilterSensitiveLog = function (obj) { return (
352
356
  export var DescribeWorkflowResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
353
357
  export var ImportCertificateRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign({}, obj), (obj.Certificate && { Certificate: SENSITIVE_STRING })), (obj.CertificateChain && { CertificateChain: SENSITIVE_STRING })), (obj.PrivateKey && { PrivateKey: SENSITIVE_STRING }))); };
354
358
  export var ImportCertificateResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
359
+ export var ImportHostKeyRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.HostKeyBody && { HostKeyBody: SENSITIVE_STRING }))); };
360
+ export var ImportHostKeyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
355
361
  export var ImportSshPublicKeyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
356
362
  export var ImportSshPublicKeyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
357
363
  export var ListAccessesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -367,12 +373,15 @@ export var ListConnectorsRequestFilterSensitiveLog = function (obj) { return (__
367
373
  export var ListedConnectorFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
368
374
  export var ListConnectorsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
369
375
  export var ListedExecutionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
376
+ export var ListedHostKeyFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
370
377
  export var ListedProfileFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
371
378
  export var ListedServerFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
372
379
  export var ListedUserFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
373
380
  export var ListedWorkflowFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
374
381
  export var ListExecutionsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
375
382
  export var ListExecutionsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
383
+ export var ListHostKeysRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
384
+ export var ListHostKeysResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
376
385
  export var ListProfilesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
377
386
  export var ListProfilesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
378
387
  export var ListSecurityPoliciesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -403,6 +412,8 @@ export var UpdateCertificateRequestFilterSensitiveLog = function (obj) { return
403
412
  export var UpdateCertificateResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
404
413
  export var UpdateConnectorRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
405
414
  export var UpdateConnectorResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
415
+ export var UpdateHostKeyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
416
+ export var UpdateHostKeyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
406
417
  export var UpdateProfileRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
407
418
  export var UpdateProfileResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
408
419
  export var UpdateServerRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.HostKey && { HostKey: SENSITIVE_STRING }))); };