@aws-sdk/client-datasync 3.39.0 → 3.43.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 +39 -0
- package/dist-cjs/DataSync.js +45 -0
- package/dist-cjs/commands/CreateLocationHdfsCommand.js +36 -0
- package/dist-cjs/commands/DescribeLocationHdfsCommand.js +36 -0
- package/dist-cjs/commands/UpdateLocationHdfsCommand.js +36 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/endpoints.js +151 -26
- package/dist-cjs/models/models_0.js +70 -3
- package/dist-cjs/protocols/Aws_json1_1.js +336 -2
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/DataSync.js +45 -0
- package/dist-es/commands/CreateLocationHdfsCommand.js +39 -0
- package/dist-es/commands/DescribeLocationHdfsCommand.js +39 -0
- package/dist-es/commands/UpdateLocationHdfsCommand.js +39 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoints.js +151 -26
- package/dist-es/models/models_0.js +51 -0
- package/dist-es/protocols/Aws_json1_1.js +328 -0
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/DataSync.d.ts +23 -0
- package/dist-types/DataSyncClient.d.ts +13 -2
- package/dist-types/commands/CancelTaskExecutionCommand.d.ts +1 -1
- package/dist-types/commands/CreateAgentCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocationEfsCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocationFsxWindowsCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocationHdfsCommand.d.ts +35 -0
- package/dist-types/commands/CreateLocationNfsCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocationObjectStorageCommand.d.ts +1 -1
- package/dist-types/commands/CreateLocationS3Command.d.ts +1 -1
- package/dist-types/commands/CreateLocationSmbCommand.d.ts +1 -1
- package/dist-types/commands/CreateTaskCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAgentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLocationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTaskCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAgentCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLocationEfsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLocationFsxWindowsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLocationHdfsCommand.d.ts +36 -0
- package/dist-types/commands/DescribeLocationNfsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLocationObjectStorageCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLocationS3Command.d.ts +1 -1
- package/dist-types/commands/DescribeLocationSmbCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTaskCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTaskExecutionCommand.d.ts +1 -1
- package/dist-types/commands/ListAgentsCommand.d.ts +1 -1
- package/dist-types/commands/ListLocationsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTaskExecutionsCommand.d.ts +1 -1
- package/dist-types/commands/ListTasksCommand.d.ts +1 -1
- package/dist-types/commands/StartTaskExecutionCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAgentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLocationHdfsCommand.d.ts +36 -0
- package/dist-types/commands/UpdateLocationNfsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLocationObjectStorageCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLocationSmbCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTaskCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTaskExecutionCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +343 -25
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/DataSync.d.ts +15 -0
- package/dist-types/ts3.4/DataSyncClient.d.ts +9 -2
- package/dist-types/ts3.4/commands/CreateLocationHdfsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeLocationHdfsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateLocationHdfsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +154 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +23 -23
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,45 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-datasync
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-datasync
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Features
|
|
37
|
+
|
|
38
|
+
* **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86))
|
|
39
|
+
* **clients:** update clients as of 2021/11/05 ([#2994](https://github.com/aws/aws-sdk-js-v3/issues/2994)) ([f5ecc31](https://github.com/aws/aws-sdk-js-v3/commit/f5ecc3147035a1f3d2d74cfed147999927ea8256))
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
6
45
|
# [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
7
46
|
|
|
8
47
|
**Note:** Version bump only for package @aws-sdk/client-datasync
|
package/dist-cjs/DataSync.js
CHANGED
|
@@ -5,6 +5,7 @@ const CancelTaskExecutionCommand_1 = require("./commands/CancelTaskExecutionComm
|
|
|
5
5
|
const CreateAgentCommand_1 = require("./commands/CreateAgentCommand");
|
|
6
6
|
const CreateLocationEfsCommand_1 = require("./commands/CreateLocationEfsCommand");
|
|
7
7
|
const CreateLocationFsxWindowsCommand_1 = require("./commands/CreateLocationFsxWindowsCommand");
|
|
8
|
+
const CreateLocationHdfsCommand_1 = require("./commands/CreateLocationHdfsCommand");
|
|
8
9
|
const CreateLocationNfsCommand_1 = require("./commands/CreateLocationNfsCommand");
|
|
9
10
|
const CreateLocationObjectStorageCommand_1 = require("./commands/CreateLocationObjectStorageCommand");
|
|
10
11
|
const CreateLocationS3Command_1 = require("./commands/CreateLocationS3Command");
|
|
@@ -16,6 +17,7 @@ const DeleteTaskCommand_1 = require("./commands/DeleteTaskCommand");
|
|
|
16
17
|
const DescribeAgentCommand_1 = require("./commands/DescribeAgentCommand");
|
|
17
18
|
const DescribeLocationEfsCommand_1 = require("./commands/DescribeLocationEfsCommand");
|
|
18
19
|
const DescribeLocationFsxWindowsCommand_1 = require("./commands/DescribeLocationFsxWindowsCommand");
|
|
20
|
+
const DescribeLocationHdfsCommand_1 = require("./commands/DescribeLocationHdfsCommand");
|
|
19
21
|
const DescribeLocationNfsCommand_1 = require("./commands/DescribeLocationNfsCommand");
|
|
20
22
|
const DescribeLocationObjectStorageCommand_1 = require("./commands/DescribeLocationObjectStorageCommand");
|
|
21
23
|
const DescribeLocationS3Command_1 = require("./commands/DescribeLocationS3Command");
|
|
@@ -31,6 +33,7 @@ const StartTaskExecutionCommand_1 = require("./commands/StartTaskExecutionComman
|
|
|
31
33
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
32
34
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
33
35
|
const UpdateAgentCommand_1 = require("./commands/UpdateAgentCommand");
|
|
36
|
+
const UpdateLocationHdfsCommand_1 = require("./commands/UpdateLocationHdfsCommand");
|
|
34
37
|
const UpdateLocationNfsCommand_1 = require("./commands/UpdateLocationNfsCommand");
|
|
35
38
|
const UpdateLocationObjectStorageCommand_1 = require("./commands/UpdateLocationObjectStorageCommand");
|
|
36
39
|
const UpdateLocationSmbCommand_1 = require("./commands/UpdateLocationSmbCommand");
|
|
@@ -94,6 +97,20 @@ class DataSync extends DataSyncClient_1.DataSyncClient {
|
|
|
94
97
|
return this.send(command, optionsOrCb);
|
|
95
98
|
}
|
|
96
99
|
}
|
|
100
|
+
createLocationHdfs(args, optionsOrCb, cb) {
|
|
101
|
+
const command = new CreateLocationHdfsCommand_1.CreateLocationHdfsCommand(args);
|
|
102
|
+
if (typeof optionsOrCb === "function") {
|
|
103
|
+
this.send(command, optionsOrCb);
|
|
104
|
+
}
|
|
105
|
+
else if (typeof cb === "function") {
|
|
106
|
+
if (typeof optionsOrCb !== "object")
|
|
107
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
108
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
109
|
+
}
|
|
110
|
+
else {
|
|
111
|
+
return this.send(command, optionsOrCb);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
97
114
|
createLocationNfs(args, optionsOrCb, cb) {
|
|
98
115
|
const command = new CreateLocationNfsCommand_1.CreateLocationNfsCommand(args);
|
|
99
116
|
if (typeof optionsOrCb === "function") {
|
|
@@ -248,6 +265,20 @@ class DataSync extends DataSyncClient_1.DataSyncClient {
|
|
|
248
265
|
return this.send(command, optionsOrCb);
|
|
249
266
|
}
|
|
250
267
|
}
|
|
268
|
+
describeLocationHdfs(args, optionsOrCb, cb) {
|
|
269
|
+
const command = new DescribeLocationHdfsCommand_1.DescribeLocationHdfsCommand(args);
|
|
270
|
+
if (typeof optionsOrCb === "function") {
|
|
271
|
+
this.send(command, optionsOrCb);
|
|
272
|
+
}
|
|
273
|
+
else if (typeof cb === "function") {
|
|
274
|
+
if (typeof optionsOrCb !== "object")
|
|
275
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
276
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
277
|
+
}
|
|
278
|
+
else {
|
|
279
|
+
return this.send(command, optionsOrCb);
|
|
280
|
+
}
|
|
281
|
+
}
|
|
251
282
|
describeLocationNfs(args, optionsOrCb, cb) {
|
|
252
283
|
const command = new DescribeLocationNfsCommand_1.DescribeLocationNfsCommand(args);
|
|
253
284
|
if (typeof optionsOrCb === "function") {
|
|
@@ -458,6 +489,20 @@ class DataSync extends DataSyncClient_1.DataSyncClient {
|
|
|
458
489
|
return this.send(command, optionsOrCb);
|
|
459
490
|
}
|
|
460
491
|
}
|
|
492
|
+
updateLocationHdfs(args, optionsOrCb, cb) {
|
|
493
|
+
const command = new UpdateLocationHdfsCommand_1.UpdateLocationHdfsCommand(args);
|
|
494
|
+
if (typeof optionsOrCb === "function") {
|
|
495
|
+
this.send(command, optionsOrCb);
|
|
496
|
+
}
|
|
497
|
+
else if (typeof cb === "function") {
|
|
498
|
+
if (typeof optionsOrCb !== "object")
|
|
499
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
500
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
501
|
+
}
|
|
502
|
+
else {
|
|
503
|
+
return this.send(command, optionsOrCb);
|
|
504
|
+
}
|
|
505
|
+
}
|
|
461
506
|
updateLocationNfs(args, optionsOrCb, cb) {
|
|
462
507
|
const command = new UpdateLocationNfsCommand_1.UpdateLocationNfsCommand(args);
|
|
463
508
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateLocationHdfsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class CreateLocationHdfsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "DataSyncClient";
|
|
18
|
+
const commandName = "CreateLocationHdfsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateLocationHdfsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.CreateLocationHdfsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1CreateLocationHdfsCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1CreateLocationHdfsCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateLocationHdfsCommand = CreateLocationHdfsCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeLocationHdfsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class DescribeLocationHdfsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "DataSyncClient";
|
|
18
|
+
const commandName = "DescribeLocationHdfsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DescribeLocationHdfsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DescribeLocationHdfsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1DescribeLocationHdfsCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1DescribeLocationHdfsCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DescribeLocationHdfsCommand = DescribeLocationHdfsCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateLocationHdfsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class UpdateLocationHdfsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "DataSyncClient";
|
|
18
|
+
const commandName = "UpdateLocationHdfsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.UpdateLocationHdfsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.UpdateLocationHdfsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_json1_1_1.serializeAws_json1_1UpdateLocationHdfsCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_json1_1_1.deserializeAws_json1_1UpdateLocationHdfsCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UpdateLocationHdfsCommand = UpdateLocationHdfsCommand;
|
|
@@ -5,6 +5,7 @@ tslib_1.__exportStar(require("./CancelTaskExecutionCommand"), exports);
|
|
|
5
5
|
tslib_1.__exportStar(require("./CreateAgentCommand"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./CreateLocationEfsCommand"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./CreateLocationFsxWindowsCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./CreateLocationHdfsCommand"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./CreateLocationNfsCommand"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./CreateLocationObjectStorageCommand"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./CreateLocationS3Command"), exports);
|
|
@@ -16,6 +17,7 @@ tslib_1.__exportStar(require("./DeleteTaskCommand"), exports);
|
|
|
16
17
|
tslib_1.__exportStar(require("./DescribeAgentCommand"), exports);
|
|
17
18
|
tslib_1.__exportStar(require("./DescribeLocationEfsCommand"), exports);
|
|
18
19
|
tslib_1.__exportStar(require("./DescribeLocationFsxWindowsCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./DescribeLocationHdfsCommand"), exports);
|
|
19
21
|
tslib_1.__exportStar(require("./DescribeLocationNfsCommand"), exports);
|
|
20
22
|
tslib_1.__exportStar(require("./DescribeLocationObjectStorageCommand"), exports);
|
|
21
23
|
tslib_1.__exportStar(require("./DescribeLocationS3Command"), exports);
|
|
@@ -31,6 +33,7 @@ tslib_1.__exportStar(require("./StartTaskExecutionCommand"), exports);
|
|
|
31
33
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
32
34
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
33
35
|
tslib_1.__exportStar(require("./UpdateAgentCommand"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./UpdateLocationHdfsCommand"), exports);
|
|
34
37
|
tslib_1.__exportStar(require("./UpdateLocationNfsCommand"), exports);
|
|
35
38
|
tslib_1.__exportStar(require("./UpdateLocationObjectStorageCommand"), exports);
|
|
36
39
|
tslib_1.__exportStar(require("./UpdateLocationSmbCommand"), exports);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -3,33 +3,89 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.defaultRegionInfoProvider = void 0;
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
5
|
const regionHash = {
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
"ca-central-1": {
|
|
7
|
+
variants: [
|
|
8
|
+
{
|
|
9
|
+
hostname: "datasync.ca-central-1.amazonaws.com",
|
|
10
|
+
tags: [],
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
hostname: "datasync-fips.ca-central-1.amazonaws.com",
|
|
14
|
+
tags: ["fips"],
|
|
15
|
+
},
|
|
16
|
+
],
|
|
9
17
|
},
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
18
|
+
"us-east-1": {
|
|
19
|
+
variants: [
|
|
20
|
+
{
|
|
21
|
+
hostname: "datasync.us-east-1.amazonaws.com",
|
|
22
|
+
tags: [],
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
hostname: "datasync-fips.us-east-1.amazonaws.com",
|
|
26
|
+
tags: ["fips"],
|
|
27
|
+
},
|
|
28
|
+
],
|
|
13
29
|
},
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
30
|
+
"us-east-2": {
|
|
31
|
+
variants: [
|
|
32
|
+
{
|
|
33
|
+
hostname: "datasync.us-east-2.amazonaws.com",
|
|
34
|
+
tags: [],
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
hostname: "datasync-fips.us-east-2.amazonaws.com",
|
|
38
|
+
tags: ["fips"],
|
|
39
|
+
},
|
|
40
|
+
],
|
|
17
41
|
},
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
42
|
+
"us-gov-east-1": {
|
|
43
|
+
variants: [
|
|
44
|
+
{
|
|
45
|
+
hostname: "datasync.us-gov-east-1.amazonaws.com",
|
|
46
|
+
tags: [],
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
hostname: "datasync-fips.us-gov-east-1.amazonaws.com",
|
|
50
|
+
tags: ["fips"],
|
|
51
|
+
},
|
|
52
|
+
],
|
|
21
53
|
},
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
54
|
+
"us-gov-west-1": {
|
|
55
|
+
variants: [
|
|
56
|
+
{
|
|
57
|
+
hostname: "datasync.us-gov-west-1.amazonaws.com",
|
|
58
|
+
tags: [],
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
hostname: "datasync-fips.us-gov-west-1.amazonaws.com",
|
|
62
|
+
tags: ["fips"],
|
|
63
|
+
},
|
|
64
|
+
],
|
|
25
65
|
},
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
66
|
+
"us-west-1": {
|
|
67
|
+
variants: [
|
|
68
|
+
{
|
|
69
|
+
hostname: "datasync.us-west-1.amazonaws.com",
|
|
70
|
+
tags: [],
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
hostname: "datasync-fips.us-west-1.amazonaws.com",
|
|
74
|
+
tags: ["fips"],
|
|
75
|
+
},
|
|
76
|
+
],
|
|
29
77
|
},
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
78
|
+
"us-west-2": {
|
|
79
|
+
variants: [
|
|
80
|
+
{
|
|
81
|
+
hostname: "datasync.us-west-2.amazonaws.com",
|
|
82
|
+
tags: [],
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
hostname: "datasync-fips.us-west-2.amazonaws.com",
|
|
86
|
+
tags: ["fips"],
|
|
87
|
+
},
|
|
88
|
+
],
|
|
33
89
|
},
|
|
34
90
|
};
|
|
35
91
|
const partitionHash = {
|
|
@@ -63,27 +119,96 @@ const partitionHash = {
|
|
|
63
119
|
"us-west-2",
|
|
64
120
|
],
|
|
65
121
|
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
66
|
-
|
|
122
|
+
variants: [
|
|
123
|
+
{
|
|
124
|
+
hostname: "datasync.{region}.amazonaws.com",
|
|
125
|
+
tags: [],
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
hostname: "datasync-fips.{region}.amazonaws.com",
|
|
129
|
+
tags: ["fips"],
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
hostname: "datasync-fips.{region}.api.aws",
|
|
133
|
+
tags: ["dualstack", "fips"],
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
hostname: "datasync.{region}.api.aws",
|
|
137
|
+
tags: ["dualstack"],
|
|
138
|
+
},
|
|
139
|
+
],
|
|
67
140
|
},
|
|
68
141
|
"aws-cn": {
|
|
69
142
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
70
143
|
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
71
|
-
|
|
144
|
+
variants: [
|
|
145
|
+
{
|
|
146
|
+
hostname: "datasync.{region}.amazonaws.com.cn",
|
|
147
|
+
tags: [],
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
hostname: "datasync-fips.{region}.amazonaws.com.cn",
|
|
151
|
+
tags: ["fips"],
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
hostname: "datasync-fips.{region}.api.amazonwebservices.com.cn",
|
|
155
|
+
tags: ["dualstack", "fips"],
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
hostname: "datasync.{region}.api.amazonwebservices.com.cn",
|
|
159
|
+
tags: ["dualstack"],
|
|
160
|
+
},
|
|
161
|
+
],
|
|
72
162
|
},
|
|
73
163
|
"aws-iso": {
|
|
74
164
|
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
75
165
|
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
76
|
-
|
|
166
|
+
variants: [
|
|
167
|
+
{
|
|
168
|
+
hostname: "datasync.{region}.c2s.ic.gov",
|
|
169
|
+
tags: [],
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
hostname: "datasync-fips.{region}.c2s.ic.gov",
|
|
173
|
+
tags: ["fips"],
|
|
174
|
+
},
|
|
175
|
+
],
|
|
77
176
|
},
|
|
78
177
|
"aws-iso-b": {
|
|
79
178
|
regions: ["us-isob-east-1"],
|
|
80
179
|
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
81
|
-
|
|
180
|
+
variants: [
|
|
181
|
+
{
|
|
182
|
+
hostname: "datasync.{region}.sc2s.sgov.gov",
|
|
183
|
+
tags: [],
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
hostname: "datasync-fips.{region}.sc2s.sgov.gov",
|
|
187
|
+
tags: ["fips"],
|
|
188
|
+
},
|
|
189
|
+
],
|
|
82
190
|
},
|
|
83
191
|
"aws-us-gov": {
|
|
84
192
|
regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
|
|
85
193
|
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
86
|
-
|
|
194
|
+
variants: [
|
|
195
|
+
{
|
|
196
|
+
hostname: "datasync.{region}.amazonaws.com",
|
|
197
|
+
tags: [],
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
hostname: "datasync-fips.{region}.amazonaws.com",
|
|
201
|
+
tags: ["fips"],
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
hostname: "datasync-fips.{region}.api.aws",
|
|
205
|
+
tags: ["dualstack", "fips"],
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
hostname: "datasync.{region}.api.aws",
|
|
209
|
+
tags: ["dualstack"],
|
|
210
|
+
},
|
|
211
|
+
],
|
|
87
212
|
},
|
|
88
213
|
};
|
|
89
214
|
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.UpdateTaskExecutionResponse = exports.UpdateTaskExecutionRequest = exports.UpdateTaskResponse = exports.UpdateTaskRequest = exports.UpdateLocationSmbResponse = exports.UpdateLocationSmbRequest = exports.UpdateLocationObjectStorageResponse = exports.UpdateLocationObjectStorageRequest = exports.UpdateLocationNfsResponse = exports.UpdateLocationNfsRequest = exports.UpdateAgentResponse = exports.UpdateAgentRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = void 0;
|
|
3
|
+
exports.TransferMode = exports.TaskQueueing = exports.SmbSecurityDescriptorCopyFlags = exports.PreserveDevices = exports.PreserveDeletedFiles = exports.PosixPermissions = exports.OverwriteMode = exports.Mtime = exports.LogLevel = exports.Gid = exports.FilterRule = exports.FilterType = exports.CreateLocationSmbResponse = exports.CreateLocationSmbRequest = exports.SmbMountOptions = exports.SmbVersion = exports.CreateLocationS3Response = exports.CreateLocationS3Request = exports.S3StorageClass = exports.S3Config = exports.CreateLocationObjectStorageResponse = exports.CreateLocationObjectStorageRequest = exports.ObjectStorageServerProtocol = exports.CreateLocationNfsResponse = exports.CreateLocationNfsRequest = exports.OnPremConfig = exports.NfsMountOptions = exports.NfsVersion = exports.CreateLocationHdfsResponse = exports.CreateLocationHdfsRequest = exports.QopConfiguration = exports.HdfsRpcProtection = exports.HdfsDataTransferProtection = exports.HdfsNameNode = exports.HdfsAuthenticationType = exports.CreateLocationFsxWindowsResponse = exports.CreateLocationFsxWindowsRequest = exports.CreateLocationEfsResponse = exports.CreateLocationEfsRequest = exports.Ec2Config = exports.CreateAgentResponse = exports.CreateAgentRequest = exports.TagListEntry = exports.InvalidRequestException = exports.InternalException = exports.CancelTaskExecutionResponse = exports.CancelTaskExecutionRequest = exports.Atime = exports.AgentListEntry = exports.AgentStatus = void 0;
|
|
4
|
+
exports.TaskExecutionListEntry = exports.ListTaskExecutionsRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListLocationsResponse = exports.LocationListEntry = exports.ListLocationsRequest = exports.LocationFilter = exports.Operator = exports.LocationFilterName = exports.ListAgentsResponse = exports.ListAgentsRequest = exports.DescribeTaskExecutionResponse = exports.TaskExecutionStatus = exports.TaskExecutionResultDetail = exports.PhaseStatus = exports.DescribeTaskExecutionRequest = exports.DescribeTaskResponse = exports.TaskStatus = exports.DescribeTaskRequest = exports.DescribeLocationSmbResponse = exports.DescribeLocationSmbRequest = exports.DescribeLocationS3Response = exports.DescribeLocationS3Request = exports.DescribeLocationObjectStorageResponse = exports.DescribeLocationObjectStorageRequest = exports.DescribeLocationNfsResponse = exports.DescribeLocationNfsRequest = exports.DescribeLocationHdfsResponse = exports.DescribeLocationHdfsRequest = exports.DescribeLocationFsxWindowsResponse = exports.DescribeLocationFsxWindowsRequest = exports.DescribeLocationEfsResponse = exports.DescribeLocationEfsRequest = exports.DescribeAgentResponse = exports.PrivateLinkConfig = exports.EndpointType = exports.DescribeAgentRequest = exports.DeleteTaskResponse = exports.DeleteTaskRequest = exports.DeleteLocationResponse = exports.DeleteLocationRequest = exports.DeleteAgentResponse = exports.DeleteAgentRequest = exports.CreateTaskResponse = exports.CreateTaskRequest = exports.TaskSchedule = exports.Options = exports.VerifyMode = exports.Uid = void 0;
|
|
5
|
+
exports.UpdateTaskExecutionResponse = exports.UpdateTaskExecutionRequest = exports.UpdateTaskResponse = exports.UpdateTaskRequest = exports.UpdateLocationSmbResponse = exports.UpdateLocationSmbRequest = exports.UpdateLocationObjectStorageResponse = exports.UpdateLocationObjectStorageRequest = exports.UpdateLocationNfsResponse = exports.UpdateLocationNfsRequest = exports.UpdateLocationHdfsResponse = exports.UpdateLocationHdfsRequest = exports.UpdateAgentResponse = exports.UpdateAgentRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartTaskExecutionResponse = exports.StartTaskExecutionRequest = exports.ListTasksResponse = exports.TaskListEntry = exports.ListTasksRequest = exports.TaskFilter = exports.TaskFilterName = exports.ListTaskExecutionsResponse = void 0;
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
var AgentStatus;
|
|
8
8
|
(function (AgentStatus) {
|
|
@@ -93,6 +93,49 @@ var CreateLocationFsxWindowsResponse;
|
|
|
93
93
|
...obj,
|
|
94
94
|
});
|
|
95
95
|
})(CreateLocationFsxWindowsResponse = exports.CreateLocationFsxWindowsResponse || (exports.CreateLocationFsxWindowsResponse = {}));
|
|
96
|
+
var HdfsAuthenticationType;
|
|
97
|
+
(function (HdfsAuthenticationType) {
|
|
98
|
+
HdfsAuthenticationType["KERBEROS"] = "KERBEROS";
|
|
99
|
+
HdfsAuthenticationType["SIMPLE"] = "SIMPLE";
|
|
100
|
+
})(HdfsAuthenticationType = exports.HdfsAuthenticationType || (exports.HdfsAuthenticationType = {}));
|
|
101
|
+
var HdfsNameNode;
|
|
102
|
+
(function (HdfsNameNode) {
|
|
103
|
+
HdfsNameNode.filterSensitiveLog = (obj) => ({
|
|
104
|
+
...obj,
|
|
105
|
+
});
|
|
106
|
+
})(HdfsNameNode = exports.HdfsNameNode || (exports.HdfsNameNode = {}));
|
|
107
|
+
var HdfsDataTransferProtection;
|
|
108
|
+
(function (HdfsDataTransferProtection) {
|
|
109
|
+
HdfsDataTransferProtection["AUTHENTICATION"] = "AUTHENTICATION";
|
|
110
|
+
HdfsDataTransferProtection["DISABLED"] = "DISABLED";
|
|
111
|
+
HdfsDataTransferProtection["INTEGRITY"] = "INTEGRITY";
|
|
112
|
+
HdfsDataTransferProtection["PRIVACY"] = "PRIVACY";
|
|
113
|
+
})(HdfsDataTransferProtection = exports.HdfsDataTransferProtection || (exports.HdfsDataTransferProtection = {}));
|
|
114
|
+
var HdfsRpcProtection;
|
|
115
|
+
(function (HdfsRpcProtection) {
|
|
116
|
+
HdfsRpcProtection["AUTHENTICATION"] = "AUTHENTICATION";
|
|
117
|
+
HdfsRpcProtection["DISABLED"] = "DISABLED";
|
|
118
|
+
HdfsRpcProtection["INTEGRITY"] = "INTEGRITY";
|
|
119
|
+
HdfsRpcProtection["PRIVACY"] = "PRIVACY";
|
|
120
|
+
})(HdfsRpcProtection = exports.HdfsRpcProtection || (exports.HdfsRpcProtection = {}));
|
|
121
|
+
var QopConfiguration;
|
|
122
|
+
(function (QopConfiguration) {
|
|
123
|
+
QopConfiguration.filterSensitiveLog = (obj) => ({
|
|
124
|
+
...obj,
|
|
125
|
+
});
|
|
126
|
+
})(QopConfiguration = exports.QopConfiguration || (exports.QopConfiguration = {}));
|
|
127
|
+
var CreateLocationHdfsRequest;
|
|
128
|
+
(function (CreateLocationHdfsRequest) {
|
|
129
|
+
CreateLocationHdfsRequest.filterSensitiveLog = (obj) => ({
|
|
130
|
+
...obj,
|
|
131
|
+
});
|
|
132
|
+
})(CreateLocationHdfsRequest = exports.CreateLocationHdfsRequest || (exports.CreateLocationHdfsRequest = {}));
|
|
133
|
+
var CreateLocationHdfsResponse;
|
|
134
|
+
(function (CreateLocationHdfsResponse) {
|
|
135
|
+
CreateLocationHdfsResponse.filterSensitiveLog = (obj) => ({
|
|
136
|
+
...obj,
|
|
137
|
+
});
|
|
138
|
+
})(CreateLocationHdfsResponse = exports.CreateLocationHdfsResponse || (exports.CreateLocationHdfsResponse = {}));
|
|
96
139
|
var NfsVersion;
|
|
97
140
|
(function (NfsVersion) {
|
|
98
141
|
NfsVersion["AUTOMATIC"] = "AUTOMATIC";
|
|
@@ -380,6 +423,18 @@ var DescribeLocationFsxWindowsResponse;
|
|
|
380
423
|
...obj,
|
|
381
424
|
});
|
|
382
425
|
})(DescribeLocationFsxWindowsResponse = exports.DescribeLocationFsxWindowsResponse || (exports.DescribeLocationFsxWindowsResponse = {}));
|
|
426
|
+
var DescribeLocationHdfsRequest;
|
|
427
|
+
(function (DescribeLocationHdfsRequest) {
|
|
428
|
+
DescribeLocationHdfsRequest.filterSensitiveLog = (obj) => ({
|
|
429
|
+
...obj,
|
|
430
|
+
});
|
|
431
|
+
})(DescribeLocationHdfsRequest = exports.DescribeLocationHdfsRequest || (exports.DescribeLocationHdfsRequest = {}));
|
|
432
|
+
var DescribeLocationHdfsResponse;
|
|
433
|
+
(function (DescribeLocationHdfsResponse) {
|
|
434
|
+
DescribeLocationHdfsResponse.filterSensitiveLog = (obj) => ({
|
|
435
|
+
...obj,
|
|
436
|
+
});
|
|
437
|
+
})(DescribeLocationHdfsResponse = exports.DescribeLocationHdfsResponse || (exports.DescribeLocationHdfsResponse = {}));
|
|
383
438
|
var DescribeLocationNfsRequest;
|
|
384
439
|
(function (DescribeLocationNfsRequest) {
|
|
385
440
|
DescribeLocationNfsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -644,6 +699,18 @@ var UpdateAgentResponse;
|
|
|
644
699
|
...obj,
|
|
645
700
|
});
|
|
646
701
|
})(UpdateAgentResponse = exports.UpdateAgentResponse || (exports.UpdateAgentResponse = {}));
|
|
702
|
+
var UpdateLocationHdfsRequest;
|
|
703
|
+
(function (UpdateLocationHdfsRequest) {
|
|
704
|
+
UpdateLocationHdfsRequest.filterSensitiveLog = (obj) => ({
|
|
705
|
+
...obj,
|
|
706
|
+
});
|
|
707
|
+
})(UpdateLocationHdfsRequest = exports.UpdateLocationHdfsRequest || (exports.UpdateLocationHdfsRequest = {}));
|
|
708
|
+
var UpdateLocationHdfsResponse;
|
|
709
|
+
(function (UpdateLocationHdfsResponse) {
|
|
710
|
+
UpdateLocationHdfsResponse.filterSensitiveLog = (obj) => ({
|
|
711
|
+
...obj,
|
|
712
|
+
});
|
|
713
|
+
})(UpdateLocationHdfsResponse = exports.UpdateLocationHdfsResponse || (exports.UpdateLocationHdfsResponse = {}));
|
|
647
714
|
var UpdateLocationNfsRequest;
|
|
648
715
|
(function (UpdateLocationNfsRequest) {
|
|
649
716
|
UpdateLocationNfsRequest.filterSensitiveLog = (obj) => ({
|