@aws-sdk/client-datasync 3.43.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 +11 -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 +1 -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 +1 -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/CreateLocationFsxLustreCommand.d.ts +35 -0
- package/dist-types/commands/DescribeLocationFsxLustreCommand.d.ts +36 -0
- 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 +5 -5
|
@@ -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.
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 { DescribeLocationFsxLustreRequest, DescribeLocationFsxLustreResponse } from "../models/models_0";
|
|
5
|
+
export interface DescribeLocationFsxLustreCommandInput extends DescribeLocationFsxLustreRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeLocationFsxLustreCommandOutput extends DescribeLocationFsxLustreResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Returns metadata, such as the path information about an Amazon FSx for Lustre
|
|
11
|
+
* location.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { DataSyncClient, DescribeLocationFsxLustreCommand } from "@aws-sdk/client-datasync"; // ES Modules import
|
|
16
|
+
* // const { DataSyncClient, DescribeLocationFsxLustreCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
|
|
17
|
+
* const client = new DataSyncClient(config);
|
|
18
|
+
* const command = new DescribeLocationFsxLustreCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link DescribeLocationFsxLustreCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link DescribeLocationFsxLustreCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class DescribeLocationFsxLustreCommand extends $Command<DescribeLocationFsxLustreCommandInput, DescribeLocationFsxLustreCommandOutput, DataSyncClientResolvedConfig> {
|
|
28
|
+
readonly input: DescribeLocationFsxLustreCommandInput;
|
|
29
|
+
constructor(input: DescribeLocationFsxLustreCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeLocationFsxLustreCommandInput, DescribeLocationFsxLustreCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -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";
|
|
@@ -284,9 +284,46 @@ export declare namespace CreateLocationEfsResponse {
|
|
|
284
284
|
*/
|
|
285
285
|
const filterSensitiveLog: (obj: CreateLocationEfsResponse) => any;
|
|
286
286
|
}
|
|
287
|
+
export interface CreateLocationFsxLustreRequest {
|
|
288
|
+
/**
|
|
289
|
+
* <p>The Amazon Resource Name (ARN) for the FSx for Lustre file system.</p>
|
|
290
|
+
*/
|
|
291
|
+
FsxFilesystemArn: string | undefined;
|
|
292
|
+
/**
|
|
293
|
+
* <p>The Amazon Resource Names (ARNs) of the security groups that are used to configure the FSx for Lustre file system.</p>
|
|
294
|
+
*/
|
|
295
|
+
SecurityGroupArns: string[] | undefined;
|
|
296
|
+
/**
|
|
297
|
+
* <p>A subdirectory in the location's path. This subdirectory in the FSx for Lustre file system is used to read data from the FSx for Lustre source location or write data to the FSx for Lustre destination.</p>
|
|
298
|
+
*/
|
|
299
|
+
Subdirectory?: string;
|
|
300
|
+
/**
|
|
301
|
+
* <p>The key-value pair that represents a tag that you want to add to the resource. The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.</p>
|
|
302
|
+
*/
|
|
303
|
+
Tags?: TagListEntry[];
|
|
304
|
+
}
|
|
305
|
+
export declare namespace CreateLocationFsxLustreRequest {
|
|
306
|
+
/**
|
|
307
|
+
* @internal
|
|
308
|
+
*/
|
|
309
|
+
const filterSensitiveLog: (obj: CreateLocationFsxLustreRequest) => any;
|
|
310
|
+
}
|
|
311
|
+
export interface CreateLocationFsxLustreResponse {
|
|
312
|
+
/**
|
|
313
|
+
* <p>The Amazon Resource Name (ARN) of the FSx for Lustre file system location that's
|
|
314
|
+
* created. </p>
|
|
315
|
+
*/
|
|
316
|
+
LocationArn?: string;
|
|
317
|
+
}
|
|
318
|
+
export declare namespace CreateLocationFsxLustreResponse {
|
|
319
|
+
/**
|
|
320
|
+
* @internal
|
|
321
|
+
*/
|
|
322
|
+
const filterSensitiveLog: (obj: CreateLocationFsxLustreResponse) => any;
|
|
323
|
+
}
|
|
287
324
|
export interface CreateLocationFsxWindowsRequest {
|
|
288
325
|
/**
|
|
289
|
-
* <p>A subdirectory in the location
|
|
326
|
+
* <p>A subdirectory in the location's path. This subdirectory in the Amazon FSx for Windows
|
|
290
327
|
* File Server file system is used to read data from the Amazon FSx for Windows File Server
|
|
291
328
|
* source location or write data to the FSx for Windows File Server destination.</p>
|
|
292
329
|
*/
|
|
@@ -296,7 +333,7 @@ export interface CreateLocationFsxWindowsRequest {
|
|
|
296
333
|
*/
|
|
297
334
|
FsxFilesystemArn: string | undefined;
|
|
298
335
|
/**
|
|
299
|
-
* <p>The Amazon Resource Names (ARNs) of the security groups that are
|
|
336
|
+
* <p>The Amazon Resource Names (ARNs) of the security groups that are used to configure the
|
|
300
337
|
* FSx for Windows File Server file system.</p>
|
|
301
338
|
*/
|
|
302
339
|
SecurityGroupArns: string[] | undefined;
|
|
@@ -1557,6 +1594,42 @@ export declare namespace DescribeLocationEfsResponse {
|
|
|
1557
1594
|
*/
|
|
1558
1595
|
const filterSensitiveLog: (obj: DescribeLocationEfsResponse) => any;
|
|
1559
1596
|
}
|
|
1597
|
+
export interface DescribeLocationFsxLustreRequest {
|
|
1598
|
+
/**
|
|
1599
|
+
* <p>The Amazon Resource Name (ARN) of the FSx for Lustre location to describe. </p>
|
|
1600
|
+
*/
|
|
1601
|
+
LocationArn: string | undefined;
|
|
1602
|
+
}
|
|
1603
|
+
export declare namespace DescribeLocationFsxLustreRequest {
|
|
1604
|
+
/**
|
|
1605
|
+
* @internal
|
|
1606
|
+
*/
|
|
1607
|
+
const filterSensitiveLog: (obj: DescribeLocationFsxLustreRequest) => any;
|
|
1608
|
+
}
|
|
1609
|
+
export interface DescribeLocationFsxLustreResponse {
|
|
1610
|
+
/**
|
|
1611
|
+
* <p>The Amazon Resource Name (ARN) of the FSx for Lustre location that was described.</p>
|
|
1612
|
+
*/
|
|
1613
|
+
LocationArn?: string;
|
|
1614
|
+
/**
|
|
1615
|
+
* <p>The URI of the FSx for Lustre location that was described.</p>
|
|
1616
|
+
*/
|
|
1617
|
+
LocationUri?: string;
|
|
1618
|
+
/**
|
|
1619
|
+
* <p>The Amazon Resource Names (ARNs) of the security groups that are configured for the FSx for Lustre file system.</p>
|
|
1620
|
+
*/
|
|
1621
|
+
SecurityGroupArns?: string[];
|
|
1622
|
+
/**
|
|
1623
|
+
* <p>The time that the FSx for Lustre location was created.</p>
|
|
1624
|
+
*/
|
|
1625
|
+
CreationTime?: Date;
|
|
1626
|
+
}
|
|
1627
|
+
export declare namespace DescribeLocationFsxLustreResponse {
|
|
1628
|
+
/**
|
|
1629
|
+
* @internal
|
|
1630
|
+
*/
|
|
1631
|
+
const filterSensitiveLog: (obj: DescribeLocationFsxLustreResponse) => any;
|
|
1632
|
+
}
|
|
1560
1633
|
export interface DescribeLocationFsxWindowsRequest {
|
|
1561
1634
|
/**
|
|
1562
1635
|
* <p>The Amazon Resource Name (ARN) of the FSx for Windows File Server location to
|
|
@@ -2331,7 +2404,7 @@ export interface LocationListEntry {
|
|
|
2331
2404
|
*/
|
|
2332
2405
|
LocationArn?: string;
|
|
2333
2406
|
/**
|
|
2334
|
-
* <p>Represents a list of
|
|
2407
|
+
* <p>Represents a list of URIs of a location. <code>LocationUri</code> returns an array that
|
|
2335
2408
|
* contains a list of locations when the <a href="https://docs.aws.amazon.com/datasync/latest/userguide/API_ListLocations.html">ListLocations</a> operation is
|
|
2336
2409
|
* called.</p>
|
|
2337
2410
|
* <p>Format: <code>TYPE://GLOBAL_ID/SUBDIR</code>.</p>
|
|
@@ -3,6 +3,7 @@ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
|
3
3
|
import { CancelTaskExecutionCommandInput, CancelTaskExecutionCommandOutput } from "../commands/CancelTaskExecutionCommand";
|
|
4
4
|
import { CreateAgentCommandInput, CreateAgentCommandOutput } from "../commands/CreateAgentCommand";
|
|
5
5
|
import { CreateLocationEfsCommandInput, CreateLocationEfsCommandOutput } from "../commands/CreateLocationEfsCommand";
|
|
6
|
+
import { CreateLocationFsxLustreCommandInput, CreateLocationFsxLustreCommandOutput } from "../commands/CreateLocationFsxLustreCommand";
|
|
6
7
|
import { CreateLocationFsxWindowsCommandInput, CreateLocationFsxWindowsCommandOutput } from "../commands/CreateLocationFsxWindowsCommand";
|
|
7
8
|
import { CreateLocationHdfsCommandInput, CreateLocationHdfsCommandOutput } from "../commands/CreateLocationHdfsCommand";
|
|
8
9
|
import { CreateLocationNfsCommandInput, CreateLocationNfsCommandOutput } from "../commands/CreateLocationNfsCommand";
|
|
@@ -15,6 +16,7 @@ import { DeleteLocationCommandInput, DeleteLocationCommandOutput } from "../comm
|
|
|
15
16
|
import { DeleteTaskCommandInput, DeleteTaskCommandOutput } from "../commands/DeleteTaskCommand";
|
|
16
17
|
import { DescribeAgentCommandInput, DescribeAgentCommandOutput } from "../commands/DescribeAgentCommand";
|
|
17
18
|
import { DescribeLocationEfsCommandInput, DescribeLocationEfsCommandOutput } from "../commands/DescribeLocationEfsCommand";
|
|
19
|
+
import { DescribeLocationFsxLustreCommandInput, DescribeLocationFsxLustreCommandOutput } from "../commands/DescribeLocationFsxLustreCommand";
|
|
18
20
|
import { DescribeLocationFsxWindowsCommandInput, DescribeLocationFsxWindowsCommandOutput } from "../commands/DescribeLocationFsxWindowsCommand";
|
|
19
21
|
import { DescribeLocationHdfsCommandInput, DescribeLocationHdfsCommandOutput } from "../commands/DescribeLocationHdfsCommand";
|
|
20
22
|
import { DescribeLocationNfsCommandInput, DescribeLocationNfsCommandOutput } from "../commands/DescribeLocationNfsCommand";
|
|
@@ -41,6 +43,7 @@ import { UpdateTaskExecutionCommandInput, UpdateTaskExecutionCommandOutput } fro
|
|
|
41
43
|
export declare const serializeAws_json1_1CancelTaskExecutionCommand: (input: CancelTaskExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
42
44
|
export declare const serializeAws_json1_1CreateAgentCommand: (input: CreateAgentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
43
45
|
export declare const serializeAws_json1_1CreateLocationEfsCommand: (input: CreateLocationEfsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
46
|
+
export declare const serializeAws_json1_1CreateLocationFsxLustreCommand: (input: CreateLocationFsxLustreCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
44
47
|
export declare const serializeAws_json1_1CreateLocationFsxWindowsCommand: (input: CreateLocationFsxWindowsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
45
48
|
export declare const serializeAws_json1_1CreateLocationHdfsCommand: (input: CreateLocationHdfsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
46
49
|
export declare const serializeAws_json1_1CreateLocationNfsCommand: (input: CreateLocationNfsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -53,6 +56,7 @@ export declare const serializeAws_json1_1DeleteLocationCommand: (input: DeleteLo
|
|
|
53
56
|
export declare const serializeAws_json1_1DeleteTaskCommand: (input: DeleteTaskCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
54
57
|
export declare const serializeAws_json1_1DescribeAgentCommand: (input: DescribeAgentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
55
58
|
export declare const serializeAws_json1_1DescribeLocationEfsCommand: (input: DescribeLocationEfsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
59
|
+
export declare const serializeAws_json1_1DescribeLocationFsxLustreCommand: (input: DescribeLocationFsxLustreCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
56
60
|
export declare const serializeAws_json1_1DescribeLocationFsxWindowsCommand: (input: DescribeLocationFsxWindowsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
57
61
|
export declare const serializeAws_json1_1DescribeLocationHdfsCommand: (input: DescribeLocationHdfsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
58
62
|
export declare const serializeAws_json1_1DescribeLocationNfsCommand: (input: DescribeLocationNfsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -79,6 +83,7 @@ export declare const serializeAws_json1_1UpdateTaskExecutionCommand: (input: Upd
|
|
|
79
83
|
export declare const deserializeAws_json1_1CancelTaskExecutionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CancelTaskExecutionCommandOutput>;
|
|
80
84
|
export declare const deserializeAws_json1_1CreateAgentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateAgentCommandOutput>;
|
|
81
85
|
export declare const deserializeAws_json1_1CreateLocationEfsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateLocationEfsCommandOutput>;
|
|
86
|
+
export declare const deserializeAws_json1_1CreateLocationFsxLustreCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateLocationFsxLustreCommandOutput>;
|
|
82
87
|
export declare const deserializeAws_json1_1CreateLocationFsxWindowsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateLocationFsxWindowsCommandOutput>;
|
|
83
88
|
export declare const deserializeAws_json1_1CreateLocationHdfsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateLocationHdfsCommandOutput>;
|
|
84
89
|
export declare const deserializeAws_json1_1CreateLocationNfsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateLocationNfsCommandOutput>;
|
|
@@ -91,6 +96,7 @@ export declare const deserializeAws_json1_1DeleteLocationCommand: (output: __Htt
|
|
|
91
96
|
export declare const deserializeAws_json1_1DeleteTaskCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteTaskCommandOutput>;
|
|
92
97
|
export declare const deserializeAws_json1_1DescribeAgentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeAgentCommandOutput>;
|
|
93
98
|
export declare const deserializeAws_json1_1DescribeLocationEfsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeLocationEfsCommandOutput>;
|
|
99
|
+
export declare const deserializeAws_json1_1DescribeLocationFsxLustreCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeLocationFsxLustreCommandOutput>;
|
|
94
100
|
export declare const deserializeAws_json1_1DescribeLocationFsxWindowsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeLocationFsxWindowsCommandOutput>;
|
|
95
101
|
export declare const deserializeAws_json1_1DescribeLocationHdfsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeLocationHdfsCommandOutput>;
|
|
96
102
|
export declare const deserializeAws_json1_1DescribeLocationNfsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeLocationNfsCommandOutput>;
|
|
@@ -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";
|
|
@@ -53,6 +55,10 @@ export declare class DataSync extends DataSyncClient {
|
|
|
53
55
|
createLocationEfs(args: CreateLocationEfsCommandInput, cb: (err: any, data?: CreateLocationEfsCommandOutput) => void): void;
|
|
54
56
|
createLocationEfs(args: CreateLocationEfsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLocationEfsCommandOutput) => void): void;
|
|
55
57
|
|
|
58
|
+
createLocationFsxLustre(args: CreateLocationFsxLustreCommandInput, options?: __HttpHandlerOptions): Promise<CreateLocationFsxLustreCommandOutput>;
|
|
59
|
+
createLocationFsxLustre(args: CreateLocationFsxLustreCommandInput, cb: (err: any, data?: CreateLocationFsxLustreCommandOutput) => void): void;
|
|
60
|
+
createLocationFsxLustre(args: CreateLocationFsxLustreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLocationFsxLustreCommandOutput) => void): void;
|
|
61
|
+
|
|
56
62
|
createLocationFsxWindows(args: CreateLocationFsxWindowsCommandInput, options?: __HttpHandlerOptions): Promise<CreateLocationFsxWindowsCommandOutput>;
|
|
57
63
|
createLocationFsxWindows(args: CreateLocationFsxWindowsCommandInput, cb: (err: any, data?: CreateLocationFsxWindowsCommandOutput) => void): void;
|
|
58
64
|
createLocationFsxWindows(args: CreateLocationFsxWindowsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLocationFsxWindowsCommandOutput) => void): void;
|
|
@@ -101,6 +107,10 @@ export declare class DataSync extends DataSyncClient {
|
|
|
101
107
|
describeLocationEfs(args: DescribeLocationEfsCommandInput, cb: (err: any, data?: DescribeLocationEfsCommandOutput) => void): void;
|
|
102
108
|
describeLocationEfs(args: DescribeLocationEfsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLocationEfsCommandOutput) => void): void;
|
|
103
109
|
|
|
110
|
+
describeLocationFsxLustre(args: DescribeLocationFsxLustreCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLocationFsxLustreCommandOutput>;
|
|
111
|
+
describeLocationFsxLustre(args: DescribeLocationFsxLustreCommandInput, cb: (err: any, data?: DescribeLocationFsxLustreCommandOutput) => void): void;
|
|
112
|
+
describeLocationFsxLustre(args: DescribeLocationFsxLustreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLocationFsxLustreCommandOutput) => void): void;
|
|
113
|
+
|
|
104
114
|
describeLocationFsxWindows(args: DescribeLocationFsxWindowsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLocationFsxWindowsCommandOutput>;
|
|
105
115
|
describeLocationFsxWindows(args: DescribeLocationFsxWindowsCommandInput, cb: (err: any, data?: DescribeLocationFsxWindowsCommandOutput) => void): void;
|
|
106
116
|
describeLocationFsxWindows(args: DescribeLocationFsxWindowsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLocationFsxWindowsCommandOutput) => void): void;
|