@aws-sdk/client-mgn 3.36.0 → 3.36.1

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 (71) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/Mgn.js +0 -3
  3. package/dist-cjs/MgnClient.js +0 -8
  4. package/dist-cjs/commands/ChangeServerLifeCycleStateCommand.js +0 -24
  5. package/dist-cjs/commands/CreateReplicationConfigurationTemplateCommand.js +0 -24
  6. package/dist-cjs/commands/DeleteJobCommand.js +0 -24
  7. package/dist-cjs/commands/DeleteReplicationConfigurationTemplateCommand.js +0 -24
  8. package/dist-cjs/commands/DeleteSourceServerCommand.js +0 -24
  9. package/dist-cjs/commands/DescribeJobLogItemsCommand.js +0 -24
  10. package/dist-cjs/commands/DescribeJobsCommand.js +0 -24
  11. package/dist-cjs/commands/DescribeReplicationConfigurationTemplatesCommand.js +0 -24
  12. package/dist-cjs/commands/DescribeSourceServersCommand.js +0 -24
  13. package/dist-cjs/commands/DisconnectFromServiceCommand.js +0 -24
  14. package/dist-cjs/commands/FinalizeCutoverCommand.js +0 -24
  15. package/dist-cjs/commands/GetLaunchConfigurationCommand.js +0 -24
  16. package/dist-cjs/commands/GetReplicationConfigurationCommand.js +0 -24
  17. package/dist-cjs/commands/InitializeServiceCommand.js +0 -24
  18. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
  19. package/dist-cjs/commands/MarkAsArchivedCommand.js +0 -24
  20. package/dist-cjs/commands/RetryDataReplicationCommand.js +0 -24
  21. package/dist-cjs/commands/StartCutoverCommand.js +0 -24
  22. package/dist-cjs/commands/StartTestCommand.js +0 -24
  23. package/dist-cjs/commands/TagResourceCommand.js +0 -24
  24. package/dist-cjs/commands/TerminateTargetInstancesCommand.js +0 -24
  25. package/dist-cjs/commands/UntagResourceCommand.js +0 -24
  26. package/dist-cjs/commands/UpdateLaunchConfigurationCommand.js +0 -24
  27. package/dist-cjs/commands/UpdateReplicationConfigurationCommand.js +0 -24
  28. package/dist-cjs/commands/UpdateReplicationConfigurationTemplateCommand.js +0 -24
  29. package/dist-cjs/models/models_0.js +0 -237
  30. package/dist-cjs/pagination/DescribeJobLogItemsPaginator.js +0 -10
  31. package/dist-cjs/pagination/DescribeJobsPaginator.js +0 -10
  32. package/dist-cjs/pagination/DescribeReplicationConfigurationTemplatesPaginator.js +0 -10
  33. package/dist-cjs/pagination/DescribeSourceServersPaginator.js +0 -10
  34. package/dist-cjs/protocols/Aws_restJson1.js +0 -5
  35. package/dist-cjs/runtimeConfig.browser.js +1 -5
  36. package/dist-cjs/runtimeConfig.js +1 -5
  37. package/dist-cjs/runtimeConfig.native.js +0 -3
  38. package/dist-cjs/runtimeConfig.shared.js +0 -3
  39. package/dist-types/ts3.4/Mgn.d.ts +26 -78
  40. package/dist-types/ts3.4/MgnClient.d.ts +24 -89
  41. package/dist-types/ts3.4/commands/ChangeServerLifeCycleStateCommand.d.ts +2 -20
  42. package/dist-types/ts3.4/commands/CreateReplicationConfigurationTemplateCommand.d.ts +2 -20
  43. package/dist-types/ts3.4/commands/DeleteJobCommand.d.ts +2 -20
  44. package/dist-types/ts3.4/commands/DeleteReplicationConfigurationTemplateCommand.d.ts +2 -20
  45. package/dist-types/ts3.4/commands/DeleteSourceServerCommand.d.ts +2 -20
  46. package/dist-types/ts3.4/commands/DescribeJobLogItemsCommand.d.ts +2 -20
  47. package/dist-types/ts3.4/commands/DescribeJobsCommand.d.ts +2 -20
  48. package/dist-types/ts3.4/commands/DescribeReplicationConfigurationTemplatesCommand.d.ts +2 -20
  49. package/dist-types/ts3.4/commands/DescribeSourceServersCommand.d.ts +2 -20
  50. package/dist-types/ts3.4/commands/DisconnectFromServiceCommand.d.ts +2 -20
  51. package/dist-types/ts3.4/commands/FinalizeCutoverCommand.d.ts +2 -20
  52. package/dist-types/ts3.4/commands/GetLaunchConfigurationCommand.d.ts +2 -20
  53. package/dist-types/ts3.4/commands/GetReplicationConfigurationCommand.d.ts +2 -20
  54. package/dist-types/ts3.4/commands/InitializeServiceCommand.d.ts +2 -20
  55. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  56. package/dist-types/ts3.4/commands/MarkAsArchivedCommand.d.ts +2 -20
  57. package/dist-types/ts3.4/commands/RetryDataReplicationCommand.d.ts +2 -20
  58. package/dist-types/ts3.4/commands/StartCutoverCommand.d.ts +2 -20
  59. package/dist-types/ts3.4/commands/StartTestCommand.d.ts +2 -20
  60. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  61. package/dist-types/ts3.4/commands/TerminateTargetInstancesCommand.d.ts +2 -20
  62. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  63. package/dist-types/ts3.4/commands/UpdateLaunchConfigurationCommand.d.ts +2 -20
  64. package/dist-types/ts3.4/commands/UpdateReplicationConfigurationCommand.d.ts +2 -20
  65. package/dist-types/ts3.4/commands/UpdateReplicationConfigurationTemplateCommand.d.ts +2 -20
  66. package/dist-types/ts3.4/models/models_0.d.ts +361 -1083
  67. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  68. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  69. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  70. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  71. package/package.json +3 -3
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Causes the data replication initiation sequence to begin immediately upon next Handshake for specified SourceServer IDs, regardless of when the previous initiation started. This command will not work if the SourceServer is not stalled or is in a DISCONNECTED or STOPPED state.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { MgnClient, RetryDataReplicationCommand } from "@aws-sdk/client-mgn"; // ES Modules import
14
- * // const { MgnClient, RetryDataReplicationCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
15
- * const client = new MgnClient(config);
16
- * const command = new RetryDataReplicationCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link RetryDataReplicationCommandInput} for command's `input` shape.
21
- * @see {@link RetryDataReplicationCommandOutput} for command's `response` shape.
22
- * @see {@link MgnClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class RetryDataReplicationCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Launches a Cutover Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartCutover and changes the SourceServer.lifeCycle.state property to CUTTING_OVER.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { MgnClient, StartCutoverCommand } from "@aws-sdk/client-mgn"; // ES Modules import
14
- * // const { MgnClient, StartCutoverCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
15
- * const client = new MgnClient(config);
16
- * const command = new StartCutoverCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link StartCutoverCommandInput} for command's `input` shape.
21
- * @see {@link StartCutoverCommandOutput} for command's `response` shape.
22
- * @see {@link MgnClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class StartCutoverCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Lauches a Test Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartTest and changes the SourceServer.lifeCycle.state property to TESTING.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { MgnClient, StartTestCommand } from "@aws-sdk/client-mgn"; // ES Modules import
14
- * // const { MgnClient, StartTestCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
15
- * const client = new MgnClient(config);
16
- * const command = new StartTestCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link StartTestCommandInput} for command's `input` shape.
21
- * @see {@link StartTestCommandOutput} for command's `response` shape.
22
- * @see {@link MgnClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class StartTestCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Adds or overwrites only the specified tags for the specified Application Migration Service resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { MgnClient, TagResourceCommand } from "@aws-sdk/client-mgn"; // ES Modules import
14
- * // const { MgnClient, TagResourceCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
15
- * const client = new MgnClient(config);
16
- * const command = new TagResourceCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link TagResourceCommandInput} for command's `input` shape.
21
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
22
- * @see {@link MgnClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class TagResourceCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Starts a job that terminates specific launched EC2 Test and Cutover instances. This command will not work for any Source Server with a lifecycle.state of TESTING, CUTTING_OVER, or CUTOVER.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { MgnClient, TerminateTargetInstancesCommand } from "@aws-sdk/client-mgn"; // ES Modules import
14
- * // const { MgnClient, TerminateTargetInstancesCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
15
- * const client = new MgnClient(config);
16
- * const command = new TerminateTargetInstancesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link TerminateTargetInstancesCommandInput} for command's `input` shape.
21
- * @see {@link TerminateTargetInstancesCommandOutput} for command's `response` shape.
22
- * @see {@link MgnClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class TerminateTargetInstancesCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Deletes the specified set of tags from the specified set of Application Migration Service resources.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { MgnClient, UntagResourceCommand } from "@aws-sdk/client-mgn"; // ES Modules import
14
- * // const { MgnClient, UntagResourceCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
15
- * const client = new MgnClient(config);
16
- * const command = new UntagResourceCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
21
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
22
- * @see {@link MgnClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class UntagResourceCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Updates multiple LaunchConfigurations by Source Server ID.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { MgnClient, UpdateLaunchConfigurationCommand } from "@aws-sdk/client-mgn"; // ES Modules import
14
- * // const { MgnClient, UpdateLaunchConfigurationCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
15
- * const client = new MgnClient(config);
16
- * const command = new UpdateLaunchConfigurationCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link UpdateLaunchConfigurationCommandInput} for command's `input` shape.
21
- * @see {@link UpdateLaunchConfigurationCommandOutput} for command's `response` shape.
22
- * @see {@link MgnClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class UpdateLaunchConfigurationCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Allows you to update multiple ReplicationConfigurations by Source Server ID.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { MgnClient, UpdateReplicationConfigurationCommand } from "@aws-sdk/client-mgn"; // ES Modules import
14
- * // const { MgnClient, UpdateReplicationConfigurationCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
15
- * const client = new MgnClient(config);
16
- * const command = new UpdateReplicationConfigurationCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link UpdateReplicationConfigurationCommandInput} for command's `input` shape.
21
- * @see {@link UpdateReplicationConfigurationCommandOutput} for command's `response` shape.
22
- * @see {@link MgnClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class UpdateReplicationConfigurationCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Updates multiple ReplicationConfigurationTemplates by ID.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { MgnClient, UpdateReplicationConfigurationTemplateCommand } from "@aws-sdk/client-mgn"; // ES Modules import
14
- * // const { MgnClient, UpdateReplicationConfigurationTemplateCommand } = require("@aws-sdk/client-mgn"); // CommonJS import
15
- * const client = new MgnClient(config);
16
- * const command = new UpdateReplicationConfigurationTemplateCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link UpdateReplicationConfigurationTemplateCommandInput} for command's `input` shape.
21
- * @see {@link UpdateReplicationConfigurationTemplateCommandOutput} for command's `response` shape.
22
- * @see {@link MgnClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class UpdateReplicationConfigurationTemplateCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);