@aws-sdk/client-datasync 3.112.0 → 3.119.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/DataSync.js +30 -0
  3. package/dist-cjs/commands/CreateLocationFsxOntapCommand.js +36 -0
  4. package/dist-cjs/commands/DescribeLocationFsxOntapCommand.js +36 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +51 -15
  7. package/dist-cjs/protocols/Aws_json1_1.js +168 -2
  8. package/dist-es/DataSync.js +30 -0
  9. package/dist-es/commands/CreateLocationFsxOntapCommand.js +39 -0
  10. package/dist-es/commands/DescribeLocationFsxOntapCommand.js +39 -0
  11. package/dist-es/commands/index.js +2 -0
  12. package/dist-es/models/models_0.js +33 -13
  13. package/dist-es/protocols/Aws_json1_1.js +186 -2
  14. package/dist-types/DataSync.d.ts +17 -4
  15. package/dist-types/DataSyncClient.d.ts +4 -2
  16. package/dist-types/commands/CreateLocationFsxOntapCommand.d.ts +36 -0
  17. package/dist-types/commands/CreateLocationObjectStorageCommand.d.ts +1 -2
  18. package/dist-types/commands/DescribeLocationFsxOntapCommand.d.ts +35 -0
  19. package/dist-types/commands/DescribeLocationObjectStorageCommand.d.ts +1 -2
  20. package/dist-types/commands/index.d.ts +2 -0
  21. package/dist-types/models/models_0.d.ts +293 -154
  22. package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
  23. package/dist-types/ts3.4/DataSync.d.ts +10 -0
  24. package/dist-types/ts3.4/DataSyncClient.d.ts +4 -2
  25. package/dist-types/ts3.4/commands/CreateLocationFsxOntapCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/DescribeLocationFsxOntapCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  28. package/dist-types/ts3.4/models/models_0.d.ts +83 -14
  29. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +6 -0
  30. 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 { CreateLocationFsxOntapRequest, CreateLocationFsxOntapResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1CreateLocationFsxOntapCommand, serializeAws_json1_1CreateLocationFsxOntapCommand, } from "../protocols/Aws_json1_1";
6
+ var CreateLocationFsxOntapCommand = (function (_super) {
7
+ __extends(CreateLocationFsxOntapCommand, _super);
8
+ function CreateLocationFsxOntapCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateLocationFsxOntapCommand.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 = "CreateLocationFsxOntapCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateLocationFsxOntapRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateLocationFsxOntapResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateLocationFsxOntapCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1CreateLocationFsxOntapCommand(input, context);
33
+ };
34
+ CreateLocationFsxOntapCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1CreateLocationFsxOntapCommand(output, context);
36
+ };
37
+ return CreateLocationFsxOntapCommand;
38
+ }($Command));
39
+ export { CreateLocationFsxOntapCommand };
@@ -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 { DescribeLocationFsxOntapRequest, DescribeLocationFsxOntapResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1DescribeLocationFsxOntapCommand, serializeAws_json1_1DescribeLocationFsxOntapCommand, } from "../protocols/Aws_json1_1";
6
+ var DescribeLocationFsxOntapCommand = (function (_super) {
7
+ __extends(DescribeLocationFsxOntapCommand, _super);
8
+ function DescribeLocationFsxOntapCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DescribeLocationFsxOntapCommand.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 = "DescribeLocationFsxOntapCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DescribeLocationFsxOntapRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DescribeLocationFsxOntapResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeLocationFsxOntapCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1DescribeLocationFsxOntapCommand(input, context);
33
+ };
34
+ DescribeLocationFsxOntapCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1DescribeLocationFsxOntapCommand(output, context);
36
+ };
37
+ return DescribeLocationFsxOntapCommand;
38
+ }($Command));
39
+ export { DescribeLocationFsxOntapCommand };
@@ -2,6 +2,7 @@ export * from "./CancelTaskExecutionCommand";
2
2
  export * from "./CreateAgentCommand";
3
3
  export * from "./CreateLocationEfsCommand";
4
4
  export * from "./CreateLocationFsxLustreCommand";
5
+ export * from "./CreateLocationFsxOntapCommand";
5
6
  export * from "./CreateLocationFsxOpenZfsCommand";
6
7
  export * from "./CreateLocationFsxWindowsCommand";
7
8
  export * from "./CreateLocationHdfsCommand";
@@ -16,6 +17,7 @@ export * from "./DeleteTaskCommand";
16
17
  export * from "./DescribeAgentCommand";
17
18
  export * from "./DescribeLocationEfsCommand";
18
19
  export * from "./DescribeLocationFsxLustreCommand";
20
+ export * from "./DescribeLocationFsxOntapCommand";
19
21
  export * from "./DescribeLocationFsxOpenZfsCommand";
20
22
  export * from "./DescribeLocationFsxWindowsCommand";
21
23
  export * from "./DescribeLocationHdfsCommand";
@@ -102,13 +102,35 @@ export var FsxProtocolNfs;
102
102
  (function (FsxProtocolNfs) {
103
103
  FsxProtocolNfs.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
104
104
  })(FsxProtocolNfs || (FsxProtocolNfs = {}));
105
+ export var SmbVersion;
106
+ (function (SmbVersion) {
107
+ SmbVersion["AUTOMATIC"] = "AUTOMATIC";
108
+ SmbVersion["SMB2"] = "SMB2";
109
+ SmbVersion["SMB3"] = "SMB3";
110
+ })(SmbVersion || (SmbVersion = {}));
111
+ export var SmbMountOptions;
112
+ (function (SmbMountOptions) {
113
+ SmbMountOptions.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
114
+ })(SmbMountOptions || (SmbMountOptions = {}));
115
+ export var FsxProtocolSmb;
116
+ (function (FsxProtocolSmb) {
117
+ FsxProtocolSmb.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Password && { Password: SENSITIVE_STRING }))); };
118
+ })(FsxProtocolSmb || (FsxProtocolSmb = {}));
105
119
  export var FsxProtocol;
