@aws-sdk/client-drs 3.312.0 → 3.316.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/README.md +32 -0
- package/dist-cjs/Drs.js +47 -490
- package/dist-cjs/commands/CreateLaunchConfigurationTemplateCommand.js +46 -0
- package/dist-cjs/commands/DeleteLaunchConfigurationTemplateCommand.js +45 -0
- package/dist-cjs/commands/DescribeLaunchConfigurationTemplatesCommand.js +46 -0
- package/dist-cjs/commands/UpdateLaunchConfigurationTemplateCommand.js +46 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +39 -10
- package/dist-cjs/pagination/DescribeLaunchConfigurationTemplatesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +794 -1620
- package/dist-es/Drs.js +47 -490
- package/dist-es/commands/CreateLaunchConfigurationTemplateCommand.js +42 -0
- package/dist-es/commands/DeleteLaunchConfigurationTemplateCommand.js +41 -0
- package/dist-es/commands/DescribeLaunchConfigurationTemplatesCommand.js +42 -0
- package/dist-es/commands/UpdateLaunchConfigurationTemplateCommand.js +42 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +32 -8
- package/dist-es/pagination/DescribeLaunchConfigurationTemplatesPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +735 -1569
- package/dist-types/Drs.d.ts +70 -85
- package/dist-types/DrsClient.d.ts +6 -2
- package/dist-types/commands/CreateLaunchConfigurationTemplateCommand.d.ts +90 -0
- package/dist-types/commands/DeleteLaunchConfigurationTemplateCommand.d.ts +78 -0
- package/dist-types/commands/DescribeLaunchConfigurationTemplatesCommand.d.ts +82 -0
- package/dist-types/commands/UpdateLaunchConfigurationTemplateCommand.d.ts +88 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +216 -34
- package/dist-types/pagination/DescribeLaunchConfigurationTemplatesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/Drs.d.ts +94 -1
- package/dist-types/ts3.4/DrsClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateLaunchConfigurationTemplateCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteLaunchConfigurationTemplateCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeLaunchConfigurationTemplatesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateLaunchConfigurationTemplateCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +82 -15
- package/dist-types/ts3.4/pagination/DescribeLaunchConfigurationTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -213,6 +213,14 @@ CreateExtendedSourceServer
|
|
|
213
213
|
|
|
214
214
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/classes/createextendedsourceservercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/createextendedsourceservercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/createextendedsourceservercommandoutput.html)
|
|
215
215
|
|
|
216
|
+
</details>
|
|
217
|
+
<details>
|
|
218
|
+
<summary>
|
|
219
|
+
CreateLaunchConfigurationTemplate
|
|
220
|
+
</summary>
|
|
221
|
+
|
|
222
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/classes/createlaunchconfigurationtemplatecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/createlaunchconfigurationtemplatecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/createlaunchconfigurationtemplatecommandoutput.html)
|
|
223
|
+
|
|
216
224
|
</details>
|
|
217
225
|
<details>
|
|
218
226
|
<summary>
|
|
@@ -229,6 +237,14 @@ DeleteJob
|
|
|
229
237
|
|
|
230
238
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/classes/deletejobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/deletejobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/deletejobcommandoutput.html)
|
|
231
239
|
|
|
240
|
+
</details>
|
|
241
|
+
<details>
|
|
242
|
+
<summary>
|
|
243
|
+
DeleteLaunchConfigurationTemplate
|
|
244
|
+
</summary>
|
|
245
|
+
|
|
246
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/classes/deletelaunchconfigurationtemplatecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/deletelaunchconfigurationtemplatecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/deletelaunchconfigurationtemplatecommandoutput.html)
|
|
247
|
+
|
|
232
248
|
</details>
|
|
233
249
|
<details>
|
|
234
250
|
<summary>
|
|
@@ -269,6 +285,14 @@ DescribeJobs
|
|
|
269
285
|
|
|
270
286
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/classes/describejobscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/describejobscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/describejobscommandoutput.html)
|
|
271
287
|
|
|
288
|
+
</details>
|
|
289
|
+
<details>
|
|
290
|
+
<summary>
|
|
291
|
+
DescribeLaunchConfigurationTemplates
|
|
292
|
+
</summary>
|
|
293
|
+
|
|
294
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/classes/describelaunchconfigurationtemplatescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/describelaunchconfigurationtemplatescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/describelaunchconfigurationtemplatescommandoutput.html)
|
|
295
|
+
|
|
272
296
|
</details>
|
|
273
297
|
<details>
|
|
274
298
|
<summary>
|
|
@@ -469,6 +493,14 @@ UpdateLaunchConfiguration
|
|
|
469
493
|
|
|
470
494
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/classes/updatelaunchconfigurationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/updatelaunchconfigurationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/updatelaunchconfigurationcommandoutput.html)
|
|
471
495
|
|
|
496
|
+
</details>
|
|
497
|
+
<details>
|
|
498
|
+
<summary>
|
|
499
|
+
UpdateLaunchConfigurationTemplate
|
|
500
|
+
</summary>
|
|
501
|
+
|
|
502
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/classes/updatelaunchconfigurationtemplatecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/updatelaunchconfigurationtemplatecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-drs/interfaces/updatelaunchconfigurationtemplatecommandoutput.html)
|
|
503
|
+
|
|
472
504
|
</details>
|
|
473
505
|
<details>
|
|
474
506
|
<summary>
|
package/dist-cjs/Drs.js
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Drs = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const CreateExtendedSourceServerCommand_1 = require("./commands/CreateExtendedSourceServerCommand");
|
|
6
|
+
const CreateLaunchConfigurationTemplateCommand_1 = require("./commands/CreateLaunchConfigurationTemplateCommand");
|
|
5
7
|
const CreateReplicationConfigurationTemplateCommand_1 = require("./commands/CreateReplicationConfigurationTemplateCommand");
|
|
6
8
|
const DeleteJobCommand_1 = require("./commands/DeleteJobCommand");
|
|
9
|
+
const DeleteLaunchConfigurationTemplateCommand_1 = require("./commands/DeleteLaunchConfigurationTemplateCommand");
|
|
7
10
|
const DeleteRecoveryInstanceCommand_1 = require("./commands/DeleteRecoveryInstanceCommand");
|
|
8
11
|
const DeleteReplicationConfigurationTemplateCommand_1 = require("./commands/DeleteReplicationConfigurationTemplateCommand");
|
|
9
12
|
const DeleteSourceServerCommand_1 = require("./commands/DeleteSourceServerCommand");
|
|
10
13
|
const DescribeJobLogItemsCommand_1 = require("./commands/DescribeJobLogItemsCommand");
|
|
11
14
|
const DescribeJobsCommand_1 = require("./commands/DescribeJobsCommand");
|
|
15
|
+
const DescribeLaunchConfigurationTemplatesCommand_1 = require("./commands/DescribeLaunchConfigurationTemplatesCommand");
|
|
12
16
|
const DescribeRecoveryInstancesCommand_1 = require("./commands/DescribeRecoveryInstancesCommand");
|
|
13
17
|
const DescribeRecoverySnapshotsCommand_1 = require("./commands/DescribeRecoverySnapshotsCommand");
|
|
14
18
|
const DescribeReplicationConfigurationTemplatesCommand_1 = require("./commands/DescribeReplicationConfigurationTemplatesCommand");
|
|
@@ -34,499 +38,52 @@ const TerminateRecoveryInstancesCommand_1 = require("./commands/TerminateRecover
|
|
|
34
38
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
35
39
|
const UpdateFailbackReplicationConfigurationCommand_1 = require("./commands/UpdateFailbackReplicationConfigurationCommand");
|
|
36
40
|
const UpdateLaunchConfigurationCommand_1 = require("./commands/UpdateLaunchConfigurationCommand");
|
|
41
|
+
const UpdateLaunchConfigurationTemplateCommand_1 = require("./commands/UpdateLaunchConfigurationTemplateCommand");
|
|
37
42
|
const UpdateReplicationConfigurationCommand_1 = require("./commands/UpdateReplicationConfigurationCommand");
|
|
38
43
|
const UpdateReplicationConfigurationTemplateCommand_1 = require("./commands/UpdateReplicationConfigurationTemplateCommand");
|
|
39
44
|
const DrsClient_1 = require("./DrsClient");
|
|
45
|
+
const commands = {
|
|
46
|
+
CreateExtendedSourceServerCommand: CreateExtendedSourceServerCommand_1.CreateExtendedSourceServerCommand,
|
|
47
|
+
CreateLaunchConfigurationTemplateCommand: CreateLaunchConfigurationTemplateCommand_1.CreateLaunchConfigurationTemplateCommand,
|
|
48
|
+
CreateReplicationConfigurationTemplateCommand: CreateReplicationConfigurationTemplateCommand_1.CreateReplicationConfigurationTemplateCommand,
|
|
49
|
+
DeleteJobCommand: DeleteJobCommand_1.DeleteJobCommand,
|
|
50
|
+
DeleteLaunchConfigurationTemplateCommand: DeleteLaunchConfigurationTemplateCommand_1.DeleteLaunchConfigurationTemplateCommand,
|
|
51
|
+
DeleteRecoveryInstanceCommand: DeleteRecoveryInstanceCommand_1.DeleteRecoveryInstanceCommand,
|
|
52
|
+
DeleteReplicationConfigurationTemplateCommand: DeleteReplicationConfigurationTemplateCommand_1.DeleteReplicationConfigurationTemplateCommand,
|
|
53
|
+
DeleteSourceServerCommand: DeleteSourceServerCommand_1.DeleteSourceServerCommand,
|
|
54
|
+
DescribeJobLogItemsCommand: DescribeJobLogItemsCommand_1.DescribeJobLogItemsCommand,
|
|
55
|
+
DescribeJobsCommand: DescribeJobsCommand_1.DescribeJobsCommand,
|
|
56
|
+
DescribeLaunchConfigurationTemplatesCommand: DescribeLaunchConfigurationTemplatesCommand_1.DescribeLaunchConfigurationTemplatesCommand,
|
|
57
|
+
DescribeRecoveryInstancesCommand: DescribeRecoveryInstancesCommand_1.DescribeRecoveryInstancesCommand,
|
|
58
|
+
DescribeRecoverySnapshotsCommand: DescribeRecoverySnapshotsCommand_1.DescribeRecoverySnapshotsCommand,
|
|
59
|
+
DescribeReplicationConfigurationTemplatesCommand: DescribeReplicationConfigurationTemplatesCommand_1.DescribeReplicationConfigurationTemplatesCommand,
|
|
60
|
+
DescribeSourceServersCommand: DescribeSourceServersCommand_1.DescribeSourceServersCommand,
|
|
61
|
+
DisconnectRecoveryInstanceCommand: DisconnectRecoveryInstanceCommand_1.DisconnectRecoveryInstanceCommand,
|
|
62
|
+
DisconnectSourceServerCommand: DisconnectSourceServerCommand_1.DisconnectSourceServerCommand,
|
|
63
|
+
GetFailbackReplicationConfigurationCommand: GetFailbackReplicationConfigurationCommand_1.GetFailbackReplicationConfigurationCommand,
|
|
64
|
+
GetLaunchConfigurationCommand: GetLaunchConfigurationCommand_1.GetLaunchConfigurationCommand,
|
|
65
|
+
GetReplicationConfigurationCommand: GetReplicationConfigurationCommand_1.GetReplicationConfigurationCommand,
|
|
66
|
+
InitializeServiceCommand: InitializeServiceCommand_1.InitializeServiceCommand,
|
|
67
|
+
ListExtensibleSourceServersCommand: ListExtensibleSourceServersCommand_1.ListExtensibleSourceServersCommand,
|
|
68
|
+
ListStagingAccountsCommand: ListStagingAccountsCommand_1.ListStagingAccountsCommand,
|
|
69
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
70
|
+
RetryDataReplicationCommand: RetryDataReplicationCommand_1.RetryDataReplicationCommand,
|
|
71
|
+
ReverseReplicationCommand: ReverseReplicationCommand_1.ReverseReplicationCommand,
|
|
72
|
+
StartFailbackLaunchCommand: StartFailbackLaunchCommand_1.StartFailbackLaunchCommand,
|
|
73
|
+
StartRecoveryCommand: StartRecoveryCommand_1.StartRecoveryCommand,
|
|
74
|
+
StartReplicationCommand: StartReplicationCommand_1.StartReplicationCommand,
|
|
75
|
+
StopFailbackCommand: StopFailbackCommand_1.StopFailbackCommand,
|
|
76
|
+
StopReplicationCommand: StopReplicationCommand_1.StopReplicationCommand,
|
|
77
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
78
|
+
TerminateRecoveryInstancesCommand: TerminateRecoveryInstancesCommand_1.TerminateRecoveryInstancesCommand,
|
|
79
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
80
|
+
UpdateFailbackReplicationConfigurationCommand: UpdateFailbackReplicationConfigurationCommand_1.UpdateFailbackReplicationConfigurationCommand,
|
|
81
|
+
UpdateLaunchConfigurationCommand: UpdateLaunchConfigurationCommand_1.UpdateLaunchConfigurationCommand,
|
|
82
|
+
UpdateLaunchConfigurationTemplateCommand: UpdateLaunchConfigurationTemplateCommand_1.UpdateLaunchConfigurationTemplateCommand,
|
|
83
|
+
UpdateReplicationConfigurationCommand: UpdateReplicationConfigurationCommand_1.UpdateReplicationConfigurationCommand,
|
|
84
|
+
UpdateReplicationConfigurationTemplateCommand: UpdateReplicationConfigurationTemplateCommand_1.UpdateReplicationConfigurationTemplateCommand,
|
|
85
|
+
};
|
|
40
86
|
class Drs extends DrsClient_1.DrsClient {
|
|
41
|
-
createExtendedSourceServer(args, optionsOrCb, cb) {
|
|
42
|
-
const command = new CreateExtendedSourceServerCommand_1.CreateExtendedSourceServerCommand(args);
|
|
43
|
-
if (typeof optionsOrCb === "function") {
|
|
44
|
-
this.send(command, optionsOrCb);
|
|
45
|
-
}
|
|
46
|
-
else if (typeof cb === "function") {
|
|
47
|
-
if (typeof optionsOrCb !== "object")
|
|
48
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
49
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
50
|
-
}
|
|
51
|
-
else {
|
|
52
|
-
return this.send(command, optionsOrCb);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
createReplicationConfigurationTemplate(args, optionsOrCb, cb) {
|
|
56
|
-
const command = new CreateReplicationConfigurationTemplateCommand_1.CreateReplicationConfigurationTemplateCommand(args);
|
|
57
|
-
if (typeof optionsOrCb === "function") {
|
|
58
|
-
this.send(command, optionsOrCb);
|
|
59
|
-
}
|
|
60
|
-
else if (typeof cb === "function") {
|
|
61
|
-
if (typeof optionsOrCb !== "object")
|
|
62
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
63
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
64
|
-
}
|
|
65
|
-
else {
|
|
66
|
-
return this.send(command, optionsOrCb);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
deleteJob(args, optionsOrCb, cb) {
|
|
70
|
-
const command = new DeleteJobCommand_1.DeleteJobCommand(args);
|
|
71
|
-
if (typeof optionsOrCb === "function") {
|
|
72
|
-
this.send(command, optionsOrCb);
|
|
73
|
-
}
|
|
74
|
-
else if (typeof cb === "function") {
|
|
75
|
-
if (typeof optionsOrCb !== "object")
|
|
76
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
77
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
78
|
-
}
|
|
79
|
-
else {
|
|
80
|
-
return this.send(command, optionsOrCb);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
deleteRecoveryInstance(args, optionsOrCb, cb) {
|
|
84
|
-
const command = new DeleteRecoveryInstanceCommand_1.DeleteRecoveryInstanceCommand(args);
|
|
85
|
-
if (typeof optionsOrCb === "function") {
|
|
86
|
-
this.send(command, optionsOrCb);
|
|
87
|
-
}
|
|
88
|
-
else if (typeof cb === "function") {
|
|
89
|
-
if (typeof optionsOrCb !== "object")
|
|
90
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
91
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
92
|
-
}
|
|
93
|
-
else {
|
|
94
|
-
return this.send(command, optionsOrCb);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
deleteReplicationConfigurationTemplate(args, optionsOrCb, cb) {
|
|
98
|
-
const command = new DeleteReplicationConfigurationTemplateCommand_1.DeleteReplicationConfigurationTemplateCommand(args);
|
|
99
|
-
if (typeof optionsOrCb === "function") {
|
|
100
|
-
this.send(command, optionsOrCb);
|
|
101
|
-
}
|
|
102
|
-
else if (typeof cb === "function") {
|
|
103
|
-
if (typeof optionsOrCb !== "object")
|
|
104
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
105
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
106
|
-
}
|
|
107
|
-
else {
|
|
108
|
-
return this.send(command, optionsOrCb);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
deleteSourceServer(args, optionsOrCb, cb) {
|
|
112
|
-
const command = new DeleteSourceServerCommand_1.DeleteSourceServerCommand(args);
|
|
113
|
-
if (typeof optionsOrCb === "function") {
|
|
114
|
-
this.send(command, optionsOrCb);
|
|
115
|
-
}
|
|
116
|
-
else if (typeof cb === "function") {
|
|
117
|
-
if (typeof optionsOrCb !== "object")
|
|
118
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
119
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
120
|
-
}
|
|
121
|
-
else {
|
|
122
|
-
return this.send(command, optionsOrCb);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
describeJobLogItems(args, optionsOrCb, cb) {
|
|
126
|
-
const command = new DescribeJobLogItemsCommand_1.DescribeJobLogItemsCommand(args);
|
|
127
|
-
if (typeof optionsOrCb === "function") {
|
|
128
|
-
this.send(command, optionsOrCb);
|
|
129
|
-
}
|
|
130
|
-
else if (typeof cb === "function") {
|
|
131
|
-
if (typeof optionsOrCb !== "object")
|
|
132
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
133
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
134
|
-
}
|
|
135
|
-
else {
|
|
136
|
-
return this.send(command, optionsOrCb);
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
describeJobs(args, optionsOrCb, cb) {
|
|
140
|
-
const command = new DescribeJobsCommand_1.DescribeJobsCommand(args);
|
|
141
|
-
if (typeof optionsOrCb === "function") {
|
|
142
|
-
this.send(command, optionsOrCb);
|
|
143
|
-
}
|
|
144
|
-
else if (typeof cb === "function") {
|
|
145
|
-
if (typeof optionsOrCb !== "object")
|
|
146
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
147
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
148
|
-
}
|
|
149
|
-
else {
|
|
150
|
-
return this.send(command, optionsOrCb);
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
describeRecoveryInstances(args, optionsOrCb, cb) {
|
|
154
|
-
const command = new DescribeRecoveryInstancesCommand_1.DescribeRecoveryInstancesCommand(args);
|
|
155
|
-
if (typeof optionsOrCb === "function") {
|
|
156
|
-
this.send(command, optionsOrCb);
|
|
157
|
-
}
|
|
158
|
-
else if (typeof cb === "function") {
|
|
159
|
-
if (typeof optionsOrCb !== "object")
|
|
160
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
161
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
162
|
-
}
|
|
163
|
-
else {
|
|
164
|
-
return this.send(command, optionsOrCb);
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
describeRecoverySnapshots(args, optionsOrCb, cb) {
|
|
168
|
-
const command = new DescribeRecoverySnapshotsCommand_1.DescribeRecoverySnapshotsCommand(args);
|
|
169
|
-
if (typeof optionsOrCb === "function") {
|
|
170
|
-
this.send(command, optionsOrCb);
|
|
171
|
-
}
|
|
172
|
-
else if (typeof cb === "function") {
|
|
173
|
-
if (typeof optionsOrCb !== "object")
|
|
174
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
175
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
176
|
-
}
|
|
177
|
-
else {
|
|
178
|
-
return this.send(command, optionsOrCb);
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
describeReplicationConfigurationTemplates(args, optionsOrCb, cb) {
|
|
182
|
-
const command = new DescribeReplicationConfigurationTemplatesCommand_1.DescribeReplicationConfigurationTemplatesCommand(args);
|
|
183
|
-
if (typeof optionsOrCb === "function") {
|
|
184
|
-
this.send(command, optionsOrCb);
|
|
185
|
-
}
|
|
186
|
-
else if (typeof cb === "function") {
|
|
187
|
-
if (typeof optionsOrCb !== "object")
|
|
188
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
189
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
190
|
-
}
|
|
191
|
-
else {
|
|
192
|
-
return this.send(command, optionsOrCb);
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
describeSourceServers(args, optionsOrCb, cb) {
|
|
196
|
-
const command = new DescribeSourceServersCommand_1.DescribeSourceServersCommand(args);
|
|
197
|
-
if (typeof optionsOrCb === "function") {
|
|
198
|
-
this.send(command, optionsOrCb);
|
|
199
|
-
}
|
|
200
|
-
else if (typeof cb === "function") {
|
|
201
|
-
if (typeof optionsOrCb !== "object")
|
|
202
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
203
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
204
|
-
}
|
|
205
|
-
else {
|
|
206
|
-
return this.send(command, optionsOrCb);
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
disconnectRecoveryInstance(args, optionsOrCb, cb) {
|
|
210
|
-
const command = new DisconnectRecoveryInstanceCommand_1.DisconnectRecoveryInstanceCommand(args);
|
|
211
|
-
if (typeof optionsOrCb === "function") {
|
|
212
|
-
this.send(command, optionsOrCb);
|
|
213
|
-
}
|
|
214
|
-
else if (typeof cb === "function") {
|
|
215
|
-
if (typeof optionsOrCb !== "object")
|
|
216
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
217
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
218
|
-
}
|
|
219
|
-
else {
|
|
220
|
-
return this.send(command, optionsOrCb);
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
disconnectSourceServer(args, optionsOrCb, cb) {
|
|
224
|
-
const command = new DisconnectSourceServerCommand_1.DisconnectSourceServerCommand(args);
|
|
225
|
-
if (typeof optionsOrCb === "function") {
|
|
226
|
-
this.send(command, optionsOrCb);
|
|
227
|
-
}
|
|
228
|
-
else if (typeof cb === "function") {
|
|
229
|
-
if (typeof optionsOrCb !== "object")
|
|
230
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
231
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
232
|
-
}
|
|
233
|
-
else {
|
|
234
|
-
return this.send(command, optionsOrCb);
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
getFailbackReplicationConfiguration(args, optionsOrCb, cb) {
|
|
238
|
-
const command = new GetFailbackReplicationConfigurationCommand_1.GetFailbackReplicationConfigurationCommand(args);
|
|
239
|
-
if (typeof optionsOrCb === "function") {
|
|
240
|
-
this.send(command, optionsOrCb);
|
|
241
|
-
}
|
|
242
|
-
else if (typeof cb === "function") {
|
|
243
|
-
if (typeof optionsOrCb !== "object")
|
|
244
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
245
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
246
|
-
}
|
|
247
|
-
else {
|
|
248
|
-
return this.send(command, optionsOrCb);
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
getLaunchConfiguration(args, optionsOrCb, cb) {
|
|
252
|
-
const command = new GetLaunchConfigurationCommand_1.GetLaunchConfigurationCommand(args);
|
|
253
|
-
if (typeof optionsOrCb === "function") {
|
|
254
|
-
this.send(command, optionsOrCb);
|
|
255
|
-
}
|
|
256
|
-
else if (typeof cb === "function") {
|
|
257
|
-
if (typeof optionsOrCb !== "object")
|
|
258
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
259
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
260
|
-
}
|
|
261
|
-
else {
|
|
262
|
-
return this.send(command, optionsOrCb);
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
getReplicationConfiguration(args, optionsOrCb, cb) {
|
|
266
|
-
const command = new GetReplicationConfigurationCommand_1.GetReplicationConfigurationCommand(args);
|
|
267
|
-
if (typeof optionsOrCb === "function") {
|
|
268
|
-
this.send(command, optionsOrCb);
|
|
269
|
-
}
|
|
270
|
-
else if (typeof cb === "function") {
|
|
271
|
-
if (typeof optionsOrCb !== "object")
|
|
272
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
273
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
274
|
-
}
|
|
275
|
-
else {
|
|
276
|
-
return this.send(command, optionsOrCb);
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
initializeService(args, optionsOrCb, cb) {
|
|
280
|
-
const command = new InitializeServiceCommand_1.InitializeServiceCommand(args);
|
|
281
|
-
if (typeof optionsOrCb === "function") {
|
|
282
|
-
this.send(command, optionsOrCb);
|
|
283
|
-
}
|
|
284
|
-
else if (typeof cb === "function") {
|
|
285
|
-
if (typeof optionsOrCb !== "object")
|
|
286
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
287
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
288
|
-
}
|
|
289
|
-
else {
|
|
290
|
-
return this.send(command, optionsOrCb);
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
listExtensibleSourceServers(args, optionsOrCb, cb) {
|
|
294
|
-
const command = new ListExtensibleSourceServersCommand_1.ListExtensibleSourceServersCommand(args);
|
|
295
|
-
if (typeof optionsOrCb === "function") {
|
|
296
|
-
this.send(command, optionsOrCb);
|
|
297
|
-
}
|
|
298
|
-
else if (typeof cb === "function") {
|
|
299
|
-
if (typeof optionsOrCb !== "object")
|
|
300
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
301
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
302
|
-
}
|
|
303
|
-
else {
|
|
304
|
-
return this.send(command, optionsOrCb);
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
listStagingAccounts(args, optionsOrCb, cb) {
|
|
308
|
-
const command = new ListStagingAccountsCommand_1.ListStagingAccountsCommand(args);
|
|
309
|
-
if (typeof optionsOrCb === "function") {
|
|
310
|
-
this.send(command, optionsOrCb);
|
|
311
|
-
}
|
|
312
|
-
else if (typeof cb === "function") {
|
|
313
|
-
if (typeof optionsOrCb !== "object")
|
|
314
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
315
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
316
|
-
}
|
|
317
|
-
else {
|
|
318
|
-
return this.send(command, optionsOrCb);
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
322
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
323
|
-
if (typeof optionsOrCb === "function") {
|
|
324
|
-
this.send(command, optionsOrCb);
|
|
325
|
-
}
|
|
326
|
-
else if (typeof cb === "function") {
|
|
327
|
-
if (typeof optionsOrCb !== "object")
|
|
328
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
329
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
330
|
-
}
|
|
331
|
-
else {
|
|
332
|
-
return this.send(command, optionsOrCb);
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
retryDataReplication(args, optionsOrCb, cb) {
|
|
336
|
-
const command = new RetryDataReplicationCommand_1.RetryDataReplicationCommand(args);
|
|
337
|
-
if (typeof optionsOrCb === "function") {
|
|
338
|
-
this.send(command, optionsOrCb);
|
|
339
|
-
}
|
|
340
|
-
else if (typeof cb === "function") {
|
|
341
|
-
if (typeof optionsOrCb !== "object")
|
|
342
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
343
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
344
|
-
}
|
|
345
|
-
else {
|
|
346
|
-
return this.send(command, optionsOrCb);
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
reverseReplication(args, optionsOrCb, cb) {
|
|
350
|
-
const command = new ReverseReplicationCommand_1.ReverseReplicationCommand(args);
|
|
351
|
-
if (typeof optionsOrCb === "function") {
|
|
352
|
-
this.send(command, optionsOrCb);
|
|
353
|
-
}
|
|
354
|
-
else if (typeof cb === "function") {
|
|
355
|
-
if (typeof optionsOrCb !== "object")
|
|
356
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
357
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
358
|
-
}
|
|
359
|
-
else {
|
|
360
|
-
return this.send(command, optionsOrCb);
|
|
361
|
-
}
|
|
362
|
-
}
|
|
363
|
-
startFailbackLaunch(args, optionsOrCb, cb) {
|
|
364
|
-
const command = new StartFailbackLaunchCommand_1.StartFailbackLaunchCommand(args);
|
|
365
|
-
if (typeof optionsOrCb === "function") {
|
|
366
|
-
this.send(command, optionsOrCb);
|
|
367
|
-
}
|
|
368
|
-
else if (typeof cb === "function") {
|
|
369
|
-
if (typeof optionsOrCb !== "object")
|
|
370
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
371
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
372
|
-
}
|
|
373
|
-
else {
|
|
374
|
-
return this.send(command, optionsOrCb);
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
startRecovery(args, optionsOrCb, cb) {
|
|
378
|
-
const command = new StartRecoveryCommand_1.StartRecoveryCommand(args);
|
|
379
|
-
if (typeof optionsOrCb === "function") {
|
|
380
|
-
this.send(command, optionsOrCb);
|
|
381
|
-
}
|
|
382
|
-
else if (typeof cb === "function") {
|
|
383
|
-
if (typeof optionsOrCb !== "object")
|
|
384
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
385
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
386
|
-
}
|
|
387
|
-
else {
|
|
388
|
-
return this.send(command, optionsOrCb);
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
startReplication(args, optionsOrCb, cb) {
|
|
392
|
-
const command = new StartReplicationCommand_1.StartReplicationCommand(args);
|
|
393
|
-
if (typeof optionsOrCb === "function") {
|
|
394
|
-
this.send(command, optionsOrCb);
|
|
395
|
-
}
|
|
396
|
-
else if (typeof cb === "function") {
|
|
397
|
-
if (typeof optionsOrCb !== "object")
|
|
398
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
399
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
400
|
-
}
|
|
401
|
-
else {
|
|
402
|
-
return this.send(command, optionsOrCb);
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
stopFailback(args, optionsOrCb, cb) {
|
|
406
|
-
const command = new StopFailbackCommand_1.StopFailbackCommand(args);
|
|
407
|
-
if (typeof optionsOrCb === "function") {
|
|
408
|
-
this.send(command, optionsOrCb);
|
|
409
|
-
}
|
|
410
|
-
else if (typeof cb === "function") {
|
|
411
|
-
if (typeof optionsOrCb !== "object")
|
|
412
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
413
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
414
|
-
}
|
|
415
|
-
else {
|
|
416
|
-
return this.send(command, optionsOrCb);
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
stopReplication(args, optionsOrCb, cb) {
|
|
420
|
-
const command = new StopReplicationCommand_1.StopReplicationCommand(args);
|
|
421
|
-
if (typeof optionsOrCb === "function") {
|
|
422
|
-
this.send(command, optionsOrCb);
|
|
423
|
-
}
|
|
424
|
-
else if (typeof cb === "function") {
|
|
425
|
-
if (typeof optionsOrCb !== "object")
|
|
426
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
427
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
428
|
-
}
|
|
429
|
-
else {
|
|
430
|
-
return this.send(command, optionsOrCb);
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
tagResource(args, optionsOrCb, cb) {
|
|
434
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
435
|
-
if (typeof optionsOrCb === "function") {
|
|
436
|
-
this.send(command, optionsOrCb);
|
|
437
|
-
}
|
|
438
|
-
else if (typeof cb === "function") {
|
|
439
|
-
if (typeof optionsOrCb !== "object")
|
|
440
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
441
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
442
|
-
}
|
|
443
|
-
else {
|
|
444
|
-
return this.send(command, optionsOrCb);
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
terminateRecoveryInstances(args, optionsOrCb, cb) {
|
|
448
|
-
const command = new TerminateRecoveryInstancesCommand_1.TerminateRecoveryInstancesCommand(args);
|
|
449
|
-
if (typeof optionsOrCb === "function") {
|
|
450
|
-
this.send(command, optionsOrCb);
|
|
451
|
-
}
|
|
452
|
-
else if (typeof cb === "function") {
|
|
453
|
-
if (typeof optionsOrCb !== "object")
|
|
454
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
455
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
456
|
-
}
|
|
457
|
-
else {
|
|
458
|
-
return this.send(command, optionsOrCb);
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
untagResource(args, optionsOrCb, cb) {
|
|
462
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
463
|
-
if (typeof optionsOrCb === "function") {
|
|
464
|
-
this.send(command, optionsOrCb);
|
|
465
|
-
}
|
|
466
|
-
else if (typeof cb === "function") {
|
|
467
|
-
if (typeof optionsOrCb !== "object")
|
|
468
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
469
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
470
|
-
}
|
|
471
|
-
else {
|
|
472
|
-
return this.send(command, optionsOrCb);
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
updateFailbackReplicationConfiguration(args, optionsOrCb, cb) {
|
|
476
|
-
const command = new UpdateFailbackReplicationConfigurationCommand_1.UpdateFailbackReplicationConfigurationCommand(args);
|
|
477
|
-
if (typeof optionsOrCb === "function") {
|
|
478
|
-
this.send(command, optionsOrCb);
|
|
479
|
-
}
|
|
480
|
-
else if (typeof cb === "function") {
|
|
481
|
-
if (typeof optionsOrCb !== "object")
|
|
482
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
483
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
484
|
-
}
|
|
485
|
-
else {
|
|
486
|
-
return this.send(command, optionsOrCb);
|
|
487
|
-
}
|
|
488
|
-
}
|
|
489
|
-
updateLaunchConfiguration(args, optionsOrCb, cb) {
|
|
490
|
-
const command = new UpdateLaunchConfigurationCommand_1.UpdateLaunchConfigurationCommand(args);
|
|
491
|
-
if (typeof optionsOrCb === "function") {
|
|
492
|
-
this.send(command, optionsOrCb);
|
|
493
|
-
}
|
|
494
|
-
else if (typeof cb === "function") {
|
|
495
|
-
if (typeof optionsOrCb !== "object")
|
|
496
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
497
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
498
|
-
}
|
|
499
|
-
else {
|
|
500
|
-
return this.send(command, optionsOrCb);
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
updateReplicationConfiguration(args, optionsOrCb, cb) {
|
|
504
|
-
const command = new UpdateReplicationConfigurationCommand_1.UpdateReplicationConfigurationCommand(args);
|
|
505
|
-
if (typeof optionsOrCb === "function") {
|
|
506
|
-
this.send(command, optionsOrCb);
|
|
507
|
-
}
|
|
508
|
-
else if (typeof cb === "function") {
|
|
509
|
-
if (typeof optionsOrCb !== "object")
|
|
510
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
511
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
512
|
-
}
|
|
513
|
-
else {
|
|
514
|
-
return this.send(command, optionsOrCb);
|
|
515
|
-
}
|
|
516
|
-
}
|
|
517
|
-
updateReplicationConfigurationTemplate(args, optionsOrCb, cb) {
|
|
518
|
-
const command = new UpdateReplicationConfigurationTemplateCommand_1.UpdateReplicationConfigurationTemplateCommand(args);
|
|
519
|
-
if (typeof optionsOrCb === "function") {
|
|
520
|
-
this.send(command, optionsOrCb);
|
|
521
|
-
}
|
|
522
|
-
else if (typeof cb === "function") {
|
|
523
|
-
if (typeof optionsOrCb !== "object")
|
|
524
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
525
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
526
|
-
}
|
|
527
|
-
else {
|
|
528
|
-
return this.send(command, optionsOrCb);
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
87
|
}
|
|
532
88
|
exports.Drs = Drs;
|
|
89
|
+
(0, smithy_client_1.createAggregatedClient)(commands, Drs);
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateLaunchConfigurationTemplateCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class CreateLaunchConfigurationTemplateCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateLaunchConfigurationTemplateCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "DrsClient";
|
|
28
|
+
const commandName = "CreateLaunchConfigurationTemplateCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.CreateLaunchConfigurationTemplateRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.CreateLaunchConfigurationTemplateResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_CreateLaunchConfigurationTemplateCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_CreateLaunchConfigurationTemplateCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.CreateLaunchConfigurationTemplateCommand = CreateLaunchConfigurationTemplateCommand;
|