@aws-sdk/client-datasync 3.186.0 → 3.188.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 (61) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/DataSync.js +178 -185
  3. package/dist-es/DataSyncClient.js +22 -28
  4. package/dist-es/commands/CancelTaskExecutionCommand.js +21 -28
  5. package/dist-es/commands/CreateAgentCommand.js +21 -28
  6. package/dist-es/commands/CreateLocationEfsCommand.js +21 -28
  7. package/dist-es/commands/CreateLocationFsxLustreCommand.js +21 -28
  8. package/dist-es/commands/CreateLocationFsxOntapCommand.js +21 -28
  9. package/dist-es/commands/CreateLocationFsxOpenZfsCommand.js +21 -28
  10. package/dist-es/commands/CreateLocationFsxWindowsCommand.js +21 -28
  11. package/dist-es/commands/CreateLocationHdfsCommand.js +21 -28
  12. package/dist-es/commands/CreateLocationNfsCommand.js +21 -28
  13. package/dist-es/commands/CreateLocationObjectStorageCommand.js +21 -28
  14. package/dist-es/commands/CreateLocationS3Command.js +21 -28
  15. package/dist-es/commands/CreateLocationSmbCommand.js +21 -28
  16. package/dist-es/commands/CreateTaskCommand.js +21 -28
  17. package/dist-es/commands/DeleteAgentCommand.js +21 -28
  18. package/dist-es/commands/DeleteLocationCommand.js +21 -28
  19. package/dist-es/commands/DeleteTaskCommand.js +21 -28
  20. package/dist-es/commands/DescribeAgentCommand.js +21 -28
  21. package/dist-es/commands/DescribeLocationEfsCommand.js +21 -28
  22. package/dist-es/commands/DescribeLocationFsxLustreCommand.js +21 -28
  23. package/dist-es/commands/DescribeLocationFsxOntapCommand.js +21 -28
  24. package/dist-es/commands/DescribeLocationFsxOpenZfsCommand.js +21 -28
  25. package/dist-es/commands/DescribeLocationFsxWindowsCommand.js +21 -28
  26. package/dist-es/commands/DescribeLocationHdfsCommand.js +21 -28
  27. package/dist-es/commands/DescribeLocationNfsCommand.js +21 -28
  28. package/dist-es/commands/DescribeLocationObjectStorageCommand.js +21 -28
  29. package/dist-es/commands/DescribeLocationS3Command.js +21 -28
  30. package/dist-es/commands/DescribeLocationSmbCommand.js +21 -28
  31. package/dist-es/commands/DescribeTaskCommand.js +21 -28
  32. package/dist-es/commands/DescribeTaskExecutionCommand.js +21 -28
  33. package/dist-es/commands/ListAgentsCommand.js +21 -28
  34. package/dist-es/commands/ListLocationsCommand.js +21 -28
  35. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  36. package/dist-es/commands/ListTaskExecutionsCommand.js +21 -28
  37. package/dist-es/commands/ListTasksCommand.js +21 -28
  38. package/dist-es/commands/StartTaskExecutionCommand.js +21 -28
  39. package/dist-es/commands/TagResourceCommand.js +21 -28
  40. package/dist-es/commands/UntagResourceCommand.js +21 -28
  41. package/dist-es/commands/UpdateAgentCommand.js +21 -28
  42. package/dist-es/commands/UpdateLocationHdfsCommand.js +21 -28
  43. package/dist-es/commands/UpdateLocationNfsCommand.js +21 -28
  44. package/dist-es/commands/UpdateLocationObjectStorageCommand.js +21 -28
  45. package/dist-es/commands/UpdateLocationSmbCommand.js +21 -28
  46. package/dist-es/commands/UpdateTaskCommand.js +21 -28
  47. package/dist-es/commands/UpdateTaskExecutionCommand.js +21 -28
  48. package/dist-es/endpoints.js +8 -8
  49. package/dist-es/models/DataSyncServiceException.js +5 -10
  50. package/dist-es/models/models_0.js +366 -136
  51. package/dist-es/pagination/ListAgentsPaginator.js +25 -68
  52. package/dist-es/pagination/ListLocationsPaginator.js +25 -68
  53. package/dist-es/pagination/ListTagsForResourcePaginator.js +25 -68
  54. package/dist-es/pagination/ListTaskExecutionsPaginator.js +25 -68
  55. package/dist-es/pagination/ListTasksPaginator.js +25 -68
  56. package/dist-es/protocols/Aws_json1_1.js +2608 -3288
  57. package/dist-es/runtimeConfig.browser.js +26 -12
  58. package/dist-es/runtimeConfig.js +30 -12
  59. package/dist-es/runtimeConfig.native.js +8 -5
  60. package/dist-es/runtimeConfig.shared.js +8 -11
  61. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeLocationFsxOntapRequestFilterSensitiveLog, DescribeLocationFsxOntapResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeLocationFsxOntapCommand, serializeAws_json1_1DescribeLocationFsxOntapCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeLocationFsxOntapCommand = (function (_super) {
7
- __extends(DescribeLocationFsxOntapCommand, _super);
8
- function DescribeLocationFsxOntapCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeLocationFsxOntapCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeLocationFsxOntapCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DataSyncClient";
18
- var commandName = "DescribeLocationFsxOntapCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
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,
23
20
  inputFilterSensitiveLog: DescribeLocationFsxOntapRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeLocationFsxOntapResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DescribeLocationFsxOntapCommand(input, context);
33
- };
34
- DescribeLocationFsxOntapCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeLocationFsxOntapCommand(output, context);
36
- };
37
- return DescribeLocationFsxOntapCommand;
38
- }($Command));
39
- export { DescribeLocationFsxOntapCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeLocationFsxOpenZfsRequestFilterSensitiveLog, DescribeLocationFsxOpenZfsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeLocationFsxOpenZfsCommand, serializeAws_json1_1DescribeLocationFsxOpenZfsCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DescribeLocationFsxOpenZfsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeLocationFsxOpenZfsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DataSyncClient";
18
- var commandName = "DescribeLocationFsxOpenZfsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
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,
23
20
  inputFilterSensitiveLog: DescribeLocationFsxOpenZfsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeLocationFsxOpenZfsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DescribeLocationFsxOpenZfsCommand(input, context);
33
- };
34
- DescribeLocationFsxOpenZfsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeLocationFsxOpenZfsCommand(output, context);
36
- };
37
- return DescribeLocationFsxOpenZfsCommand;
38
- }($Command));
39
- export { DescribeLocationFsxOpenZfsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeLocationFsxWindowsRequestFilterSensitiveLog, DescribeLocationFsxWindowsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeLocationFsxWindowsCommand, serializeAws_json1_1DescribeLocationFsxWindowsCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DescribeLocationFsxWindowsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeLocationFsxWindowsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DataSyncClient";
18
- var commandName = "DescribeLocationFsxWindowsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
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,
23
20
  inputFilterSensitiveLog: DescribeLocationFsxWindowsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeLocationFsxWindowsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DescribeLocationFsxWindowsCommand(input, context);
33
- };
34
- DescribeLocationFsxWindowsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeLocationFsxWindowsCommand(output, context);
36
- };
37
- return DescribeLocationFsxWindowsCommand;
38
- }($Command));
39
- export { DescribeLocationFsxWindowsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeLocationHdfsRequestFilterSensitiveLog, DescribeLocationHdfsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeLocationHdfsCommand, serializeAws_json1_1DescribeLocationHdfsCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DescribeLocationHdfsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeLocationHdfsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DataSyncClient";
18
- var commandName = "DescribeLocationHdfsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
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,
23
20
  inputFilterSensitiveLog: DescribeLocationHdfsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeLocationHdfsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DescribeLocationHdfsCommand(input, context);
33
- };
34
- DescribeLocationHdfsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeLocationHdfsCommand(output, context);
36
- };
37
- return DescribeLocationHdfsCommand;
38
- }($Command));
39
- export { DescribeLocationHdfsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeLocationNfsRequestFilterSensitiveLog, DescribeLocationNfsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeLocationNfsCommand, serializeAws_json1_1DescribeLocationNfsCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DescribeLocationNfsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeLocationNfsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DataSyncClient";
18
- var commandName = "DescribeLocationNfsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
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,
23
20
  inputFilterSensitiveLog: DescribeLocationNfsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeLocationNfsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DescribeLocationNfsCommand(input, context);
33
- };
34
- DescribeLocationNfsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeLocationNfsCommand(output, context);
36
- };
37
- return DescribeLocationNfsCommand;
38
- }($Command));
39
- export { DescribeLocationNfsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeLocationObjectStorageRequestFilterSensitiveLog, DescribeLocationObjectStorageResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeLocationObjectStorageCommand, serializeAws_json1_1DescribeLocationObjectStorageCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DescribeLocationObjectStorageCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeLocationObjectStorageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DataSyncClient";
18
- var commandName = "DescribeLocationObjectStorageCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
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,
23
20
  inputFilterSensitiveLog: DescribeLocationObjectStorageRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeLocationObjectStorageResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DescribeLocationObjectStorageCommand(input, context);
33
- };
34
- DescribeLocationObjectStorageCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeLocationObjectStorageCommand(output, context);
36
- };
37
- return DescribeLocationObjectStorageCommand;
38
- }($Command));
39
- export { DescribeLocationObjectStorageCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeLocationS3RequestFilterSensitiveLog, DescribeLocationS3ResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeLocationS3Command, serializeAws_json1_1DescribeLocationS3Command, } from "../protocols/Aws_json1_1";
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;
5
+ export class DescribeLocationS3Command extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeLocationS3Command.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DataSyncClient";
18
- var commandName = "DescribeLocationS3Command";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
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,
23
20
  inputFilterSensitiveLog: DescribeLocationS3RequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeLocationS3ResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DescribeLocationS3Command(input, context);
