@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 { CreateLocationObjectStorageRequestFilterSensitiveLog, CreateLocationObjectStorageResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateLocationObjectStorageCommand, serializeAws_json1_1CreateLocationObjectStorageCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateLocationObjectStorageCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateLocationObjectStorageCommand = (function (_super) {
7
+ __extends(CreateLocationObjectStorageCommand, _super);
8
+ function CreateLocationObjectStorageCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateLocationObjectStorageCommand.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 = "CreateLocationObjectStorageCommand";
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 = "CreateLocationObjectStorageCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateLocationObjectStorageRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateLocationObjectStorageResponseFilterSensitiveLog,
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
+ CreateLocationObjectStorageCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateLocationObjectStorageCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateLocationObjectStorageCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateLocationObjectStorageCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateLocationObjectStorageCommand;
38
+ }($Command));
39
+ export { CreateLocationObjectStorageCommand };
@@ -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 { CreateLocationS3RequestFilterSensitiveLog, CreateLocationS3ResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateLocationS3Command, serializeAws_json1_1CreateLocationS3Command, } from "../protocols/Aws_json1_1";
5
- export class CreateLocationS3Command extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateLocationS3Command = (function (_super) {
7
+ __extends(CreateLocationS3Command, _super);
8
+ function CreateLocationS3Command(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateLocationS3Command.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 = "CreateLocationS3Command";
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 = "CreateLocationS3Command";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateLocationS3RequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateLocationS3ResponseFilterSensitiveLog,
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
+ CreateLocationS3Command.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateLocationS3Command(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateLocationS3Command.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateLocationS3Command(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateLocationS3Command;
38
+ }($Command));
39
+ export { CreateLocationS3Command };
@@ -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 { CreateLocationSmbRequestFilterSensitiveLog, CreateLocationSmbResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateLocationSmbCommand, serializeAws_json1_1CreateLocationSmbCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateLocationSmbCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateLocationSmbCommand = (function (_super) {
7
+ __extends(CreateLocationSmbCommand, _super);
8
+ function CreateLocationSmbCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateLocationSmbCommand.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 = "CreateLocationSmbCommand";
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 = "CreateLocationSmbCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateLocationSmbRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateLocationSmbResponseFilterSensitiveLog,
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
+ CreateLocationSmbCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateLocationSmbCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateLocationSmbCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateLocationSmbCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateLocationSmbCommand;
38
+ }($Command));
39
+ export { CreateLocationSmbCommand };
@@ -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 { CreateTaskRequestFilterSensitiveLog, CreateTaskResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateTaskCommand, serializeAws_json1_1CreateTaskCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateTaskCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateTaskCommand = (function (_super) {
7
+ __extends(CreateTaskCommand, _super);
8
+ function CreateTaskCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateTaskCommand.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 = "CreateTaskCommand";
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 = "CreateTaskCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateTaskRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateTaskResponseFilterSensitiveLog,
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
+ CreateTaskCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateTaskCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateTaskCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateTaskCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateTaskCommand;
38
+ }($Command));
39
+ export { CreateTaskCommand };
@@ -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 { DeleteAgentRequestFilterSensitiveLog, DeleteAgentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteAgentCommand, serializeAws_json1_1DeleteAgentCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteAgentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteAgentCommand = (function (_super) {
7
+ __extends(DeleteAgentCommand, _super);
8
+ function DeleteAgentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteAgentCommand.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 = "DeleteAgentCommand";
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 = "DeleteAgentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteAgentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteAgentResponseFilterSensitiveLog,
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
+ DeleteAgentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteAgentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteAgentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteAgentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteAgentCommand;
38
+ }($Command));
39
+ export { DeleteAgentCommand };
@@ -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 { DeleteLocationRequestFilterSensitiveLog, DeleteLocationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteLocationCommand, serializeAws_json1_1DeleteLocationCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteLocationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteLocationCommand = (function (_super) {
7
+ __extends(DeleteLocationCommand, _super);
8
+ function DeleteLocationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteLocationCommand.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 = "DeleteLocationCommand";
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 = "DeleteLocationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteLocationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteLocationResponseFilterSensitiveLog,
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
+ DeleteLocationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteLocationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteLocationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteLocationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteLocationCommand;
38
+ }($Command));
39
+ export { DeleteLocationCommand };
@@ -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 { DeleteTaskRequestFilterSensitiveLog, DeleteTaskResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteTaskCommand, serializeAws_json1_1DeleteTaskCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteTaskCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteTaskCommand = (function (_super) {
7
+ __extends(DeleteTaskCommand, _super);
8
+ function DeleteTaskCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteTaskCommand.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 = "DeleteTaskCommand";
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 = "DeleteTaskCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteTaskRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteTaskResponseFilterSensitiveLog,
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
+ DeleteTaskCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteTaskCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteTaskCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteTaskCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteTaskCommand;
38
+ }($Command));
39
+ export { DeleteTaskCommand };
@@ -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 { DescribeAgentRequestFilterSensitiveLog, DescribeAgentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeAgentCommand, serializeAws_json1_1DescribeAgentCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeAgentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeAgentCommand = (function (_super) {
7
+ __extends(DescribeAgentCommand, _super);
8
+ function DescribeAgentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeAgentCommand.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 = "DescribeAgentCommand";
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 = "DescribeAgentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeAgentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeAgentResponseFilterSensitiveLog,
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
+ DescribeAgentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeAgentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeAgentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeAgentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeAgentCommand;
38
+ }($Command));
39
+ export { DescribeAgentCommand };
@@ -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 { DescribeLocationEfsRequestFilterSensitiveLog, DescribeLocationEfsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeLocationEfsCommand, serializeAws_json1_1DescribeLocationEfsCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeLocationEfsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeLocationEfsCommand = (function (_super) {
7
+ __extends(DescribeLocationEfsCommand, _super);
8
+ function DescribeLocationEfsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeLocationEfsCommand.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 = "DescribeLocationEfsCommand";
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 = "DescribeLocationEfsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeLocationEfsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeLocationEfsResponseFilterSensitiveLog,
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
+ DescribeLocationEfsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeLocationEfsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeLocationEfsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeLocationEfsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeLocationEfsCommand;
38
+ }($Command));
39
+ export { DescribeLocationEfsCommand };
@@ -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 { DescribeLocationFsxLustreRequestFilterSensitiveLog, DescribeLocationFsxLustreResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeLocationFsxLustreCommand, serializeAws_json1_1DescribeLocationFsxLustreCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeLocationFsxLustreCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeLocationFsxLustreCommand = (function (_super) {
7
+ __extends(DescribeLocationFsxLustreCommand, _super);
8
+ function DescribeLocationFsxLustreCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeLocationFsxLustreCommand.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 = "DescribeLocationFsxLustreCommand";
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 = "DescribeLocationFsxLustreCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeLocationFsxLustreRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeLocationFsxLustreResponseFilterSensitiveLog,
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
+ DescribeLocationFsxLustreCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeLocationFsxLustreCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeLocationFsxLustreCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeLocationFsxLustreCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeLocationFsxLustreCommand;
38
+ }($Command));
39
+ export { DescribeLocationFsxLustreCommand };