@aws-sdk/client-datasync 3.40.0 → 3.45.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/CHANGELOG.md +38 -0
- package/dist-cjs/DataSync.js +30 -0
- package/dist-cjs/commands/CreateLocationFsxLustreCommand.js +36 -0
- package/dist-cjs/commands/DescribeLocationFsxLustreCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoints.js +9 -0
- package/dist-cjs/models/models_0.js +27 -3
- package/dist-cjs/protocols/Aws_json1_1.js +167 -2
- package/dist-es/DataSync.js +30 -0
- package/dist-es/commands/CreateLocationFsxLustreCommand.js +39 -0
- package/dist-es/commands/DescribeLocationFsxLustreCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoints.js +9 -0
- package/dist-es/models/models_0.js +16 -0
- package/dist-es/protocols/Aws_json1_1.js +178 -0
- package/dist-types/DataSync.d.ts +15 -0
- package/dist-types/DataSyncClient.d.ts +4 -2
- package/dist-types/commands/CancelTaskExecutionCommand.d.ts +1 -1
- package/dist-types/commands/CreateAgentCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocationEfsCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocationFsxLustreCommand.d.ts +35 -0
- package/dist-types/commands/CreateLocationFsxWindowsCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocationHdfsCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocationNfsCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocationObjectStorageCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocationS3Command.d.ts +1 -1
- package/dist-types/commands/CreateLocationSmbCommand.d.ts +1 -1
- package/dist-types/commands/CreateTaskCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAgentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLocationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTaskCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAgentCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLocationEfsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLocationFsxLustreCommand.d.ts +36 -0
- package/dist-types/commands/DescribeLocationFsxWindowsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLocationHdfsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLocationNfsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLocationObjectStorageCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLocationS3Command.d.ts +1 -1
- package/dist-types/commands/DescribeLocationSmbCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTaskCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTaskExecutionCommand.d.ts +1 -1
- package/dist-types/commands/ListAgentsCommand.d.ts +1 -1
- package/dist-types/commands/ListLocationsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTaskExecutionsCommand.d.ts +1 -1
- package/dist-types/commands/ListTasksCommand.d.ts +1 -1
- package/dist-types/commands/StartTaskExecutionCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAgentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLocationHdfsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLocationNfsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLocationObjectStorageCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLocationSmbCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTaskCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTaskExecutionCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +76 -3
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/ts3.4/DataSync.d.ts +10 -0
- package/dist-types/ts3.4/DataSyncClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateLocationFsxLustreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeLocationFsxLustreCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +44 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +6 -0
- package/package.json +6 -6
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeLocationFsxLustreRequest, DescribeLocationFsxLustreResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DescribeLocationFsxLustreCommand, serializeAws_json1_1DescribeLocationFsxLustreCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var DescribeLocationFsxLustreCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeLocationFsxLustreCommand, _super);
|
|
8
|
+
function DescribeLocationFsxLustreCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DescribeLocationFsxLustreCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "DataSyncClient";
|
|
18
|
+
var commandName = "DescribeLocationFsxLustreCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DescribeLocationFsxLustreRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeLocationFsxLustreResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeLocationFsxLustreCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1DescribeLocationFsxLustreCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DescribeLocationFsxLustreCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1DescribeLocationFsxLustreCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DescribeLocationFsxLustreCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeLocationFsxLustreCommand };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./CancelTaskExecutionCommand";
|
|
2
2
|
export * from "./CreateAgentCommand";
|
|
3
3
|
export * from "./CreateLocationEfsCommand";
|
|
4
|
+
export * from "./CreateLocationFsxLustreCommand";
|
|
4
5
|
export * from "./CreateLocationFsxWindowsCommand";
|
|
5
6
|
export * from "./CreateLocationHdfsCommand";
|
|
6
7
|
export * from "./CreateLocationNfsCommand";
|
|
@@ -13,6 +14,7 @@ export * from "./DeleteLocationCommand";
|
|
|
13
14
|
export * from "./DeleteTaskCommand";
|
|
14
15
|
export * from "./DescribeAgentCommand";
|
|
15
16
|
export * from "./DescribeLocationEfsCommand";
|
|
17
|
+
export * from "./DescribeLocationFsxLustreCommand";
|
|
16
18
|
export * from "./DescribeLocationFsxWindowsCommand";
|
|
17
19
|
export * from "./DescribeLocationHdfsCommand";
|
|
18
20
|
export * from "./DescribeLocationNfsCommand";
|
package/dist-es/endpoints.js
CHANGED
|
@@ -97,6 +97,7 @@ var partitionHash = {
|
|
|
97
97
|
"ap-south-1",
|
|
98
98
|
"ap-southeast-1",
|
|
99
99
|
"ap-southeast-2",
|
|
100
|
+
"ap-southeast-3",
|
|
100
101
|
"ca-central-1",
|
|
101
102
|
"eu-central-1",
|
|
102
103
|
"eu-north-1",
|
|
@@ -166,6 +167,10 @@ var partitionHash = {
|
|
|
166
167
|
hostname: "datasync.{region}.c2s.ic.gov",
|
|
167
168
|
tags: [],
|
|
168
169
|
},
|
|
170
|
+
{
|
|
171
|
+
hostname: "datasync-fips.{region}.c2s.ic.gov",
|
|
172
|
+
tags: ["fips"],
|
|
173
|
+
},
|
|
169
174
|
],
|
|
170
175
|
},
|
|
171
176
|
"aws-iso-b": {
|
|
@@ -176,6 +181,10 @@ var partitionHash = {
|
|
|
176
181
|
hostname: "datasync.{region}.sc2s.sgov.gov",
|
|
177
182
|
tags: [],
|
|
178
183
|
},
|
|
184
|
+
{
|
|
185
|
+
hostname: "datasync-fips.{region}.sc2s.sgov.gov",
|
|
186
|
+
tags: ["fips"],
|
|
187
|
+
},
|
|
179
188
|
],
|
|
180
189
|
},
|
|
181
190
|
"aws-us-gov": {
|
|
@@ -54,6 +54,14 @@ export var CreateLocationEfsResponse;
|
|
|
54
54
|
(function (CreateLocationEfsResponse) {
|
|
55
55
|
CreateLocationEfsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
56
56
|
})(CreateLocationEfsResponse || (CreateLocationEfsResponse = {}));
|
|
57
|
+
export var CreateLocationFsxLustreRequest;
|
|
58
|
+
(function (CreateLocationFsxLustreRequest) {
|
|
59
|
+
CreateLocationFsxLustreRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
60
|
+
})(CreateLocationFsxLustreRequest || (CreateLocationFsxLustreRequest = {}));
|
|
61
|
+
export var CreateLocationFsxLustreResponse;
|
|
62
|
+
(function (CreateLocationFsxLustreResponse) {
|
|
63
|
+
CreateLocationFsxLustreResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
64
|
+
})(CreateLocationFsxLustreResponse || (CreateLocationFsxLustreResponse = {}));
|
|
57
65
|
export var CreateLocationFsxWindowsRequest;
|
|
58
66
|
(function (CreateLocationFsxWindowsRequest) {
|
|
59
67
|
CreateLocationFsxWindowsRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Password && { Password: SENSITIVE_STRING }))); };
|
|
@@ -314,6 +322,14 @@ export var DescribeLocationEfsResponse;
|
|
|
314
322
|
(function (DescribeLocationEfsResponse) {
|
|
315
323
|
DescribeLocationEfsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
316
324
|
})(DescribeLocationEfsResponse || (DescribeLocationEfsResponse = {}));
|
|
325
|
+
export var DescribeLocationFsxLustreRequest;
|
|
326
|
+
(function (DescribeLocationFsxLustreRequest) {
|
|
327
|
+
DescribeLocationFsxLustreRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
328
|
+
})(DescribeLocationFsxLustreRequest || (DescribeLocationFsxLustreRequest = {}));
|
|
329
|
+
export var DescribeLocationFsxLustreResponse;
|
|
330
|
+
(function (DescribeLocationFsxLustreResponse) {
|
|
331
|
+
DescribeLocationFsxLustreResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
332
|
+
})(DescribeLocationFsxLustreResponse || (DescribeLocationFsxLustreResponse = {}));
|
|
317
333
|
export var DescribeLocationFsxWindowsRequest;
|
|
318
334
|
(function (DescribeLocationFsxWindowsRequest) {
|
|
319
335
|
DescribeLocationFsxWindowsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -34,6 +34,17 @@ export var serializeAws_json1_1CreateLocationEfsCommand = function (input, conte
|
|
|
34
34
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
35
35
|
});
|
|
36
36
|
}); };
|
|
37
|
+
export var serializeAws_json1_1CreateLocationFsxLustreCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
38
|
+
var headers, body;
|
|
39
|
+
return __generator(this, function (_a) {
|
|
40
|
+
headers = {
|
|
41
|
+
"content-type": "application/x-amz-json-1.1",
|
|
42
|
+
"x-amz-target": "FmrsService.CreateLocationFsxLustre",
|
|
43
|
+
};
|
|
44
|
+
body = JSON.stringify(serializeAws_json1_1CreateLocationFsxLustreRequest(input, context));
|
|
45
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
46
|
+
});
|
|
47
|
+
}); };
|
|
37
48
|
export var serializeAws_json1_1CreateLocationFsxWindowsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
38
49
|
var headers, body;
|
|
39
50
|
return __generator(this, function (_a) {
|
|
@@ -166,6 +177,17 @@ export var serializeAws_json1_1DescribeLocationEfsCommand = function (input, con
|
|
|
166
177
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
167
178
|
});
|
|
168
179
|
}); };
|
|
180
|
+
export var serializeAws_json1_1DescribeLocationFsxLustreCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
181
|
+
var headers, body;
|
|
182
|
+
return __generator(this, function (_a) {
|
|
183
|
+
headers = {
|
|
184
|
+
"content-type": "application/x-amz-json-1.1",
|
|
185
|
+
"x-amz-target": "FmrsService.DescribeLocationFsxLustre",
|
|
186
|
+
};
|
|
187
|
+
body = JSON.stringify(serializeAws_json1_1DescribeLocationFsxLustreRequest(input, context));
|
|
188
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
189
|
+
});
|
|
190
|
+
}); };
|
|
169
191
|
export var serializeAws_json1_1DescribeLocationFsxWindowsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
170
192
|
var headers, body;
|
|
171
193
|
return __generator(this, function (_a) {
|
|
@@ -611,6 +633,70 @@ var deserializeAws_json1_1CreateLocationEfsCommandError = function (output, cont
|
|
|
611
633
|
}
|
|
612
634
|
});
|
|
613
635
|
}); };
|
|
636
|
+
export var deserializeAws_json1_1CreateLocationFsxLustreCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
637
|
+
var data, contents, response;
|
|
638
|
+
return __generator(this, function (_a) {
|
|
639
|
+
switch (_a.label) {
|
|
640
|
+
case 0:
|
|
641
|
+
if (output.statusCode >= 300) {
|
|
642
|
+
return [2, deserializeAws_json1_1CreateLocationFsxLustreCommandError(output, context)];
|
|
643
|
+
}
|
|
644
|
+
return [4, parseBody(output.body, context)];
|
|
645
|
+
case 1:
|
|
646
|
+
data = _a.sent();
|
|
647
|
+
contents = {};
|
|
648
|
+
contents = deserializeAws_json1_1CreateLocationFsxLustreResponse(data, context);
|
|
649
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
650
|
+
return [2, Promise.resolve(response)];
|
|
651
|
+
}
|
|
652
|
+
});
|
|
653
|
+
}); };
|
|
654
|
+
var deserializeAws_json1_1CreateLocationFsxLustreCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
655
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, parsedBody, message;
|
|
656
|
+
var _e;
|
|
657
|
+
return __generator(this, function (_f) {
|
|
658
|
+
switch (_f.label) {
|
|
659
|
+
case 0:
|
|
660
|
+
_a = [__assign({}, output)];
|
|
661
|
+
_e = {};
|
|
662
|
+
return [4, parseBody(output.body, context)];
|
|
663
|
+
case 1:
|
|
664
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_e.body = _f.sent(), _e)]));
|
|
665
|
+
errorCode = "UnknownError";
|
|
666
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
667
|
+
_b = errorCode;
|
|
668
|
+
switch (_b) {
|
|
669
|
+
case "InternalException": return [3, 2];
|
|
670
|
+
case "com.amazonaws.datasync#InternalException": return [3, 2];
|
|
671
|
+
case "InvalidRequestException": return [3, 4];
|
|
672
|
+
case "com.amazonaws.datasync#InvalidRequestException": return [3, 4];
|
|
673
|
+
}
|
|
674
|
+
return [3, 6];
|
|
675
|
+
case 2:
|
|
676
|
+
_c = [{}];
|
|
677
|
+
return [4, deserializeAws_json1_1InternalExceptionResponse(parsedOutput, context)];
|
|
678
|
+
case 3:
|
|
679
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
680
|
+
return [3, 7];
|
|
681
|
+
case 4:
|
|
682
|
+
_d = [{}];
|
|
683
|
+
return [4, deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)];
|
|
684
|
+
case 5:
|
|
685
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
686
|
+
return [3, 7];
|
|
687
|
+
case 6:
|
|
688
|
+
parsedBody = parsedOutput.body;
|
|
689
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
690
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
691
|
+
_f.label = 7;
|
|
692
|
+
case 7:
|
|
693
|
+
message = response.message || response.Message || errorCode;
|
|
694
|
+
response.message = message;
|
|
695
|
+
delete response.Message;
|
|
696
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
697
|
+
}
|
|
698
|
+
});
|
|
699
|
+
}); };
|
|
614
700
|
export var deserializeAws_json1_1CreateLocationFsxWindowsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
615
701
|
var data, contents, response;
|
|
616
702
|
return __generator(this, function (_a) {
|
|
@@ -1379,6 +1465,70 @@ var deserializeAws_json1_1DescribeLocationEfsCommandError = function (output, co
|
|
|
1379
1465
|
}
|
|
1380
1466
|
});
|
|
1381
1467
|
}); };
|
|
1468
|
+
export var deserializeAws_json1_1DescribeLocationFsxLustreCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1469
|
+
var data, contents, response;
|
|
1470
|
+
return __generator(this, function (_a) {
|
|
1471
|
+
switch (_a.label) {
|
|
1472
|
+
case 0:
|
|
1473
|
+
if (output.statusCode >= 300) {
|
|
1474
|
+
return [2, deserializeAws_json1_1DescribeLocationFsxLustreCommandError(output, context)];
|
|
1475
|
+
}
|
|
1476
|
+
return [4, parseBody(output.body, context)];
|
|
1477
|
+
case 1:
|
|
1478
|
+
data = _a.sent();
|
|
1479
|
+
contents = {};
|
|
1480
|
+
contents = deserializeAws_json1_1DescribeLocationFsxLustreResponse(data, context);
|
|
1481
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1482
|
+
return [2, Promise.resolve(response)];
|
|
1483
|
+
}
|
|
1484
|
+
});
|
|
1485
|
+
}); };
|
|
1486
|
+
var deserializeAws_json1_1DescribeLocationFsxLustreCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1487
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, parsedBody, message;
|
|
1488
|
+
var _e;
|
|
1489
|
+
return __generator(this, function (_f) {
|
|
1490
|
+
switch (_f.label) {
|
|
1491
|
+
case 0:
|
|
1492
|
+
_a = [__assign({}, output)];
|
|
1493
|
+
_e = {};
|
|
1494
|
+
return [4, parseBody(output.body, context)];
|
|
1495
|
+
case 1:
|
|
1496
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_e.body = _f.sent(), _e)]));
|
|
1497
|
+
errorCode = "UnknownError";
|
|
1498
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1499
|
+
_b = errorCode;
|
|
1500
|
+
switch (_b) {
|
|
1501
|
+
case "InternalException": return [3, 2];
|
|
1502
|
+
case "com.amazonaws.datasync#InternalException": return [3, 2];
|
|
1503
|
+
case "InvalidRequestException": return [3, 4];
|
|
1504
|
+
case "com.amazonaws.datasync#InvalidRequestException": return [3, 4];
|
|
1505
|
+
}
|
|
1506
|
+
return [3, 6];
|
|
1507
|
+
case 2:
|
|
1508
|
+
_c = [{}];
|
|
1509
|
+
return [4, deserializeAws_json1_1InternalExceptionResponse(parsedOutput, context)];
|
|
1510
|
+
case 3:
|
|
1511
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1512
|
+
return [3, 7];
|
|
1513
|
+
case 4:
|
|
1514
|
+
_d = [{}];
|
|
1515
|
+
return [4, deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)];
|
|
1516
|
+
case 5:
|
|
1517
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1518
|
+
return [3, 7];
|
|
1519
|
+
case 6:
|
|
1520
|
+
parsedBody = parsedOutput.body;
|
|
1521
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
1522
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
1523
|
+
_f.label = 7;
|
|
1524
|
+
case 7:
|
|
1525
|
+
message = response.message || response.Message || errorCode;
|
|
1526
|
+
response.message = message;
|
|
1527
|
+
delete response.Message;
|
|
1528
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1529
|
+
}
|
|
1530
|
+
});
|
|
1531
|
+
}); };
|
|
1382
1532
|
export var deserializeAws_json1_1DescribeLocationFsxWindowsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1383
1533
|
var data, contents, response;
|
|
1384
1534
|
return __generator(this, function (_a) {
|
|
@@ -2897,6 +3047,14 @@ var serializeAws_json1_1CreateLocationEfsRequest = function (input, context) {
|
|
|
2897
3047
|
input.EfsFilesystemArn !== null && { EfsFilesystemArn: input.EfsFilesystemArn })), (input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory })), (input.Tags !== undefined &&
|
|
2898
3048
|
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
2899
3049
|
};
|
|
3050
|
+
var serializeAws_json1_1CreateLocationFsxLustreRequest = function (input, context) {
|
|
3051
|
+
return __assign(__assign(__assign(__assign({}, (input.FsxFilesystemArn !== undefined &&
|
|
3052
|
+
input.FsxFilesystemArn !== null && { FsxFilesystemArn: input.FsxFilesystemArn })), (input.SecurityGroupArns !== undefined &&
|
|
3053
|
+
input.SecurityGroupArns !== null && {
|
|
3054
|
+
SecurityGroupArns: serializeAws_json1_1Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
|
|
3055
|
+
})), (input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory })), (input.Tags !== undefined &&
|
|
3056
|
+
input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
|
|
3057
|
+
};
|
|
2900
3058
|
var serializeAws_json1_1CreateLocationFsxWindowsRequest = function (input, context) {
|
|
2901
3059
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Domain !== undefined && input.Domain !== null && { Domain: input.Domain })), (input.FsxFilesystemArn !== undefined &&
|
|
2902
3060
|
input.FsxFilesystemArn !== null && { FsxFilesystemArn: input.FsxFilesystemArn })), (input.Password !== undefined && input.Password !== null && { Password: input.Password })), (input.SecurityGroupArns !== undefined &&
|
|
@@ -2978,6 +3136,9 @@ var serializeAws_json1_1DescribeAgentRequest = function (input, context) {
|
|
|
2978
3136
|
var serializeAws_json1_1DescribeLocationEfsRequest = function (input, context) {
|
|
2979
3137
|
return __assign({}, (input.LocationArn !== undefined && input.LocationArn !== null && { LocationArn: input.LocationArn }));
|
|
2980
3138
|
};
|
|
3139
|
+
var serializeAws_json1_1DescribeLocationFsxLustreRequest = function (input, context) {
|
|
3140
|
+
return __assign({}, (input.LocationArn !== undefined && input.LocationArn !== null && { LocationArn: input.LocationArn }));
|
|
3141
|
+
};
|
|
2981
3142
|
var serializeAws_json1_1DescribeLocationFsxWindowsRequest = function (input, context) {
|
|
2982
3143
|
return __assign({}, (input.LocationArn !== undefined && input.LocationArn !== null && { LocationArn: input.LocationArn }));
|
|
2983
3144
|
};
|
|
@@ -3278,6 +3439,11 @@ var deserializeAws_json1_1CreateLocationEfsResponse = function (output, context)
|
|
|
3278
3439
|
LocationArn: __expectString(output.LocationArn),
|
|
3279
3440
|
};
|
|
3280
3441
|
};
|
|
3442
|
+
var deserializeAws_json1_1CreateLocationFsxLustreResponse = function (output, context) {
|
|
3443
|
+
return {
|
|
3444
|
+
LocationArn: __expectString(output.LocationArn),
|
|
3445
|
+
};
|
|
3446
|
+
};
|
|
3281
3447
|
var deserializeAws_json1_1CreateLocationFsxWindowsResponse = function (output, context) {
|
|
3282
3448
|
return {
|
|
3283
3449
|
LocationArn: __expectString(output.LocationArn),
|
|
@@ -3351,6 +3517,18 @@ var deserializeAws_json1_1DescribeLocationEfsResponse = function (output, contex
|
|
|
3351
3517
|
LocationUri: __expectString(output.LocationUri),
|
|
3352
3518
|
};
|
|
3353
3519
|
};
|
|
3520
|
+
var deserializeAws_json1_1DescribeLocationFsxLustreResponse = function (output, context) {
|
|
3521
|
+
return {
|
|
3522
|
+
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3523
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3524
|
+
: undefined,
|
|
3525
|
+
LocationArn: __expectString(output.LocationArn),
|
|
3526
|
+
LocationUri: __expectString(output.LocationUri),
|
|
3527
|
+
SecurityGroupArns: output.SecurityGroupArns !== undefined && output.SecurityGroupArns !== null
|
|
3528
|
+
? deserializeAws_json1_1Ec2SecurityGroupArnList(output.SecurityGroupArns, context)
|
|
3529
|
+
: undefined,
|
|
3530
|
+
};
|
|
3531
|
+
};
|
|
3354
3532
|
var deserializeAws_json1_1DescribeLocationFsxWindowsResponse = function (output, context) {
|
|
3355
3533
|
return {
|
|
3356
3534
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
package/dist-types/DataSync.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
|
2
2
|
import { CancelTaskExecutionCommandInput, CancelTaskExecutionCommandOutput } from "./commands/CancelTaskExecutionCommand";
|
|
3
3
|
import { CreateAgentCommandInput, CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
|
|
4
4
|
import { CreateLocationEfsCommandInput, CreateLocationEfsCommandOutput } from "./commands/CreateLocationEfsCommand";
|
|
5
|
+
import { CreateLocationFsxLustreCommandInput, CreateLocationFsxLustreCommandOutput } from "./commands/CreateLocationFsxLustreCommand";
|
|
5
6
|
import { CreateLocationFsxWindowsCommandInput, CreateLocationFsxWindowsCommandOutput } from "./commands/CreateLocationFsxWindowsCommand";
|
|
6
7
|
import { CreateLocationHdfsCommandInput, CreateLocationHdfsCommandOutput } from "./commands/CreateLocationHdfsCommand";
|
|
7
8
|
import { CreateLocationNfsCommandInput, CreateLocationNfsCommandOutput } from "./commands/CreateLocationNfsCommand";
|
|
@@ -14,6 +15,7 @@ import { DeleteLocationCommandInput, DeleteLocationCommandOutput } from "./comma
|
|
|
14
15
|
import { DeleteTaskCommandInput, DeleteTaskCommandOutput } from "./commands/DeleteTaskCommand";
|
|
15
16
|
import { DescribeAgentCommandInput, DescribeAgentCommandOutput } from "./commands/DescribeAgentCommand";
|
|
16
17
|
import { DescribeLocationEfsCommandInput, DescribeLocationEfsCommandOutput } from "./commands/DescribeLocationEfsCommand";
|
|
18
|
+
import { DescribeLocationFsxLustreCommandInput, DescribeLocationFsxLustreCommandOutput } from "./commands/DescribeLocationFsxLustreCommand";
|
|
17
19
|
import { DescribeLocationFsxWindowsCommandInput, DescribeLocationFsxWindowsCommandOutput } from "./commands/DescribeLocationFsxWindowsCommand";
|
|
18
20
|
import { DescribeLocationHdfsCommandInput, DescribeLocationHdfsCommandOutput } from "./commands/DescribeLocationHdfsCommand";
|
|
19
21
|
import { DescribeLocationNfsCommandInput, DescribeLocationNfsCommandOutput } from "./commands/DescribeLocationNfsCommand";
|
|
@@ -87,6 +89,12 @@ export declare class DataSync extends DataSyncClient {
|
|
|
87
89
|
createLocationEfs(args: CreateLocationEfsCommandInput, options?: __HttpHandlerOptions): Promise<CreateLocationEfsCommandOutput>;
|
|
88
90
|
createLocationEfs(args: CreateLocationEfsCommandInput, cb: (err: any, data?: CreateLocationEfsCommandOutput) => void): void;
|
|
89
91
|
createLocationEfs(args: CreateLocationEfsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLocationEfsCommandOutput) => void): void;
|
|
92
|
+
/**
|
|
93
|
+
* <p>Creates an endpoint for an Amazon FSx for Lustre file system.</p>
|
|
94
|
+
*/
|
|
95
|
+
createLocationFsxLustre(args: CreateLocationFsxLustreCommandInput, options?: __HttpHandlerOptions): Promise<CreateLocationFsxLustreCommandOutput>;
|
|
96
|
+
createLocationFsxLustre(args: CreateLocationFsxLustreCommandInput, cb: (err: any, data?: CreateLocationFsxLustreCommandOutput) => void): void;
|
|
97
|
+
createLocationFsxLustre(args: CreateLocationFsxLustreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLocationFsxLustreCommandOutput) => void): void;
|
|
90
98
|
/**
|
|
91
99
|
* <p>Creates an endpoint for an Amazon FSx for Windows File Server file system.</p>
|
|
92
100
|
*/
|
|
@@ -191,6 +199,13 @@ export declare class DataSync extends DataSyncClient {
|
|
|
191
199
|
describeLocationEfs(args: DescribeLocationEfsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLocationEfsCommandOutput>;
|
|
192
200
|
describeLocationEfs(args: DescribeLocationEfsCommandInput, cb: (err: any, data?: DescribeLocationEfsCommandOutput) => void): void;
|
|
193
201
|
describeLocationEfs(args: DescribeLocationEfsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLocationEfsCommandOutput) => void): void;
|
|
202
|
+
/**
|
|
203
|
+
* <p>Returns metadata, such as the path information about an Amazon FSx for Lustre
|
|
204
|
+
* location.</p>
|
|
205
|
+
*/
|
|
206
|
+
describeLocationFsxLustre(args: DescribeLocationFsxLustreCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLocationFsxLustreCommandOutput>;
|
|
207
|
+
describeLocationFsxLustre(args: DescribeLocationFsxLustreCommandInput, cb: (err: any, data?: DescribeLocationFsxLustreCommandOutput) => void): void;
|
|
208
|
+
describeLocationFsxLustre(args: DescribeLocationFsxLustreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLocationFsxLustreCommandOutput) => void): void;
|
|
194
209
|
/**
|
|
195
210
|
* <p>Returns metadata, such as the path information about an Amazon FSx for Windows File Server
|
|
196
211
|
* location.</p>
|
|
@@ -9,6 +9,7 @@ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encode
|
|
|
9
9
|
import { CancelTaskExecutionCommandInput, CancelTaskExecutionCommandOutput } from "./commands/CancelTaskExecutionCommand";
|
|
10
10
|
import { CreateAgentCommandInput, CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
|
|
11
11
|
import { CreateLocationEfsCommandInput, CreateLocationEfsCommandOutput } from "./commands/CreateLocationEfsCommand";
|
|
12
|
+
import { CreateLocationFsxLustreCommandInput, CreateLocationFsxLustreCommandOutput } from "./commands/CreateLocationFsxLustreCommand";
|
|
12
13
|
import { CreateLocationFsxWindowsCommandInput, CreateLocationFsxWindowsCommandOutput } from "./commands/CreateLocationFsxWindowsCommand";
|
|
13
14
|
import { CreateLocationHdfsCommandInput, CreateLocationHdfsCommandOutput } from "./commands/CreateLocationHdfsCommand";
|
|
14
15
|
import { CreateLocationNfsCommandInput, CreateLocationNfsCommandOutput } from "./commands/CreateLocationNfsCommand";
|
|
@@ -21,6 +22,7 @@ import { DeleteLocationCommandInput, DeleteLocationCommandOutput } from "./comma
|
|
|
21
22
|
import { DeleteTaskCommandInput, DeleteTaskCommandOutput } from "./commands/DeleteTaskCommand";
|
|
22
23
|
import { DescribeAgentCommandInput, DescribeAgentCommandOutput } from "./commands/DescribeAgentCommand";
|
|
23
24
|
import { DescribeLocationEfsCommandInput, DescribeLocationEfsCommandOutput } from "./commands/DescribeLocationEfsCommand";
|
|
25
|
+
import { DescribeLocationFsxLustreCommandInput, DescribeLocationFsxLustreCommandOutput } from "./commands/DescribeLocationFsxLustreCommand";
|
|
24
26
|
import { DescribeLocationFsxWindowsCommandInput, DescribeLocationFsxWindowsCommandOutput } from "./commands/DescribeLocationFsxWindowsCommand";
|
|
25
27
|
import { DescribeLocationHdfsCommandInput, DescribeLocationHdfsCommandOutput } from "./commands/DescribeLocationHdfsCommand";
|
|
26
28
|
import { DescribeLocationNfsCommandInput, DescribeLocationNfsCommandOutput } from "./commands/DescribeLocationNfsCommand";
|
|
@@ -44,8 +46,8 @@ import { UpdateLocationObjectStorageCommandInput, UpdateLocationObjectStorageCom
|
|
|
44
46
|
import { UpdateLocationSmbCommandInput, UpdateLocationSmbCommandOutput } from "./commands/UpdateLocationSmbCommand";
|
|
45
47
|
import { UpdateTaskCommandInput, UpdateTaskCommandOutput } from "./commands/UpdateTaskCommand";
|
|
46
48
|
import { UpdateTaskExecutionCommandInput, UpdateTaskExecutionCommandOutput } from "./commands/UpdateTaskExecutionCommand";
|
|
47
|
-
export declare type ServiceInputTypes = CancelTaskExecutionCommandInput | CreateAgentCommandInput | CreateLocationEfsCommandInput | CreateLocationFsxWindowsCommandInput | CreateLocationHdfsCommandInput | CreateLocationNfsCommandInput | CreateLocationObjectStorageCommandInput | CreateLocationS3CommandInput | CreateLocationSmbCommandInput | CreateTaskCommandInput | DeleteAgentCommandInput | DeleteLocationCommandInput | DeleteTaskCommandInput | DescribeAgentCommandInput | DescribeLocationEfsCommandInput | DescribeLocationFsxWindowsCommandInput | DescribeLocationHdfsCommandInput | DescribeLocationNfsCommandInput | DescribeLocationObjectStorageCommandInput | DescribeLocationS3CommandInput | DescribeLocationSmbCommandInput | DescribeTaskCommandInput | DescribeTaskExecutionCommandInput | ListAgentsCommandInput | ListLocationsCommandInput | ListTagsForResourceCommandInput | ListTaskExecutionsCommandInput | ListTasksCommandInput | StartTaskExecutionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentCommandInput | UpdateLocationHdfsCommandInput | UpdateLocationNfsCommandInput | UpdateLocationObjectStorageCommandInput | UpdateLocationSmbCommandInput | UpdateTaskCommandInput | UpdateTaskExecutionCommandInput;
|
|
48
|
-
export declare type ServiceOutputTypes = CancelTaskExecutionCommandOutput | CreateAgentCommandOutput | CreateLocationEfsCommandOutput | CreateLocationFsxWindowsCommandOutput | CreateLocationHdfsCommandOutput | CreateLocationNfsCommandOutput | CreateLocationObjectStorageCommandOutput | CreateLocationS3CommandOutput | CreateLocationSmbCommandOutput | CreateTaskCommandOutput | DeleteAgentCommandOutput | DeleteLocationCommandOutput | DeleteTaskCommandOutput | DescribeAgentCommandOutput | DescribeLocationEfsCommandOutput | DescribeLocationFsxWindowsCommandOutput | DescribeLocationHdfsCommandOutput | DescribeLocationNfsCommandOutput | DescribeLocationObjectStorageCommandOutput | DescribeLocationS3CommandOutput | DescribeLocationSmbCommandOutput | DescribeTaskCommandOutput | DescribeTaskExecutionCommandOutput | ListAgentsCommandOutput | ListLocationsCommandOutput | ListTagsForResourceCommandOutput | ListTaskExecutionsCommandOutput | ListTasksCommandOutput | StartTaskExecutionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentCommandOutput | UpdateLocationHdfsCommandOutput | UpdateLocationNfsCommandOutput | UpdateLocationObjectStorageCommandOutput | UpdateLocationSmbCommandOutput | UpdateTaskCommandOutput | UpdateTaskExecutionCommandOutput;
|
|
49
|
+
export declare type ServiceInputTypes = CancelTaskExecutionCommandInput | CreateAgentCommandInput | CreateLocationEfsCommandInput | CreateLocationFsxLustreCommandInput | CreateLocationFsxWindowsCommandInput | CreateLocationHdfsCommandInput | CreateLocationNfsCommandInput | CreateLocationObjectStorageCommandInput | CreateLocationS3CommandInput | CreateLocationSmbCommandInput | CreateTaskCommandInput | DeleteAgentCommandInput | DeleteLocationCommandInput | DeleteTaskCommandInput | DescribeAgentCommandInput | DescribeLocationEfsCommandInput | DescribeLocationFsxLustreCommandInput | DescribeLocationFsxWindowsCommandInput | DescribeLocationHdfsCommandInput | DescribeLocationNfsCommandInput | DescribeLocationObjectStorageCommandInput | DescribeLocationS3CommandInput | DescribeLocationSmbCommandInput | DescribeTaskCommandInput | DescribeTaskExecutionCommandInput | ListAgentsCommandInput | ListLocationsCommandInput | ListTagsForResourceCommandInput | ListTaskExecutionsCommandInput | ListTasksCommandInput | StartTaskExecutionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentCommandInput | UpdateLocationHdfsCommandInput | UpdateLocationNfsCommandInput | UpdateLocationObjectStorageCommandInput | UpdateLocationSmbCommandInput | UpdateTaskCommandInput | UpdateTaskExecutionCommandInput;
|
|
50
|
+
export declare type ServiceOutputTypes = CancelTaskExecutionCommandOutput | CreateAgentCommandOutput | CreateLocationEfsCommandOutput | CreateLocationFsxLustreCommandOutput | CreateLocationFsxWindowsCommandOutput | CreateLocationHdfsCommandOutput | CreateLocationNfsCommandOutput | CreateLocationObjectStorageCommandOutput | CreateLocationS3CommandOutput | CreateLocationSmbCommandOutput | CreateTaskCommandOutput | DeleteAgentCommandOutput | DeleteLocationCommandOutput | DeleteTaskCommandOutput | DescribeAgentCommandOutput | DescribeLocationEfsCommandOutput | DescribeLocationFsxLustreCommandOutput | DescribeLocationFsxWindowsCommandOutput | DescribeLocationHdfsCommandOutput | DescribeLocationNfsCommandOutput | DescribeLocationObjectStorageCommandOutput | DescribeLocationS3CommandOutput | DescribeLocationSmbCommandOutput | DescribeTaskCommandOutput | DescribeTaskExecutionCommandOutput | ListAgentsCommandOutput | ListLocationsCommandOutput | ListTagsForResourceCommandOutput | ListTaskExecutionsCommandOutput | ListTasksCommandOutput | StartTaskExecutionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentCommandOutput | UpdateLocationHdfsCommandOutput | UpdateLocationNfsCommandOutput | UpdateLocationObjectStorageCommandOutput | UpdateLocationSmbCommandOutput | UpdateTaskCommandOutput | UpdateTaskExecutionCommandOutput;
|
|
49
51
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
50
52
|
/**
|
|
51
53
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -27,7 +27,7 @@ export interface CancelTaskExecutionCommandOutput extends CancelTaskExecutionRes
|
|
|
27
27
|
*
|
|
28
28
|
* @see {@link CancelTaskExecutionCommandInput} for command's `input` shape.
|
|
29
29
|
* @see {@link CancelTaskExecutionCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
30
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
31
31
|
*
|
|
32
32
|
*/
|
|
33
33
|
export declare class CancelTaskExecutionCommand extends $Command<CancelTaskExecutionCommandInput, CancelTaskExecutionCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -34,7 +34,7 @@ export interface CreateAgentCommandOutput extends CreateAgentResponse, __Metadat
|
|
|
34
34
|
*
|
|
35
35
|
* @see {@link CreateAgentCommandInput} for command's `input` shape.
|
|
36
36
|
* @see {@link CreateAgentCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
37
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
38
38
|
*
|
|
39
39
|
*/
|
|
40
40
|
export declare class CreateAgentCommand extends $Command<CreateAgentCommandInput, CreateAgentCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface CreateLocationEfsCommandOutput extends CreateLocationEfsRespons
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link CreateLocationEfsCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link CreateLocationEfsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class CreateLocationEfsCommand extends $Command<CreateLocationEfsCommandInput, CreateLocationEfsCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -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 { DataSyncClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataSyncClient";
|
|
4
|
+
import { CreateLocationFsxLustreRequest, CreateLocationFsxLustreResponse } from "../models/models_0";
|
|
5
|
+
export interface CreateLocationFsxLustreCommandInput extends CreateLocationFsxLustreRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateLocationFsxLustreCommandOutput extends CreateLocationFsxLustreResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates an endpoint for an Amazon FSx for Lustre file system.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { DataSyncClient, CreateLocationFsxLustreCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
15
|
+
* // const { DataSyncClient, CreateLocationFsxLustreCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
16
|
+
* const client = new DataSyncClient(config);
|
|
17
|
+
* const command = new CreateLocationFsxLustreCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link CreateLocationFsxLustreCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link CreateLocationFsxLustreCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class CreateLocationFsxLustreCommand extends $Command<CreateLocationFsxLustreCommandInput, CreateLocationFsxLustreCommandOutput, DataSyncClientResolvedConfig> {
|
|
27
|
+
readonly input: CreateLocationFsxLustreCommandInput;
|
|
28
|
+
constructor(input: CreateLocationFsxLustreCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLocationFsxLustreCommandInput, CreateLocationFsxLustreCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -20,7 +20,7 @@ export interface CreateLocationFsxWindowsCommandOutput extends CreateLocationFsx
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link CreateLocationFsxWindowsCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link CreateLocationFsxWindowsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class CreateLocationFsxWindowsCommand extends $Command<CreateLocationFsxWindowsCommandInput, CreateLocationFsxWindowsCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface CreateLocationHdfsCommandOutput extends CreateLocationHdfsRespo
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link CreateLocationHdfsCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link CreateLocationHdfsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class CreateLocationHdfsCommand extends $Command<CreateLocationHdfsCommandInput, CreateLocationHdfsCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -21,7 +21,7 @@ export interface CreateLocationNfsCommandOutput extends CreateLocationNfsRespons
|
|
|
21
21
|
*
|
|
22
22
|
* @see {@link CreateLocationNfsCommandInput} for command's `input` shape.
|
|
23
23
|
* @see {@link CreateLocationNfsCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
24
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
export declare class CreateLocationNfsCommand extends $Command<CreateLocationNfsCommandInput, CreateLocationNfsCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -21,7 +21,7 @@ export interface CreateLocationObjectStorageCommandOutput extends CreateLocation
|
|
|
21
21
|
*
|
|
22
22
|
* @see {@link CreateLocationObjectStorageCommandInput} for command's `input` shape.
|
|
23
23
|
* @see {@link CreateLocationObjectStorageCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
24
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
export declare class CreateLocationObjectStorageCommand extends $Command<CreateLocationObjectStorageCommandInput, CreateLocationObjectStorageCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -26,7 +26,7 @@ export interface CreateLocationS3CommandOutput extends CreateLocationS3Response,
|
|
|
26
26
|
*
|
|
27
27
|
* @see {@link CreateLocationS3CommandInput} for command's `input` shape.
|
|
28
28
|
* @see {@link CreateLocationS3CommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
29
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
30
30
|
*
|
|
31
31
|
*/
|
|
32
32
|
export declare class CreateLocationS3Command extends $Command<CreateLocationS3CommandInput, CreateLocationS3CommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -21,7 +21,7 @@ export interface CreateLocationSmbCommandOutput extends CreateLocationSmbRespons
|
|
|
21
21
|
*
|
|
22
22
|
* @see {@link CreateLocationSmbCommandInput} for command's `input` shape.
|
|
23
23
|
* @see {@link CreateLocationSmbCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
24
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
export declare class CreateLocationSmbCommand extends $Command<CreateLocationSmbCommandInput, CreateLocationSmbCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -38,7 +38,7 @@ export interface CreateTaskCommandOutput extends CreateTaskResponse, __MetadataB
|
|
|
38
38
|
*
|
|
39
39
|
* @see {@link CreateTaskCommandInput} for command's `input` shape.
|
|
40
40
|
* @see {@link CreateTaskCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
41
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
42
42
|
*
|
|
43
43
|
*/
|
|
44
44
|
export declare class CreateTaskCommand extends $Command<CreateTaskCommandInput, CreateTaskCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -23,7 +23,7 @@ export interface DeleteAgentCommandOutput extends DeleteAgentResponse, __Metadat
|
|
|
23
23
|
*
|
|
24
24
|
* @see {@link DeleteAgentCommandInput} for command's `input` shape.
|
|
25
25
|
* @see {@link DeleteAgentCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
26
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
27
27
|
*
|
|
28
28
|
*/
|
|
29
29
|
export declare class DeleteAgentCommand extends $Command<DeleteAgentCommandInput, DeleteAgentCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DeleteLocationCommandOutput extends DeleteLocationResponse, __M
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DeleteLocationCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DeleteLocationCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DeleteLocationCommand extends $Command<DeleteLocationCommandInput, DeleteLocationCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DeleteTaskCommandOutput extends DeleteTaskResponse, __MetadataB
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DeleteTaskCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DeleteTaskCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DeleteTaskCommand extends $Command<DeleteTaskCommandInput, DeleteTaskCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -22,7 +22,7 @@ export interface DescribeAgentCommandOutput extends DescribeAgentResponse, __Met
|
|
|
22
22
|
*
|
|
23
23
|
* @see {@link DescribeAgentCommandInput} for command's `input` shape.
|
|
24
24
|
* @see {@link DescribeAgentCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
25
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export declare class DescribeAgentCommand extends $Command<DescribeAgentCommandInput, DescribeAgentCommandOutput, DataSyncClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DescribeLocationEfsCommandOutput extends DescribeLocationEfsRes
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DescribeLocationEfsCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DescribeLocationEfsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DataSyncClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DescribeLocationEfsCommand extends $Command<DescribeLocationEfsCommandInput, DescribeLocationEfsCommandOutput, DataSyncClientResolvedConfig> {
|