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