106
120
  (function (FsxProtocol) {
107
- FsxProtocol.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
121
+ FsxProtocol.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.SMB && { SMB: FsxProtocolSmb.filterSensitiveLog(obj.SMB) }))); };
108
122
  })(FsxProtocol || (FsxProtocol = {}));
123
+ export var CreateLocationFsxOntapRequest;
124
+ (function (CreateLocationFsxOntapRequest) {
125
+ CreateLocationFsxOntapRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Protocol && { Protocol: FsxProtocol.filterSensitiveLog(obj.Protocol) }))); };
126
+ })(CreateLocationFsxOntapRequest || (CreateLocationFsxOntapRequest = {}));
127
+ export var CreateLocationFsxOntapResponse;
128
+ (function (CreateLocationFsxOntapResponse) {
129
+ CreateLocationFsxOntapResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
130
+ })(CreateLocationFsxOntapResponse || (CreateLocationFsxOntapResponse = {}));
109
131
  export var CreateLocationFsxOpenZfsRequest;
110
132
  (function (CreateLocationFsxOpenZfsRequest) {
111
- CreateLocationFsxOpenZfsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
133
+ CreateLocationFsxOpenZfsRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Protocol && { Protocol: FsxProtocol.filterSensitiveLog(obj.Protocol) }))); };
112
134
  })(CreateLocationFsxOpenZfsRequest || (CreateLocationFsxOpenZfsRequest = {}));
113
135
  export var CreateLocationFsxOpenZfsResponse;
114
136
  (function (CreateLocationFsxOpenZfsResponse) {
@@ -204,16 +226,6 @@ export var CreateLocationS3Response;
204
226
  (function (CreateLocationS3Response) {
205
227
  CreateLocationS3Response.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
206
228
  })(CreateLocationS3Response || (CreateLocationS3Response = {}));
207
- export var SmbVersion;
208
- (function (SmbVersion) {
209
- SmbVersion["AUTOMATIC"] = "AUTOMATIC";
210
- SmbVersion["SMB2"] = "SMB2";
211
- SmbVersion["SMB3"] = "SMB3";
212
- })(SmbVersion || (SmbVersion = {}));
213
- export var SmbMountOptions;
214
- (function (SmbMountOptions) {
215
- SmbMountOptions.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
216
- })(SmbMountOptions || (SmbMountOptions = {}));
217
229
  export var CreateLocationSmbRequest;
218
230
  (function (CreateLocationSmbRequest) {
219
231
  CreateLocationSmbRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Password && { Password: SENSITIVE_STRING }))); };
@@ -376,13 +388,21 @@ export var DescribeLocationFsxLustreResponse;
376
388
  (function (DescribeLocationFsxLustreResponse) {
377
389
  DescribeLocationFsxLustreResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
378
390
  })(DescribeLocationFsxLustreResponse || (DescribeLocationFsxLustreResponse = {}));
391
+ export var DescribeLocationFsxOntapRequest;
392
+ (function (DescribeLocationFsxOntapRequest) {
393
+ DescribeLocationFsxOntapRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
394
+ })(DescribeLocationFsxOntapRequest || (DescribeLocationFsxOntapRequest = {}));
395
+ export var DescribeLocationFsxOntapResponse;
396
+ (function (DescribeLocationFsxOntapResponse) {
397
+ DescribeLocationFsxOntapResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Protocol && { Protocol: FsxProtocol.filterSensitiveLog(obj.Protocol) }))); };
398
+ })(DescribeLocationFsxOntapResponse || (DescribeLocationFsxOntapResponse = {}));
379
399
  export var DescribeLocationFsxOpenZfsRequest;
380
400
  (function (DescribeLocationFsxOpenZfsRequest) {
381
401
  DescribeLocationFsxOpenZfsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
382
402
  })(DescribeLocationFsxOpenZfsRequest || (DescribeLocationFsxOpenZfsRequest = {}));
383
403
  export var DescribeLocationFsxOpenZfsResponse;
384
404
  (function (DescribeLocationFsxOpenZfsResponse) {
385
- DescribeLocationFsxOpenZfsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
405
+ DescribeLocationFsxOpenZfsResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Protocol && { Protocol: FsxProtocol.filterSensitiveLog(obj.Protocol) }))); };
386
406
  })(DescribeLocationFsxOpenZfsResponse || (DescribeLocationFsxOpenZfsResponse = {}));
387
407
  export var DescribeLocationFsxWindowsRequest;
388
408
  (function (DescribeLocationFsxWindowsRequest) {
@@ -47,6 +47,17 @@ export var serializeAws_json1_1CreateLocationFsxLustreCommand = function (input,
47
47
  return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
48
48
  });
49
49
  }); };
50
+ export var serializeAws_json1_1CreateLocationFsxOntapCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
51
+ var headers, body;
52
+ return __generator(this, function (_a) {
53
+ headers = {
54
+ "content-type": "application/x-amz-json-1.1",
55
+ "x-amz-target": "FmrsService.CreateLocationFsxOntap",
56
+ };
57
+ body = JSON.stringify(serializeAws_json1_1CreateLocationFsxOntapRequest(input, context));
58
+ return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
59
+ });
60
+ }); };
50
61
  export var serializeAws_json1_1CreateLocationFsxOpenZfsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
51
62
  var headers, body;
52
63
  return __generator(this, function (_a) {
@@ -201,6 +212,17 @@ export var serializeAws_json1_1DescribeLocationFsxLustreCommand = function (inpu
201
212
  return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
202
213
  });
203
214
  }); };
