@aws-sdk/client-drs 3.183.0 → 3.185.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/Drs.js +137 -130
  4. package/dist-es/DrsClient.js +28 -22
  5. package/dist-es/commands/CreateExtendedSourceServerCommand.js +28 -21
  6. package/dist-es/commands/CreateReplicationConfigurationTemplateCommand.js +28 -21
  7. package/dist-es/commands/DeleteJobCommand.js +28 -21
  8. package/dist-es/commands/DeleteRecoveryInstanceCommand.js +29 -22
  9. package/dist-es/commands/DeleteReplicationConfigurationTemplateCommand.js +28 -21
  10. package/dist-es/commands/DeleteSourceServerCommand.js +28 -21
  11. package/dist-es/commands/DescribeJobLogItemsCommand.js +28 -21
  12. package/dist-es/commands/DescribeJobsCommand.js +28 -21
  13. package/dist-es/commands/DescribeRecoveryInstancesCommand.js +28 -21
  14. package/dist-es/commands/DescribeRecoverySnapshotsCommand.js +28 -21
  15. package/dist-es/commands/DescribeReplicationConfigurationTemplatesCommand.js +28 -21
  16. package/dist-es/commands/DescribeSourceServersCommand.js +28 -21
  17. package/dist-es/commands/DisconnectRecoveryInstanceCommand.js +29 -22
  18. package/dist-es/commands/DisconnectSourceServerCommand.js +28 -21
  19. package/dist-es/commands/GetFailbackReplicationConfigurationCommand.js +28 -21
  20. package/dist-es/commands/GetLaunchConfigurationCommand.js +28 -21
  21. package/dist-es/commands/GetReplicationConfigurationCommand.js +28 -21
  22. package/dist-es/commands/InitializeServiceCommand.js +28 -21
  23. package/dist-es/commands/ListExtensibleSourceServersCommand.js +28 -21
  24. package/dist-es/commands/ListStagingAccountsCommand.js +28 -21
  25. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  26. package/dist-es/commands/RetryDataReplicationCommand.js +28 -21
  27. package/dist-es/commands/StartFailbackLaunchCommand.js +28 -21
  28. package/dist-es/commands/StartRecoveryCommand.js +28 -21
  29. package/dist-es/commands/StopFailbackCommand.js +29 -22
  30. package/dist-es/commands/TagResourceCommand.js +29 -22
  31. package/dist-es/commands/TerminateRecoveryInstancesCommand.js +28 -21
  32. package/dist-es/commands/UntagResourceCommand.js +29 -22
  33. package/dist-es/commands/UpdateFailbackReplicationConfigurationCommand.js +29 -22
  34. package/dist-es/commands/UpdateLaunchConfigurationCommand.js +28 -21
  35. package/dist-es/commands/UpdateReplicationConfigurationCommand.js +28 -21
  36. package/dist-es/commands/UpdateReplicationConfigurationTemplateCommand.js +28 -21
  37. package/dist-es/endpoints.js +8 -8
  38. package/dist-es/models/DrsServiceException.js +10 -5
  39. package/dist-es/models/models_0.js +204 -419
  40. package/dist-es/pagination/DescribeJobLogItemsPaginator.js +68 -25
  41. package/dist-es/pagination/DescribeJobsPaginator.js +68 -25
  42. package/dist-es/pagination/DescribeRecoveryInstancesPaginator.js +68 -25
  43. package/dist-es/pagination/DescribeRecoverySnapshotsPaginator.js +68 -25
  44. package/dist-es/pagination/DescribeReplicationConfigurationTemplatesPaginator.js +68 -25
  45. package/dist-es/pagination/DescribeSourceServersPaginator.js +68 -25
  46. package/dist-es/pagination/ListExtensibleSourceServersPaginator.js +68 -25
  47. package/dist-es/pagination/ListStagingAccountsPaginator.js +68 -25
  48. package/dist-es/protocols/Aws_restJson1.js +3774 -2882
  49. package/dist-es/runtimeConfig.browser.js +12 -26
  50. package/dist-es/runtimeConfig.js +12 -30
  51. package/dist-es/runtimeConfig.native.js +5 -8
  52. package/dist-es/runtimeConfig.shared.js +11 -8
  53. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListStagingAccountsRequestFilterSensitiveLog, ListStagingAccountsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListStagingAccountsCommand, serializeAws_restJson1ListStagingAccountsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListStagingAccountsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListStagingAccountsCommand = (function (_super) {
7
+ __extends(ListStagingAccountsCommand, _super);
8
+ function ListStagingAccountsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListStagingAccountsCommand.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 = "DrsClient";
15
- const commandName = "ListStagingAccountsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DrsClient";
18
+ var commandName = "ListStagingAccountsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListStagingAccountsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListStagingAccountsResponseFilterSensitiveLog,
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
+ ListStagingAccountsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListStagingAccountsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListStagingAccountsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListStagingAccountsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListStagingAccountsCommand;
38
+ }($Command));
39
+ export { ListStagingAccountsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DrsClient";
15
- const commandName = "ListTagsForResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DrsClient";
18
+ var commandName = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { RetryDataReplicationRequestFilterSensitiveLog, SourceServerFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1RetryDataReplicationCommand, serializeAws_restJson1RetryDataReplicationCommand, } from "../protocols/Aws_restJson1";
5
- export class RetryDataReplicationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var RetryDataReplicationCommand = (function (_super) {
7
+ __extends(RetryDataReplicationCommand, _super);
8
+ function RetryDataReplicationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ RetryDataReplicationCommand.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 = "DrsClient";
15
- const commandName = "RetryDataReplicationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DrsClient";
18
+ var commandName = "RetryDataReplicationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: RetryDataReplicationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: SourceServerFilterSensitiveLog,
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
+ RetryDataReplicationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1RetryDataReplicationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ RetryDataReplicationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1RetryDataReplicationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return RetryDataReplicationCommand;
38
+ }($Command));
39
+ export { RetryDataReplicationCommand };
@@ -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 { StartFailbackLaunchRequestFilterSensitiveLog, StartFailbackLaunchResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1StartFailbackLaunchCommand, serializeAws_restJson1StartFailbackLaunchCommand, } from "../protocols/Aws_restJson1";
5
- export class StartFailbackLaunchCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartFailbackLaunchCommand = (function (_super) {
7
+ __extends(StartFailbackLaunchCommand, _super);
8
+ function StartFailbackLaunchCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartFailbackLaunchCommand.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 = "DrsClient";
15
- const commandName = "StartFailbackLaunchCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DrsClient";
18
+ var commandName = "StartFailbackLaunchCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartFailbackLaunchRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StartFailbackLaunchResponseFilterSensitiveLog,
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
+ StartFailbackLaunchCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1StartFailbackLaunchCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartFailbackLaunchCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1StartFailbackLaunchCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartFailbackLaunchCommand;
38
+ }($Command));
39
+ export { StartFailbackLaunchCommand };
@@ -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 { StartRecoveryRequestFilterSensitiveLog, StartRecoveryResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1StartRecoveryCommand, serializeAws_restJson1StartRecoveryCommand, } from "../protocols/Aws_restJson1";
5
- export class StartRecoveryCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartRecoveryCommand = (function (_super) {
7
+ __extends(StartRecoveryCommand, _super);
8
+ function StartRecoveryCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartRecoveryCommand.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 = "DrsClient";
15
- const commandName = "StartRecoveryCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DrsClient";
18
+ var commandName = "StartRecoveryCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartRecoveryRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StartRecoveryResponseFilterSensitiveLog,
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
+ StartRecoveryCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1StartRecoveryCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartRecoveryCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1StartRecoveryCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartRecoveryCommand;
38
+ }($Command));
39
+ export { StartRecoveryCommand };
@@ -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 { StopFailbackRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1StopFailbackCommand, serializeAws_restJson1StopFailbackCommand, } from "../protocols/Aws_restJson1";
5
- export class StopFailbackCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StopFailbackCommand = (function (_super) {
7
+ __extends(StopFailbackCommand, _super);
8
+ function StopFailbackCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StopFailbackCommand.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 = "DrsClient";
15
- const commandName = "StopFailbackCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DrsClient";
18
+ var commandName = "StopFailbackCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StopFailbackRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
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
+ StopFailbackCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1StopFailbackCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StopFailbackCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1StopFailbackCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StopFailbackCommand;
38
+ }($Command));
39
+ export { StopFailbackCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { TagResourceRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class TagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var TagResourceCommand = (function (_super) {
7
+ __extends(TagResourceCommand, _super);
8
+ function TagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DrsClient";
15
- const commandName = "TagResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DrsClient";
18
+ var commandName = "TagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ TagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1TagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1TagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TagResourceCommand;
38
+ }($Command));
39
+ export { TagResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { TerminateRecoveryInstancesRequestFilterSensitiveLog, TerminateRecoveryInstancesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1TerminateRecoveryInstancesCommand, serializeAws_restJson1TerminateRecoveryInstancesCommand, } from "../protocols/Aws_restJson1";
5
- export class TerminateRecoveryInstancesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var TerminateRecoveryInstancesCommand = (function (_super) {
7
+ __extends(TerminateRecoveryInstancesCommand, _super);
8
+ function TerminateRecoveryInstancesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TerminateRecoveryInstancesCommand.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 = "DrsClient";
15
- const commandName = "TerminateRecoveryInstancesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DrsClient";
18
+ var commandName = "TerminateRecoveryInstancesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TerminateRecoveryInstancesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TerminateRecoveryInstancesResponseFilterSensitiveLog,
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
+ TerminateRecoveryInstancesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1TerminateRecoveryInstancesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TerminateRecoveryInstancesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1TerminateRecoveryInstancesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TerminateRecoveryInstancesCommand;
38
+ }($Command));
39
+ export { TerminateRecoveryInstancesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UntagResourceRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class UntagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UntagResourceCommand = (function (_super) {
7
+ __extends(UntagResourceCommand, _super);
8
+ function UntagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DrsClient";
15
- const commandName = "UntagResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DrsClient";
18
+ var commandName = "UntagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UntagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UntagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UntagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UntagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UntagResourceCommand;
38
+ }($Command));
39
+ export { UntagResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateFailbackReplicationConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateFailbackReplicationConfigurationCommand, serializeAws_restJson1UpdateFailbackReplicationConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateFailbackReplicationConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateFailbackReplicationConfigurationCommand = (function (_super) {
7
+ __extends(UpdateFailbackReplicationConfigurationCommand, _super);
8
+ function UpdateFailbackReplicationConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateFailbackReplicationConfigurationCommand.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 = "DrsClient";
15
- const commandName = "UpdateFailbackReplicationConfigurationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DrsClient";
18
+ var commandName = "UpdateFailbackReplicationConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateFailbackReplicationConfigurationRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
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
+ UpdateFailbackReplicationConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateFailbackReplicationConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateFailbackReplicationConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateFailbackReplicationConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateFailbackReplicationConfigurationCommand;
38
+ }($Command));
39
+ export { UpdateFailbackReplicationConfigurationCommand };