@aws-sdk/client-datasync 3.118.1 → 3.127.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 +31 -0
- package/dist-cjs/DataSync.js +30 -0
- package/dist-cjs/commands/CreateLocationFsxOntapCommand.js +36 -0
- package/dist-cjs/commands/DescribeLocationFsxOntapCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +51 -15
- package/dist-cjs/protocols/Aws_json1_1.js +617 -572
- package/dist-es/DataSync.js +30 -0
- package/dist-es/commands/CreateLocationFsxOntapCommand.js +39 -0
- package/dist-es/commands/DescribeLocationFsxOntapCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +33 -13
- package/dist-es/protocols/Aws_json1_1.js +505 -442
- package/dist-types/DataSync.d.ts +17 -4
- package/dist-types/DataSyncClient.d.ts +4 -2
- package/dist-types/commands/CreateLocationFsxOntapCommand.d.ts +36 -0
- package/dist-types/commands/CreateLocationObjectStorageCommand.d.ts +1 -2
- package/dist-types/commands/DescribeLocationFsxOntapCommand.d.ts +35 -0
- package/dist-types/commands/DescribeLocationObjectStorageCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +293 -154
- 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/CreateLocationFsxOntapCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeLocationFsxOntapCommand.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 +83 -14
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +6 -0
- package/package.json +26 -26
package/dist-es/DataSync.js
CHANGED
|
@@ -3,6 +3,7 @@ import { CancelTaskExecutionCommand, } from "./commands/CancelTaskExecutionComma
|
|
|
3
3
|
import { CreateAgentCommand } from "./commands/CreateAgentCommand";
|
|
4
4
|
import { CreateLocationEfsCommand, } from "./commands/CreateLocationEfsCommand";
|
|
5
5
|
import { CreateLocationFsxLustreCommand, } from "./commands/CreateLocationFsxLustreCommand";
|
|
6
|
+
import { CreateLocationFsxOntapCommand, } from "./commands/CreateLocationFsxOntapCommand";
|
|
6
7
|
import { CreateLocationFsxOpenZfsCommand, } from "./commands/CreateLocationFsxOpenZfsCommand";
|
|
7
8
|
import { CreateLocationFsxWindowsCommand, } from "./commands/CreateLocationFsxWindowsCommand";
|
|
8
9
|
import { CreateLocationHdfsCommand, } from "./commands/CreateLocationHdfsCommand";
|
|
@@ -17,6 +18,7 @@ import { DeleteTaskCommand } from "./commands/DeleteTaskCommand";
|
|
|
17
18
|
import { DescribeAgentCommand, } from "./commands/DescribeAgentCommand";
|
|
18
19
|
import { DescribeLocationEfsCommand, } from "./commands/DescribeLocationEfsCommand";
|
|
19
20
|
import { DescribeLocationFsxLustreCommand, } from "./commands/DescribeLocationFsxLustreCommand";
|
|
21
|
+
import { DescribeLocationFsxOntapCommand, } from "./commands/DescribeLocationFsxOntapCommand";
|
|
20
22
|
import { DescribeLocationFsxOpenZfsCommand, } from "./commands/DescribeLocationFsxOpenZfsCommand";
|
|
21
23
|
import { DescribeLocationFsxWindowsCommand, } from "./commands/DescribeLocationFsxWindowsCommand";
|
|
22
24
|
import { DescribeLocationHdfsCommand, } from "./commands/DescribeLocationHdfsCommand";
|
|
@@ -103,6 +105,20 @@ var DataSync = (function (_super) {
|
|
|
103
105
|
return this.send(command, optionsOrCb);
|
|
104
106
|
}
|
|
105
107
|
};
|
|
108
|
+
DataSync.prototype.createLocationFsxOntap = function (args, optionsOrCb, cb) {
|
|
109
|
+
var command = new CreateLocationFsxOntapCommand(args);
|
|
110
|
+
if (typeof optionsOrCb === "function") {
|
|
111
|
+
this.send(command, optionsOrCb);
|
|
112
|
+
}
|
|
113
|
+
else if (typeof cb === "function") {
|
|
114
|
+
if (typeof optionsOrCb !== "object")
|
|
115
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
116
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
117
|
+
}
|
|
118
|
+
else {
|
|
119
|
+
return this.send(command, optionsOrCb);
|
|
120
|
+
}
|
|
121
|
+
};
|
|
106
122
|
DataSync.prototype.createLocationFsxOpenZfs = function (args, optionsOrCb, cb) {
|
|
107
123
|
var command = new CreateLocationFsxOpenZfsCommand(args);
|
|
108
124
|
if (typeof optionsOrCb === "function") {
|
|
@@ -299,6 +315,20 @@ var DataSync = (function (_super) {
|
|
|
299
315
|
return this.send(command, optionsOrCb);
|
|
300
316
|
}
|
|
301
317
|
};
|
|
318
|
+
DataSync.prototype.describeLocationFsxOntap = function (args, optionsOrCb, cb) {
|
|
319
|
+
var command = new DescribeLocationFsxOntapCommand(args);
|
|
320
|
+
if (typeof optionsOrCb === "function") {
|
|
321
|
+
this.send(command, optionsOrCb);
|
|
322
|
+
}
|
|
323
|
+
else if (typeof cb === "function") {
|
|
324
|
+
if (typeof optionsOrCb !== "object")
|
|
325
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
326
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
327
|
+
}
|
|
328
|
+
else {
|
|
329
|
+
return this.send(command, optionsOrCb);
|
|
330
|
+
}
|
|
331
|
+
};
|
|
302
332
|
DataSync.prototype.describeLocationFsxOpenZfs = function (args, optionsOrCb, cb) {
|
|
303
333
|
var command = new DescribeLocationFsxOpenZfsCommand(args);
|
|
304
334
|
if (typeof optionsOrCb === "function") {
|
|
@@ -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) {
|