@aws-sdk/client-mgn 3.109.0 → 3.117.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.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/Mgn.js +60 -0
- package/dist-cjs/commands/CreateLaunchConfigurationTemplateCommand.js +36 -0
- package/dist-cjs/commands/DeleteLaunchConfigurationTemplateCommand.js +36 -0
- package/dist-cjs/commands/DescribeLaunchConfigurationTemplatesCommand.js +36 -0
- package/dist-cjs/commands/UpdateLaunchConfigurationTemplateCommand.js +36 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +105 -3
- package/dist-cjs/pagination/DescribeLaunchConfigurationTemplatesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +531 -2
- package/dist-es/Mgn.js +60 -0
- package/dist-es/commands/CreateLaunchConfigurationTemplateCommand.js +39 -0
- package/dist-es/commands/DeleteLaunchConfigurationTemplateCommand.js +39 -0
- package/dist-es/commands/DescribeLaunchConfigurationTemplatesCommand.js +39 -0
- package/dist-es/commands/UpdateLaunchConfigurationTemplateCommand.js +39 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +73 -0
- package/dist-es/pagination/DescribeLaunchConfigurationTemplatesPaginator.js +75 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +604 -2
- package/dist-types/Mgn.d.ts +28 -0
- package/dist-types/MgnClient.d.ts +6 -2
- package/dist-types/commands/CreateLaunchConfigurationTemplateCommand.d.ts +35 -0
- package/dist-types/commands/DeleteLaunchConfigurationTemplateCommand.d.ts +35 -0
- package/dist-types/commands/DescribeLaunchConfigurationTemplatesCommand.d.ts +35 -0
- package/dist-types/commands/UpdateLaunchConfigurationTemplateCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +307 -1
- package/dist-types/pagination/DescribeLaunchConfigurationTemplatesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +12 -0
- package/dist-types/ts3.4/Mgn.d.ts +20 -0
- package/dist-types/ts3.4/MgnClient.d.ts +6 -2
- package/dist-types/ts3.4/commands/CreateLaunchConfigurationTemplateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteLaunchConfigurationTemplateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeLaunchConfigurationTemplatesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateLaunchConfigurationTemplateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +185 -1
- package/dist-types/ts3.4/pagination/DescribeLaunchConfigurationTemplatesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.117.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.116.0...v3.117.0) (2022-06-23)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-mgn:** New and modified APIs for the Post-Migration Framework ([7af6954](https://github.com/aws/aws-sdk-js-v3/commit/7af69543f857d29eb89b3b4037c262ec6605d29d))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.112.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.111.0...v3.112.0) (2022-06-16)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-mgn
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.110.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.109.0...v3.110.0) (2022-06-14)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-mgn
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-mgn
|
package/dist-cjs/Mgn.js
CHANGED
|
@@ -2,13 +2,16 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Mgn = void 0;
|
|
4
4
|
const ChangeServerLifeCycleStateCommand_1 = require("./commands/ChangeServerLifeCycleStateCommand");
|
|
5
|
+
const CreateLaunchConfigurationTemplateCommand_1 = require("./commands/CreateLaunchConfigurationTemplateCommand");
|
|
5
6
|
const CreateReplicationConfigurationTemplateCommand_1 = require("./commands/CreateReplicationConfigurationTemplateCommand");
|
|
6
7
|
const DeleteJobCommand_1 = require("./commands/DeleteJobCommand");
|
|
8
|
+
const DeleteLaunchConfigurationTemplateCommand_1 = require("./commands/DeleteLaunchConfigurationTemplateCommand");
|
|
7
9
|
const DeleteReplicationConfigurationTemplateCommand_1 = require("./commands/DeleteReplicationConfigurationTemplateCommand");
|
|
8
10
|
const DeleteSourceServerCommand_1 = require("./commands/DeleteSourceServerCommand");
|
|
9
11
|
const DeleteVcenterClientCommand_1 = require("./commands/DeleteVcenterClientCommand");
|
|
10
12
|
const DescribeJobLogItemsCommand_1 = require("./commands/DescribeJobLogItemsCommand");
|
|
11
13
|
const DescribeJobsCommand_1 = require("./commands/DescribeJobsCommand");
|
|
14
|
+
const DescribeLaunchConfigurationTemplatesCommand_1 = require("./commands/DescribeLaunchConfigurationTemplatesCommand");
|
|
12
15
|
const DescribeReplicationConfigurationTemplatesCommand_1 = require("./commands/DescribeReplicationConfigurationTemplatesCommand");
|
|
13
16
|
const DescribeSourceServersCommand_1 = require("./commands/DescribeSourceServersCommand");
|
|
14
17
|
const DescribeVcenterClientsCommand_1 = require("./commands/DescribeVcenterClientsCommand");
|
|
@@ -27,6 +30,7 @@ const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
|
27
30
|
const TerminateTargetInstancesCommand_1 = require("./commands/TerminateTargetInstancesCommand");
|
|
28
31
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
29
32
|
const UpdateLaunchConfigurationCommand_1 = require("./commands/UpdateLaunchConfigurationCommand");
|
|
33
|
+
const UpdateLaunchConfigurationTemplateCommand_1 = require("./commands/UpdateLaunchConfigurationTemplateCommand");
|
|
30
34
|
const UpdateReplicationConfigurationCommand_1 = require("./commands/UpdateReplicationConfigurationCommand");
|
|
31
35
|
const UpdateReplicationConfigurationTemplateCommand_1 = require("./commands/UpdateReplicationConfigurationTemplateCommand");
|
|
32
36
|
const UpdateSourceServerReplicationTypeCommand_1 = require("./commands/UpdateSourceServerReplicationTypeCommand");
|
|
@@ -46,6 +50,20 @@ class Mgn extends MgnClient_1.MgnClient {
|
|
|
46
50
|
return this.send(command, optionsOrCb);
|
|
47
51
|
}
|
|
48
52
|
}
|
|
53
|
+
createLaunchConfigurationTemplate(args, optionsOrCb, cb) {
|
|
54
|
+
const command = new CreateLaunchConfigurationTemplateCommand_1.CreateLaunchConfigurationTemplateCommand(args);
|
|
55
|
+
if (typeof optionsOrCb === "function") {
|
|
56
|
+
this.send(command, optionsOrCb);
|
|
57
|
+
}
|
|
58
|
+
else if (typeof cb === "function") {
|
|
59
|
+
if (typeof optionsOrCb !== "object")
|
|
60
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
61
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
return this.send(command, optionsOrCb);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
49
67
|
createReplicationConfigurationTemplate(args, optionsOrCb, cb) {
|
|
50
68
|
const command = new CreateReplicationConfigurationTemplateCommand_1.CreateReplicationConfigurationTemplateCommand(args);
|
|
51
69
|
if (typeof optionsOrCb === "function") {
|
|
@@ -74,6 +92,20 @@ class Mgn extends MgnClient_1.MgnClient {
|
|
|
74
92
|
return this.send(command, optionsOrCb);
|
|
75
93
|
}
|
|
76
94
|
}
|
|
95
|
+
deleteLaunchConfigurationTemplate(args, optionsOrCb, cb) {
|
|
96
|
+
const command = new DeleteLaunchConfigurationTemplateCommand_1.DeleteLaunchConfigurationTemplateCommand(args);
|
|
97
|
+
if (typeof optionsOrCb === "function") {
|
|
98
|
+
this.send(command, optionsOrCb);
|
|
99
|
+
}
|
|
100
|
+
else if (typeof cb === "function") {
|
|
101
|
+
if (typeof optionsOrCb !== "object")
|
|
102
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
103
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
104
|
+
}
|
|
105
|
+
else {
|
|
106
|
+
return this.send(command, optionsOrCb);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
77
109
|
deleteReplicationConfigurationTemplate(args, optionsOrCb, cb) {
|
|
78
110
|
const command = new DeleteReplicationConfigurationTemplateCommand_1.DeleteReplicationConfigurationTemplateCommand(args);
|
|
79
111
|
if (typeof optionsOrCb === "function") {
|
|
@@ -144,6 +176,20 @@ class Mgn extends MgnClient_1.MgnClient {
|
|
|
144
176
|
return this.send(command, optionsOrCb);
|
|
145
177
|
}
|
|
146
178
|
}
|
|
179
|
+
describeLaunchConfigurationTemplates(args, optionsOrCb, cb) {
|
|
180
|
+
const command = new DescribeLaunchConfigurationTemplatesCommand_1.DescribeLaunchConfigurationTemplatesCommand(args);
|
|
181
|
+
if (typeof optionsOrCb === "function") {
|
|
182
|
+
this.send(command, optionsOrCb);
|
|
183
|
+
}
|
|
184
|
+
else if (typeof cb === "function") {
|
|
185
|
+
if (typeof optionsOrCb !== "object")
|
|
186
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
187
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
188
|
+
}
|
|
189
|
+
else {
|
|
190
|
+
return this.send(command, optionsOrCb);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
147
193
|
describeReplicationConfigurationTemplates(args, optionsOrCb, cb) {
|
|
148
194
|
const command = new DescribeReplicationConfigurationTemplatesCommand_1.DescribeReplicationConfigurationTemplatesCommand(args);
|
|
149
195
|
if (typeof optionsOrCb === "function") {
|
|
@@ -396,6 +442,20 @@ class Mgn extends MgnClient_1.MgnClient {
|
|
|
396
442
|
return this.send(command, optionsOrCb);
|
|
397
443
|
}
|
|
398
444
|
}
|
|
445
|
+
updateLaunchConfigurationTemplate(args, optionsOrCb, cb) {
|
|
446
|
+
const command = new UpdateLaunchConfigurationTemplateCommand_1.UpdateLaunchConfigurationTemplateCommand(args);
|
|
447
|
+
if (typeof optionsOrCb === "function") {
|
|
448
|
+
this.send(command, optionsOrCb);
|
|
449
|
+
}
|
|
450
|
+
else if (typeof cb === "function") {
|
|
451
|
+
if (typeof optionsOrCb !== "object")
|
|
452
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
453
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
454
|
+
}
|
|
455
|
+
else {
|
|
456
|
+
return this.send(command, optionsOrCb);
|
|
457
|
+
}
|
|
458
|
+
}
|
|
399
459
|
updateReplicationConfiguration(args, optionsOrCb, cb) {
|
|
400
460
|
const command = new UpdateReplicationConfigurationCommand_1.UpdateReplicationConfigurationCommand(args);
|
|
401
461
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateLaunchConfigurationTemplateCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class CreateLaunchConfigurationTemplateCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "MgnClient";
|
|
18
|
+
const commandName = "CreateLaunchConfigurationTemplateCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.CreateLaunchConfigurationTemplateRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.LaunchConfigurationTemplate.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1CreateLaunchConfigurationTemplateCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1CreateLaunchConfigurationTemplateCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CreateLaunchConfigurationTemplateCommand = CreateLaunchConfigurationTemplateCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteLaunchConfigurationTemplateCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DeleteLaunchConfigurationTemplateCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "MgnClient";
|
|
18
|
+
const commandName = "DeleteLaunchConfigurationTemplateCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteLaunchConfigurationTemplateRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DeleteLaunchConfigurationTemplateResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DeleteLaunchConfigurationTemplateCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteLaunchConfigurationTemplateCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DeleteLaunchConfigurationTemplateCommand = DeleteLaunchConfigurationTemplateCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeLaunchConfigurationTemplatesCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DescribeLaunchConfigurationTemplatesCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "MgnClient";
|
|
18
|
+
const commandName = "DescribeLaunchConfigurationTemplatesCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DescribeLaunchConfigurationTemplatesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DescribeLaunchConfigurationTemplatesResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DescribeLaunchConfigurationTemplatesCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeLaunchConfigurationTemplatesCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DescribeLaunchConfigurationTemplatesCommand = DescribeLaunchConfigurationTemplatesCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateLaunchConfigurationTemplateCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class UpdateLaunchConfigurationTemplateCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "MgnClient";
|
|
18
|
+
const commandName = "UpdateLaunchConfigurationTemplateCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.UpdateLaunchConfigurationTemplateRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.LaunchConfigurationTemplate.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateLaunchConfigurationTemplateCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateLaunchConfigurationTemplateCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UpdateLaunchConfigurationTemplateCommand = UpdateLaunchConfigurationTemplateCommand;
|
|
@@ -2,13 +2,16 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./ChangeServerLifeCycleStateCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CreateLaunchConfigurationTemplateCommand"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./CreateReplicationConfigurationTemplateCommand"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./DeleteJobCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./DeleteLaunchConfigurationTemplateCommand"), exports);
|
|
7
9
|
tslib_1.__exportStar(require("./DeleteReplicationConfigurationTemplateCommand"), exports);
|
|
8
10
|
tslib_1.__exportStar(require("./DeleteSourceServerCommand"), exports);
|
|
9
11
|
tslib_1.__exportStar(require("./DeleteVcenterClientCommand"), exports);
|
|
10
12
|
tslib_1.__exportStar(require("./DescribeJobLogItemsCommand"), exports);
|
|
11
13
|
tslib_1.__exportStar(require("./DescribeJobsCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./DescribeLaunchConfigurationTemplatesCommand"), exports);
|
|
12
15
|
tslib_1.__exportStar(require("./DescribeReplicationConfigurationTemplatesCommand"), exports);
|
|
13
16
|
tslib_1.__exportStar(require("./DescribeSourceServersCommand"), exports);
|
|
14
17
|
tslib_1.__exportStar(require("./DescribeVcenterClientsCommand"), exports);
|
|
@@ -27,6 +30,7 @@ tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
|
27
30
|
tslib_1.__exportStar(require("./TerminateTargetInstancesCommand"), exports);
|
|
28
31
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
29
32
|
tslib_1.__exportStar(require("./UpdateLaunchConfigurationCommand"), exports);
|
|
33
|
+
tslib_1.__exportStar(require("./UpdateLaunchConfigurationTemplateCommand"), exports);
|
|
30
34
|
tslib_1.__exportStar(require("./UpdateReplicationConfigurationCommand"), exports);
|
|
31
35
|
tslib_1.__exportStar(require("./UpdateReplicationConfigurationTemplateCommand"), exports);
|
|
32
36
|
tslib_1.__exportStar(require("./UpdateSourceServerReplicationTypeCommand"), exports);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.DescribeVcenterClientsResponse = exports.VcenterClient = exports.DescribeVcenterClientsRequest = exports.DeleteVcenterClientRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.UpdateSourceServerReplicationTypeRequest = void 0;
|
|
3
|
+
exports.CreateReplicationConfigurationTemplateRequest = exports.ReplicationConfigurationEbsEncryption = exports.ReplicationConfigurationDefaultLargeStagingDiskType = exports.ReplicationConfigurationDataPlaneRouting = exports.ThrottlingException = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.InternalServerException = exports.UpdateLaunchConfigurationTemplateRequest = exports.DescribeLaunchConfigurationTemplatesResponse = exports.DescribeLaunchConfigurationTemplatesRequest = exports.DeleteLaunchConfigurationTemplateResponse = exports.DeleteLaunchConfigurationTemplateRequest = exports.LaunchConfigurationTemplate = exports.CreateLaunchConfigurationTemplateRequest = exports.PostLaunchActions = exports.PostLaunchActionsDeploymentType = exports.DescribeJobsResponse = exports.Job = exports.JobType = exports.JobStatus = exports.ParticipatingServer = exports.PostLaunchActionsStatus = exports.JobPostLaunchActionsLaunchStatus = exports.SsmDocumentType = exports.SsmDocument = exports.SsmParameterStoreParameter = exports.SsmParameterStoreParameterType = exports.PostLaunchActionExecutionStatus = exports.LaunchStatus = exports.InitiatedBy = exports.DescribeJobsRequest = exports.DescribeJobsRequestFilters = exports.DescribeJobLogItemsResponse = exports.JobLog = exports.JobLogEventData = exports.JobLogEvent = exports.DescribeJobLogItemsRequest = exports.UninitializedAccountException = exports.ResourceNotFoundException = exports.DeleteJobResponse = exports.DeleteJobRequest = exports.ConflictException = exports.ErrorDetails = exports.ValidationException = exports.ValidationExceptionReason = exports.ValidationExceptionField = exports.InitializeServiceResponse = exports.InitializeServiceRequest = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.TargetInstanceTypeRightSizingMethod = exports.Licensing = exports.LaunchDisposition = exports.BootMode = exports.GetLaunchConfigurationRequest = exports.FinalizeCutoverRequest = exports.DisconnectFromServiceRequest = exports.DescribeSourceServersResponse = exports.DescribeSourceServersRequest = exports.DescribeSourceServersRequestFilters = exports.DeleteSourceServerResponse = exports.DeleteSourceServerRequest = exports.SourceServer = exports.SourceProperties = exports.OS = exports.NetworkInterface = exports.IdentificationHints = exports.Disk = exports.CPU = exports.ReplicationType = exports.LifeCycle = exports.LifeCycleState = exports.LifeCycleLastTest = exports.LifeCycleLastTestReverted = exports.LifeCycleLastTestInitiated = exports.LifeCycleLastTestFinalized = exports.LifeCycleLastCutover = exports.LifeCycleLastCutoverReverted = exports.LifeCycleLastCutoverInitiated = exports.LifeCycleLastCutoverFinalized = exports.LaunchedInstance = exports.FirstBoot = exports.DataReplicationInfo = exports.DataReplicationInfoReplicatedDisk = exports.DataReplicationState = exports.DataReplicationInitiation = exports.DataReplicationInitiationStep = exports.DataReplicationInitiationStepStatus = exports.DataReplicationInitiationStepName = exports.DataReplicationError = exports.DataReplicationErrorString = exports.ChangeServerLifeCycleStateRequest = exports.ChangeServerLifeCycleStateSourceServerLifecycle = exports.ChangeServerLifeCycleStateSourceServerLifecycleState = exports.UpdateReplicationConfigurationTemplateRequest = exports.DescribeReplicationConfigurationTemplatesResponse = exports.DescribeReplicationConfigurationTemplatesRequest = exports.DeleteReplicationConfigurationTemplateResponse = exports.DeleteReplicationConfigurationTemplateRequest = exports.ReplicationConfigurationTemplate = void 0;
|
|
5
|
+
exports.DescribeVcenterClientsResponse = exports.VcenterClient = exports.DescribeVcenterClientsRequest = exports.DeleteVcenterClientRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.UpdateSourceServerReplicationTypeRequest = exports.UpdateReplicationConfigurationRequest = exports.UpdateLaunchConfigurationRequest = exports.TerminateTargetInstancesResponse = exports.TerminateTargetInstancesRequest = exports.StartTestResponse = exports.StartTestRequest = exports.StartReplicationRequest = exports.ServiceQuotaExceededException = exports.StartCutoverResponse = exports.StartCutoverRequest = exports.RetryDataReplicationRequest = exports.MarkAsArchivedRequest = exports.ReplicationConfiguration = exports.ReplicationConfigurationReplicatedDisk = exports.ReplicationConfigurationReplicatedDiskStagingDiskType = exports.GetReplicationConfigurationRequest = exports.LaunchConfiguration = void 0;
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const MgnServiceException_1 = require("./MgnServiceException");
|
|
8
8
|
class AccessDeniedException extends MgnServiceException_1.MgnServiceException {
|
|
@@ -60,6 +60,12 @@ class ValidationException extends MgnServiceException_1.MgnServiceException {
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
exports.ValidationException = ValidationException;
|
|
63
|
+
var ErrorDetails;
|
|
64
|
+
(function (ErrorDetails) {
|
|
65
|
+
ErrorDetails.filterSensitiveLog = (obj) => ({
|
|
66
|
+
...obj,
|
|
67
|
+
});
|
|
68
|
+
})(ErrorDetails = exports.ErrorDetails || (exports.ErrorDetails = {}));
|
|
63
69
|
class ConflictException extends MgnServiceException_1.MgnServiceException {
|
|
64
70
|
constructor(opts) {
|
|
65
71
|
super({
|
|
@@ -73,6 +79,7 @@ class ConflictException extends MgnServiceException_1.MgnServiceException {
|
|
|
73
79
|
this.code = opts.code;
|
|
74
80
|
this.resourceId = opts.resourceId;
|
|
75
81
|
this.resourceType = opts.resourceType;
|
|
82
|
+
this.errors = opts.errors;
|
|
76
83
|
}
|
|
77
84
|
}
|
|
78
85
|
exports.ConflictException = ConflictException;
|
|
@@ -188,6 +195,45 @@ var LaunchStatus;
|
|
|
188
195
|
LaunchStatus["PENDING"] = "PENDING";
|
|
189
196
|
LaunchStatus["TERMINATED"] = "TERMINATED";
|
|
190
197
|
})(LaunchStatus = exports.LaunchStatus || (exports.LaunchStatus = {}));
|
|
198
|
+
var PostLaunchActionExecutionStatus;
|
|
199
|
+
(function (PostLaunchActionExecutionStatus) {
|
|
200
|
+
PostLaunchActionExecutionStatus["FAILED"] = "FAILED";
|
|
201
|
+
PostLaunchActionExecutionStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
202
|
+
PostLaunchActionExecutionStatus["SUCCESS"] = "SUCCESS";
|
|
203
|
+
})(PostLaunchActionExecutionStatus = exports.PostLaunchActionExecutionStatus || (exports.PostLaunchActionExecutionStatus = {}));
|
|
204
|
+
var SsmParameterStoreParameterType;
|
|
205
|
+
(function (SsmParameterStoreParameterType) {
|
|
206
|
+
SsmParameterStoreParameterType["STRING"] = "STRING";
|
|
207
|
+
})(SsmParameterStoreParameterType = exports.SsmParameterStoreParameterType || (exports.SsmParameterStoreParameterType = {}));
|
|
208
|
+
var SsmParameterStoreParameter;
|
|
209
|
+
(function (SsmParameterStoreParameter) {
|
|
210
|
+
SsmParameterStoreParameter.filterSensitiveLog = (obj) => ({
|
|
211
|
+
...obj,
|
|
212
|
+
});
|
|
213
|
+
})(SsmParameterStoreParameter = exports.SsmParameterStoreParameter || (exports.SsmParameterStoreParameter = {}));
|
|
214
|
+
var SsmDocument;
|
|
215
|
+
(function (SsmDocument) {
|
|
216
|
+
SsmDocument.filterSensitiveLog = (obj) => ({
|
|
217
|
+
...obj,
|
|
218
|
+
});
|
|
219
|
+
})(SsmDocument = exports.SsmDocument || (exports.SsmDocument = {}));
|
|
220
|
+
var SsmDocumentType;
|
|
221
|
+
(function (SsmDocumentType) {
|
|
222
|
+
SsmDocumentType["AUTOMATION"] = "AUTOMATION";
|
|
223
|
+
SsmDocumentType["COMMAND"] = "COMMAND";
|
|
224
|
+
})(SsmDocumentType = exports.SsmDocumentType || (exports.SsmDocumentType = {}));
|
|
225
|
+
var JobPostLaunchActionsLaunchStatus;
|
|
226
|
+
(function (JobPostLaunchActionsLaunchStatus) {
|
|
227
|
+
JobPostLaunchActionsLaunchStatus.filterSensitiveLog = (obj) => ({
|
|
228
|
+
...obj,
|
|
229
|
+
});
|
|
230
|
+
})(JobPostLaunchActionsLaunchStatus = exports.JobPostLaunchActionsLaunchStatus || (exports.JobPostLaunchActionsLaunchStatus = {}));
|
|
231
|
+
var PostLaunchActionsStatus;
|
|
232
|
+
(function (PostLaunchActionsStatus) {
|
|
233
|
+
PostLaunchActionsStatus.filterSensitiveLog = (obj) => ({
|
|
234
|
+
...obj,
|
|
235
|
+
});
|
|
236
|
+
})(PostLaunchActionsStatus = exports.PostLaunchActionsStatus || (exports.PostLaunchActionsStatus = {}));
|
|
191
237
|
var ParticipatingServer;
|
|
192
238
|
(function (ParticipatingServer) {
|
|
193
239
|
ParticipatingServer.filterSensitiveLog = (obj) => ({
|
|
@@ -219,6 +265,62 @@ var DescribeJobsResponse;
|
|
|
219
265
|
...(obj.items && { items: obj.items.map((item) => Job.filterSensitiveLog(item)) }),
|
|
220
266
|
});
|
|
221
267
|
})(DescribeJobsResponse = exports.DescribeJobsResponse || (exports.DescribeJobsResponse = {}));
|
|
268
|
+
var PostLaunchActionsDeploymentType;
|
|
269
|
+
(function (PostLaunchActionsDeploymentType) {
|
|
270
|
+
PostLaunchActionsDeploymentType["CUTOVER_ONLY"] = "CUTOVER_ONLY";
|
|
271
|
+
PostLaunchActionsDeploymentType["TEST_AND_CUTOVER"] = "TEST_AND_CUTOVER";
|
|
272
|
+
})(PostLaunchActionsDeploymentType = exports.PostLaunchActionsDeploymentType || (exports.PostLaunchActionsDeploymentType = {}));
|
|
273
|
+
var PostLaunchActions;
|
|
274
|
+
(function (PostLaunchActions) {
|
|
275
|
+
PostLaunchActions.filterSensitiveLog = (obj) => ({
|
|
276
|
+
...obj,
|
|
277
|
+
});
|
|
278
|
+
})(PostLaunchActions = exports.PostLaunchActions || (exports.PostLaunchActions = {}));
|
|
279
|
+
var CreateLaunchConfigurationTemplateRequest;
|
|
280
|
+
(function (CreateLaunchConfigurationTemplateRequest) {
|
|
281
|
+
CreateLaunchConfigurationTemplateRequest.filterSensitiveLog = (obj) => ({
|
|
282
|
+
...obj,
|
|
283
|
+
...(obj.tags && { tags: smithy_client_1.SENSITIVE_STRING }),
|
|
284
|
+
});
|
|
285
|
+
})(CreateLaunchConfigurationTemplateRequest = exports.CreateLaunchConfigurationTemplateRequest || (exports.CreateLaunchConfigurationTemplateRequest = {}));
|
|
286
|
+
var LaunchConfigurationTemplate;
|
|
287
|
+
(function (LaunchConfigurationTemplate) {
|
|
288
|
+
LaunchConfigurationTemplate.filterSensitiveLog = (obj) => ({
|
|
289
|
+
...obj,
|
|
290
|
+
...(obj.tags && { tags: smithy_client_1.SENSITIVE_STRING }),
|
|
291
|
+
});
|
|
292
|
+
})(LaunchConfigurationTemplate = exports.LaunchConfigurationTemplate || (exports.LaunchConfigurationTemplate = {}));
|
|
293
|
+
var DeleteLaunchConfigurationTemplateRequest;
|
|
294
|
+
(function (DeleteLaunchConfigurationTemplateRequest) {
|
|
295
|
+
DeleteLaunchConfigurationTemplateRequest.filterSensitiveLog = (obj) => ({
|
|
296
|
+
...obj,
|
|
297
|
+
});
|
|
298
|
+
})(DeleteLaunchConfigurationTemplateRequest = exports.DeleteLaunchConfigurationTemplateRequest || (exports.DeleteLaunchConfigurationTemplateRequest = {}));
|
|
299
|
+
var DeleteLaunchConfigurationTemplateResponse;
|
|
300
|
+
(function (DeleteLaunchConfigurationTemplateResponse) {
|
|
301
|
+
DeleteLaunchConfigurationTemplateResponse.filterSensitiveLog = (obj) => ({
|
|
302
|
+
...obj,
|
|
303
|
+
});
|
|
304
|
+
})(DeleteLaunchConfigurationTemplateResponse = exports.DeleteLaunchConfigurationTemplateResponse || (exports.DeleteLaunchConfigurationTemplateResponse = {}));
|
|
305
|
+
var DescribeLaunchConfigurationTemplatesRequest;
|
|
306
|
+
(function (DescribeLaunchConfigurationTemplatesRequest) {
|
|
307
|
+
DescribeLaunchConfigurationTemplatesRequest.filterSensitiveLog = (obj) => ({
|
|
308
|
+
...obj,
|
|
309
|
+
});
|
|
310
|
+
})(DescribeLaunchConfigurationTemplatesRequest = exports.DescribeLaunchConfigurationTemplatesRequest || (exports.DescribeLaunchConfigurationTemplatesRequest = {}));
|
|
311
|
+
var DescribeLaunchConfigurationTemplatesResponse;
|
|
312
|
+
(function (DescribeLaunchConfigurationTemplatesResponse) {
|
|
313
|
+
DescribeLaunchConfigurationTemplatesResponse.filterSensitiveLog = (obj) => ({
|
|
314
|
+
...obj,
|
|
315
|
+
...(obj.items && { items: obj.items.map((item) => LaunchConfigurationTemplate.filterSensitiveLog(item)) }),
|
|
316
|
+
});
|
|
317
|
+
})(DescribeLaunchConfigurationTemplatesResponse = exports.DescribeLaunchConfigurationTemplatesResponse || (exports.DescribeLaunchConfigurationTemplatesResponse = {}));
|
|
318
|
+
var UpdateLaunchConfigurationTemplateRequest;
|
|
319
|
+
(function (UpdateLaunchConfigurationTemplateRequest) {
|
|
320
|
+
UpdateLaunchConfigurationTemplateRequest.filterSensitiveLog = (obj) => ({
|
|
321
|
+
...obj,
|
|
322
|
+
});
|
|
323
|
+
})(UpdateLaunchConfigurationTemplateRequest = exports.UpdateLaunchConfigurationTemplateRequest || (exports.UpdateLaunchConfigurationTemplateRequest = {}));
|
|
222
324
|
class InternalServerException extends MgnServiceException_1.MgnServiceException {
|
|
223
325
|
constructor(opts) {
|
|
224
326
|
super({
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateDescribeLaunchConfigurationTemplates = void 0;
|
|
4
|
+
const DescribeLaunchConfigurationTemplatesCommand_1 = require("../commands/DescribeLaunchConfigurationTemplatesCommand");
|
|
5
|
+
const Mgn_1 = require("../Mgn");
|
|
6
|
+
const MgnClient_1 = require("../MgnClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new DescribeLaunchConfigurationTemplatesCommand_1.DescribeLaunchConfigurationTemplatesCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.describeLaunchConfigurationTemplates(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateDescribeLaunchConfigurationTemplates(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.nextToken = token;
|
|
19
|
+
input["maxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Mgn_1.Mgn) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof MgnClient_1.MgnClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Mgn | MgnClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
const prevToken = token;
|
|
31
|
+
token = page.nextToken;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
exports.paginateDescribeLaunchConfigurationTemplates = paginateDescribeLaunchConfigurationTemplates;
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./DescribeJobLogItemsPaginator"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./DescribeJobsPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./DescribeLaunchConfigurationTemplatesPaginator"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./DescribeReplicationConfigurationTemplatesPaginator"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./DescribeSourceServersPaginator"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./DescribeVcenterClientsPaginator"), exports);
|