@aws-sdk/client-mgn 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 (52) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/Mgn.js +141 -134
  4. package/dist-es/MgnClient.js +28 -22
  5. package/dist-es/commands/ChangeServerLifeCycleStateCommand.js +28 -21
  6. package/dist-es/commands/CreateLaunchConfigurationTemplateCommand.js +28 -21
  7. package/dist-es/commands/CreateReplicationConfigurationTemplateCommand.js +28 -21
  8. package/dist-es/commands/DeleteJobCommand.js +28 -21
  9. package/dist-es/commands/DeleteLaunchConfigurationTemplateCommand.js +28 -21
  10. package/dist-es/commands/DeleteReplicationConfigurationTemplateCommand.js +28 -21
  11. package/dist-es/commands/DeleteSourceServerCommand.js +28 -21
  12. package/dist-es/commands/DeleteVcenterClientCommand.js +29 -22
  13. package/dist-es/commands/DescribeJobLogItemsCommand.js +28 -21
  14. package/dist-es/commands/DescribeJobsCommand.js +28 -21
  15. package/dist-es/commands/DescribeLaunchConfigurationTemplatesCommand.js +28 -21
  16. package/dist-es/commands/DescribeReplicationConfigurationTemplatesCommand.js +28 -21
  17. package/dist-es/commands/DescribeSourceServersCommand.js +28 -21
  18. package/dist-es/commands/DescribeVcenterClientsCommand.js +28 -21
  19. package/dist-es/commands/DisconnectFromServiceCommand.js +28 -21
  20. package/dist-es/commands/FinalizeCutoverCommand.js +28 -21
  21. package/dist-es/commands/GetLaunchConfigurationCommand.js +28 -21
  22. package/dist-es/commands/GetReplicationConfigurationCommand.js +28 -21
  23. package/dist-es/commands/InitializeServiceCommand.js +28 -21
  24. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  25. package/dist-es/commands/MarkAsArchivedCommand.js +28 -21
  26. package/dist-es/commands/RetryDataReplicationCommand.js +28 -21
  27. package/dist-es/commands/StartCutoverCommand.js +28 -21
  28. package/dist-es/commands/StartReplicationCommand.js +28 -21
  29. package/dist-es/commands/StartTestCommand.js +28 -21
  30. package/dist-es/commands/TagResourceCommand.js +29 -22
  31. package/dist-es/commands/TerminateTargetInstancesCommand.js +28 -21
  32. package/dist-es/commands/UntagResourceCommand.js +29 -22
  33. package/dist-es/commands/UpdateLaunchConfigurationCommand.js +28 -21
  34. package/dist-es/commands/UpdateLaunchConfigurationTemplateCommand.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/commands/UpdateSourceServerReplicationTypeCommand.js +28 -21
  38. package/dist-es/endpoints.js +8 -8
  39. package/dist-es/models/MgnServiceException.js +10 -5
  40. package/dist-es/models/models_0.js +202 -410
  41. package/dist-es/pagination/DescribeJobLogItemsPaginator.js +68 -25
  42. package/dist-es/pagination/DescribeJobsPaginator.js +68 -25
  43. package/dist-es/pagination/DescribeLaunchConfigurationTemplatesPaginator.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/DescribeVcenterClientsPaginator.js +68 -25
  47. package/dist-es/protocols/Aws_restJson1.js +3799 -2923
  48. package/dist-es/runtimeConfig.browser.js +12 -26
  49. package/dist-es/runtimeConfig.js +12 -30
  50. package/dist-es/runtimeConfig.native.js +5 -8
  51. package/dist-es/runtimeConfig.shared.js +11 -8
  52. 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 { DescribeJobsRequestFilterSensitiveLog, DescribeJobsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeJobsCommand, serializeAws_restJson1DescribeJobsCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeJobsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeJobsCommand = (function (_super) {
7
+ __extends(DescribeJobsCommand, _super);
8
+ function DescribeJobsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeJobsCommand.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 = "MgnClient";
15
- const commandName = "DescribeJobsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MgnClient";
18
+ var commandName = "DescribeJobsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeJobsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeJobsResponseFilterSensitiveLog,
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
+ DescribeJobsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeJobsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeJobsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeJobsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeJobsCommand;
38
+ }($Command));
39
+ export { DescribeJobsCommand };
@@ -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 { DescribeLaunchConfigurationTemplatesRequestFilterSensitiveLog, DescribeLaunchConfigurationTemplatesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeLaunchConfigurationTemplatesCommand, serializeAws_restJson1DescribeLaunchConfigurationTemplatesCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeLaunchConfigurationTemplatesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeLaunchConfigurationTemplatesCommand = (function (_super) {
7
+ __extends(DescribeLaunchConfigurationTemplatesCommand, _super);
8
+ function DescribeLaunchConfigurationTemplatesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeLaunchConfigurationTemplatesCommand.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 = "MgnClient";
15
- const commandName = "DescribeLaunchConfigurationTemplatesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MgnClient";
18
+ var commandName = "DescribeLaunchConfigurationTemplatesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeLaunchConfigurationTemplatesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeLaunchConfigurationTemplatesResponseFilterSensitiveLog,
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
+ DescribeLaunchConfigurationTemplatesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeLaunchConfigurationTemplatesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeLaunchConfigurationTemplatesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeLaunchConfigurationTemplatesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeLaunchConfigurationTemplatesCommand;
38
+ }($Command));
39
+ export { DescribeLaunchConfigurationTemplatesCommand };
@@ -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 { DescribeReplicationConfigurationTemplatesRequestFilterSensitiveLog, DescribeReplicationConfigurationTemplatesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeReplicationConfigurationTemplatesCommand, serializeAws_restJson1DescribeReplicationConfigurationTemplatesCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeReplicationConfigurationTemplatesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeReplicationConfigurationTemplatesCommand = (function (_super) {
7
+ __extends(DescribeReplicationConfigurationTemplatesCommand, _super);
8
+ function DescribeReplicationConfigurationTemplatesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeReplicationConfigurationTemplatesCommand.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 = "MgnClient";
15
- const commandName = "DescribeReplicationConfigurationTemplatesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MgnClient";
18
+ var commandName = "DescribeReplicationConfigurationTemplatesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeReplicationConfigurationTemplatesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeReplicationConfigurationTemplatesResponseFilterSensitiveLog,
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
+ DescribeReplicationConfigurationTemplatesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeReplicationConfigurationTemplatesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeReplicationConfigurationTemplatesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeReplicationConfigurationTemplatesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeReplicationConfigurationTemplatesCommand;
38
+ }($Command));
39
+ export { DescribeReplicationConfigurationTemplatesCommand };
@@ -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 { DescribeSourceServersRequestFilterSensitiveLog, DescribeSourceServersResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeSourceServersCommand, serializeAws_restJson1DescribeSourceServersCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeSourceServersCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeSourceServersCommand = (function (_super) {
7
+ __extends(DescribeSourceServersCommand, _super);
8
+ function DescribeSourceServersCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeSourceServersCommand.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 = "MgnClient";
15
- const commandName = "DescribeSourceServersCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MgnClient";
18
+ var commandName = "DescribeSourceServersCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeSourceServersRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeSourceServersResponseFilterSensitiveLog,
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
+ DescribeSourceServersCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeSourceServersCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeSourceServersCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeSourceServersCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeSourceServersCommand;
38
+ }($Command));
39
+ export { DescribeSourceServersCommand };
@@ -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 { DescribeVcenterClientsRequestFilterSensitiveLog, DescribeVcenterClientsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeVcenterClientsCommand, serializeAws_restJson1DescribeVcenterClientsCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeVcenterClientsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeVcenterClientsCommand = (function (_super) {
7
+ __extends(DescribeVcenterClientsCommand, _super);
8
+ function DescribeVcenterClientsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeVcenterClientsCommand.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 = "MgnClient";
15
- const commandName = "DescribeVcenterClientsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MgnClient";
18
+ var commandName = "DescribeVcenterClientsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeVcenterClientsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeVcenterClientsResponseFilterSensitiveLog,
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
+ DescribeVcenterClientsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeVcenterClientsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeVcenterClientsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeVcenterClientsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeVcenterClientsCommand;
38
+ }($Command));
39
+ export { DescribeVcenterClientsCommand };
@@ -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 { DisconnectFromServiceRequestFilterSensitiveLog, SourceServerFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DisconnectFromServiceCommand, serializeAws_restJson1DisconnectFromServiceCommand, } from "../protocols/Aws_restJson1";
5
- export class DisconnectFromServiceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisconnectFromServiceCommand = (function (_super) {
7
+ __extends(DisconnectFromServiceCommand, _super);
8
+ function DisconnectFromServiceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisconnectFromServiceCommand.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 = "MgnClient";
15
- const commandName = "DisconnectFromServiceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MgnClient";
18
+ var commandName = "DisconnectFromServiceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisconnectFromServiceRequestFilterSensitiveLog,
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
+ DisconnectFromServiceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DisconnectFromServiceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisconnectFromServiceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DisconnectFromServiceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisconnectFromServiceCommand;
38
+ }($Command));
39
+ export { DisconnectFromServiceCommand };
@@ -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 { FinalizeCutoverRequestFilterSensitiveLog, SourceServerFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1FinalizeCutoverCommand, serializeAws_restJson1FinalizeCutoverCommand, } from "../protocols/Aws_restJson1";
5
- export class FinalizeCutoverCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var FinalizeCutoverCommand = (function (_super) {
7
+ __extends(FinalizeCutoverCommand, _super);
8
+ function FinalizeCutoverCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ FinalizeCutoverCommand.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 = "MgnClient";
15
- const commandName = "FinalizeCutoverCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MgnClient";
18
+ var commandName = "FinalizeCutoverCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: FinalizeCutoverRequestFilterSensitiveLog,
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
+ FinalizeCutoverCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1FinalizeCutoverCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ FinalizeCutoverCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1FinalizeCutoverCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return FinalizeCutoverCommand;
38
+ }($Command));
39
+ export { FinalizeCutoverCommand };
@@ -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 { GetLaunchConfigurationRequestFilterSensitiveLog, LaunchConfigurationFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetLaunchConfigurationCommand, serializeAws_restJson1GetLaunchConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class GetLaunchConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetLaunchConfigurationCommand = (function (_super) {
7
+ __extends(GetLaunchConfigurationCommand, _super);
8
+ function GetLaunchConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetLaunchConfigurationCommand.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 = "MgnClient";
15
- const commandName = "GetLaunchConfigurationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MgnClient";
18
+ var commandName = "GetLaunchConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetLaunchConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: LaunchConfigurationFilterSensitiveLog,
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
+ GetLaunchConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetLaunchConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetLaunchConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetLaunchConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetLaunchConfigurationCommand;
38
+ }($Command));
39
+ export { GetLaunchConfigurationCommand };
@@ -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 { GetReplicationConfigurationRequestFilterSensitiveLog, ReplicationConfigurationFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetReplicationConfigurationCommand, serializeAws_restJson1GetReplicationConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class GetReplicationConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetReplicationConfigurationCommand = (function (_super) {
7
+ __extends(GetReplicationConfigurationCommand, _super);
8
+ function GetReplicationConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetReplicationConfigurationCommand.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 = "MgnClient";
15
- const commandName = "GetReplicationConfigurationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MgnClient";
18
+ var commandName = "GetReplicationConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetReplicationConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ReplicationConfigurationFilterSensitiveLog,
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
+ GetReplicationConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetReplicationConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetReplicationConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetReplicationConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetReplicationConfigurationCommand;
38
+ }($Command));
39
+ export { GetReplicationConfigurationCommand };
@@ -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 { InitializeServiceRequestFilterSensitiveLog, InitializeServiceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1InitializeServiceCommand, serializeAws_restJson1InitializeServiceCommand, } from "../protocols/Aws_restJson1";
5
- export class InitializeServiceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var InitializeServiceCommand = (function (_super) {
7
+ __extends(InitializeServiceCommand, _super);
8
+ function InitializeServiceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ InitializeServiceCommand.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 = "MgnClient";
15
- const commandName = "InitializeServiceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "MgnClient";
18
+ var commandName = "InitializeServiceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: InitializeServiceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: InitializeServiceResponseFilterSensitiveLog,
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
+ InitializeServiceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1InitializeServiceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ InitializeServiceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1InitializeServiceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return InitializeServiceCommand;
38
+ }($Command));
39
+ export { InitializeServiceCommand };