@aws-sdk/client-transfer 3.779.0 → 3.784.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/dist-cjs/index.js +74 -0
- package/dist-es/Transfer.js +4 -0
- package/dist-es/commands/StartRemoteDeleteCommand.js +22 -0
- package/dist-es/commands/StartRemoteMoveCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +38 -0
- package/dist-types/Transfer.d.ts +14 -0
- package/dist-types/TransferClient.d.ts +4 -2
- package/dist-types/commands/ImportCertificateCommand.d.ts +6 -0
- package/dist-types/commands/StartRemoteDeleteCommand.d.ts +89 -0
- package/dist-types/commands/StartRemoteMoveCommand.d.ts +90 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +97 -17
- package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/ts3.4/Transfer.d.ts +34 -0
- package/dist-types/ts3.4/TransferClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/StartRemoteDeleteCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartRemoteMoveCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +15 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -635,6 +635,22 @@ StartFileTransfer
|
|
|
635
635
|
|
|
636
636
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transfer/command/StartFileTransferCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/StartFileTransferCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/StartFileTransferCommandOutput/)
|
|
637
637
|
|
|
638
|
+
</details>
|
|
639
|
+
<details>
|
|
640
|
+
<summary>
|
|
641
|
+
StartRemoteDelete
|
|
642
|
+
</summary>
|
|
643
|
+
|
|
644
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transfer/command/StartRemoteDeleteCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/StartRemoteDeleteCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/StartRemoteDeleteCommandOutput/)
|
|
645
|
+
|
|
646
|
+
</details>
|
|
647
|
+
<details>
|
|
648
|
+
<summary>
|
|
649
|
+
StartRemoteMove
|
|
650
|
+
</summary>
|
|
651
|
+
|
|
652
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transfer/command/StartRemoteMoveCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/StartRemoteMoveCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transfer/Interface/StartRemoteMoveCommandOutput/)
|
|
653
|
+
|
|
638
654
|
</details>
|
|
639
655
|
<details>
|
|
640
656
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -120,6 +120,8 @@ __export(index_exports, {
|
|
|
120
120
|
SigningAlg: () => SigningAlg,
|
|
121
121
|
StartDirectoryListingCommand: () => StartDirectoryListingCommand,
|
|
122
122
|
StartFileTransferCommand: () => StartFileTransferCommand,
|
|
123
|
+
StartRemoteDeleteCommand: () => StartRemoteDeleteCommand,
|
|
124
|
+
StartRemoteMoveCommand: () => StartRemoteMoveCommand,
|
|
123
125
|
StartServerCommand: () => StartServerCommand,
|
|
124
126
|
State: () => State,
|
|
125
127
|
StopServerCommand: () => StopServerCommand,
|
|
@@ -1103,6 +1105,18 @@ var se_StartFileTransferCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1103
1105
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1104
1106
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1105
1107
|
}, "se_StartFileTransferCommand");
|
|
1108
|
+
var se_StartRemoteDeleteCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1109
|
+
const headers = sharedHeaders("StartRemoteDelete");
|
|
1110
|
+
let body;
|
|
1111
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1112
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1113
|
+
}, "se_StartRemoteDeleteCommand");
|
|
1114
|
+
var se_StartRemoteMoveCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1115
|
+
const headers = sharedHeaders("StartRemoteMove");
|
|
1116
|
+
let body;
|
|
1117
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1118
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1119
|
+
}, "se_StartRemoteMoveCommand");
|
|
1106
1120
|
var se_StartServerCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1107
1121
|
const headers = sharedHeaders("StartServer");
|
|
1108
1122
|
let body;
|
|
@@ -1852,6 +1866,32 @@ var de_StartFileTransferCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1852
1866
|
};
|
|
1853
1867
|
return response;
|
|
1854
1868
|
}, "de_StartFileTransferCommand");
|
|
1869
|
+
var de_StartRemoteDeleteCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1870
|
+
if (output.statusCode >= 300) {
|
|
1871
|
+
return de_CommandError(output, context);
|
|
1872
|
+
}
|
|
1873
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1874
|
+
let contents = {};
|
|
1875
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1876
|
+
const response = {
|
|
1877
|
+
$metadata: deserializeMetadata(output),
|
|
1878
|
+
...contents
|
|
1879
|
+
};
|
|
1880
|
+
return response;
|
|
1881
|
+
}, "de_StartRemoteDeleteCommand");
|
|
1882
|
+
var de_StartRemoteMoveCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1883
|
+
if (output.statusCode >= 300) {
|
|
1884
|
+
return de_CommandError(output, context);
|
|
1885
|
+
}
|
|
1886
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1887
|
+
let contents = {};
|
|
1888
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1889
|
+
const response = {
|
|
1890
|
+
$metadata: deserializeMetadata(output),
|
|
1891
|
+
...contents
|
|
1892
|
+
};
|
|
1893
|
+
return response;
|
|
1894
|
+
}, "de_StartRemoteMoveCommand");
|
|
1855
1895
|
var de_StartServerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1856
1896
|
if (output.statusCode >= 300) {
|
|
1857
1897
|
return de_CommandError(output, context);
|
|
@@ -3158,6 +3198,36 @@ var StartFileTransferCommand = class extends import_smithy_client.Command.classB
|
|
|
3158
3198
|
}
|
|
3159
3199
|
};
|
|
3160
3200
|
|
|
3201
|
+
// src/commands/StartRemoteDeleteCommand.ts
|
|
3202
|
+
|
|
3203
|
+
|
|
3204
|
+
|
|
3205
|
+
var StartRemoteDeleteCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3206
|
+
return [
|
|
3207
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3208
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3209
|
+
];
|
|
3210
|
+
}).s("TransferService", "StartRemoteDelete", {}).n("TransferClient", "StartRemoteDeleteCommand").f(void 0, void 0).ser(se_StartRemoteDeleteCommand).de(de_StartRemoteDeleteCommand).build() {
|
|
3211
|
+
static {
|
|
3212
|
+
__name(this, "StartRemoteDeleteCommand");
|
|
3213
|
+
}
|
|
3214
|
+
};
|
|
3215
|
+
|
|
3216
|
+
// src/commands/StartRemoteMoveCommand.ts
|
|
3217
|
+
|
|
3218
|
+
|
|
3219
|
+
|
|
3220
|
+
var StartRemoteMoveCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3221
|
+
return [
|
|
3222
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3223
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3224
|
+
];
|
|
3225
|
+
}).s("TransferService", "StartRemoteMove", {}).n("TransferClient", "StartRemoteMoveCommand").f(void 0, void 0).ser(se_StartRemoteMoveCommand).de(de_StartRemoteMoveCommand).build() {
|
|
3226
|
+
static {
|
|
3227
|
+
__name(this, "StartRemoteMoveCommand");
|
|
3228
|
+
}
|
|
3229
|
+
};
|
|
3230
|
+
|
|
3161
3231
|
// src/commands/StartServerCommand.ts
|
|
3162
3232
|
|
|
3163
3233
|
|
|
@@ -3453,6 +3523,8 @@ var commands = {
|
|
|
3453
3523
|
SendWorkflowStepStateCommand,
|
|
3454
3524
|
StartDirectoryListingCommand,
|
|
3455
3525
|
StartFileTransferCommand,
|
|
3526
|
+
StartRemoteDeleteCommand,
|
|
3527
|
+
StartRemoteMoveCommand,
|
|
3456
3528
|
StartServerCommand,
|
|
3457
3529
|
StopServerCommand,
|
|
3458
3530
|
TagResourceCommand,
|
|
@@ -3669,6 +3741,8 @@ var waitUntilServerOnline = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
3669
3741
|
SendWorkflowStepStateCommand,
|
|
3670
3742
|
StartDirectoryListingCommand,
|
|
3671
3743
|
StartFileTransferCommand,
|
|
3744
|
+
StartRemoteDeleteCommand,
|
|
3745
|
+
StartRemoteMoveCommand,
|
|
3672
3746
|
StartServerCommand,
|
|
3673
3747
|
StopServerCommand,
|
|
3674
3748
|
TagResourceCommand,
|
package/dist-es/Transfer.js
CHANGED
|
@@ -52,6 +52,8 @@ import { ListWorkflowsCommand, } from "./commands/ListWorkflowsCommand";
|
|
|
52
52
|
import { SendWorkflowStepStateCommand, } from "./commands/SendWorkflowStepStateCommand";
|
|
53
53
|
import { StartDirectoryListingCommand, } from "./commands/StartDirectoryListingCommand";
|
|
54
54
|
import { StartFileTransferCommand, } from "./commands/StartFileTransferCommand";
|
|
55
|
+
import { StartRemoteDeleteCommand, } from "./commands/StartRemoteDeleteCommand";
|
|
56
|
+
import { StartRemoteMoveCommand, } from "./commands/StartRemoteMoveCommand";
|
|
55
57
|
import { StartServerCommand } from "./commands/StartServerCommand";
|
|
56
58
|
import { StopServerCommand } from "./commands/StopServerCommand";
|
|
57
59
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
@@ -123,6 +125,8 @@ const commands = {
|
|
|
123
125
|
SendWorkflowStepStateCommand,
|
|
124
126
|
StartDirectoryListingCommand,
|
|
125
127
|
StartFileTransferCommand,
|
|
128
|
+
StartRemoteDeleteCommand,
|
|
129
|
+
StartRemoteMoveCommand,
|
|
126
130
|
StartServerCommand,
|
|
127
131
|
StopServerCommand,
|
|
128
132
|
TagResourceCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_StartRemoteDeleteCommand, se_StartRemoteDeleteCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StartRemoteDeleteCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("TransferService", "StartRemoteDelete", {})
|
|
17
|
+
.n("TransferClient", "StartRemoteDeleteCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_StartRemoteDeleteCommand)
|
|
20
|
+
.de(de_StartRemoteDeleteCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_StartRemoteMoveCommand, se_StartRemoteMoveCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StartRemoteMoveCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("TransferService", "StartRemoteMove", {})
|
|
17
|
+
.n("TransferClient", "StartRemoteMoveCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_StartRemoteMoveCommand)
|
|
20
|
+
.de(de_StartRemoteMoveCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -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";
|
|
@@ -321,6 +321,18 @@ export const se_StartFileTransferCommand = async (input, context) => {
|
|
|
321
321
|
body = JSON.stringify(_json(input));
|
|
322
322
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
323
323
|
};
|
|
324
|
+
export const se_StartRemoteDeleteCommand = async (input, context) => {
|
|
325
|
+
const headers = sharedHeaders("StartRemoteDelete");
|
|
326
|
+
let body;
|
|
327
|
+
body = JSON.stringify(_json(input));
|
|
328
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
329
|
+
};
|
|
330
|
+
export const se_StartRemoteMoveCommand = async (input, context) => {
|
|
331
|
+
const headers = sharedHeaders("StartRemoteMove");
|
|
332
|
+
let body;
|
|
333
|
+
body = JSON.stringify(_json(input));
|
|
334
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
335
|
+
};
|
|
324
336
|
export const se_StartServerCommand = async (input, context) => {
|
|
325
337
|
const headers = sharedHeaders("StartServer");
|
|
326
338
|
let body;
|
|
@@ -1070,6 +1082,32 @@ export const de_StartFileTransferCommand = async (output, context) => {
|
|
|
1070
1082
|
};
|
|
1071
1083
|
return response;
|
|
1072
1084
|
};
|
|
1085
|
+
export const de_StartRemoteDeleteCommand = async (output, context) => {
|
|
1086
|
+
if (output.statusCode >= 300) {
|
|
1087
|
+
return de_CommandError(output, context);
|
|
1088
|
+
}
|
|
1089
|
+
const data = await parseBody(output.body, context);
|
|
1090
|
+
let contents = {};
|
|
1091
|
+
contents = _json(data);
|
|
1092
|
+
const response = {
|
|
1093
|
+
$metadata: deserializeMetadata(output),
|
|
1094
|
+
...contents,
|
|
1095
|
+
};
|
|
1096
|
+
return response;
|
|
1097
|
+
};
|
|
1098
|
+
export const de_StartRemoteMoveCommand = async (output, context) => {
|
|
1099
|
+
if (output.statusCode >= 300) {
|
|
1100
|
+
return de_CommandError(output, context);
|
|
1101
|
+
}
|
|
1102
|
+
const data = await parseBody(output.body, context);
|
|
1103
|
+
let contents = {};
|
|
1104
|
+
contents = _json(data);
|
|
1105
|
+
const response = {
|
|
1106
|
+
$metadata: deserializeMetadata(output),
|
|
1107
|
+
...contents,
|
|
1108
|
+
};
|
|
1109
|
+
return response;
|
|
1110
|
+
};
|
|
1073
1111
|
export const de_StartServerCommand = async (output, context) => {
|
|
1074
1112
|
if (output.statusCode >= 300) {
|
|
1075
1113
|
return de_CommandError(output, context);
|
package/dist-types/Transfer.d.ts
CHANGED
|
@@ -52,6 +52,8 @@ import { ListWorkflowsCommandInput, ListWorkflowsCommandOutput } from "./command
|
|
|
52
52
|
import { SendWorkflowStepStateCommandInput, SendWorkflowStepStateCommandOutput } from "./commands/SendWorkflowStepStateCommand";
|
|
53
53
|
import { StartDirectoryListingCommandInput, StartDirectoryListingCommandOutput } from "./commands/StartDirectoryListingCommand";
|
|
54
54
|
import { StartFileTransferCommandInput, StartFileTransferCommandOutput } from "./commands/StartFileTransferCommand";
|
|
55
|
+
import { StartRemoteDeleteCommandInput, StartRemoteDeleteCommandOutput } from "./commands/StartRemoteDeleteCommand";
|
|
56
|
+
import { StartRemoteMoveCommandInput, StartRemoteMoveCommandOutput } from "./commands/StartRemoteMoveCommand";
|
|
55
57
|
import { StartServerCommandInput, StartServerCommandOutput } from "./commands/StartServerCommand";
|
|
56
58
|
import { StopServerCommandInput, StopServerCommandOutput } from "./commands/StopServerCommand";
|
|
57
59
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
@@ -396,6 +398,18 @@ export interface Transfer {
|
|
|
396
398
|
startFileTransfer(args: StartFileTransferCommandInput, options?: __HttpHandlerOptions): Promise<StartFileTransferCommandOutput>;
|
|
397
399
|
startFileTransfer(args: StartFileTransferCommandInput, cb: (err: any, data?: StartFileTransferCommandOutput) => void): void;
|
|
398
400
|
startFileTransfer(args: StartFileTransferCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartFileTransferCommandOutput) => void): void;
|
|
401
|
+
/**
|
|
402
|
+
* @see {@link StartRemoteDeleteCommand}
|
|
403
|
+
*/
|
|
404
|
+
startRemoteDelete(args: StartRemoteDeleteCommandInput, options?: __HttpHandlerOptions): Promise<StartRemoteDeleteCommandOutput>;
|
|
405
|
+
startRemoteDelete(args: StartRemoteDeleteCommandInput, cb: (err: any, data?: StartRemoteDeleteCommandOutput) => void): void;
|
|
406
|
+
startRemoteDelete(args: StartRemoteDeleteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartRemoteDeleteCommandOutput) => void): void;
|
|
407
|
+
/**
|
|
408
|
+
* @see {@link StartRemoteMoveCommand}
|
|
409
|
+
*/
|
|
410
|
+
startRemoteMove(args: StartRemoteMoveCommandInput, options?: __HttpHandlerOptions): Promise<StartRemoteMoveCommandOutput>;
|
|
411
|
+
startRemoteMove(args: StartRemoteMoveCommandInput, cb: (err: any, data?: StartRemoteMoveCommandOutput) => void): void;
|
|
412
|
+
startRemoteMove(args: StartRemoteMoveCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartRemoteMoveCommandOutput) => void): void;
|
|
399
413
|
/**
|
|
400
414
|
* @see {@link StartServerCommand}
|
|
401
415
|
*/
|
|
@@ -60,6 +60,8 @@ import { ListWorkflowsCommandInput, ListWorkflowsCommandOutput } from "./command
|
|
|
60
60
|
import { SendWorkflowStepStateCommandInput, SendWorkflowStepStateCommandOutput } from "./commands/SendWorkflowStepStateCommand";
|
|
61
61
|
import { StartDirectoryListingCommandInput, StartDirectoryListingCommandOutput } from "./commands/StartDirectoryListingCommand";
|
|
62
62
|
import { StartFileTransferCommandInput, StartFileTransferCommandOutput } from "./commands/StartFileTransferCommand";
|
|
63
|
+
import { StartRemoteDeleteCommandInput, StartRemoteDeleteCommandOutput } from "./commands/StartRemoteDeleteCommand";
|
|
64
|
+
import { StartRemoteMoveCommandInput, StartRemoteMoveCommandOutput } from "./commands/StartRemoteMoveCommand";
|
|
63
65
|
import { StartServerCommandInput, StartServerCommandOutput } from "./commands/StartServerCommand";
|
|
64
66
|
import { StopServerCommandInput, StopServerCommandOutput } from "./commands/StopServerCommand";
|
|
65
67
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
@@ -82,11 +84,11 @@ export { __Client };
|
|
|
82
84
|
/**
|
|
83
85
|
* @public
|
|
84
86
|
*/
|
|
85
|
-
export type ServiceInputTypes = CreateAccessCommandInput | CreateAgreementCommandInput | CreateConnectorCommandInput | CreateProfileCommandInput | CreateServerCommandInput | CreateUserCommandInput | CreateWebAppCommandInput | CreateWorkflowCommandInput | DeleteAccessCommandInput | DeleteAgreementCommandInput | DeleteCertificateCommandInput | DeleteConnectorCommandInput | DeleteHostKeyCommandInput | DeleteProfileCommandInput | DeleteServerCommandInput | DeleteSshPublicKeyCommandInput | DeleteUserCommandInput | DeleteWebAppCommandInput | DeleteWebAppCustomizationCommandInput | DeleteWorkflowCommandInput | DescribeAccessCommandInput | DescribeAgreementCommandInput | DescribeCertificateCommandInput | DescribeConnectorCommandInput | DescribeExecutionCommandInput | DescribeHostKeyCommandInput | DescribeProfileCommandInput | DescribeSecurityPolicyCommandInput | DescribeServerCommandInput | DescribeUserCommandInput | DescribeWebAppCommandInput | DescribeWebAppCustomizationCommandInput | DescribeWorkflowCommandInput | ImportCertificateCommandInput | ImportHostKeyCommandInput | ImportSshPublicKeyCommandInput | ListAccessesCommandInput | ListAgreementsCommandInput | ListCertificatesCommandInput | ListConnectorsCommandInput | ListExecutionsCommandInput | ListFileTransferResultsCommandInput | ListHostKeysCommandInput | ListProfilesCommandInput | ListSecurityPoliciesCommandInput | ListServersCommandInput | ListTagsForResourceCommandInput | ListUsersCommandInput | ListWebAppsCommandInput | ListWorkflowsCommandInput | SendWorkflowStepStateCommandInput | StartDirectoryListingCommandInput | StartFileTransferCommandInput | StartServerCommandInput | StopServerCommandInput | TagResourceCommandInput | TestConnectionCommandInput | TestIdentityProviderCommandInput | UntagResourceCommandInput | UpdateAccessCommandInput | UpdateAgreementCommandInput | UpdateCertificateCommandInput | UpdateConnectorCommandInput | UpdateHostKeyCommandInput | UpdateProfileCommandInput | UpdateServerCommandInput | UpdateUserCommandInput | UpdateWebAppCommandInput | UpdateWebAppCustomizationCommandInput;
|
|
87
|
+
export type ServiceInputTypes = CreateAccessCommandInput | CreateAgreementCommandInput | CreateConnectorCommandInput | CreateProfileCommandInput | CreateServerCommandInput | CreateUserCommandInput | CreateWebAppCommandInput | CreateWorkflowCommandInput | DeleteAccessCommandInput | DeleteAgreementCommandInput | DeleteCertificateCommandInput | DeleteConnectorCommandInput | DeleteHostKeyCommandInput | DeleteProfileCommandInput | DeleteServerCommandInput | DeleteSshPublicKeyCommandInput | DeleteUserCommandInput | DeleteWebAppCommandInput | DeleteWebAppCustomizationCommandInput | DeleteWorkflowCommandInput | DescribeAccessCommandInput | DescribeAgreementCommandInput | DescribeCertificateCommandInput | DescribeConnectorCommandInput | DescribeExecutionCommandInput | DescribeHostKeyCommandInput | DescribeProfileCommandInput | DescribeSecurityPolicyCommandInput | DescribeServerCommandInput | DescribeUserCommandInput | DescribeWebAppCommandInput | DescribeWebAppCustomizationCommandInput | DescribeWorkflowCommandInput | ImportCertificateCommandInput | ImportHostKeyCommandInput | ImportSshPublicKeyCommandInput | ListAccessesCommandInput | ListAgreementsCommandInput | ListCertificatesCommandInput | ListConnectorsCommandInput | ListExecutionsCommandInput | ListFileTransferResultsCommandInput | ListHostKeysCommandInput | ListProfilesCommandInput | ListSecurityPoliciesCommandInput | ListServersCommandInput | ListTagsForResourceCommandInput | ListUsersCommandInput | ListWebAppsCommandInput | ListWorkflowsCommandInput | SendWorkflowStepStateCommandInput | StartDirectoryListingCommandInput | StartFileTransferCommandInput | StartRemoteDeleteCommandInput | StartRemoteMoveCommandInput | StartServerCommandInput | StopServerCommandInput | TagResourceCommandInput | TestConnectionCommandInput | TestIdentityProviderCommandInput | UntagResourceCommandInput | UpdateAccessCommandInput | UpdateAgreementCommandInput | UpdateCertificateCommandInput | UpdateConnectorCommandInput | UpdateHostKeyCommandInput | UpdateProfileCommandInput | UpdateServerCommandInput | UpdateUserCommandInput | UpdateWebAppCommandInput | UpdateWebAppCustomizationCommandInput;
|
|
86
88
|
/**
|
|
87
89
|
* @public
|
|
88
90
|
*/
|
|
89
|
-
export type ServiceOutputTypes = CreateAccessCommandOutput | CreateAgreementCommandOutput | CreateConnectorCommandOutput | CreateProfileCommandOutput | CreateServerCommandOutput | CreateUserCommandOutput | CreateWebAppCommandOutput | CreateWorkflowCommandOutput | DeleteAccessCommandOutput | DeleteAgreementCommandOutput | DeleteCertificateCommandOutput | DeleteConnectorCommandOutput | DeleteHostKeyCommandOutput | DeleteProfileCommandOutput | DeleteServerCommandOutput | DeleteSshPublicKeyCommandOutput | DeleteUserCommandOutput | DeleteWebAppCommandOutput | DeleteWebAppCustomizationCommandOutput | DeleteWorkflowCommandOutput | DescribeAccessCommandOutput | DescribeAgreementCommandOutput | DescribeCertificateCommandOutput | DescribeConnectorCommandOutput | DescribeExecutionCommandOutput | DescribeHostKeyCommandOutput | DescribeProfileCommandOutput | DescribeSecurityPolicyCommandOutput | DescribeServerCommandOutput | DescribeUserCommandOutput | DescribeWebAppCommandOutput | DescribeWebAppCustomizationCommandOutput | DescribeWorkflowCommandOutput | ImportCertificateCommandOutput | ImportHostKeyCommandOutput | ImportSshPublicKeyCommandOutput | ListAccessesCommandOutput | ListAgreementsCommandOutput | ListCertificatesCommandOutput | ListConnectorsCommandOutput | ListExecutionsCommandOutput | ListFileTransferResultsCommandOutput | ListHostKeysCommandOutput | ListProfilesCommandOutput | ListSecurityPoliciesCommandOutput | ListServersCommandOutput | ListTagsForResourceCommandOutput | ListUsersCommandOutput | ListWebAppsCommandOutput | ListWorkflowsCommandOutput | SendWorkflowStepStateCommandOutput | StartDirectoryListingCommandOutput | StartFileTransferCommandOutput | StartServerCommandOutput | StopServerCommandOutput | TagResourceCommandOutput | TestConnectionCommandOutput | TestIdentityProviderCommandOutput | UntagResourceCommandOutput | UpdateAccessCommandOutput | UpdateAgreementCommandOutput | UpdateCertificateCommandOutput | UpdateConnectorCommandOutput | UpdateHostKeyCommandOutput | UpdateProfileCommandOutput | UpdateServerCommandOutput | UpdateUserCommandOutput | UpdateWebAppCommandOutput | UpdateWebAppCustomizationCommandOutput;
|
|
91
|
+
export type ServiceOutputTypes = CreateAccessCommandOutput | CreateAgreementCommandOutput | CreateConnectorCommandOutput | CreateProfileCommandOutput | CreateServerCommandOutput | CreateUserCommandOutput | CreateWebAppCommandOutput | CreateWorkflowCommandOutput | DeleteAccessCommandOutput | DeleteAgreementCommandOutput | DeleteCertificateCommandOutput | DeleteConnectorCommandOutput | DeleteHostKeyCommandOutput | DeleteProfileCommandOutput | DeleteServerCommandOutput | DeleteSshPublicKeyCommandOutput | DeleteUserCommandOutput | DeleteWebAppCommandOutput | DeleteWebAppCustomizationCommandOutput | DeleteWorkflowCommandOutput | DescribeAccessCommandOutput | DescribeAgreementCommandOutput | DescribeCertificateCommandOutput | DescribeConnectorCommandOutput | DescribeExecutionCommandOutput | DescribeHostKeyCommandOutput | DescribeProfileCommandOutput | DescribeSecurityPolicyCommandOutput | DescribeServerCommandOutput | DescribeUserCommandOutput | DescribeWebAppCommandOutput | DescribeWebAppCustomizationCommandOutput | DescribeWorkflowCommandOutput | ImportCertificateCommandOutput | ImportHostKeyCommandOutput | ImportSshPublicKeyCommandOutput | ListAccessesCommandOutput | ListAgreementsCommandOutput | ListCertificatesCommandOutput | ListConnectorsCommandOutput | ListExecutionsCommandOutput | ListFileTransferResultsCommandOutput | ListHostKeysCommandOutput | ListProfilesCommandOutput | ListSecurityPoliciesCommandOutput | ListServersCommandOutput | ListTagsForResourceCommandOutput | ListUsersCommandOutput | ListWebAppsCommandOutput | ListWorkflowsCommandOutput | SendWorkflowStepStateCommandOutput | StartDirectoryListingCommandOutput | StartFileTransferCommandOutput | StartRemoteDeleteCommandOutput | StartRemoteMoveCommandOutput | StartServerCommandOutput | StopServerCommandOutput | TagResourceCommandOutput | TestConnectionCommandOutput | TestIdentityProviderCommandOutput | UntagResourceCommandOutput | UpdateAccessCommandOutput | UpdateAgreementCommandOutput | UpdateCertificateCommandOutput | UpdateConnectorCommandOutput | UpdateHostKeyCommandOutput | UpdateProfileCommandOutput | UpdateServerCommandOutput | UpdateUserCommandOutput | UpdateWebAppCommandOutput | UpdateWebAppCustomizationCommandOutput;
|
|
90
92
|
/**
|
|
91
93
|
* @public
|
|
92
94
|
*/
|
|
@@ -30,6 +30,12 @@ declare const ImportCertificateCommand_base: {
|
|
|
30
30
|
* <p>Imports the signing and encryption certificates that you need to create local (AS2)
|
|
31
31
|
* profiles and partner
|
|
32
32
|
* profiles.</p>
|
|
33
|
+
* <p>You can import both the certificate and its chain in the <code>Certificate</code>
|
|
34
|
+
* parameter.</p>
|
|
35
|
+
* <note>
|
|
36
|
+
* <p>If you use the <code>Certificate</code> parameter to upload both the certificate and its
|
|
37
|
+
* chain, don't use the <code>CertificateChain</code> parameter.</p>
|
|
38
|
+
* </note>
|
|
33
39
|
* @example
|
|
34
40
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
41
|
* ```javascript
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { StartRemoteDeleteRequest, StartRemoteDeleteResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StartRemoteDeleteCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartRemoteDeleteCommandInput extends StartRemoteDeleteRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartRemoteDeleteCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartRemoteDeleteCommandOutput extends StartRemoteDeleteResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StartRemoteDeleteCommand_base: {
|
|
25
|
+
new (input: StartRemoteDeleteCommandInput): import("@smithy/smithy-client").CommandImpl<StartRemoteDeleteCommandInput, StartRemoteDeleteCommandOutput, TransferClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: StartRemoteDeleteCommandInput): import("@smithy/smithy-client").CommandImpl<StartRemoteDeleteCommandInput, StartRemoteDeleteCommandOutput, TransferClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a file or directory on the remote SFTP server.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { TransferClient, StartRemoteDeleteCommand } from "@aws-sdk/client-transfer"; // ES Modules import
|
|
35
|
+
* // const { TransferClient, StartRemoteDeleteCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
|
|
36
|
+
* const client = new TransferClient(config);
|
|
37
|
+
* const input = { // StartRemoteDeleteRequest
|
|
38
|
+
* ConnectorId: "STRING_VALUE", // required
|
|
39
|
+
* DeletePath: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new StartRemoteDeleteCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // StartRemoteDeleteResponse
|
|
44
|
+
* // DeleteId: "STRING_VALUE", // required
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param StartRemoteDeleteCommandInput - {@link StartRemoteDeleteCommandInput}
|
|
50
|
+
* @returns {@link StartRemoteDeleteCommandOutput}
|
|
51
|
+
* @see {@link StartRemoteDeleteCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link StartRemoteDeleteCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link TransferClientResolvedConfig | config} for TransferClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link InternalServiceError} (server fault)
|
|
56
|
+
* <p>This exception is thrown when an error occurs in the Transfer Family service.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
59
|
+
* <p>This exception is thrown when the client submits a malformed request.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
+
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family
|
|
63
|
+
* service.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
66
|
+
* <p>The request has failed because the Amazon Web ServicesTransfer Family service is not available.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* <p>The request was denied due to request throttling.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link TransferServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from Transfer service.</p>
|
|
73
|
+
*
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class StartRemoteDeleteCommand extends StartRemoteDeleteCommand_base {
|
|
78
|
+
/** @internal type navigation helper, not in runtime. */
|
|
79
|
+
protected static __types: {
|
|
80
|
+
api: {
|
|
81
|
+
input: StartRemoteDeleteRequest;
|
|
82
|
+
output: StartRemoteDeleteResponse;
|
|
83
|
+
};
|
|
84
|
+
sdk: {
|
|
85
|
+
input: StartRemoteDeleteCommandInput;
|
|
86
|
+
output: StartRemoteDeleteCommandOutput;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { StartRemoteMoveRequest, StartRemoteMoveResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StartRemoteMoveCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartRemoteMoveCommandInput extends StartRemoteMoveRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartRemoteMoveCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartRemoteMoveCommandOutput extends StartRemoteMoveResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StartRemoteMoveCommand_base: {
|
|
25
|
+
new (input: StartRemoteMoveCommandInput): import("@smithy/smithy-client").CommandImpl<StartRemoteMoveCommandInput, StartRemoteMoveCommandOutput, TransferClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: StartRemoteMoveCommandInput): import("@smithy/smithy-client").CommandImpl<StartRemoteMoveCommandInput, StartRemoteMoveCommandOutput, TransferClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Moves or renames a file or directory on the remote SFTP server.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { TransferClient, StartRemoteMoveCommand } from "@aws-sdk/client-transfer"; // ES Modules import
|
|
35
|
+
* // const { TransferClient, StartRemoteMoveCommand } = require("@aws-sdk/client-transfer"); // CommonJS import
|
|
36
|
+
* const client = new TransferClient(config);
|
|
37
|
+
* const input = { // StartRemoteMoveRequest
|
|
38
|
+
* ConnectorId: "STRING_VALUE", // required
|
|
39
|
+
* SourcePath: "STRING_VALUE", // required
|
|
40
|
+
* TargetPath: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new StartRemoteMoveCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // StartRemoteMoveResponse
|
|
45
|
+
* // MoveId: "STRING_VALUE", // required
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param StartRemoteMoveCommandInput - {@link StartRemoteMoveCommandInput}
|
|
51
|
+
* @returns {@link StartRemoteMoveCommandOutput}
|
|
52
|
+
* @see {@link StartRemoteMoveCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link StartRemoteMoveCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link TransferClientResolvedConfig | config} for TransferClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link InternalServiceError} (server fault)
|
|
57
|
+
* <p>This exception is thrown when an error occurs in the Transfer Family service.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
60
|
+
* <p>This exception is thrown when the client submits a malformed request.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family
|
|
64
|
+
* service.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
67
|
+
* <p>The request has failed because the Amazon Web ServicesTransfer Family service is not available.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>The request was denied due to request throttling.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link TransferServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from Transfer service.</p>
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class StartRemoteMoveCommand extends StartRemoteMoveCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: StartRemoteMoveRequest;
|
|
83
|
+
output: StartRemoteMoveResponse;
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: StartRemoteMoveCommandInput;
|
|
87
|
+
output: StartRemoteMoveCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -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";
|
|
@@ -889,7 +889,7 @@ export interface As2ConnectorConfig {
|
|
|
889
889
|
*/
|
|
890
890
|
MdnSigningAlgorithm?: MdnSigningAlg | undefined;
|
|
891
891
|
/**
|
|
892
|
-
* <p>Used for outbound requests (from an Transfer Family
|
|
892
|
+
* <p>Used for outbound requests (from an Transfer Family connector to a partner AS2 server) to determine whether
|
|
893
893
|
* the partner response for transfers is synchronous or asynchronous. Specify either of the following values:</p>
|
|
894
894
|
* <ul>
|
|
895
895
|
* <li>
|
|
@@ -1045,7 +1045,14 @@ export interface DescribedCertificate {
|
|
|
1045
1045
|
*/
|
|
1046
1046
|
Usage?: CertificateUsageType | undefined;
|
|
1047
1047
|
/**
|
|
1048
|
-
* <p>
|
|
1048
|
+
* <p>A certificate's status can be either <code>ACTIVE</code> or <code>INACTIVE</code>.</p>
|
|
1049
|
+
* <p>You can set <code>ActiveDate</code> and <code>InactiveDate</code> in the
|
|
1050
|
+
* <code>UpdateCertificate</code> call. If you set values for these parameters, those values
|
|
1051
|
+
* are used to determine whether the certificate has a status of <code>ACTIVE</code> or
|
|
1052
|
+
* <code>INACTIVE</code>.</p>
|
|
1053
|
+
* <p>If you don't set values for <code>ActiveDate</code> and <code>InactiveDate</code>, we use
|
|
1054
|
+
* the <code>NotBefore</code> and <code>NotAfter</code> date as specified on the X509 certificate
|
|
1055
|
+
* to determine when a certificate is active and when it is inactive.</p>
|
|
1049
1056
|
* @public
|
|
1050
1057
|
*/
|
|
1051
1058
|
Status?: CertificateStatusType | undefined;
|
|
@@ -1060,12 +1067,15 @@ export interface DescribedCertificate {
|
|
|
1060
1067
|
*/
|
|
1061
1068
|
CertificateChain?: string | undefined;
|
|
1062
1069
|
/**
|
|
1063
|
-
* <p>An optional date that specifies when the certificate becomes active
|
|
1070
|
+
* <p>An optional date that specifies when the certificate becomes active. If you do not specify a value, <code>ActiveDate</code> takes the same value as
|
|
1071
|
+
* <code>NotBeforeDate</code>, which is specified by the CA.
|
|
1072
|
+
* </p>
|
|
1064
1073
|
* @public
|
|
1065
1074
|
*/
|
|
1066
1075
|
ActiveDate?: Date | undefined;
|
|
1067
1076
|
/**
|
|
1068
|
-
* <p>An optional date that specifies when the certificate becomes inactive
|
|
1077
|
+
* <p>An optional date that specifies when the certificate becomes inactive. If you do not specify a value, <code>InactiveDate</code> takes the same value as
|
|
1078
|
+
* <code>NotAfterDate</code>, which is specified by the CA.</p>
|
|
1069
1079
|
* @public
|
|
1070
1080
|
*/
|
|
1071
1081
|
InactiveDate?: Date | undefined;
|
|
@@ -1144,6 +1154,11 @@ export interface ImportCertificateRequest {
|
|
|
1144
1154
|
* <p>For the SDK, specify the raw content of a certificate file. For example, <code>--certificate "`cat encryption-cert.pem`"</code>.</p>
|
|
1145
1155
|
* </li>
|
|
1146
1156
|
* </ul>
|
|
1157
|
+
* <note>
|
|
1158
|
+
* <p>You can provide both the certificate and its chain in this parameter, without needing to
|
|
1159
|
+
* use the <code>CertificateChain</code> parameter. If you use this parameter for both the
|
|
1160
|
+
* certificate and its chain, do not use the <code>CertificateChain</code> parameter.</p>
|
|
1161
|
+
* </note>
|
|
1147
1162
|
* @public
|
|
1148
1163
|
*/
|
|
1149
1164
|
Certificate: string | undefined;
|
|
@@ -1156,8 +1171,9 @@ export interface ImportCertificateRequest {
|
|
|
1156
1171
|
/**
|
|
1157
1172
|
* <ul>
|
|
1158
1173
|
* <li>
|
|
1159
|
-
* <p>For the CLI, provide a file path for a private key in URI format.For example,
|
|
1160
|
-
*
|
|
1174
|
+
* <p>For the CLI, provide a file path for a private key in URI format. For example,
|
|
1175
|
+
* <code>--private-key file://encryption-key.pem</code>. Alternatively, you can provide the
|
|
1176
|
+
* raw content of the private key file.</p>
|
|
1161
1177
|
* </li>
|
|
1162
1178
|
* <li>
|
|
1163
1179
|
* <p>For the SDK, specify the raw content of a private key file. For example, <code>--private-key "`cat encryption-key.pem`"</code>
|
|
@@ -1168,12 +1184,15 @@ export interface ImportCertificateRequest {
|
|
|
1168
1184
|
*/
|
|
1169
1185
|
PrivateKey?: string | undefined;
|
|
1170
1186
|
/**
|
|
1171
|
-
* <p>An optional date that specifies when the certificate becomes active
|
|
1187
|
+
* <p>An optional date that specifies when the certificate becomes active. If you do not specify a value, <code>ActiveDate</code> takes the same value as
|
|
1188
|
+
* <code>NotBeforeDate</code>, which is specified by the CA.
|
|
1189
|
+
* </p>
|
|
1172
1190
|
* @public
|
|
1173
1191
|
*/
|
|
1174
1192
|
ActiveDate?: Date | undefined;
|
|
1175
1193
|
/**
|
|
1176
|
-
* <p>An optional date that specifies when the certificate becomes inactive
|
|
1194
|
+
* <p>An optional date that specifies when the certificate becomes inactive. If you do not specify a value, <code>InactiveDate</code> takes the same value as
|
|
1195
|
+
* <code>NotAfterDate</code>, which is specified by the CA.</p>
|
|
1177
1196
|
* @public
|
|
1178
1197
|
*/
|
|
1179
1198
|
InactiveDate?: Date | undefined;
|
|
@@ -1258,12 +1277,15 @@ export interface ListedCertificate {
|
|
|
1258
1277
|
*/
|
|
1259
1278
|
Status?: CertificateStatusType | undefined;
|
|
1260
1279
|
/**
|
|
1261
|
-
* <p>An optional date that specifies when the certificate becomes active
|
|
1280
|
+
* <p>An optional date that specifies when the certificate becomes active. If you do not specify a value, <code>ActiveDate</code> takes the same value as
|
|
1281
|
+
* <code>NotBeforeDate</code>, which is specified by the CA.
|
|
1282
|
+
* </p>
|
|
1262
1283
|
* @public
|
|
1263
1284
|
*/
|
|
1264
1285
|
ActiveDate?: Date | undefined;
|
|
1265
1286
|
/**
|
|
1266
|
-
* <p>An optional date that specifies when the certificate becomes inactive
|
|
1287
|
+
* <p>An optional date that specifies when the certificate becomes inactive. If you do not specify a value, <code>InactiveDate</code> takes the same value as
|
|
1288
|
+
* <code>NotAfterDate</code>, which is specified by the CA.</p>
|
|
1267
1289
|
* @public
|
|
1268
1290
|
*/
|
|
1269
1291
|
InactiveDate?: Date | undefined;
|
|
@@ -1306,12 +1328,15 @@ export interface UpdateCertificateRequest {
|
|
|
1306
1328
|
*/
|
|
1307
1329
|
CertificateId: string | undefined;
|
|
1308
1330
|
/**
|
|
1309
|
-
* <p>An optional date that specifies when the certificate becomes active
|
|
1331
|
+
* <p>An optional date that specifies when the certificate becomes active. If you do not specify a value, <code>ActiveDate</code> takes the same value as
|
|
1332
|
+
* <code>NotBeforeDate</code>, which is specified by the CA.
|
|
1333
|
+
* </p>
|
|
1310
1334
|
* @public
|
|
1311
1335
|
*/
|
|
1312
1336
|
ActiveDate?: Date | undefined;
|
|
1313
1337
|
/**
|
|
1314
|
-
* <p>An optional date that specifies when the certificate becomes inactive
|
|
1338
|
+
* <p>An optional date that specifies when the certificate becomes inactive. If you do not specify a value, <code>InactiveDate</code> takes the same value as
|
|
1339
|
+
* <code>NotAfterDate</code>, which is specified by the CA.</p>
|
|
1315
1340
|
* @public
|
|
1316
1341
|
*/
|
|
1317
1342
|
InactiveDate?: Date | undefined;
|
|
@@ -2711,7 +2736,7 @@ export interface CreateServerRequest {
|
|
|
2711
2736
|
IdentityProviderType?: IdentityProviderType | undefined;
|
|
2712
2737
|
/**
|
|
2713
2738
|
* <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to turn
|
|
2714
|
-
* on Amazon CloudWatch logging for Amazon S3 or Amazon
|
|
2739
|
+
* on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When set, you can view user activity in
|
|
2715
2740
|
* your CloudWatch logs.</p>
|
|
2716
2741
|
* @public
|
|
2717
2742
|
*/
|
|
@@ -3862,7 +3887,7 @@ export interface FileLocation {
|
|
|
3862
3887
|
export interface LoggingConfiguration {
|
|
3863
3888
|
/**
|
|
3864
3889
|
* <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to turn
|
|
3865
|
-
* on Amazon CloudWatch logging for Amazon S3 or Amazon
|
|
3890
|
+
* on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When set, you can view user activity in
|
|
3866
3891
|
* your CloudWatch logs.</p>
|
|
3867
3892
|
* @public
|
|
3868
3893
|
*/
|
|
@@ -4458,7 +4483,7 @@ export interface DescribedServer {
|
|
|
4458
4483
|
IdentityProviderType?: IdentityProviderType | undefined;
|
|
4459
4484
|
/**
|
|
4460
4485
|
* <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to turn
|
|
4461
|
-
* on Amazon CloudWatch logging for Amazon S3 or Amazon
|
|
4486
|
+
* on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When set, you can view user activity in
|
|
4462
4487
|
* your CloudWatch logs.</p>
|
|
4463
4488
|
* @public
|
|
4464
4489
|
*/
|
|
@@ -5443,7 +5468,7 @@ export interface ListedServer {
|
|
|
5443
5468
|
EndpointType?: EndpointType | undefined;
|
|
5444
5469
|
/**
|
|
5445
5470
|
* <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to turn
|
|
5446
|
-
* on Amazon CloudWatch logging for Amazon S3 or Amazon
|
|
5471
|
+
* on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When set, you can view user activity in
|
|
5447
5472
|
* your CloudWatch logs.</p>
|
|
5448
5473
|
* @public
|
|
5449
5474
|
*/
|
|
@@ -6217,7 +6242,7 @@ export interface UpdateServerRequest {
|
|
|
6217
6242
|
IdentityProviderDetails?: IdentityProviderDetails | undefined;
|
|
6218
6243
|
/**
|
|
6219
6244
|
* <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to turn
|
|
6220
|
-
* on Amazon CloudWatch logging for Amazon S3 or Amazon
|
|
6245
|
+
* on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When set, you can view user activity in
|
|
6221
6246
|
* your CloudWatch logs.</p>
|
|
6222
6247
|
* @public
|
|
6223
6248
|
*/
|
|
@@ -6446,6 +6471,61 @@ export interface StartFileTransferResponse {
|
|
|
6446
6471
|
*/
|
|
6447
6472
|
TransferId: string | undefined;
|
|
6448
6473
|
}
|
|
6474
|
+
/**
|
|
6475
|
+
* @public
|
|
6476
|
+
*/
|
|
6477
|
+
export interface StartRemoteDeleteRequest {
|
|
6478
|
+
/**
|
|
6479
|
+
* <p>The unique identifier for the connector.</p>
|
|
6480
|
+
* @public
|
|
6481
|
+
*/
|
|
6482
|
+
ConnectorId: string | undefined;
|
|
6483
|
+
/**
|
|
6484
|
+
* <p>The absolute path of the file or directory to delete. You can only specify one path per call to this operation.</p>
|
|
6485
|
+
* @public
|
|
6486
|
+
*/
|
|
6487
|
+
DeletePath: string | undefined;
|
|
6488
|
+
}
|
|
6489
|
+
/**
|
|
6490
|
+
* @public
|
|
6491
|
+
*/
|
|
6492
|
+
export interface StartRemoteDeleteResponse {
|
|
6493
|
+
/**
|
|
6494
|
+
* <p>Returns a unique identifier for the delete operation.</p>
|
|
6495
|
+
* @public
|
|
6496
|
+
*/
|
|
6497
|
+
DeleteId: string | undefined;
|
|
6498
|
+
}
|
|
6499
|
+
/**
|
|
6500
|
+
* @public
|
|
6501
|
+
*/
|
|
6502
|
+
export interface StartRemoteMoveRequest {
|
|
6503
|
+
/**
|
|
6504
|
+
* <p>The unique identifier for the connector.</p>
|
|
6505
|
+
* @public
|
|
6506
|
+
*/
|
|
6507
|
+
ConnectorId: string | undefined;
|
|
6508
|
+
/**
|
|
6509
|
+
* <p>The absolute path of the file or directory to move or rename. You can only specify one path per call to this operation.</p>
|
|
6510
|
+
* @public
|
|
6511
|
+
*/
|
|
6512
|
+
SourcePath: string | undefined;
|
|
6513
|
+
/**
|
|
6514
|
+
* <p>The absolute path for the target of the move/rename operation.</p>
|
|
6515
|
+
* @public
|
|
6516
|
+
*/
|
|
6517
|
+
TargetPath: string | undefined;
|
|
6518
|
+
}
|
|
6519
|
+
/**
|
|
6520
|
+
* @public
|
|
6521
|
+
*/
|
|
6522
|
+
export interface StartRemoteMoveResponse {
|
|
6523
|
+
/**
|
|
6524
|
+
* <p>Returns a unique identifier for the move/rename operation.</p>
|
|
6525
|
+
* @public
|
|
6526
|
+
*/
|
|
6527
|
+
MoveId: string | undefined;
|
|
6528
|
+
}
|
|
6449
6529
|
/**
|
|
6450
6530
|
* @public
|
|
6451
6531
|
*/
|
|
@@ -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";
|
|
@@ -1260,6 +1260,21 @@ export interface StartFileTransferRequest {
|
|
|
1260
1260
|
export interface StartFileTransferResponse {
|
|
1261
1261
|
TransferId: string | undefined;
|
|
1262
1262
|
}
|
|
1263
|
+
export interface StartRemoteDeleteRequest {
|
|
1264
|
+
ConnectorId: string | undefined;
|
|
1265
|
+
DeletePath: string | undefined;
|
|
1266
|
+
}
|
|
1267
|
+
export interface StartRemoteDeleteResponse {
|
|
1268
|
+
DeleteId: string | undefined;
|
|
1269
|
+
}
|
|
1270
|
+
export interface StartRemoteMoveRequest {
|
|
1271
|
+
ConnectorId: string | undefined;
|
|
1272
|
+
SourcePath: string | undefined;
|
|
1273
|
+
TargetPath: string | undefined;
|
|
1274
|
+
}
|
|
1275
|
+
export interface StartRemoteMoveResponse {
|
|
1276
|
+
MoveId: string | undefined;
|
|
1277
|
+
}
|
|
1263
1278
|
export interface StartServerRequest {
|
|
1264
1279
|
ServerId: string | undefined;
|
|
1265
1280
|
}
|
|
@@ -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.
|
|
4
|
+
"version": "3.784.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",
|
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.775.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.782.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.782.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
30
30
|
"@aws-sdk/types": "3.775.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.782.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.782.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.0",
|
|
35
35
|
"@smithy/core": "^3.2.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.2",
|