@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,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
- export class MgnClient extends __Client {
12
- constructor(configuration) {
13
- const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
22
- this.middlewareStack.use(getRetryPlugin(this.config));
23
- this.middlewareStack.use(getContentLengthPlugin(this.config));
24
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
- this.middlewareStack.use(getLoggerPlugin(this.config));
26
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
- this.middlewareStack.use(getUserAgentPlugin(this.config));
12
+ var MgnClient = (function (_super) {
13
+ __extends(MgnClient, _super);
14
+ function MgnClient(configuration) {
15
+ var _this = this;
16
+ var _config_0 = __getRuntimeConfig(configuration);
17
+ var _config_1 = resolveRegionConfig(_config_0);
18
+ var _config_2 = resolveEndpointsConfig(_config_1);
19
+ var _config_3 = resolveRetryConfig(_config_2);
20
+ var _config_4 = resolveHostHeaderConfig(_config_3);
21
+ var _config_5 = resolveAwsAuthConfig(_config_4);
22
+ var _config_6 = resolveUserAgentConfig(_config_5);
23
+ _this = _super.call(this, _config_6) || this;
24
+ _this.config = _config_6;
25
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
26
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
+ _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
+ return _this;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ MgnClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return MgnClient;
38
+ }(__Client));
39
+ export { MgnClient };
@@ -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 { ChangeServerLifeCycleStateRequestFilterSensitiveLog, SourceServerFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ChangeServerLifeCycleStateCommand, serializeAws_restJson1ChangeServerLifeCycleStateCommand, } from "../protocols/Aws_restJson1";
5
- export class ChangeServerLifeCycleStateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ChangeServerLifeCycleStateCommand = (function (_super) {
7
+ __extends(ChangeServerLifeCycleStateCommand, _super);
8
+ function ChangeServerLifeCycleStateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ChangeServerLifeCycleStateCommand.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 = "ChangeServerLifeCycleStateCommand";
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 = "ChangeServerLifeCycleStateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ChangeServerLifeCycleStateRequestFilterSensitiveLog,
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
+ ChangeServerLifeCycleStateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ChangeServerLifeCycleStateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ChangeServerLifeCycleStateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ChangeServerLifeCycleStateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ChangeServerLifeCycleStateCommand;
38
+ }($Command));
39
+ export { ChangeServerLifeCycleStateCommand };
@@ -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 { CreateLaunchConfigurationTemplateRequestFilterSensitiveLog, LaunchConfigurationTemplateFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateLaunchConfigurationTemplateCommand, serializeAws_restJson1CreateLaunchConfigurationTemplateCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateLaunchConfigurationTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateLaunchConfigurationTemplateCommand = (function (_super) {
7
+ __extends(CreateLaunchConfigurationTemplateCommand, _super);
8
+ function CreateLaunchConfigurationTemplateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateLaunchConfigurationTemplateCommand.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 = "CreateLaunchConfigurationTemplateCommand";
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 = "CreateLaunchConfigurationTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateLaunchConfigurationTemplateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: LaunchConfigurationTemplateFilterSensitiveLog,
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
+ CreateLaunchConfigurationTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateLaunchConfigurationTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateLaunchConfigurationTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateLaunchConfigurationTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateLaunchConfigurationTemplateCommand;
38
+ }($Command));
39
+ export { CreateLaunchConfigurationTemplateCommand };
@@ -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 { CreateReplicationConfigurationTemplateRequestFilterSensitiveLog, ReplicationConfigurationTemplateFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateReplicationConfigurationTemplateCommand, serializeAws_restJson1CreateReplicationConfigurationTemplateCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateReplicationConfigurationTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateReplicationConfigurationTemplateCommand = (function (_super) {
7
+ __extends(CreateReplicationConfigurationTemplateCommand, _super);
8
+ function CreateReplicationConfigurationTemplateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateReplicationConfigurationTemplateCommand.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 = "CreateReplicationConfigurationTemplateCommand";
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 = "CreateReplicationConfigurationTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateReplicationConfigurationTemplateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ReplicationConfigurationTemplateFilterSensitiveLog,
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
+ CreateReplicationConfigurationTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateReplicationConfigurationTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateReplicationConfigurationTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateReplicationConfigurationTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateReplicationConfigurationTemplateCommand;
38
+ }($Command));
39
+ export { CreateReplicationConfigurationTemplateCommand };
@@ -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 { DeleteJobRequestFilterSensitiveLog, DeleteJobResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteJobCommand, serializeAws_restJson1DeleteJobCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteJobCommand = (function (_super) {
7
+ __extends(DeleteJobCommand, _super);
8
+ function DeleteJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteJobCommand.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 = "DeleteJobCommand";
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 = "DeleteJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteJobResponseFilterSensitiveLog,
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
+ DeleteJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteJobCommand;
38
+ }($Command));
39
+ export { DeleteJobCommand };
@@ -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 { DeleteLaunchConfigurationTemplateRequestFilterSensitiveLog, DeleteLaunchConfigurationTemplateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteLaunchConfigurationTemplateCommand, serializeAws_restJson1DeleteLaunchConfigurationTemplateCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteLaunchConfigurationTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteLaunchConfigurationTemplateCommand = (function (_super) {
7
+ __extends(DeleteLaunchConfigurationTemplateCommand, _super);
8
+ function DeleteLaunchConfigurationTemplateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteLaunchConfigurationTemplateCommand.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 = "DeleteLaunchConfigurationTemplateCommand";
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 = "DeleteLaunchConfigurationTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteLaunchConfigurationTemplateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteLaunchConfigurationTemplateResponseFilterSensitiveLog,
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
+ DeleteLaunchConfigurationTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteLaunchConfigurationTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteLaunchConfigurationTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteLaunchConfigurationTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteLaunchConfigurationTemplateCommand;
38
+ }($Command));
39
+ export { DeleteLaunchConfigurationTemplateCommand };
@@ -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 { DeleteReplicationConfigurationTemplateRequestFilterSensitiveLog, DeleteReplicationConfigurationTemplateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteReplicationConfigurationTemplateCommand, serializeAws_restJson1DeleteReplicationConfigurationTemplateCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteReplicationConfigurationTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteReplicationConfigurationTemplateCommand = (function (_super) {
7
+ __extends(DeleteReplicationConfigurationTemplateCommand, _super);
8
+ function DeleteReplicationConfigurationTemplateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteReplicationConfigurationTemplateCommand.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 = "DeleteReplicationConfigurationTemplateCommand";
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 = "DeleteReplicationConfigurationTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteReplicationConfigurationTemplateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteReplicationConfigurationTemplateResponseFilterSensitiveLog,
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
+ DeleteReplicationConfigurationTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteReplicationConfigurationTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteReplicationConfigurationTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteReplicationConfigurationTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteReplicationConfigurationTemplateCommand;
38
+ }($Command));
39
+ export { DeleteReplicationConfigurationTemplateCommand };
@@ -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 { DeleteSourceServerRequestFilterSensitiveLog, DeleteSourceServerResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteSourceServerCommand, serializeAws_restJson1DeleteSourceServerCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteSourceServerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteSourceServerCommand = (function (_super) {
7
+ __extends(DeleteSourceServerCommand, _super);
8
+ function DeleteSourceServerCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteSourceServerCommand.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 = "DeleteSourceServerCommand";
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 = "DeleteSourceServerCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteSourceServerRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteSourceServerResponseFilterSensitiveLog,
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
+ DeleteSourceServerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteSourceServerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteSourceServerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteSourceServerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteSourceServerCommand;
38
+ }($Command));
39
+ export { DeleteSourceServerCommand };
@@ -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 { DeleteVcenterClientRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteVcenterClientCommand, serializeAws_restJson1DeleteVcenterClientCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteVcenterClientCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteVcenterClientCommand = (function (_super) {
7
+ __extends(DeleteVcenterClientCommand, _super);
8
+ function DeleteVcenterClientCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteVcenterClientCommand.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 = "DeleteVcenterClientCommand";
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 = "DeleteVcenterClientCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteVcenterClientRequestFilterSensitiveLog,
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
+ DeleteVcenterClientCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteVcenterClientCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteVcenterClientCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteVcenterClientCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteVcenterClientCommand;
38
+ }($Command));
39
+ export { DeleteVcenterClientCommand };
@@ -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 { DescribeJobLogItemsRequestFilterSensitiveLog, DescribeJobLogItemsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeJobLogItemsCommand, serializeAws_restJson1DescribeJobLogItemsCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeJobLogItemsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeJobLogItemsCommand = (function (_super) {
7
+ __extends(DescribeJobLogItemsCommand, _super);
8
+ function DescribeJobLogItemsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeJobLogItemsCommand.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 = "DescribeJobLogItemsCommand";
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 = "DescribeJobLogItemsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeJobLogItemsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeJobLogItemsResponseFilterSensitiveLog,
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
+ DescribeJobLogItemsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeJobLogItemsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeJobLogItemsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeJobLogItemsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeJobLogItemsCommand;
38
+ }($Command));
39
+ export { DescribeJobLogItemsCommand };