215
+ export var serializeAws_json1_1DescribeLocationFsxOntapCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
216
+ var headers, body;
217
+ return __generator(this, function (_a) {
218
+ headers = {
219
+ "content-type": "application/x-amz-json-1.1",
220
+ "x-amz-target": "FmrsService.DescribeLocationFsxOntap",
221
+ };
222
+ body = JSON.stringify(serializeAws_json1_1DescribeLocationFsxOntapRequest(input, context));
223
+ return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
224
+ });
225
+ }); };
204
226
  export var serializeAws_json1_1DescribeLocationFsxOpenZfsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
205
227
  var headers, body;
206
228
  return __generator(this, function (_a) {
@@ -681,6 +703,60 @@ var deserializeAws_json1_1CreateLocationFsxLustreCommandError = function (output
681
703
  }
682
704
  });
683
705
  }); };
706
+ export var deserializeAws_json1_1CreateLocationFsxOntapCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
707
+ var data, contents, response;
708
+ return __generator(this, function (_a) {
709
+ switch (_a.label) {
710
+ case 0:
711
+ if (output.statusCode >= 300) {
712
+ return [2, deserializeAws_json1_1CreateLocationFsxOntapCommandError(output, context)];
713
+ }
714
+ return [4, parseBody(output.body, context)];
715
+ case 1:
716
+ data = _a.sent();
717
+ contents = {};
718
+ contents = deserializeAws_json1_1CreateLocationFsxOntapResponse(data, context);
719
+ response = __assign({ $metadata: deserializeMetadata(output) }, contents);
720
+ return [2, Promise.resolve(response)];
721
+ }
722
+ });
723
+ }); };
724
+ var deserializeAws_json1_1CreateLocationFsxOntapCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
725
+ var parsedOutput, _a, response, errorCode, _b, parsedBody;
726
+ var _c;
727
+ return __generator(this, function (_d) {
728
+ switch (_d.label) {
729
+ case 0:
730
+ _a = [__assign({}, output)];
731
+ _c = {};
732
+ return [4, parseBody(output.body, context)];
733
+ case 1:
734
+ parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
735
+ errorCode = "UnknownError";
736
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
737
+ _b = errorCode;
738
+ switch (_b) {
739
+ case "InternalException": return [3, 2];
740
+ case "com.amazonaws.datasync#InternalException": return [3, 2];
741
+ case "InvalidRequestException": return [3, 4];
742
+ case "com.amazonaws.datasync#InvalidRequestException": return [3, 4];
743
+ }
744
+ return [3, 6];
745
+ case 2: return [4, deserializeAws_json1_1InternalExceptionResponse(parsedOutput, context)];
746
+ case 3: throw _d.sent();
747
+ case 4: return [4, deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)];
748
+ case 5: throw _d.sent();
749
+ case 6:
750
+ parsedBody = parsedOutput.body;
751
+ response = new __BaseException({
752
+ name: parsedBody.code || parsedBody.Code || errorCode,
753
+ $fault: "client",
754
+ $metadata: deserializeMetadata(output),
755
+ });
756
+ throw __decorateServiceException(response, parsedBody);
757
+ }
758
+ });
759
+ }); };
684
760
  export var deserializeAws_json1_1CreateLocationFsxOpenZfsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
685
761
  var data, contents, response;
686
762
  return __generator(this, function (_a) {
@@ -1437,6 +1513,60 @@ var deserializeAws_json1_1DescribeLocationFsxLustreCommandError = function (outp
1437
1513
  }
1438
1514
  });
1439
1515
  }); };
1516
+ export var deserializeAws_json1_1DescribeLocationFsxOntapCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1517
+ var data, contents, response;
1518
+ return __generator(this, function (_a) {
1519
+ switch (_a.label) {
1520
+ case 0:
1521
+ if (output.statusCode >= 300) {
1522
+ return [2, deserializeAws_json1_1DescribeLocationFsxOntapCommandError(output, context)];
1523
+ }
1524
+ return [4, parseBody(output.body, context)];
1525
+ case 1:
1526
+ data = _a.sent();
1527
+ contents = {};
1528
+ contents = deserializeAws_json1_1DescribeLocationFsxOntapResponse(data, context);
1529
+ response = __assign({ $metadata: deserializeMetadata(output) }, contents);
1530
+ return [2, Promise.resolve(response)];
1531
+ }
1532
+ });
1533
+ }); };
1534
+ var deserializeAws_json1_1DescribeLocationFsxOntapCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1535
+ var parsedOutput, _a, response, errorCode, _b, parsedBody;
1536
+ var _c;
1537
+ return __generator(this, function (_d) {
1538
+ switch (_d.label) {
1539
+ case 0:
1540
+ _a = [__assign({}, output)];
1541
+ _c = {};
1542
+ return [4, parseBody(output.body, context)];
1543
+ case 1:
1544
+ parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
1545
+ errorCode = "UnknownError";
1546
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1547
+ _b = errorCode;
1548
+ switch (_b) {
1549
+ case "InternalException": return [3, 2];
1550
+ case "com.amazonaws.datasync#InternalException": return [3, 2];
1551
+ case "InvalidRequestException": return [3, 4];
1552
+ case "com.amazonaws.datasync#InvalidRequestException": return [3, 4];
1553
+ }
1554
+ return [3, 6];
1555
+ case 2: return [4, deserializeAws_json1_1InternalExceptionResponse(parsedOutput, context)];
1556
+ case 3: throw _d.sent();
1557
+ case 4: return [4, deserializeAws_json1_1InvalidRequestExceptionResponse(parsedOutput, context)];
1558
+ case 5: throw _d.sent();
1559
+ case 6:
1560
+ parsedBody = parsedOutput.body;
1561
+ response = new __BaseException({
1562
+ name: parsedBody.code || parsedBody.Code || errorCode,
1563
+ $fault: "client",
1564
+ $metadata: deserializeMetadata(output),
1565
+ });
1566
+ throw __decorateServiceException(response, parsedBody);
1567
+ }
1568
+ });
1569
+ }); };
1440
1570
  export var deserializeAws_json1_1DescribeLocationFsxOpenZfsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1441
