@aws-sdk/client-transfer 3.782.0 → 3.786.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 (90) hide show
  1. package/README.md +17 -10
  2. package/dist-cjs/index.js +74 -0
  3. package/dist-es/Transfer.js +4 -0
  4. package/dist-es/commands/StartRemoteDeleteCommand.js +22 -0
  5. package/dist-es/commands/StartRemoteMoveCommand.js +22 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/protocols/Aws_json1_1.js +38 -0
  8. package/dist-types/Transfer.d.ts +15 -10
  9. package/dist-types/TransferClient.d.ts +5 -12
  10. package/dist-types/commands/CreateAccessCommand.d.ts +2 -8
  11. package/dist-types/commands/CreateAgreementCommand.d.ts +2 -12
  12. package/dist-types/commands/CreateConnectorCommand.d.ts +3 -8
  13. package/dist-types/commands/CreateProfileCommand.d.ts +1 -2
  14. package/dist-types/commands/CreateServerCommand.d.ts +2 -6
  15. package/dist-types/commands/CreateUserCommand.d.ts +2 -9
  16. package/dist-types/commands/CreateWebAppCommand.d.ts +1 -2
  17. package/dist-types/commands/CreateWorkflowCommand.d.ts +1 -4
  18. package/dist-types/commands/DeleteAccessCommand.d.ts +2 -4
  19. package/dist-types/commands/DeleteAgreementCommand.d.ts +1 -2
  20. package/dist-types/commands/DeleteCertificateCommand.d.ts +2 -4
  21. package/dist-types/commands/DeleteConnectorCommand.d.ts +1 -2
  22. package/dist-types/commands/DeleteHostKeyCommand.d.ts +1 -2
  23. package/dist-types/commands/DeleteProfileCommand.d.ts +1 -2
  24. package/dist-types/commands/DeleteServerCommand.d.ts +2 -4
  25. package/dist-types/commands/DeleteSshPublicKeyCommand.d.ts +1 -2
  26. package/dist-types/commands/DeleteUserCommand.d.ts +2 -7
  27. package/dist-types/commands/DeleteWebAppCommand.d.ts +1 -2
  28. package/dist-types/commands/DeleteWebAppCustomizationCommand.d.ts +2 -5
  29. package/dist-types/commands/DeleteWorkflowCommand.d.ts +1 -2
  30. package/dist-types/commands/DescribeAccessCommand.d.ts +2 -7
  31. package/dist-types/commands/DescribeAgreementCommand.d.ts +1 -2
  32. package/dist-types/commands/DescribeCertificateCommand.d.ts +1 -2
  33. package/dist-types/commands/DescribeConnectorCommand.d.ts +3 -4
  34. package/dist-types/commands/DescribeExecutionCommand.d.ts +2 -9
  35. package/dist-types/commands/DescribeHostKeyCommand.d.ts +1 -2
  36. package/dist-types/commands/DescribeProfileCommand.d.ts +1 -2
  37. package/dist-types/commands/DescribeSecurityPolicyCommand.d.ts +2 -6
  38. package/dist-types/commands/DescribeServerCommand.d.ts +2 -7
  39. package/dist-types/commands/DescribeUserCommand.d.ts +2 -6
  40. package/dist-types/commands/DescribeWebAppCommand.d.ts +1 -2
  41. package/dist-types/commands/DescribeWebAppCustomizationCommand.d.ts +1 -2
  42. package/dist-types/commands/DescribeWorkflowCommand.d.ts +1 -2
  43. package/dist-types/commands/ImportCertificateCommand.d.ts +2 -5
  44. package/dist-types/commands/ImportHostKeyCommand.d.ts +2 -4
  45. package/dist-types/commands/ImportSshPublicKeyCommand.d.ts +2 -7
  46. package/dist-types/commands/ListAccessesCommand.d.ts +1 -2
  47. package/dist-types/commands/ListAgreementsCommand.d.ts +2 -7
  48. package/dist-types/commands/ListCertificatesCommand.d.ts +2 -7
  49. package/dist-types/commands/ListConnectorsCommand.d.ts +1 -2
  50. package/dist-types/commands/ListExecutionsCommand.d.ts +2 -7
  51. package/dist-types/commands/ListFileTransferResultsCommand.d.ts +2 -8
  52. package/dist-types/commands/ListHostKeysCommand.d.ts +2 -4
  53. package/dist-types/commands/ListProfilesCommand.d.ts +2 -6
  54. package/dist-types/commands/ListSecurityPoliciesCommand.d.ts +1 -4
  55. package/dist-types/commands/ListServersCommand.d.ts +1 -2
  56. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -2
  57. package/dist-types/commands/ListUsersCommand.d.ts +2 -4
  58. package/dist-types/commands/SendWorkflowStepStateCommand.d.ts +2 -7
  59. package/dist-types/commands/StartDirectoryListingCommand.d.ts +2 -47
  60. package/dist-types/commands/StartFileTransferCommand.d.ts +2 -28
  61. package/dist-types/commands/StartRemoteDeleteCommand.d.ts +88 -0
  62. package/dist-types/commands/StartRemoteMoveCommand.d.ts +89 -0
  63. package/dist-types/commands/StartServerCommand.d.ts +2 -9
  64. package/dist-types/commands/StopServerCommand.d.ts +2 -14
  65. package/dist-types/commands/TagResourceCommand.d.ts +2 -5
  66. package/dist-types/commands/TestConnectionCommand.d.ts +5 -5
  67. package/dist-types/commands/TestIdentityProviderCommand.d.ts +2 -52
  68. package/dist-types/commands/UntagResourceCommand.d.ts +2 -5
  69. package/dist-types/commands/UpdateAccessCommand.d.ts +2 -4
  70. package/dist-types/commands/UpdateAgreementCommand.d.ts +2 -10
  71. package/dist-types/commands/UpdateCertificateCommand.d.ts +1 -2
  72. package/dist-types/commands/UpdateConnectorCommand.d.ts +3 -5
  73. package/dist-types/commands/UpdateHostKeyCommand.d.ts +2 -4
  74. package/dist-types/commands/UpdateProfileCommand.d.ts +2 -5
  75. package/dist-types/commands/UpdateServerCommand.d.ts +3 -9
  76. package/dist-types/commands/UpdateUserCommand.d.ts +2 -19
  77. package/dist-types/commands/UpdateWebAppCommand.d.ts +2 -5
  78. package/dist-types/commands/UpdateWebAppCustomizationCommand.d.ts +2 -5
  79. package/dist-types/commands/index.d.ts +2 -0
  80. package/dist-types/index.d.ts +1 -10
  81. package/dist-types/models/models_0.d.ts +395 -2556
  82. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  83. package/dist-types/ts3.4/Transfer.d.ts +34 -0
  84. package/dist-types/ts3.4/TransferClient.d.ts +12 -0
  85. package/dist-types/ts3.4/commands/StartRemoteDeleteCommand.d.ts +51 -0
  86. package/dist-types/ts3.4/commands/StartRemoteMoveCommand.d.ts +50 -0
  87. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  88. package/dist-types/ts3.4/models/models_0.d.ts +20 -0
  89. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  90. package/package.json +1 -1
