@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 { DeleteAccessCommandInput, DeleteAccessCommandOutput } from "./commands/
10
10
  import { DeleteAgreementCommandInput, DeleteAgreementCommandOutput } from "./commands/DeleteAgreementCommand";
11
11
  import { DeleteCertificateCommandInput, DeleteCertificateCommandOutput } from "./commands/DeleteCertificateCommand";
12
12
  import { DeleteConnectorCommandInput, DeleteConnectorCommandOutput } from "./commands/DeleteConnectorCommand";
13
+ import { DeleteHostKeyCommandInput, DeleteHostKeyCommandOutput } from "./commands/DeleteHostKeyCommand";
13
14
  import { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
14
15
  import { DeleteServerCommandInput, DeleteServerCommandOutput } from "./commands/DeleteServerCommand";
15
16
  import { DeleteSshPublicKeyCommandInput, DeleteSshPublicKeyCommandOutput } from "./commands/DeleteSshPublicKeyCommand";
@@ -20,18 +21,21 @@ import { DescribeAgreementCommandInput, DescribeAgreementCommandOutput } from ".
20
21
  import { DescribeCertificateCommandInput, DescribeCertificateCommandOutput } from "./commands/DescribeCertificateCommand";
21
22
  import { DescribeConnectorCommandInput, DescribeConnectorCommandOutput } from "./commands/DescribeConnectorCommand";
22
23
  import { DescribeExecutionCommandInput, DescribeExecutionCommandOutput } from "./commands/DescribeExecutionCommand";
24
+ import { DescribeHostKeyCommandInput, DescribeHostKeyCommandOutput } from "./commands/DescribeHostKeyCommand";
23
25
  import { DescribeProfileCommandInput, DescribeProfileCommandOutput } from "./commands/DescribeProfileCommand";
24
26
  import { DescribeSecurityPolicyCommandInput, DescribeSecurityPolicyCommandOutput } from "./commands/DescribeSecurityPolicyCommand";
25
27
  import { DescribeServerCommandInput, DescribeServerCommandOutput } from "./commands/DescribeServerCommand";
26
28
  import { DescribeUserCommandInput, DescribeUserCommandOutput } from "./commands/DescribeUserCommand";
27
29
  import { DescribeWorkflowCommandInput, DescribeWorkflowCommandOutput } from "./commands/DescribeWorkflowCommand";
28
30
  import { ImportCertificateCommandInput, ImportCertificateCommandOutput } from "./commands/ImportCertificateCommand";
31
+ import { ImportHostKeyCommandInput, ImportHostKeyCommandOutput } from "./commands/ImportHostKeyCommand";
29
32
  import { ImportSshPublicKeyCommandInput, ImportSshPublicKeyCommandOutput } from "./commands/ImportSshPublicKeyCommand";
30
33
  import { ListAccessesCommandInput, ListAccessesCommandOutput } from "./commands/ListAccessesCommand";
31
34
  import { ListAgreementsCommandInput, ListAgreementsCommandOutput } from "./commands/ListAgreementsCommand";
32
35
  import { ListCertificatesCommandInput, ListCertificatesCommandOutput } from "./commands/ListCertificatesCommand";
33
36
  import { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "./commands/ListConnectorsCommand";
34
37
  import { ListExecutionsCommandInput, ListExecutionsCommandOutput } from "./commands/ListExecutionsCommand";
38
+ import { ListHostKeysCommandInput, ListHostKeysCommandOutput } from "./commands/ListHostKeysCommand";
35
39
  import { ListProfilesCommandInput, ListProfilesCommandOutput } from "./commands/ListProfilesCommand";
36
40
  import { ListSecurityPoliciesCommandInput, ListSecurityPoliciesCommandOutput } from "./commands/ListSecurityPoliciesCommand";
37
41
  import { ListServersCommandInput, ListServersCommandOutput } from "./commands/ListServersCommand";
@@ -49,6 +53,7 @@ import { UpdateAccessCommandInput, UpdateAccessCommandOutput } from "./commands/
49
53
  import { UpdateAgreementCommandInput, UpdateAgreementCommandOutput } from "./commands/UpdateAgreementCommand";
50
54
  import { UpdateCertificateCommandInput, UpdateCertificateCommandOutput } from "./commands/UpdateCertificateCommand";
51
55
  import { UpdateConnectorCommandInput, UpdateConnectorCommandOutput } from "./commands/UpdateConnectorCommand";
56
+ import { UpdateHostKeyCommandInput, UpdateHostKeyCommandOutput } from "./commands/UpdateHostKeyCommand";
52
57
  import { UpdateProfileCommandInput, UpdateProfileCommandOutput } from "./commands/UpdateProfileCommand";
53
58
  import { UpdateServerCommandInput, UpdateServerCommandOutput } from "./commands/UpdateServerCommand";
54
59
  import { UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
@@ -159,6 +164,12 @@ export declare class Transfer extends TransferClient {
159
164
  deleteConnector(args: DeleteConnectorCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConnectorCommandOutput>;
160
165
  deleteConnector(args: DeleteConnectorCommandInput, cb: (err: any, data?: DeleteConnectorCommandOutput) => void): void;
161
166
  deleteConnector(args: DeleteConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConnectorCommandOutput) => void): void;
167
+ /**
168
+ * <p>Deletes the host key that's specified in the <code>HoskKeyId</code> parameter.</p>
169
+ */
170
+ deleteHostKey(args: DeleteHostKeyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteHostKeyCommandOutput>;
171
+ deleteHostKey(args: DeleteHostKeyCommandInput, cb: (err: any, data?: DeleteHostKeyCommandOutput) => void): void;
172
+ deleteHostKey(args: DeleteHostKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteHostKeyCommandOutput) => void): void;
162
173
  /**
163
174
  * <p>Deletes the profile that's specified in the <code>ProfileId</code> parameter.</p>
164
175
  */
@@ -233,6 +244,12 @@ export declare class Transfer extends TransferClient {
233
244
  describeExecution(args: DescribeExecutionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeExecutionCommandOutput>;
234
245
  describeExecution(args: DescribeExecutionCommandInput, cb: (err: any, data?: DescribeExecutionCommandOutput) => void): void;
235
246
  describeExecution(args: DescribeExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeExecutionCommandOutput) => void): void;
247
+ /**
248
+ * <p>Returns the details of the host key that's specified by the <code>HostKeyId</code> and <code>ServerId</code>.</p>
249
+ */
250
+ describeHostKey(args: DescribeHostKeyCommandInput, options?: __HttpHandlerOptions): Promise<DescribeHostKeyCommandOutput>;
251
+ describeHostKey(args: DescribeHostKeyCommandInput, cb: (err: any, data?: DescribeHostKeyCommandOutput) => void): void;
252
+ describeHostKey(args: DescribeHostKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeHostKeyCommandOutput) => void): void;
236
253
  /**
237
254
  * <p>Returns the details of the profile that's specified by the <code>ProfileId</code>.</p>
238
255
  */
@@ -283,6 +300,12 @@ export declare class Transfer extends TransferClient {
283
300
  importCertificate(args: ImportCertificateCommandInput, options?: __HttpHandlerOptions): Promise<ImportCertificateCommandOutput>;
284
301
  importCertificate(args: ImportCertificateCommandInput, cb: (err: any, data?: ImportCertificateCommandOutput) => void): void;
285
302
  importCertificate(args: ImportCertificateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportCertificateCommandOutput) => void): void;
303
+ /**
304
+ * <p>Adds a host key to the server specified by the <code>ServerId</code> parameter.</p>
305
+ */
306
+ importHostKey(args: ImportHostKeyCommandInput, options?: __HttpHandlerOptions): Promise<ImportHostKeyCommandOutput>;
307
+ importHostKey(args: ImportHostKeyCommandInput, cb: (err: any, data?: ImportHostKeyCommandOutput) => void): void;
308
+ importHostKey(args: ImportHostKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportHostKeyCommandOutput) => void): void;
286
309
  /**
287
310
  * <p>Adds a Secure Shell (SSH) public key to a user account identified by a
288
311
  * <code>UserName</code> value assigned to the specific file transfer protocol-enabled server,
@@ -332,6 +355,12 @@ export declare class Transfer extends TransferClient {
332
355
  listExecutions(args: ListExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<ListExecutionsCommandOutput>;
333
356
  listExecutions(args: ListExecutionsCommandInput, cb: (err: any, data?: ListExecutionsCommandOutput) => void): void;
334
357
  listExecutions(args: ListExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListExecutionsCommandOutput) => void): void;
358
+ /**
359
+ * <p>Returns a list of host keys for the server specified by the <code>ServerId</code> paramter.</p>
360
+ */
361
+ listHostKeys(args: ListHostKeysCommandInput, options?: __HttpHandlerOptions): Promise<ListHostKeysCommandOutput>;
362
+ listHostKeys(args: ListHostKeysCommandInput, cb: (err: any, data?: ListHostKeysCommandOutput) => void): void;
363
+ listHostKeys(args: ListHostKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListHostKeysCommandOutput) => void): void;
335
364
  /**
336
365
  * <p>Returns a list of the profiles for your system. If you want to limit the results to a
337
366
  * certain number, supply a value for the <code>MaxResults</code> parameter. If you ran the
@@ -517,6 +546,12 @@ export declare class Transfer extends TransferClient {
517
546
  updateConnector(args: UpdateConnectorCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConnectorCommandOutput>;
518
547
  updateConnector(args: UpdateConnectorCommandInput, cb: (err: any, data?: UpdateConnectorCommandOutput) => void): void;
519
548
  updateConnector(args: UpdateConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConnectorCommandOutput) => void): void;
549
+ /**
550
+ * <p>Updates the description for the host key specified by the specified by the <code>ServerId</code> and <code>HostKeyId</code> parameters.</p>
551
+ */
552
+ updateHostKey(args: UpdateHostKeyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateHostKeyCommandOutput>;
553
+ updateHostKey(args: UpdateHostKeyCommandInput, cb: (err: any, data?: UpdateHostKeyCommandOutput) => void): void;
554
+ updateHostKey(args: UpdateHostKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateHostKeyCommandOutput) => void): void;
520
555
  /**
521
556
  * <p>Updates some of the parameters for an existing profile. Provide the <code>ProfileId</code>
522
557
  * for the profile that you want to update, along with the new values for the parameters to
@@ -17,6 +17,7 @@ import { DeleteAccessCommandInput, DeleteAccessCommandOutput } from "./commands/
17
17
  import { DeleteAgreementCommandInput, DeleteAgreementCommandOutput } from "./commands/DeleteAgreementCommand";
18
18
  import { DeleteCertificateCommandInput, DeleteCertificateCommandOutput } from "./commands/DeleteCertificateCommand";
19
19
  import { DeleteConnectorCommandInput, DeleteConnectorCommandOutput } from "./commands/DeleteConnectorCommand";
20
+ import { DeleteHostKeyCommandInput, DeleteHostKeyCommandOutput } from "./commands/DeleteHostKeyCommand";
20
21
  import { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
21
22
  import { DeleteServerCommandInput, DeleteServerCommandOutput } from "./commands/DeleteServerCommand";
22
23
  import { DeleteSshPublicKeyCommandInput, DeleteSshPublicKeyCommandOutput } from "./commands/DeleteSshPublicKeyCommand";
@@ -27,18 +28,21 @@ import { DescribeAgreementCommandInput, DescribeAgreementCommandOutput } from ".
27
28
  import { DescribeCertificateCommandInput, DescribeCertificateCommandOutput } from "./commands/DescribeCertificateCommand";
28
29
  import { DescribeConnectorCommandInput, DescribeConnectorCommandOutput } from "./commands/DescribeConnectorCommand";
29
30
  import { DescribeExecutionCommandInput, DescribeExecutionCommandOutput } from "./commands/DescribeExecutionCommand";
31
+ import { DescribeHostKeyCommandInput, DescribeHostKeyCommandOutput } from "./commands/DescribeHostKeyCommand";
30
32
  import { DescribeProfileCommandInput, DescribeProfileCommandOutput } from "./commands/DescribeProfileCommand";
31
33
  import { DescribeSecurityPolicyCommandInput, DescribeSecurityPolicyCommandOutput } from "./commands/DescribeSecurityPolicyCommand";
32
34
  import { DescribeServerCommandInput, DescribeServerCommandOutput } from "./commands/DescribeServerCommand";
33
35
  import { DescribeUserCommandInput, DescribeUserCommandOutput } from "./commands/DescribeUserCommand";
34
36
  import { DescribeWorkflowCommandInput, DescribeWorkflowCommandOutput } from "./commands/DescribeWorkflowCommand";
35
37
  import { ImportCertificateCommandInput, ImportCertificateCommandOutput } from "./commands/ImportCertificateCommand";
38
+ import { ImportHostKeyCommandInput, ImportHostKeyCommandOutput } from "./commands/ImportHostKeyCommand";
36
39
  import { ImportSshPublicKeyCommandInput, ImportSshPublicKeyCommandOutput } from "./commands/ImportSshPublicKeyCommand";
37
40
  import { ListAccessesCommandInput, ListAccessesCommandOutput } from "./commands/ListAccessesCommand";
38
41
  import { ListAgreementsCommandInput, ListAgreementsCommandOutput } from "./commands/ListAgreementsCommand";
39
42
  import { ListCertificatesCommandInput, ListCertificatesCommandOutput } from "./commands/ListCertificatesCommand";
40
43
  import { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "./commands/ListConnectorsCommand";
41
44
  import { ListExecutionsCommandInput, ListExecutionsCommandOutput } from "./commands/ListExecutionsCommand";
45
+ import { ListHostKeysCommandInput, ListHostKeysCommandOutput } from "./commands/ListHostKeysCommand";
42
46
  import { ListProfilesCommandInput, ListProfilesCommandOutput } from "./commands/ListProfilesCommand";
43
47
  import { ListSecurityPoliciesCommandInput, ListSecurityPoliciesCommandOutput } from "./commands/ListSecurityPoliciesCommand";
44
48
  import { ListServersCommandInput, ListServersCommandOutput } from "./commands/ListServersCommand";
@@ -56,11 +60,12 @@ import { UpdateAccessCommandInput, UpdateAccessCommandOutput } from "./commands/
56
60
  import { UpdateAgreementCommandInput, UpdateAgreementCommandOutput } from "./commands/UpdateAgreementCommand";
57
61
  import { UpdateCertificateCommandInput, UpdateCertificateCommandOutput } from "./commands/UpdateCertificateCommand";
58
62
  import { UpdateConnectorCommandInput, UpdateConnectorCommandOutput } from "./commands/UpdateConnectorCommand";
63
+ import { UpdateHostKeyCommandInput, UpdateHostKeyCommandOutput } from "./commands/UpdateHostKeyCommand";
59
64
  import { UpdateProfileCommandInput, UpdateProfileCommandOutput } from "./commands/UpdateProfileCommand";
60
65
  import { UpdateServerCommandInput, UpdateServerCommandOutput } from "./commands/UpdateServerCommand";
61
66
  import { UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
62
- export declare type ServiceInputTypes = CreateAccessCommandInput | CreateAgreementCommandInput | CreateConnectorCommandInput | CreateProfileCommandInput | CreateServerCommandInput | CreateUserCommandInput | CreateWorkflowCommandInput | DeleteAccessCommandInput | DeleteAgreementCommandInput | DeleteCertificateCommandInput | DeleteConnectorCommandInput | DeleteProfileCommandInput | DeleteServerCommandInput | DeleteSshPublicKeyCommandInput | DeleteUserCommandInput | DeleteWorkflowCommandInput | DescribeAccessCommandInput | DescribeAgreementCommandInput | DescribeCertificateCommandInput | DescribeConnectorCommandInput | DescribeExecutionCommandInput | DescribeProfileCommandInput | DescribeSecurityPolicyCommandInput | DescribeServerCommandInput | DescribeUserCommandInput | DescribeWorkflowCommandInput | ImportCertificateCommandInput | ImportSshPublicKeyCommandInput | ListAccessesCommandInput | ListAgreementsCommandInput | ListCertificatesCommandInput | ListConnectorsCommandInput | ListExecutionsCommandInput | ListProfilesCommandInput | ListSecurityPoliciesCommandInput | ListServersCommandInput | ListTagsForResourceCommandInput | ListUsersCommandInput | ListWorkflowsCommandInput | SendWorkflowStepStateCommandInput | StartFileTransferCommandInput | StartServerCommandInput | StopServerCommandInput | TagResourceCommandInput | TestIdentityProviderCommandInput | UntagResourceCommandInput | UpdateAccessCommandInput | UpdateAgreementCommandInput | UpdateCertificateCommandInput | UpdateConnectorCommandInput | UpdateProfileCommandInput | UpdateServerCommandInput | UpdateUserCommandInput;
63
- export declare type ServiceOutputTypes = CreateAccessCommandOutput | CreateAgreementCommandOutput | CreateConnectorCommandOutput | CreateProfileCommandOutput | CreateServerCommandOutput | CreateUserCommandOutput | CreateWorkflowCommandOutput | DeleteAccessCommandOutput | DeleteAgreementCommandOutput | DeleteCertificateCommandOutput | DeleteConnectorCommandOutput | DeleteProfileCommandOutput | DeleteServerCommandOutput | DeleteSshPublicKeyCommandOutput | DeleteUserCommandOutput | DeleteWorkflowCommandOutput | DescribeAccessCommandOutput | DescribeAgreementCommandOutput | DescribeCertificateCommandOutput | DescribeConnectorCommandOutput | DescribeExecutionCommandOutput | DescribeProfileCommandOutput | DescribeSecurityPolicyCommandOutput | DescribeServerCommandOutput | DescribeUserCommandOutput | DescribeWorkflowCommandOutput | ImportCertificateCommandOutput | ImportSshPublicKeyCommandOutput | ListAccessesCommandOutput | ListAgreementsCommandOutput | ListCertificatesCommandOutput | ListConnectorsCommandOutput | ListExecutionsCommandOutput | ListProfilesCommandOutput | ListSecurityPoliciesCommandOutput | ListServersCommandOutput | ListTagsForResourceCommandOutput | ListUsersCommandOutput | ListWorkflowsCommandOutput | SendWorkflowStepStateCommandOutput | StartFileTransferCommandOutput | StartServerCommandOutput | StopServerCommandOutput | TagResourceCommandOutput | TestIdentityProviderCommandOutput | UntagResourceCommandOutput | UpdateAccessCommandOutput | UpdateAgreementCommandOutput | UpdateCertificateCommandOutput | UpdateConnectorCommandOutput | UpdateProfileCommandOutput | UpdateServerCommandOutput | UpdateUserCommandOutput;
67
+ export declare 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;
68
+ export declare 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;
64
69
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
65
70
  /**
66
71
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DeleteHostKeyRequest } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient";
5
+ export interface DeleteHostKeyCommandInput extends DeleteHostKeyRequest {
6
+ }
7
+ export interface DeleteHostKeyCommandOutput extends __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Deletes the host key that's specified in the <code>HoskKeyId</code> parameter.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { TransferClient, DeleteHostKeyCommand } from "@aws-sdk/client-transfer"; // ES Modules import
15
+ * // const { TransferClient, DeleteHostKeyCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
16
+ * const client = new TransferClient(config);
17
+ * const command = new DeleteHostKeyCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link DeleteHostKeyCommandInput} for command's `input` shape.
22
+ * @see {@link DeleteHostKeyCommandOutput} for command's `response` shape.
23
+ * @see {@link TransferClientResolvedConfig | config} for TransferClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class DeleteHostKeyCommand extends $Command<DeleteHostKeyCommandInput, DeleteHostKeyCommandOutput, TransferClientResolvedConfig> {
27
+ readonly input: DeleteHostKeyCommandInput;
28
+ constructor(input: DeleteHostKeyCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TransferClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteHostKeyCommandInput, DeleteHostKeyCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DescribeHostKeyRequest, DescribeHostKeyResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient";
5
+ export interface DescribeHostKeyCommandInput extends DescribeHostKeyRequest {
6
+ }
7
+ export interface DescribeHostKeyCommandOutput extends DescribeHostKeyResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Returns the details of the host key that's specified by the <code>HostKeyId</code> and <code>ServerId</code>.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { TransferClient, DescribeHostKeyCommand } from "@aws-sdk/client-transfer"; // ES Modules import
15
+ * // const { TransferClient, DescribeHostKeyCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
16
+ * const client = new TransferClient(config);
17
+ * const command = new DescribeHostKeyCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link DescribeHostKeyCommandInput} for command's `input` shape.
22
+ * @see {@link DescribeHostKeyCommandOutput} for command's `response` shape.
23
+ * @see {@link TransferClientResolvedConfig | config} for TransferClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class DescribeHostKeyCommand extends $Command<DescribeHostKeyCommandInput, DescribeHostKeyCommandOutput, TransferClientResolvedConfig> {
27
+ readonly input: DescribeHostKeyCommandInput;
28
+ constructor(input: DescribeHostKeyCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TransferClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeHostKeyCommandInput, DescribeHostKeyCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ImportHostKeyRequest, ImportHostKeyResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient";
5
+ export interface ImportHostKeyCommandInput extends ImportHostKeyRequest {
6
+ }
7
+ export interface ImportHostKeyCommandOutput extends ImportHostKeyResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Adds a host key to the server specified by the <code>ServerId</code> parameter.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { TransferClient, ImportHostKeyCommand } from "@aws-sdk/client-transfer"; // ES Modules import
15
+ * // const { TransferClient, ImportHostKeyCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
16
+ * const client = new TransferClient(config);
17
+ * const command = new ImportHostKeyCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ImportHostKeyCommandInput} for command's `input` shape.
22
+ * @see {@link ImportHostKeyCommandOutput} for command's `response` shape.
23
+ * @see {@link TransferClientResolvedConfig | config} for TransferClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ImportHostKeyCommand extends $Command<ImportHostKeyCommandInput, ImportHostKeyCommandOutput, TransferClientResolvedConfig> {
27
+ readonly input: ImportHostKeyCommandInput;
28
+ constructor(input: ImportHostKeyCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TransferClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ImportHostKeyCommandInput, ImportHostKeyCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListHostKeysRequest, ListHostKeysResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient";
5
+ export interface ListHostKeysCommandInput extends ListHostKeysRequest {
6
+ }
7
+ export interface ListHostKeysCommandOutput extends ListHostKeysResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Returns a list of host keys for the server specified by the <code>ServerId</code> paramter.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { TransferClient, ListHostKeysCommand } from "@aws-sdk/client-transfer"; // ES Modules import
15
+ * // const { TransferClient, ListHostKeysCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
16
+ * const client = new TransferClient(config);
17
+ * const command = new ListHostKeysCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListHostKeysCommandInput} for command's `input` shape.
22
+ * @see {@link ListHostKeysCommandOutput} for command's `response` shape.
23
+ * @see {@link TransferClientResolvedConfig | config} for TransferClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListHostKeysCommand extends $Command<ListHostKeysCommandInput, ListHostKeysCommandOutput, TransferClientResolvedConfig> {
27
+ readonly input: ListHostKeysCommandInput;
28
+ constructor(input: ListHostKeysCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TransferClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListHostKeysCommandInput, ListHostKeysCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdateHostKeyRequest, UpdateHostKeyResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient";
5
+ export interface UpdateHostKeyCommandInput extends UpdateHostKeyRequest {
6
+ }
7
+ export interface UpdateHostKeyCommandOutput extends UpdateHostKeyResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Updates the description for the host key specified by the specified by the <code>ServerId</code> and <code>HostKeyId</code> parameters.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { TransferClient, UpdateHostKeyCommand } from "@aws-sdk/client-transfer"; // ES Modules import
15
+ * // const { TransferClient, UpdateHostKeyCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
16
+ * const client = new TransferClient(config);
17
+ * const command = new UpdateHostKeyCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link UpdateHostKeyCommandInput} for command's `input` shape.
22
+ * @see {@link UpdateHostKeyCommandOutput} for command's `response` shape.
23
+ * @see {@link TransferClientResolvedConfig | config} for TransferClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class UpdateHostKeyCommand extends $Command<UpdateHostKeyCommandInput, UpdateHostKeyCommandOutput, TransferClientResolvedConfig> {
27
+ readonly input: UpdateHostKeyCommandInput;
28
+ constructor(input: UpdateHostKeyCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TransferClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateHostKeyCommandInput, UpdateHostKeyCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -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";