@aws-sdk/client-datasync 3.183.0 → 3.186.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 +19 -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 +33 -33
@@ -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 { DescribeLocationFsxOntapRequestFilterSensitiveLog, DescribeLocationFsxOntapResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeLocationFsxOntapCommand, serializeAws_json1_1DescribeLocationFsxOntapCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeLocationFsxOntapCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeLocationFsxOntapCommand.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 = "DescribeLocationFsxOntapCommand";
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 = "DescribeLocationFsxOntapCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeLocationFsxOntapRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeLocationFsxOntapResponseFilterSensitiveLog,
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
+ DescribeLocationFsxOntapCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeLocationFsxOntapCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeLocationFsxOntapCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeLocationFsxOntapCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeLocationFsxOntapCommand;
38
+ }($Command));
39
+ export { DescribeLocationFsxOntapCommand };
@@ -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 { DescribeLocationFsxOpenZfsRequestFilterSensitiveLog, DescribeLocationFsxOpenZfsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeLocationFsxOpenZfsCommand, serializeAws_json1_1DescribeLocationFsxOpenZfsCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeLocationFsxOpenZfsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeLocationFsxOpenZfsCommand = (function (_super) {
7
+ __extends(DescribeLocationFsxOpenZfsCommand, _super);
8
+ function DescribeLocationFsxOpenZfsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeLocationFsxOpenZfsCommand.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 = "DescribeLocationFsxOpenZfsCommand";
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 = "DescribeLocationFsxOpenZfsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeLocationFsxOpenZfsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeLocationFsxOpenZfsResponseFilterSensitiveLog,
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
+ DescribeLocationFsxOpenZfsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeLocationFsxOpenZfsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeLocationFsxOpenZfsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeLocationFsxOpenZfsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeLocationFsxOpenZfsCommand;
38
+ }($Command));
39
+ export { DescribeLocationFsxOpenZfsCommand };
@@ -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 { DescribeLocationFsxWindowsRequestFilterSensitiveLog, DescribeLocationFsxWindowsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeLocationFsxWindowsCommand, serializeAws_json1_1DescribeLocationFsxWindowsCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeLocationFsxWindowsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeLocationFsxWindowsCommand = (function (_super) {
7
+ __extends(DescribeLocationFsxWindowsCommand, _super);
8
+ function DescribeLocationFsxWindowsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeLocationFsxWindowsCommand.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 = "DescribeLocationFsxWindowsCommand";
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 = "DescribeLocationFsxWindowsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeLocationFsxWindowsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeLocationFsxWindowsResponseFilterSensitiveLog,
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
+ DescribeLocationFsxWindowsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeLocationFsxWindowsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeLocationFsxWindowsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeLocationFsxWindowsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeLocationFsxWindowsCommand;
38
+ }($Command));
39
+ export { DescribeLocationFsxWindowsCommand };
@@ -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 { DescribeLocationHdfsRequestFilterSensitiveLog, DescribeLocationHdfsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeLocationHdfsCommand, serializeAws_json1_1DescribeLocationHdfsCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeLocationHdfsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeLocationHdfsCommand = (function (_super) {
7
+ __extends(DescribeLocationHdfsCommand, _super);
8
+ function DescribeLocationHdfsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeLocationHdfsCommand.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 = "DescribeLocationHdfsCommand";
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 = "DescribeLocationHdfsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeLocationHdfsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeLocationHdfsResponseFilterSensitiveLog,
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
+ DescribeLocationHdfsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeLocationHdfsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeLocationHdfsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeLocationHdfsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeLocationHdfsCommand;
38
+ }($Command));
39
+ export { DescribeLocationHdfsCommand };
@@ -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 { DescribeLocationNfsRequestFilterSensitiveLog, DescribeLocationNfsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeLocationNfsCommand, serializeAws_json1_1DescribeLocationNfsCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeLocationNfsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeLocationNfsCommand = (function (_super) {
7
+ __extends(DescribeLocationNfsCommand, _super);
8
+ function DescribeLocationNfsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeLocationNfsCommand.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 = "DescribeLocationNfsCommand";
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 = "DescribeLocationNfsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeLocationNfsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeLocationNfsResponseFilterSensitiveLog,
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
+ DescribeLocationNfsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeLocationNfsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeLocationNfsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeLocationNfsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeLocationNfsCommand;
38
+ }($Command));
39
+ export { DescribeLocationNfsCommand };
@@ -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 { DescribeLocationObjectStorageRequestFilterSensitiveLog, DescribeLocationObjectStorageResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeLocationObjectStorageCommand, serializeAws_json1_1DescribeLocationObjectStorageCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeLocationObjectStorageCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeLocationObjectStorageCommand = (function (_super) {
7
+ __extends(DescribeLocationObjectStorageCommand, _super);
8
+ function DescribeLocationObjectStorageCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeLocationObjectStorageCommand.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 = "DescribeLocationObjectStorageCommand";
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 = "DescribeLocationObjectStorageCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeLocationObjectStorageRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeLocationObjectStorageResponseFilterSensitiveLog,
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
+ DescribeLocationObjectStorageCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeLocationObjectStorageCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeLocationObjectStorageCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeLocationObjectStorageCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeLocationObjectStorageCommand;
38
+ }($Command));
39
+ export { DescribeLocationObjectStorageCommand };
@@ -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 { DescribeLocationS3RequestFilterSensitiveLog, DescribeLocationS3ResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeLocationS3Command, serializeAws_json1_1DescribeLocationS3Command, } from "../protocols/Aws_json1_1";
5
- export class DescribeLocationS3Command extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeLocationS3Command = (function (_super) {
7
+ __extends(DescribeLocationS3Command, _super);
8
+ function DescribeLocationS3Command(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeLocationS3Command.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 = "DescribeLocationS3Command";
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 = "DescribeLocationS3Command";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeLocationS3RequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeLocationS3ResponseFilterSensitiveLog,
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
+ DescribeLocationS3Command.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeLocationS3Command(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeLocationS3Command.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeLocationS3Command(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeLocationS3Command;
38
+ }($Command));
39
+ export { DescribeLocationS3Command };
@@ -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 { DescribeLocationSmbRequestFilterSensitiveLog, DescribeLocationSmbResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeLocationSmbCommand, serializeAws_json1_1DescribeLocationSmbCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeLocationSmbCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeLocationSmbCommand = (function (_super) {
7
+ __extends(DescribeLocationSmbCommand, _super);
8
+ function DescribeLocationSmbCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeLocationSmbCommand.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 = "DescribeLocationSmbCommand";
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 = "DescribeLocationSmbCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeLocationSmbRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeLocationSmbResponseFilterSensitiveLog,
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
+ DescribeLocationSmbCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeLocationSmbCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeLocationSmbCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeLocationSmbCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeLocationSmbCommand;
38
+ }($Command));
39
+ export { DescribeLocationSmbCommand };
@@ -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 { DescribeTaskRequestFilterSensitiveLog, DescribeTaskResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeTaskCommand, serializeAws_json1_1DescribeTaskCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeTaskCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeTaskCommand = (function (_super) {
7
+ __extends(DescribeTaskCommand, _super);
8
+ function DescribeTaskCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeTaskCommand.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 = "DescribeTaskCommand";
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 = "DescribeTaskCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeTaskRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeTaskResponseFilterSensitiveLog,
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
+ DescribeTaskCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeTaskCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeTaskCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeTaskCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeTaskCommand;
38
+ }($Command));
39
+ export { DescribeTaskCommand };
@@ -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 { DescribeTaskExecutionRequestFilterSensitiveLog, DescribeTaskExecutionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeTaskExecutionCommand, serializeAws_json1_1DescribeTaskExecutionCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeTaskExecutionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeTaskExecutionCommand = (function (_super) {
7
+ __extends(DescribeTaskExecutionCommand, _super);
8
+ function DescribeTaskExecutionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeTaskExecutionCommand.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 = "DescribeTaskExecutionCommand";
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 = "DescribeTaskExecutionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeTaskExecutionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeTaskExecutionResponseFilterSensitiveLog,
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
+ DescribeTaskExecutionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeTaskExecutionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeTaskExecutionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeTaskExecutionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeTaskExecutionCommand;
38
+ }($Command));
39
+ export { DescribeTaskExecutionCommand };