@@ -53,6 +53,8 @@ import { ListWorkflowsCommandInput, ListWorkflowsCommandOutput } from "../comman
53
53
  import { SendWorkflowStepStateCommandInput, SendWorkflowStepStateCommandOutput } from "../commands/SendWorkflowStepStateCommand";
54
54
  import { StartDirectoryListingCommandInput, StartDirectoryListingCommandOutput } from "../commands/StartDirectoryListingCommand";
55
55
  import { StartFileTransferCommandInput, StartFileTransferCommandOutput } from "../commands/StartFileTransferCommand";
56
+ import { StartRemoteDeleteCommandInput, StartRemoteDeleteCommandOutput } from "../commands/StartRemoteDeleteCommand";
57
+ import { StartRemoteMoveCommandInput, StartRemoteMoveCommandOutput } from "../commands/StartRemoteMoveCommand";
56
58
  import { StartServerCommandInput, StartServerCommandOutput } from "../commands/StartServerCommand";
57
59
  import { StopServerCommandInput, StopServerCommandOutput } from "../commands/StopServerCommand";
58
60
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
@@ -281,6 +283,14 @@ export declare const se_StartDirectoryListingCommand: (input: StartDirectoryList
281
283
  * serializeAws_json1_1StartFileTransferCommand
282
284
  */
283
285
  export declare const se_StartFileTransferCommand: (input: StartFileTransferCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
286
+ /**
287
+ * serializeAws_json1_1StartRemoteDeleteCommand
288
+ */
289
+ export declare const se_StartRemoteDeleteCommand: (input: StartRemoteDeleteCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
290
+ /**
291
+ * serializeAws_json1_1StartRemoteMoveCommand
292
+ */
293
+ export declare const se_StartRemoteMoveCommand: (input: StartRemoteMoveCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
284
294
  /**
285
295
  * serializeAws_json1_1StartServerCommand
286
296
  */
@@ -557,6 +567,14 @@ export declare const de_StartDirectoryListingCommand: (output: __HttpResponse, c
557
567
  * deserializeAws_json1_1StartFileTransferCommand
558
568
  */
559
569
  export declare const de_StartFileTransferCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartFileTransferCommandOutput>;
570
+ /**
571
+ * deserializeAws_json1_1StartRemoteDeleteCommand
572
+ */
573
+ export declare const de_StartRemoteDeleteCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartRemoteDeleteCommandOutput>;
574
+ /**
575
+ * deserializeAws_json1_1StartRemoteMoveCommand
576
+ */
577
+ export declare const de_StartRemoteMoveCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartRemoteMoveCommandOutput>;
560
578
  /**
561
579
  * deserializeAws_json1_1StartServerCommand
562
580
  */
@@ -211,6 +211,14 @@ import {
211
211
  StartFileTransferCommandInput,
212
212
  StartFileTransferCommandOutput,
213
213
  } from "./commands/StartFileTransferCommand";
214
+ import {
215
+ StartRemoteDeleteCommandInput,
216
+ StartRemoteDeleteCommandOutput,
217
+ } from "./commands/StartRemoteDeleteCommand";
218
+ import {
219
+ StartRemoteMoveCommandInput,
220
+ StartRemoteMoveCommandOutput,
221
+ } from "./commands/StartRemoteMoveCommand";
214
222
  import {
215
223
  StartServerCommandInput,
216
224
  StartServerCommandOutput,
@@ -974,6 +982,32 @@ export interface Transfer {
974
982
  options: __HttpHandlerOptions,
975
983
  cb: (err: any, data?: StartFileTransferCommandOutput) => void
976
984
  ): void;
985
+ startRemoteDelete(
986
+ args: StartRemoteDeleteCommandInput,
987
+ options?: __HttpHandlerOptions
988
+ ): Promise<StartRemoteDeleteCommandOutput>;
989
+ startRemoteDelete(
990
+ args: StartRemoteDeleteCommandInput,
991
+ cb: (err: any, data?: StartRemoteDeleteCommandOutput) => void
992
+ ): void;
993
+ startRemoteDelete(
994
+ args: StartRemoteDeleteCommandInput,
995
+ options: __HttpHandlerOptions,
996
+ cb: (err: any, data?: StartRemoteDeleteCommandOutput) => void
997
+ ): void;
998
+ startRemoteMove(
999
+ args: StartRemoteMoveCommandInput,
1000
+ options?: __HttpHandlerOptions
1001
+ ): Promise<StartRemoteMoveCommandOutput>;
1002
+ startRemoteMove(
1003
+ args: StartRemoteMoveCommandInput,
1004
+ cb: (err: any, data?: StartRemoteMoveCommandOutput) => void
1005
+ ): void;
1006
+ startRemoteMove(
1007
+ args: StartRemoteMoveCommandInput,
1008
+ options: __HttpHandlerOptions,
1009
+ cb: (err: any, data?: StartRemoteMoveCommandOutput) => void
1010
+ ): void;
977
1011
  startServer(
978
1012
  args: StartServerCommandInput,
979
1013
  options?: __HttpHandlerOptions
@@ -257,6 +257,14 @@ import {
257
257
  StartFileTransferCommandInput,
258
258
  StartFileTransferCommandOutput,
259
259
  } from "./commands/StartFileTransferCommand";
260
+ import {
261
+ StartRemoteDeleteCommandInput,
262
+ StartRemoteDeleteCommandOutput,
263
+ } from "./commands/StartRemoteDeleteCommand";
264
+ import {
265
+ StartRemoteMoveCommandInput,
266
+ StartRemoteMoveCommandOutput,
267
+ } from "./commands/StartRemoteMoveCommand";
260
268
  import {
261
269
  StartServerCommandInput,
262
270
  StartServerCommandOutput,
@@ -382,6 +390,8 @@ export type ServiceInputTypes =
382
390
  | SendWorkflowStepStateCommandInput
383
391
  | StartDirectoryListingCommandInput
384
392
  | StartFileTransferCommandInput
393
+ | StartRemoteDeleteCommandInput
394
+ | StartRemoteMoveCommandInput
385
395
  | StartServerCommandInput
386
396
  | StopServerCommandInput
387
397
  | TagResourceCommandInput
@@ -452,6 +462,8 @@ export type ServiceOutputTypes =
452
462
  | SendWorkflowStepStateCommandOutput
453
463
  | StartDirectoryListingCommandOutput
454
464
  | StartFileTransferCommandOutput
465
+ | StartRemoteDeleteCommandOutput
466
+ | StartRemoteMoveCommandOutput
455
467
  | StartServerCommandOutput
456
468
  | StopServerCommandOutput
457
469
  | TagResourceCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ StartRemoteDeleteRequest,
5
+ StartRemoteDeleteResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ TransferClientResolvedConfig,
11
+ } from "../TransferClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface StartRemoteDeleteCommandInput
15
+ extends StartRemoteDeleteRequest {}
16
+ export interface StartRemoteDeleteCommandOutput
17
+ extends StartRemoteDeleteResponse,
18
+ __MetadataBearer {}
19
+ declare const StartRemoteDeleteCommand_base: {
20
+ new (
21
+ input: StartRemoteDeleteCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ StartRemoteDeleteCommandInput,
24
+ StartRemoteDeleteCommandOutput,
25
+ TransferClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: StartRemoteDeleteCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ StartRemoteDeleteCommandInput,
33
+ StartRemoteDeleteCommandOutput,
34
+ TransferClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class StartRemoteDeleteCommand extends StartRemoteDeleteCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: StartRemoteDeleteRequest;
44
+ output: StartRemoteDeleteResponse;
45
+ };
46
+ sdk: {
47
+ input: StartRemoteDeleteCommandInput;
48
+ output: StartRemoteDeleteCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ StartRemoteMoveRequest,
5
+ StartRemoteMoveResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ TransferClientResolvedConfig,
11
+ } from "../TransferClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface StartRemoteMoveCommandInput extends StartRemoteMoveRequest {}
15
+ export interface StartRemoteMoveCommandOutput
16
+ extends StartRemoteMoveResponse,
17
+ __MetadataBearer {}
18
+ declare const StartRemoteMoveCommand_base: {
19
+ new (
20
+ input: StartRemoteMoveCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ StartRemoteMoveCommandInput,
23
+ StartRemoteMoveCommandOutput,
24
+ TransferClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: StartRemoteMoveCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ StartRemoteMoveCommandInput,
32
+ StartRemoteMoveCommandOutput,
33
+ TransferClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class StartRemoteMoveCommand extends StartRemoteMoveCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: StartRemoteMoveRequest;
43
+ output: StartRemoteMoveResponse;
44
+ };
45
+ sdk: {
46
+ input: StartRemoteMoveCommandInput;
47
+ output: StartRemoteMoveCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -51,6 +51,8 @@ export * from "./ListWorkflowsCommand";
51
51
  export * from "./SendWorkflowStepStateCommand";
52
52
  export * from "./StartDirectoryListingCommand";
53
53
  export * from "./StartFileTransferCommand";
54
+ export * from "./StartRemoteDeleteCommand";
55
+ export * from "./StartRemoteMoveCommand";
54
56
  export * from "./StartServerCommand";
55
57
  export * from "./StopServerCommand";
56
58
  export * from "./TagResourceCommand";
@@ -339,6 +339,7 @@ export interface ConnectorFileTransferResult {
339
339
  export interface SftpConnectorConfig {
340
340
  UserSecretId?: string | undefined;
341
341
  TrustedHostKeys?: string[] | undefined;
342
+ MaxConcurrentConnections?: number | undefined;
342
343
  }
343
344
  export interface CreateConnectorRequest {
344
345
  Url: string | undefined;
@@ -1240,6 +1241,9 @@ export interface UpdateServerRequest {
1240
1241
  export interface UpdateServerResponse {
1241
1242
  ServerId: string | undefined;
1242
1243
  }
1244
+ export interface SftpConnectorConnectionDetails {
1245
+ HostKey?: string | undefined;
1246
+ }
1243
1247
  export interface StartDirectoryListingRequest {
1244
1248
  ConnectorId: string | undefined;
1245
1249
  RemoteDirectoryPath: string | undefined;
@@ -1260,6 +1264,21 @@ export interface StartFileTransferRequest {
1260
1264
  export interface StartFileTransferResponse {
1261
1265
  TransferId: string | undefined;
1262
1266
  }
1267
+ export interface StartRemoteDeleteRequest {
1268
+ ConnectorId: string | undefined;
1269
+ DeletePath: string | undefined;
1270
+ }
1271
+ export interface StartRemoteDeleteResponse {
1272
+ DeleteId: string | undefined;
1273
+ }
1274
+ export interface StartRemoteMoveRequest {
1275
+ ConnectorId: string | undefined;
1276
+ SourcePath: string | undefined;
1277
+ TargetPath: string | undefined;
1278
+ }
1279
+ export interface StartRemoteMoveResponse {
1280
+ MoveId: string | undefined;
1281
+ }
1263
1282
  export interface StartServerRequest {
1264
1283
  ServerId: string | undefined;
1265
1284
  }
@@ -1277,6 +1296,7 @@ export interface TestConnectionResponse {
1277
1296
  ConnectorId?: string | undefined;
1278
1297
  Status?: string | undefined;
1279
1298
  StatusMessage?: string | undefined;
1299
+ SftpConnectionDetails?: SftpConnectorConnectionDetails | undefined;
1280
1300
  }
1281
1301
  export interface TestIdentityProviderRequest {
1282
1302
  ServerId: string | undefined;
@@ -215,6 +215,14 @@ import {
215
215
  StartFileTransferCommandInput,
216
216
  StartFileTransferCommandOutput,
217
217
  } from "../commands/StartFileTransferCommand";
218
+ import {
219
+ StartRemoteDeleteCommandInput,
220
+ StartRemoteDeleteCommandOutput,
221
+ } from "../commands/StartRemoteDeleteCommand";
222
+ import {
223
+ StartRemoteMoveCommandInput,
224
+ StartRemoteMoveCommandOutput,
225
+ } from "../commands/StartRemoteMoveCommand";
218
226
  import {
219
227
  StartServerCommandInput,
220
228
  StartServerCommandOutput,
@@ -491,6 +499,14 @@ export declare const se_StartFileTransferCommand: (
491
499
  input: StartFileTransferCommandInput,
492
500
  context: __SerdeContext
493
501
  ) => Promise<__HttpRequest>;
502
+ export declare const se_StartRemoteDeleteCommand: (
503
+ input: StartRemoteDeleteCommandInput,
504
+ context: __SerdeContext
505
+ ) => Promise<__HttpRequest>;
506
+ export declare const se_StartRemoteMoveCommand: (
507
+ input: StartRemoteMoveCommandInput,
508
+ context: __SerdeContext
509
+ ) => Promise<__HttpRequest>;
494
510
  export declare const se_StartServerCommand: (
495
511
  input: StartServerCommandInput,
496
512
  context: __SerdeContext
@@ -767,6 +783,14 @@ export declare const de_StartFileTransferCommand: (
767
783
  output: __HttpResponse,
768
784
  context: __SerdeContext
769
785
  ) => Promise<StartFileTransferCommandOutput>;
786
+ export declare const de_StartRemoteDeleteCommand: (
787
+ output: __HttpResponse,
788
+ context: __SerdeContext
789
+ ) => Promise<StartRemoteDeleteCommandOutput>;
790
+ export declare const de_StartRemoteMoveCommand: (
791
+ output: __HttpResponse,
792
+ context: __SerdeContext
793
+ ) => Promise<StartRemoteMoveCommandOutput>;
770
794
  export declare const de_StartServerCommand: (
771
795
  output: __HttpResponse,
772
796
  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.782.0",
4
+ "version": "3.786.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-transfer",