33
- };
34
- DescribeLocationS3Command.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeLocationS3Command(output, context);
36
- };
37
- return DescribeLocationS3Command;
38
- }($Command));
39
- export { DescribeLocationS3Command };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeLocationSmbRequestFilterSensitiveLog, DescribeLocationSmbResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeLocationSmbCommand, serializeAws_json1_1DescribeLocationSmbCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DescribeLocationSmbCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeLocationSmbCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DataSyncClient";
18
- var commandName = "DescribeLocationSmbCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
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,
23
20
  inputFilterSensitiveLog: DescribeLocationSmbRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeLocationSmbResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DescribeLocationSmbCommand(input, context);
33
- };
34
- DescribeLocationSmbCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeLocationSmbCommand(output, context);
36
- };
37
- return DescribeLocationSmbCommand;
38
- }($Command));
39
- export { DescribeLocationSmbCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeTaskRequestFilterSensitiveLog, DescribeTaskResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeTaskCommand, serializeAws_json1_1DescribeTaskCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DescribeTaskCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeTaskCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DataSyncClient";
18
- var commandName = "DescribeTaskCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
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,
23
20
  inputFilterSensitiveLog: DescribeTaskRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeTaskResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DescribeTaskCommand(input, context);
33
- };
34
- DescribeTaskCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeTaskCommand(output, context);
36
- };
37
- return DescribeTaskCommand;
38
- }($Command));
39
- export { DescribeTaskCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeTaskExecutionRequestFilterSensitiveLog, DescribeTaskExecutionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeTaskExecutionCommand, serializeAws_json1_1DescribeTaskExecutionCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class DescribeTaskExecutionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeTaskExecutionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DataSyncClient";
18
- var commandName = "DescribeTaskExecutionCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
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,
23
20
  inputFilterSensitiveLog: DescribeTaskExecutionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeTaskExecutionResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DescribeTaskExecutionCommand(input, context);
33
- };
34
- DescribeTaskExecutionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeTaskExecutionCommand(output, context);
36
- };
37
- return DescribeTaskExecutionCommand;
38
- }($Command));
39
- export { DescribeTaskExecutionCommand };
31
+ }
32
+ }