1571
  var data, contents, response;
1442
1572
  return __generator(this, function (_a) {
@@ -2790,6 +2920,15 @@ var serializeAws_json1_1CreateLocationFsxLustreRequest = function (input, contex
2790
2920
  })), (input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory })), (input.Tags !== undefined &&
2791
2921
  input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
2792
2922
  };
2923
+ var serializeAws_json1_1CreateLocationFsxOntapRequest = function (input, context) {
2924
+ return __assign(__assign(__assign(__assign(__assign({}, (input.Protocol !== undefined &&
2925
+ input.Protocol !== null && { Protocol: serializeAws_json1_1FsxProtocol(input.Protocol, context) })), (input.SecurityGroupArns !== undefined &&
2926
+ input.SecurityGroupArns !== null && {
2927
+ SecurityGroupArns: serializeAws_json1_1Ec2SecurityGroupArnList(input.SecurityGroupArns, context),
2928
+ })), (input.StorageVirtualMachineArn !== undefined &&
2929
+ input.StorageVirtualMachineArn !== null && { StorageVirtualMachineArn: input.StorageVirtualMachineArn })), (input.Subdirectory !== undefined && input.Subdirectory !== null && { Subdirectory: input.Subdirectory })), (input.Tags !== undefined &&
2930
+ input.Tags !== null && { Tags: serializeAws_json1_1InputTagList(input.Tags, context) }));
2931
+ };
2793
2932
  var serializeAws_json1_1CreateLocationFsxOpenZfsRequest = function (input, context) {
2794
2933
  return __assign(__assign(__assign(__assign(__assign({}, (input.FsxFilesystemArn !== undefined &&
2795
2934
  input.FsxFilesystemArn !== null && { FsxFilesystemArn: input.FsxFilesystemArn })), (input.Protocol !== undefined &&
@@ -2883,6 +3022,9 @@ var serializeAws_json1_1DescribeLocationEfsRequest = function (input, context) {
2883
3022
  var serializeAws_json1_1DescribeLocationFsxLustreRequest = function (input, context) {
2884
3023
  return __assign({}, (input.LocationArn !== undefined && input.LocationArn !== null && { LocationArn: input.LocationArn }));
2885
3024
  };
3025
+ var serializeAws_json1_1DescribeLocationFsxOntapRequest = function (input, context) {
3026
+ return __assign({}, (input.LocationArn !== undefined && input.LocationArn !== null && { LocationArn: input.LocationArn }));
3027
+ };
2886
3028
  var serializeAws_json1_1DescribeLocationFsxOpenZfsRequest = function (input, context) {
2887
3029
  return __assign({}, (input.LocationArn !== undefined && input.LocationArn !== null && { LocationArn: input.LocationArn }));
2888
3030
  };
@@ -2951,8 +3093,9 @@ var serializeAws_json1_1FilterValues = function (input, context) {
2951
3093
  });
2952
3094
  };
2953
3095
  var serializeAws_json1_1FsxProtocol = function (input, context) {
2954
- return __assign({}, (input.NFS !== undefined &&
2955
- input.NFS !== null && { NFS: serializeAws_json1_1FsxProtocolNfs(input.NFS, context) }));
3096
+ return __assign(__assign({}, (input.NFS !== undefined &&
3097
+ input.NFS !== null && { NFS: serializeAws_json1_1FsxProtocolNfs(input.NFS, context) })), (input.SMB !== undefined &&
3098
+ input.SMB !== null && { SMB: serializeAws_json1_1FsxProtocolSmb(input.SMB, context) }));
2956
3099
  };
2957
3100
  var serializeAws_json1_1FsxProtocolNfs = function (input, context) {
2958
3101
  return __assign({}, (input.MountOptions !== undefined &&
@@ -2960,6 +3103,12 @@ var serializeAws_json1_1FsxProtocolNfs = function (input, context) {
2960
3103
  MountOptions: serializeAws_json1_1NfsMountOptions(input.MountOptions, context),
2961
3104
  }));
2962
3105
  };
3106
+ var serializeAws_json1_1FsxProtocolSmb = function (input, context) {
3107
+ return __assign(__assign(__assign(__assign({}, (input.Domain !== undefined && input.Domain !== null && { Domain: input.Domain })), (input.MountOptions !== undefined &&
3108
+ input.MountOptions !== null && {
3109
+ MountOptions: serializeAws_json1_1SmbMountOptions(input.MountOptions, context),
3110
+ })), (input.Password !== undefined && input.Password !== null && { Password: input.Password })), (input.User !== undefined && input.User !== null && { User: input.User }));
3111
+ };
2963
3112
  var serializeAws_json1_1HdfsNameNode = function (input, context) {
2964
3113
  return __assign(__assign({}, (input.Hostname !== undefined && input.Hostname !== null && { Hostname: input.Hostname })), (input.Port !== undefined && input.Port !== null && { Port: input.Port }));
2965
3114
  };
@@ -3203,6 +3352,11 @@ var deserializeAws_json1_1CreateLocationFsxLustreResponse = function (output, co
3203
3352
  LocationArn: __expectString(output.LocationArn),
3204
3353
  };
3205
3354
  };
3355
+ var deserializeAws_json1_1CreateLocationFsxOntapResponse = function (output, context) {
3356
+ return {
3357
+ LocationArn: __expectString(output.LocationArn),
3358
+ };
3359
+ };
3206
3360
  var deserializeAws_json1_1CreateLocationFsxOpenZfsResponse = function (output, context) {
3207
3361
  return {
3208
3362
  LocationArn: __expectString(output.LocationArn),
@@ -3296,6 +3450,23 @@ var deserializeAws_json1_1DescribeLocationFsxLustreResponse = function (output,
3296
3450
  : undefined,
3297
3451
  };
3298
3452
  };
3453
+ var deserializeAws_json1_1DescribeLocationFsxOntapResponse = function (output, context) {
3454
+ return {
3455
+ CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
3456
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
3457
+ : undefined,
3458
+ FsxFilesystemArn: __expectString(output.FsxFilesystemArn),
3459
+ LocationArn: __expectString(output.LocationArn),
3460
+ LocationUri: __expectString(output.LocationUri),
3461
+ Protocol: output.Protocol !== undefined && output.Protocol !== null
3462
+ ? deserializeAws_json1_1FsxProtocol(output.Protocol, context)
3463
+ : undefined,
3464
+ SecurityGroupArns: output.SecurityGroupArns !== undefined && output.SecurityGroupArns !== null
3465
+ ? deserializeAws_json1_1Ec2SecurityGroupArnList(output.SecurityGroupArns, context)
3466
+ : undefined,
3467
+ StorageVirtualMachineArn: __expectString(output.StorageVirtualMachineArn),
3468
+ };
3469
+ };
3299
3470
  var deserializeAws_json1_1DescribeLocationFsxOpenZfsResponse = function (output, context) {
3300
3471
  return {
3301
3472
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
@@ -3524,6 +3695,9 @@ var deserializeAws_json1_1FsxProtocol = function (output, context) {
3524
3695
  NFS: output.NFS !== undefined && output.NFS !== null
3525
3696
  ? deserializeAws_json1_1FsxProtocolNfs(output.NFS, context)
3526
3697
  : undefined,
3698
+ SMB: output.SMB !== undefined && output.SMB !== null
3699
+ ? deserializeAws_json1_1FsxProtocolSmb(output.SMB, context)
3700
+ : undefined,
3527
3701
  };
3528
3702
  };
3529
3703
  var deserializeAws_json1_1FsxProtocolNfs = function (output, context) {
@@ -3533,6 +3707,16 @@ var deserializeAws_json1_1FsxProtocolNfs = function (output, context) {
3533
3707
  : undefined,
3534
3708
  };
3535
3709
  };
3710
+ var deserializeAws_json1_1FsxProtocolSmb = function (output, context) {
3711
+ return {
3712
+ Domain: __expectString(output.Domain),
3713
+ MountOptions: output.MountOptions !== undefined && output.MountOptions !== null
3714
+ ? deserializeAws_json1_1SmbMountOptions(output.MountOptions, context)
3715
+ : undefined,
3716
+ Password: __expectString(output.Password),
3717
+ User: __expectString(output.User),
3718
+ };
3719
+ };
3536
3720
  var deserializeAws_json1_1HdfsNameNode = function (output, context) {
3537
3721
  return {
3538
3722
  Hostname: __expectString(output.Hostname),
@@ -3,6 +3,7 @@ import { CancelTaskExecutionCommandInput, CancelTaskExecutionCommandOutput } fro
3
3
  import { CreateAgentCommandInput, CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
4
4
  import { CreateLocationEfsCommandInput, CreateLocationEfsCommandOutput } from "./commands/CreateLocationEfsCommand";
5
5
  import { CreateLocationFsxLustreCommandInput, CreateLocationFsxLustreCommandOutput } from "./commands/CreateLocationFsxLustreCommand";
6
+ import { CreateLocationFsxOntapCommandInput, CreateLocationFsxOntapCommandOutput } from "./commands/CreateLocationFsxOntapCommand";
6
7
  import { CreateLocationFsxOpenZfsCommandInput, CreateLocationFsxOpenZfsCommandOutput } from "./commands/CreateLocationFsxOpenZfsCommand";
7
8
  import { CreateLocationFsxWindowsCommandInput, CreateLocationFsxWindowsCommandOutput } from "./commands/CreateLocationFsxWindowsCommand";
8
9
  import { CreateLocationHdfsCommandInput, CreateLocationHdfsCommandOutput } from "./commands/CreateLocationHdfsCommand";
@@ -17,6 +18,7 @@ import { DeleteTaskCommandInput, DeleteTaskCommandOutput } from "./commands/Dele
17
18
  import { DescribeAgentCommandInput, DescribeAgentCommandOutput } from "./commands/DescribeAgentCommand";
18
19
  import { DescribeLocationEfsCommandInput, DescribeLocationEfsCommandOutput } from "./commands/DescribeLocationEfsCommand";
19
20
  import { DescribeLocationFsxLustreCommandInput, DescribeLocationFsxLustreCommandOutput } from "./commands/DescribeLocationFsxLustreCommand";
21
+ import { DescribeLocationFsxOntapCommandInput, DescribeLocationFsxOntapCommandOutput } from "./commands/DescribeLocationFsxOntapCommand";
20
22
  import { DescribeLocationFsxOpenZfsCommandInput, DescribeLocationFsxOpenZfsCommandOutput } from "./commands/DescribeLocationFsxOpenZfsCommand";
21
23
  import { DescribeLocationFsxWindowsCommandInput, DescribeLocationFsxWindowsCommandOutput } from "./commands/DescribeLocationFsxWindowsCommand";
22
24
  import { DescribeLocationHdfsCommandInput, DescribeLocationHdfsCommandOutput } from "./commands/DescribeLocationHdfsCommand";
@@ -98,6 +100,13 @@ export declare class DataSync extends DataSyncClient {
98
100
  createLocationFsxLustre(args: CreateLocationFsxLustreCommandInput, options?: __HttpHandlerOptions): Promise<CreateLocationFsxLustreCommandOutput>;
99
101
  createLocationFsxLustre(args: CreateLocationFsxLustreCommandInput, cb: (err: any, data?: CreateLocationFsxLustreCommandOutput) => void): void;
100
102
  createLocationFsxLustre(args: CreateLocationFsxLustreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLocationFsxLustreCommandOutput) => void): void;
103
+ /**
104
+ * <p>Creates an endpoint for an Amazon FSx for NetApp ONTAP file system that DataSync
105
+ * can access for a transfer. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-ontap-location.html">Creating a location for FSx for ONTAP</a>.</p>
106
+ */
107
+ createLocationFsxOntap(args: CreateLocationFsxOntapCommandInput, options?: __HttpHandlerOptions): Promise<CreateLocationFsxOntapCommandOutput>;
108
+ createLocationFsxOntap(args: CreateLocationFsxOntapCommandInput, cb: (err: any, data?: CreateLocationFsxOntapCommandOutput) => void): void;
109
+ createLocationFsxOntap(args: CreateLocationFsxOntapCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLocationFsxOntapCommandOutput) => void): void;
101
110
  /**
102
111
  * <p>Creates an endpoint for an Amazon FSx for OpenZFS file system.</p>
103
112
  */
@@ -124,8 +133,7 @@ export declare class DataSync extends DataSyncClient {
124
133
  createLocationNfs(args: CreateLocationNfsCommandInput, cb: (err: any, data?: CreateLocationNfsCommandOutput) => void): void;
125
134
  createLocationNfs(args: CreateLocationNfsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLocationNfsCommandOutput) => void): void;
126
135
  /**
127
- * <p>Creates an endpoint for a self-managed object storage bucket. For more information
128
- * about self-managed object storage locations, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html">Creating a location for object storage</a>.</p>
136
+ * <p>Creates an endpoint for an object storage system that DataSync can access for a transfer. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html">Creating a location for object storage</a>.</p>
129
137
  */
130
138
  createLocationObjectStorage(args: CreateLocationObjectStorageCommandInput, options?: __HttpHandlerOptions): Promise<CreateLocationObjectStorageCommandOutput>;
131
139
  createLocationObjectStorage(args: CreateLocationObjectStorageCommandInput, cb: (err: any, data?: CreateLocationObjectStorageCommandOutput) => void): void;
@@ -215,6 +223,12 @@ export declare class DataSync extends DataSyncClient {
215
223
  describeLocationFsxLustre(args: DescribeLocationFsxLustreCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLocationFsxLustreCommandOutput>;
216
224
  describeLocationFsxLustre(args: DescribeLocationFsxLustreCommandInput, cb: (err: any, data?: DescribeLocationFsxLustreCommandOutput) => void): void;
217
225
  describeLocationFsxLustre(args: DescribeLocationFsxLustreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLocationFsxLustreCommandOutput) => void): void;
226
+ /**
227
+ * <p>Provides details about how an DataSync location for an Amazon FSx for NetApp ONTAP file system is configured.</p>
228
+ */
229
+ describeLocationFsxOntap(args: DescribeLocationFsxOntapCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLocationFsxOntapCommandOutput>;
230
+ describeLocationFsxOntap(args: DescribeLocationFsxOntapCommandInput, cb: (err: any, data?: DescribeLocationFsxOntapCommandOutput) => void): void;
231
+ describeLocationFsxOntap(args: DescribeLocationFsxOntapCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLocationFsxOntapCommandOutput) => void): void;
218
232
  /**
219
233
  * <p>Returns metadata about an Amazon FSx for OpenZFS
220
234
  * location, such as information about its path.</p>
@@ -243,8 +257,7 @@ export declare class DataSync extends DataSyncClient {
243
257
  describeLocationNfs(args: DescribeLocationNfsCommandInput, cb: (err: any, data?: DescribeLocationNfsCommandOutput) => void): void;
244
258
  describeLocationNfs(args: DescribeLocationNfsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLocationNfsCommandOutput) => void): void;
245
259
  /**
246
- * <p>Returns metadata about a self-managed object storage server location. For more information
247
- * about self-managed object storage locations, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html">Creating a location for object storage</a>.</p>
260
+ * <p>Returns metadata about your DataSync location for an object storage system.</p>
248
261
  */
249
262
  describeLocationObjectStorage(args: DescribeLocationObjectStorageCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLocationObjectStorageCommandOutput>;
250
263
  describeLocationObjectStorage(args: DescribeLocationObjectStorageCommandInput, cb: (err: any, data?: DescribeLocationObjectStorageCommandOutput) => void): void;
@@ -10,6 +10,7 @@ import { CancelTaskExecutionCommandInput, CancelTaskExecutionCommandOutput } fro
10
10
  import { CreateAgentCommandInput, CreateAgentCommandOutput } from "./commands/CreateAgentCommand";
11
11
  import { CreateLocationEfsCommandInput, CreateLocationEfsCommandOutput } from "./commands/CreateLocationEfsCommand";
12
12
  import { CreateLocationFsxLustreCommandInput, CreateLocationFsxLustreCommandOutput } from "./commands/CreateLocationFsxLustreCommand";
13
+ import { CreateLocationFsxOntapCommandInput, CreateLocationFsxOntapCommandOutput } from "./commands/CreateLocationFsxOntapCommand";
13
14
  import { CreateLocationFsxOpenZfsCommandInput, CreateLocationFsxOpenZfsCommandOutput } from "./commands/CreateLocationFsxOpenZfsCommand";
14
15
  import { CreateLocationFsxWindowsCommandInput, CreateLocationFsxWindowsCommandOutput } from "./commands/CreateLocationFsxWindowsCommand";
15
16
  import { CreateLocationHdfsCommandInput, CreateLocationHdfsCommandOutput } from "./commands/CreateLocationHdfsCommand";
@@ -24,6 +25,7 @@ import { DeleteTaskCommandInput, DeleteTaskCommandOutput } from "./commands/Dele
24
25
  import { DescribeAgentCommandInput, DescribeAgentCommandOutput } from "./commands/DescribeAgentCommand";
25
26
  import { DescribeLocationEfsCommandInput, DescribeLocationEfsCommandOutput } from "./commands/DescribeLocationEfsCommand";
26
27
  import { DescribeLocationFsxLustreCommandInput, DescribeLocationFsxLustreCommandOutput } from "./commands/DescribeLocationFsxLustreCommand";
28
+ import { DescribeLocationFsxOntapCommandInput, DescribeLocationFsxOntapCommandOutput } from "./commands/DescribeLocationFsxOntapCommand";
27
29
  import { DescribeLocationFsxOpenZfsCommandInput, DescribeLocationFsxOpenZfsCommandOutput } from "./commands/DescribeLocationFsxOpenZfsCommand";
28
30
  import { DescribeLocationFsxWindowsCommandInput, DescribeLocationFsxWindowsCommandOutput } from "./commands/DescribeLocationFsxWindowsCommand";
29
31
  import { DescribeLocationHdfsCommandInput, DescribeLocationHdfsCommandOutput } from "./commands/DescribeLocationHdfsCommand";
@@ -48,8 +50,8 @@ import { UpdateLocationObjectStorageCommandInput, UpdateLocationObjectStorageCom
48
50
  import { UpdateLocationSmbCommandInput, UpdateLocationSmbCommandOutput } from "./commands/UpdateLocationSmbCommand";
49
51
  import { UpdateTaskCommandInput, UpdateTaskCommandOutput } from "./commands/UpdateTaskCommand";
50
52
  import { UpdateTaskExecutionCommandInput, UpdateTaskExecutionCommandOutput } from "./commands/UpdateTaskExecutionCommand";
51
- export declare type ServiceInputTypes = CancelTaskExecutionCommandInput | CreateAgentCommandInput | CreateLocationEfsCommandInput | CreateLocationFsxLustreCommandInput | CreateLocationFsxOpenZfsCommandInput | CreateLocationFsxWindowsCommandInput | CreateLocationHdfsCommandInput | CreateLocationNfsCommandInput | CreateLocationObjectStorageCommandInput | CreateLocationS3CommandInput | CreateLocationSmbCommandInput | CreateTaskCommandInput | DeleteAgentCommandInput | DeleteLocationCommandInput | DeleteTaskCommandInput | DescribeAgentCommandInput | DescribeLocationEfsCommandInput | DescribeLocationFsxLustreCommandInput | DescribeLocationFsxOpenZfsCommandInput | DescribeLocationFsxWindowsCommandInput | DescribeLocationHdfsCommandInput | DescribeLocationNfsCommandInput | DescribeLocationObjectStorageCommandInput | DescribeLocationS3CommandInput | DescribeLocationSmbCommandInput | DescribeTaskCommandInput | DescribeTaskExecutionCommandInput | ListAgentsCommandInput | ListLocationsCommandInput | ListTagsForResourceCommandInput | ListTaskExecutionsCommandInput | ListTasksCommandInput | StartTaskExecutionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentCommandInput | UpdateLocationHdfsCommandInput | UpdateLocationNfsCommandInput | UpdateLocationObjectStorageCommandInput | UpdateLocationSmbCommandInput | UpdateTaskCommandInput | UpdateTaskExecutionCommandInput;
52
- export declare type ServiceOutputTypes = CancelTaskExecutionCommandOutput | CreateAgentCommandOutput | CreateLocationEfsCommandOutput | CreateLocationFsxLustreCommandOutput | CreateLocationFsxOpenZfsCommandOutput | CreateLocationFsxWindowsCommandOutput | CreateLocationHdfsCommandOutput | CreateLocationNfsCommandOutput | CreateLocationObjectStorageCommandOutput | CreateLocationS3CommandOutput | CreateLocationSmbCommandOutput | CreateTaskCommandOutput | DeleteAgentCommandOutput | DeleteLocationCommandOutput | DeleteTaskCommandOutput | DescribeAgentCommandOutput | DescribeLocationEfsCommandOutput | DescribeLocationFsxLustreCommandOutput | DescribeLocationFsxOpenZfsCommandOutput | DescribeLocationFsxWindowsCommandOutput | DescribeLocationHdfsCommandOutput | DescribeLocationNfsCommandOutput | DescribeLocationObjectStorageCommandOutput | DescribeLocationS3CommandOutput | DescribeLocationSmbCommandOutput | DescribeTaskCommandOutput | DescribeTaskExecutionCommandOutput | ListAgentsCommandOutput | ListLocationsCommandOutput | ListTagsForResourceCommandOutput | ListTaskExecutionsCommandOutput | ListTasksCommandOutput | StartTaskExecutionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentCommandOutput | UpdateLocationHdfsCommandOutput | UpdateLocationNfsCommandOutput | UpdateLocationObjectStorageCommandOutput | UpdateLocationSmbCommandOutput | UpdateTaskCommandOutput | UpdateTaskExecutionCommandOutput;
53
+ export declare type ServiceInputTypes = CancelTaskExecutionCommandInput | CreateAgentCommandInput | CreateLocationEfsCommandInput | CreateLocationFsxLustreCommandInput | CreateLocationFsxOntapCommandInput | CreateLocationFsxOpenZfsCommandInput | CreateLocationFsxWindowsCommandInput | CreateLocationHdfsCommandInput | CreateLocationNfsCommandInput | CreateLocationObjectStorageCommandInput | CreateLocationS3CommandInput | CreateLocationSmbCommandInput | CreateTaskCommandInput | DeleteAgentCommandInput | DeleteLocationCommandInput | DeleteTaskCommandInput | DescribeAgentCommandInput | DescribeLocationEfsCommandInput | DescribeLocationFsxLustreCommandInput | DescribeLocationFsxOntapCommandInput | DescribeLocationFsxOpenZfsCommandInput | DescribeLocationFsxWindowsCommandInput | DescribeLocationHdfsCommandInput | DescribeLocationNfsCommandInput | DescribeLocationObjectStorageCommandInput | DescribeLocationS3CommandInput | DescribeLocationSmbCommandInput | DescribeTaskCommandInput | DescribeTaskExecutionCommandInput | ListAgentsCommandInput | ListLocationsCommandInput | ListTagsForResourceCommandInput | ListTaskExecutionsCommandInput | ListTasksCommandInput | StartTaskExecutionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentCommandInput | UpdateLocationHdfsCommandInput | UpdateLocationNfsCommandInput | UpdateLocationObjectStorageCommandInput | UpdateLocationSmbCommandInput | UpdateTaskCommandInput | UpdateTaskExecutionCommandInput;
54
+ export declare type ServiceOutputTypes = CancelTaskExecutionCommandOutput | CreateAgentCommandOutput | CreateLocationEfsCommandOutput | CreateLocationFsxLustreCommandOutput | CreateLocationFsxOntapCommandOutput | CreateLocationFsxOpenZfsCommandOutput | CreateLocationFsxWindowsCommandOutput | CreateLocationHdfsCommandOutput | CreateLocationNfsCommandOutput | CreateLocationObjectStorageCommandOutput | CreateLocationS3CommandOutput | CreateLocationSmbCommandOutput | CreateTaskCommandOutput | DeleteAgentCommandOutput | DeleteLocationCommandOutput | DeleteTaskCommandOutput | DescribeAgentCommandOutput | DescribeLocationEfsCommandOutput | DescribeLocationFsxLustreCommandOutput | DescribeLocationFsxOntapCommandOutput | DescribeLocationFsxOpenZfsCommandOutput | DescribeLocationFsxWindowsCommandOutput | DescribeLocationHdfsCommandOutput | DescribeLocationNfsCommandOutput | DescribeLocationObjectStorageCommandOutput | DescribeLocationS3CommandOutput | DescribeLocationSmbCommandOutput | DescribeTaskCommandOutput | DescribeTaskExecutionCommandOutput | ListAgentsCommandOutput | ListLocationsCommandOutput | ListTagsForResourceCommandOutput | ListTaskExecutionsCommandOutput | ListTasksCommandOutput | StartTaskExecutionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentCommandOutput | UpdateLocationHdfsCommandOutput | UpdateLocationNfsCommandOutput | UpdateLocationObjectStorageCommandOutput | UpdateLocationSmbCommandOutput | UpdateTaskCommandOutput | UpdateTaskExecutionCommandOutput;
53
55
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
54
56
  /**
55
57
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -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 { CreateLocationFsxOntapRequest, CreateLocationFsxOntapResponse } from "../models/models_0";
5
+ export interface CreateLocationFsxOntapCommandInput extends CreateLocationFsxOntapRequest {
6
+ }
7
+ export interface CreateLocationFsxOntapCommandOutput extends CreateLocationFsxOntapResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Creates an endpoint for an Amazon FSx for NetApp ONTAP file system that DataSync
11
+ * can access for a transfer. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-ontap-location.html">Creating a location for FSx for ONTAP</a>.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { DataSyncClient, CreateLocationFsxOntapCommand } from "@aws-sdk/client-datasync"; // ES Modules import
16
+ * // const { DataSyncClient, CreateLocationFsxOntapCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
17
+ * const client = new DataSyncClient(config);
18
+ * const command = new CreateLocationFsxOntapCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link CreateLocationFsxOntapCommandInput} for command's `input` shape.
23
+ * @see {@link CreateLocationFsxOntapCommandOutput} for command's `response` shape.
24
+ * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class CreateLocationFsxOntapCommand extends $Command<CreateLocationFsxOntapCommandInput, CreateLocationFsxOntapCommandOutput, DataSyncClientResolvedConfig> {
28
+ readonly input: CreateLocationFsxOntapCommandInput;
29
+ constructor(input: CreateLocationFsxOntapCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLocationFsxOntapCommandInput, CreateLocationFsxOntapCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -7,8 +7,7 @@ export interface CreateLocationObjectStorageCommandInput extends CreateLocationO
7
7
  export interface CreateLocationObjectStorageCommandOutput extends CreateLocationObjectStorageResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Creates an endpoint for a self-managed object storage bucket. For more information
11
- * about self-managed object storage locations, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html">Creating a location for object storage</a>.</p>
10
+ * <p>Creates an endpoint for an object storage system that DataSync can access for a transfer. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html">Creating a location for object storage</a>.</p>
12
11
  * @example
13
12
  * Use a bare-bones client and the command you need to make an API call.
14
13
  * ```javascript
@@ -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 { DescribeLocationFsxOntapRequest, DescribeLocationFsxOntapResponse } from "../models/models_0";
5
+ export interface DescribeLocationFsxOntapCommandInput extends DescribeLocationFsxOntapRequest {
6
+ }
7
+ export interface DescribeLocationFsxOntapCommandOutput extends DescribeLocationFsxOntapResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Provides details about how an DataSync location for an Amazon FSx for NetApp ONTAP file system is configured.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { DataSyncClient, DescribeLocationFsxOntapCommand } from "@aws-sdk/client-datasync"; // ES Modules import
15
+ * // const { DataSyncClient, DescribeLocationFsxOntapCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
16
+ * const client = new DataSyncClient(config);
17
+ * const command = new DescribeLocationFsxOntapCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link DescribeLocationFsxOntapCommandInput} for command's `input` shape.
22
+ * @see {@link DescribeLocationFsxOntapCommandOutput} for command's `response` shape.
23
+ * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class DescribeLocationFsxOntapCommand extends $Command<DescribeLocationFsxOntapCommandInput, DescribeLocationFsxOntapCommandOutput, DataSyncClientResolvedConfig> {
27
+ readonly input: DescribeLocationFsxOntapCommandInput;
28
+ constructor(input: DescribeLocationFsxOntapCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataSyncClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeLocationFsxOntapCommandInput, DescribeLocationFsxOntapCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }