@aws-sdk/client-datasync 3.183.0 → 3.185.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 (62) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/DataSync.js +185 -178
  4. package/dist-es/DataSyncClient.js +28 -22
  5. package/dist-es/commands/CancelTaskExecutionCommand.js +28 -21
  6. package/dist-es/commands/CreateAgentCommand.js +28 -21
  7. package/dist-es/commands/CreateLocationEfsCommand.js +28 -21
  8. package/dist-es/commands/CreateLocationFsxLustreCommand.js +28 -21
  9. package/dist-es/commands/CreateLocationFsxOntapCommand.js +28 -21
  10. package/dist-es/commands/CreateLocationFsxOpenZfsCommand.js +28 -21
  11. package/dist-es/commands/CreateLocationFsxWindowsCommand.js +28 -21
  12. package/dist-es/commands/CreateLocationHdfsCommand.js +28 -21
  13. package/dist-es/commands/CreateLocationNfsCommand.js +28 -21
  14. package/dist-es/commands/CreateLocationObjectStorageCommand.js +28 -21
  15. package/dist-es/commands/CreateLocationS3Command.js +28 -21
  16. package/dist-es/commands/CreateLocationSmbCommand.js +28 -21
  17. package/dist-es/commands/CreateTaskCommand.js +28 -21
  18. package/dist-es/commands/DeleteAgentCommand.js +28 -21
  19. package/dist-es/commands/DeleteLocationCommand.js +28 -21
  20. package/dist-es/commands/DeleteTaskCommand.js +28 -21
  21. package/dist-es/commands/DescribeAgentCommand.js +28 -21
  22. package/dist-es/commands/DescribeLocationEfsCommand.js +28 -21
  23. package/dist-es/commands/DescribeLocationFsxLustreCommand.js +28 -21
  24. package/dist-es/commands/DescribeLocationFsxOntapCommand.js +28 -21
  25. package/dist-es/commands/DescribeLocationFsxOpenZfsCommand.js +28 -21
  26. package/dist-es/commands/DescribeLocationFsxWindowsCommand.js +28 -21
  27. package/dist-es/commands/DescribeLocationHdfsCommand.js +28 -21
  28. package/dist-es/commands/DescribeLocationNfsCommand.js +28 -21
  29. package/dist-es/commands/DescribeLocationObjectStorageCommand.js +28 -21
  30. package/dist-es/commands/DescribeLocationS3Command.js +28 -21
  31. package/dist-es/commands/DescribeLocationSmbCommand.js +28 -21
  32. package/dist-es/commands/DescribeTaskCommand.js +28 -21
  33. package/dist-es/commands/DescribeTaskExecutionCommand.js +28 -21
  34. package/dist-es/commands/ListAgentsCommand.js +28 -21
  35. package/dist-es/commands/ListLocationsCommand.js +28 -21
  36. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  37. package/dist-es/commands/ListTaskExecutionsCommand.js +28 -21
  38. package/dist-es/commands/ListTasksCommand.js +28 -21
  39. package/dist-es/commands/StartTaskExecutionCommand.js +28 -21
  40. package/dist-es/commands/TagResourceCommand.js +28 -21
  41. package/dist-es/commands/UntagResourceCommand.js +28 -21
  42. package/dist-es/commands/UpdateAgentCommand.js +28 -21
  43. package/dist-es/commands/UpdateLocationHdfsCommand.js +28 -21
  44. package/dist-es/commands/UpdateLocationNfsCommand.js +28 -21
  45. package/dist-es/commands/UpdateLocationObjectStorageCommand.js +28 -21
  46. package/dist-es/commands/UpdateLocationSmbCommand.js +28 -21
  47. package/dist-es/commands/UpdateTaskCommand.js +28 -21
  48. package/dist-es/commands/UpdateTaskExecutionCommand.js +28 -21
  49. package/dist-es/endpoints.js +8 -8
  50. package/dist-es/models/DataSyncServiceException.js +10 -5
  51. package/dist-es/models/models_0.js +136 -366
  52. package/dist-es/pagination/ListAgentsPaginator.js +68 -25
  53. package/dist-es/pagination/ListLocationsPaginator.js +68 -25
  54. package/dist-es/pagination/ListTagsForResourcePaginator.js +68 -25
  55. package/dist-es/pagination/ListTaskExecutionsPaginator.js +68 -25
  56. package/dist-es/pagination/ListTasksPaginator.js +68 -25
  57. package/dist-es/protocols/Aws_json1_1.js +3288 -2608
  58. package/dist-es/runtimeConfig.browser.js +12 -26
  59. package/dist-es/runtimeConfig.js +12 -30
  60. package/dist-es/runtimeConfig.native.js +5 -8
  61. package/dist-es/runtimeConfig.shared.js +11 -8
  62. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListAgentsRequestFilterSensitiveLog, ListAgentsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListAgentsCommand, serializeAws_json1_1ListAgentsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListAgentsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListAgentsCommand = (function (_super) {
7
+ __extends(ListAgentsCommand, _super);
8
+ function ListAgentsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListAgentsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataSyncClient";
15
- const commandName = "ListAgentsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataSyncClient";
18
+ var commandName = "ListAgentsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListAgentsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListAgentsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListAgentsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListAgentsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListAgentsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListAgentsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListAgentsCommand;
38
+ }($Command));
39
+ export { ListAgentsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListLocationsRequestFilterSensitiveLog, ListLocationsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListLocationsCommand, serializeAws_json1_1ListLocationsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListLocationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListLocationsCommand = (function (_super) {
7
+ __extends(ListLocationsCommand, _super);
8
+ function ListLocationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListLocationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataSyncClient";
15
- const commandName = "ListLocationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataSyncClient";
18
+ var commandName = "ListLocationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListLocationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListLocationsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListLocationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListLocationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListLocationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListLocationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListLocationsCommand;
38
+ }($Command));
39
+ export { ListLocationsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } from "../protocols/Aws_json1_1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataSyncClient";
15
- const commandName = "ListTagsForResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataSyncClient";
18
+ var commandName = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTaskExecutionsRequestFilterSensitiveLog, ListTaskExecutionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListTaskExecutionsCommand, serializeAws_json1_1ListTaskExecutionsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListTaskExecutionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTaskExecutionsCommand = (function (_super) {
7
+ __extends(ListTaskExecutionsCommand, _super);
8
+ function ListTaskExecutionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTaskExecutionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataSyncClient";
15
- const commandName = "ListTaskExecutionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataSyncClient";
18
+ var commandName = "ListTaskExecutionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTaskExecutionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTaskExecutionsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTaskExecutionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListTaskExecutionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTaskExecutionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListTaskExecutionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTaskExecutionsCommand;
38
+ }($Command));
39
+ export { ListTaskExecutionsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTasksRequestFilterSensitiveLog, ListTasksResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListTasksCommand, serializeAws_json1_1ListTasksCommand } from "../protocols/Aws_json1_1";
5
- export class ListTasksCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTasksCommand = (function (_super) {
7
+ __extends(ListTasksCommand, _super);
8
+ function ListTasksCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTasksCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataSyncClient";
15
- const commandName = "ListTasksCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataSyncClient";
18
+ var commandName = "ListTasksCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTasksRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTasksResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTasksCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListTasksCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTasksCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListTasksCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTasksCommand;
38
+ }($Command));
39
+ export { ListTasksCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { StartTaskExecutionRequestFilterSensitiveLog, StartTaskExecutionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1StartTaskExecutionCommand, serializeAws_json1_1StartTaskExecutionCommand, } from "../protocols/Aws_json1_1";
5
- export class StartTaskExecutionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartTaskExecutionCommand = (function (_super) {
7
+ __extends(StartTaskExecutionCommand, _super);
8
+ function StartTaskExecutionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartTaskExecutionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataSyncClient";
15
- const commandName = "StartTaskExecutionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataSyncClient";
18
+ var commandName = "StartTaskExecutionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartTaskExecutionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StartTaskExecutionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StartTaskExecutionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1StartTaskExecutionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartTaskExecutionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1StartTaskExecutionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartTaskExecutionCommand;
38
+ }($Command));
39
+ export { StartTaskExecutionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1TagResourceCommand, serializeAws_json1_1TagResourceCommand, } from "../protocols/Aws_json1_1";
5
- export class TagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var TagResourceCommand = (function (_super) {
7
+ __extends(TagResourceCommand, _super);
8
+ function TagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataSyncClient";
15
- const commandName = "TagResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataSyncClient";
18
+ var commandName = "TagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ TagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1TagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1TagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TagResourceCommand;
38
+ }($Command));
39
+ export { TagResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UntagResourceCommand, serializeAws_json1_1UntagResourceCommand, } from "../protocols/Aws_json1_1";
5
- export class UntagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UntagResourceCommand = (function (_super) {
7
+ __extends(UntagResourceCommand, _super);
8
+ function UntagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataSyncClient";
15
- const commandName = "UntagResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataSyncClient";
18
+ var commandName = "UntagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UntagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UntagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UntagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UntagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UntagResourceCommand;
38
+ }($Command));
39
+ export { UntagResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateAgentRequestFilterSensitiveLog, UpdateAgentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateAgentCommand, serializeAws_json1_1UpdateAgentCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateAgentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateAgentCommand = (function (_super) {
7
+ __extends(UpdateAgentCommand, _super);
8
+ function UpdateAgentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateAgentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataSyncClient";
15
- const commandName = "UpdateAgentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataSyncClient";
18
+ var commandName = "UpdateAgentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateAgentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateAgentResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateAgentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateAgentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateAgentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateAgentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateAgentCommand;
38
+ }($Command));
39
+ export { UpdateAgentCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateLocationHdfsRequestFilterSensitiveLog, UpdateLocationHdfsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateLocationHdfsCommand, serializeAws_json1_1UpdateLocationHdfsCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateLocationHdfsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateLocationHdfsCommand = (function (_super) {
7
+ __extends(UpdateLocationHdfsCommand, _super);
8
+ function UpdateLocationHdfsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateLocationHdfsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataSyncClient";
15
- const commandName = "UpdateLocationHdfsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataSyncClient";
18
+ var commandName = "UpdateLocationHdfsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateLocationHdfsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateLocationHdfsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateLocationHdfsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateLocationHdfsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateLocationHdfsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateLocationHdfsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateLocationHdfsCommand;
38
+ }($Command));
39
+ export { UpdateLocationHdfsCommand };