@aws-sdk/client-mgn 3.363.0 → 3.369.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/Mgn.js +8 -0
- package/dist-cjs/commands/ListManagedAccountsCommand.js +46 -0
- package/dist-cjs/commands/PauseReplicationCommand.js +47 -0
- package/dist-cjs/commands/ResumeReplicationCommand.js +47 -0
- package/dist-cjs/commands/StopReplicationCommand.js +47 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/pagination/ListManagedAccountsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +348 -3
- package/dist-es/Mgn.js +8 -0
- package/dist-es/commands/ListManagedAccountsCommand.js +42 -0
- package/dist-es/commands/PauseReplicationCommand.js +43 -0
- package/dist-es/commands/ResumeReplicationCommand.js +43 -0
- package/dist-es/commands/StopReplicationCommand.js +43 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/pagination/ListManagedAccountsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +337 -0
- package/dist-types/Mgn.d.ts +28 -0
- package/dist-types/MgnClient.d.ts +6 -2
- package/dist-types/commands/ArchiveApplicationCommand.d.ts +1 -0
- package/dist-types/commands/ArchiveWaveCommand.d.ts +1 -0
- package/dist-types/commands/AssociateApplicationsCommand.d.ts +1 -0
- package/dist-types/commands/AssociateSourceServersCommand.d.ts +1 -0
- package/dist-types/commands/ChangeServerLifeCycleStateCommand.d.ts +1 -0
- package/dist-types/commands/CreateApplicationCommand.d.ts +1 -0
- package/dist-types/commands/CreateReplicationConfigurationTemplateCommand.d.ts +2 -0
- package/dist-types/commands/CreateWaveCommand.d.ts +1 -0
- package/dist-types/commands/DeleteApplicationCommand.d.ts +1 -0
- package/dist-types/commands/DeleteJobCommand.d.ts +1 -0
- package/dist-types/commands/DeleteSourceServerCommand.d.ts +1 -0
- package/dist-types/commands/DeleteWaveCommand.d.ts +1 -0
- package/dist-types/commands/DescribeJobLogItemsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeJobsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeReplicationConfigurationTemplatesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSourceServersCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateApplicationsCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateSourceServersCommand.d.ts +1 -0
- package/dist-types/commands/DisconnectFromServiceCommand.d.ts +1 -0
- package/dist-types/commands/FinalizeCutoverCommand.d.ts +1 -0
- package/dist-types/commands/GetLaunchConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/GetReplicationConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +1 -0
- package/dist-types/commands/ListImportErrorsCommand.d.ts +1 -0
- package/dist-types/commands/ListManagedAccountsCommand.d.ts +85 -0
- package/dist-types/commands/ListSourceServerActionsCommand.d.ts +1 -0
- package/dist-types/commands/ListWavesCommand.d.ts +1 -0
- package/dist-types/commands/MarkAsArchivedCommand.d.ts +1 -0
- package/dist-types/commands/PauseReplicationCommand.d.ts +200 -0
- package/dist-types/commands/PutSourceServerActionCommand.d.ts +1 -0
- package/dist-types/commands/RemoveSourceServerActionCommand.d.ts +1 -0
- package/dist-types/commands/ResumeReplicationCommand.d.ts +200 -0
- package/dist-types/commands/RetryDataReplicationCommand.d.ts +1 -0
- package/dist-types/commands/StartCutoverCommand.d.ts +1 -0
- package/dist-types/commands/StartReplicationCommand.d.ts +1 -0
- package/dist-types/commands/StartTestCommand.d.ts +1 -0
- package/dist-types/commands/StopReplicationCommand.d.ts +200 -0
- package/dist-types/commands/TerminateTargetInstancesCommand.d.ts +1 -0
- package/dist-types/commands/UnarchiveApplicationCommand.d.ts +1 -0
- package/dist-types/commands/UnarchiveWaveCommand.d.ts +1 -0
- package/dist-types/commands/UpdateApplicationCommand.d.ts +1 -0
- package/dist-types/commands/UpdateLaunchConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/UpdateReplicationConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/UpdateReplicationConfigurationTemplateCommand.d.ts +2 -0
- package/dist-types/commands/UpdateSourceServerReplicationTypeCommand.d.ts +1 -0
- package/dist-types/commands/UpdateWaveCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +253 -0
- package/dist-types/pagination/ListManagedAccountsPaginator.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/Mgn.d.ts +68 -0
- package/dist-types/ts3.4/MgnClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/ListManagedAccountsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/PauseReplicationCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ResumeReplicationCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/StopReplicationCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +67 -0
- package/dist-types/ts3.4/pagination/ListManagedAccountsPaginator.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 +13 -13
|
@@ -11,6 +11,7 @@ export const se_ArchiveApplicationCommand = async (input, context) => {
|
|
|
11
11
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ArchiveApplication";
|
|
12
12
|
let body;
|
|
13
13
|
body = JSON.stringify(take(input, {
|
|
14
|
+
accountID: [],
|
|
14
15
|
applicationID: [],
|
|
15
16
|
}));
|
|
16
17
|
return new __HttpRequest({
|
|
@@ -31,6 +32,7 @@ export const se_ArchiveWaveCommand = async (input, context) => {
|
|
|
31
32
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ArchiveWave";
|
|
32
33
|
let body;
|
|
33
34
|
body = JSON.stringify(take(input, {
|
|
35
|
+
accountID: [],
|
|
34
36
|
waveID: [],
|
|
35
37
|
}));
|
|
36
38
|
return new __HttpRequest({
|
|
@@ -51,6 +53,7 @@ export const se_AssociateApplicationsCommand = async (input, context) => {
|
|
|
51
53
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/AssociateApplications";
|
|
52
54
|
let body;
|
|
53
55
|
body = JSON.stringify(take(input, {
|
|
56
|
+
accountID: [],
|
|
54
57
|
applicationIDs: (_) => _json(_),
|
|
55
58
|
waveID: [],
|
|
56
59
|
}));
|
|
@@ -72,6 +75,7 @@ export const se_AssociateSourceServersCommand = async (input, context) => {
|
|
|
72
75
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/AssociateSourceServers";
|
|
73
76
|
let body;
|
|
74
77
|
body = JSON.stringify(take(input, {
|
|
78
|
+
accountID: [],
|
|
75
79
|
applicationID: [],
|
|
76
80
|
sourceServerIDs: (_) => _json(_),
|
|
77
81
|
}));
|
|
@@ -93,6 +97,7 @@ export const se_ChangeServerLifeCycleStateCommand = async (input, context) => {
|
|
|
93
97
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ChangeServerLifeCycleState";
|
|
94
98
|
let body;
|
|
95
99
|
body = JSON.stringify(take(input, {
|
|
100
|
+
accountID: [],
|
|
96
101
|
lifeCycle: (_) => _json(_),
|
|
97
102
|
sourceServerID: [],
|
|
98
103
|
}));
|
|
@@ -114,6 +119,7 @@ export const se_CreateApplicationCommand = async (input, context) => {
|
|
|
114
119
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CreateApplication";
|
|
115
120
|
let body;
|
|
116
121
|
body = JSON.stringify(take(input, {
|
|
122
|
+
accountID: [],
|
|
117
123
|
description: [],
|
|
118
124
|
name: [],
|
|
119
125
|
tags: (_) => _json(_),
|
|
@@ -182,6 +188,7 @@ export const se_CreateReplicationConfigurationTemplateCommand = async (input, co
|
|
|
182
188
|
stagingAreaTags: (_) => _json(_),
|
|
183
189
|
tags: (_) => _json(_),
|
|
184
190
|
useDedicatedReplicationServer: [],
|
|
191
|
+
useFipsEndpoint: [],
|
|
185
192
|
}));
|
|
186
193
|
return new __HttpRequest({
|
|
187
194
|
protocol,
|
|
@@ -201,6 +208,7 @@ export const se_CreateWaveCommand = async (input, context) => {
|
|
|
201
208
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/CreateWave";
|
|
202
209
|
let body;
|
|
203
210
|
body = JSON.stringify(take(input, {
|
|
211
|
+
accountID: [],
|
|
204
212
|
description: [],
|
|
205
213
|
name: [],
|
|
206
214
|
tags: (_) => _json(_),
|
|
@@ -223,6 +231,7 @@ export const se_DeleteApplicationCommand = async (input, context) => {
|
|
|
223
231
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteApplication";
|
|
224
232
|
let body;
|
|
225
233
|
body = JSON.stringify(take(input, {
|
|
234
|
+
accountID: [],
|
|
226
235
|
applicationID: [],
|
|
227
236
|
}));
|
|
228
237
|
return new __HttpRequest({
|
|
@@ -243,6 +252,7 @@ export const se_DeleteJobCommand = async (input, context) => {
|
|
|
243
252
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteJob";
|
|
244
253
|
let body;
|
|
245
254
|
body = JSON.stringify(take(input, {
|
|
255
|
+
accountID: [],
|
|
246
256
|
jobID: [],
|
|
247
257
|
}));
|
|
248
258
|
return new __HttpRequest({
|
|
@@ -303,6 +313,7 @@ export const se_DeleteSourceServerCommand = async (input, context) => {
|
|
|
303
313
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteSourceServer";
|
|
304
314
|
let body;
|
|
305
315
|
body = JSON.stringify(take(input, {
|
|
316
|
+
accountID: [],
|
|
306
317
|
sourceServerID: [],
|
|
307
318
|
}));
|
|
308
319
|
return new __HttpRequest({
|
|
@@ -343,6 +354,7 @@ export const se_DeleteWaveCommand = async (input, context) => {
|
|
|
343
354
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DeleteWave";
|
|
344
355
|
let body;
|
|
345
356
|
body = JSON.stringify(take(input, {
|
|
357
|
+
accountID: [],
|
|
346
358
|
waveID: [],
|
|
347
359
|
}));
|
|
348
360
|
return new __HttpRequest({
|
|
@@ -363,6 +375,7 @@ export const se_DescribeJobLogItemsCommand = async (input, context) => {
|
|
|
363
375
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DescribeJobLogItems";
|
|
364
376
|
let body;
|
|
365
377
|
body = JSON.stringify(take(input, {
|
|
378
|
+
accountID: [],
|
|
366
379
|
jobID: [],
|
|
367
380
|
maxResults: [],
|
|
368
381
|
nextToken: [],
|
|
@@ -385,6 +398,7 @@ export const se_DescribeJobsCommand = async (input, context) => {
|
|
|
385
398
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DescribeJobs";
|
|
386
399
|
let body;
|
|
387
400
|
body = JSON.stringify(take(input, {
|
|
401
|
+
accountID: [],
|
|
388
402
|
filters: (_) => _json(_),
|
|
389
403
|
maxResults: [],
|
|
390
404
|
nextToken: [],
|
|
@@ -452,6 +466,7 @@ export const se_DescribeSourceServersCommand = async (input, context) => {
|
|
|
452
466
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DescribeSourceServers";
|
|
453
467
|
let body;
|
|
454
468
|
body = JSON.stringify(take(input, {
|
|
469
|
+
accountID: [],
|
|
455
470
|
filters: (_) => _json(_),
|
|
456
471
|
maxResults: [],
|
|
457
472
|
nextToken: [],
|
|
@@ -494,6 +509,7 @@ export const se_DisassociateApplicationsCommand = async (input, context) => {
|
|
|
494
509
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DisassociateApplications";
|
|
495
510
|
let body;
|
|
496
511
|
body = JSON.stringify(take(input, {
|
|
512
|
+
accountID: [],
|
|
497
513
|
applicationIDs: (_) => _json(_),
|
|
498
514
|
waveID: [],
|
|
499
515
|
}));
|
|
@@ -515,6 +531,7 @@ export const se_DisassociateSourceServersCommand = async (input, context) => {
|
|
|
515
531
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DisassociateSourceServers";
|
|
516
532
|
let body;
|
|
517
533
|
body = JSON.stringify(take(input, {
|
|
534
|
+
accountID: [],
|
|
518
535
|
applicationID: [],
|
|
519
536
|
sourceServerIDs: (_) => _json(_),
|
|
520
537
|
}));
|
|
@@ -536,6 +553,7 @@ export const se_DisconnectFromServiceCommand = async (input, context) => {
|
|
|
536
553
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/DisconnectFromService";
|
|
537
554
|
let body;
|
|
538
555
|
body = JSON.stringify(take(input, {
|
|
556
|
+
accountID: [],
|
|
539
557
|
sourceServerID: [],
|
|
540
558
|
}));
|
|
541
559
|
return new __HttpRequest({
|
|
@@ -556,6 +574,7 @@ export const se_FinalizeCutoverCommand = async (input, context) => {
|
|
|
556
574
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/FinalizeCutover";
|
|
557
575
|
let body;
|
|
558
576
|
body = JSON.stringify(take(input, {
|
|
577
|
+
accountID: [],
|
|
559
578
|
sourceServerID: [],
|
|
560
579
|
}));
|
|
561
580
|
return new __HttpRequest({
|
|
@@ -576,6 +595,7 @@ export const se_GetLaunchConfigurationCommand = async (input, context) => {
|
|
|
576
595
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetLaunchConfiguration";
|
|
577
596
|
let body;
|
|
578
597
|
body = JSON.stringify(take(input, {
|
|
598
|
+
accountID: [],
|
|
579
599
|
sourceServerID: [],
|
|
580
600
|
}));
|
|
581
601
|
return new __HttpRequest({
|
|
@@ -596,6 +616,7 @@ export const se_GetReplicationConfigurationCommand = async (input, context) => {
|
|
|
596
616
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/GetReplicationConfiguration";
|
|
597
617
|
let body;
|
|
598
618
|
body = JSON.stringify(take(input, {
|
|
619
|
+
accountID: [],
|
|
599
620
|
sourceServerID: [],
|
|
600
621
|
}));
|
|
601
622
|
return new __HttpRequest({
|
|
@@ -634,6 +655,7 @@ export const se_ListApplicationsCommand = async (input, context) => {
|
|
|
634
655
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListApplications";
|
|
635
656
|
let body;
|
|
636
657
|
body = JSON.stringify(take(input, {
|
|
658
|
+
accountID: [],
|
|
637
659
|
filters: (_) => _json(_),
|
|
638
660
|
maxResults: [],
|
|
639
661
|
nextToken: [],
|
|
@@ -736,6 +758,27 @@ export const se_ListImportsCommand = async (input, context) => {
|
|
|
736
758
|
body,
|
|
737
759
|
});
|
|
738
760
|
};
|
|
761
|
+
export const se_ListManagedAccountsCommand = async (input, context) => {
|
|
762
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
763
|
+
const headers = {
|
|
764
|
+
"content-type": "application/json",
|
|
765
|
+
};
|
|
766
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListManagedAccounts";
|
|
767
|
+
let body;
|
|
768
|
+
body = JSON.stringify(take(input, {
|
|
769
|
+
maxResults: [],
|
|
770
|
+
nextToken: [],
|
|
771
|
+
}));
|
|
772
|
+
return new __HttpRequest({
|
|
773
|
+
protocol,
|
|
774
|
+
hostname,
|
|
775
|
+
port,
|
|
776
|
+
method: "POST",
|
|
777
|
+
headers,
|
|
778
|
+
path: resolvedPath,
|
|
779
|
+
body,
|
|
780
|
+
});
|
|
781
|
+
};
|
|
739
782
|
export const se_ListSourceServerActionsCommand = async (input, context) => {
|
|
740
783
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
741
784
|
const headers = {
|
|
@@ -744,6 +787,7 @@ export const se_ListSourceServerActionsCommand = async (input, context) => {
|
|
|
744
787
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListSourceServerActions";
|
|
745
788
|
let body;
|
|
746
789
|
body = JSON.stringify(take(input, {
|
|
790
|
+
accountID: [],
|
|
747
791
|
filters: (_) => _json(_),
|
|
748
792
|
maxResults: [],
|
|
749
793
|
nextToken: [],
|
|
@@ -806,6 +850,7 @@ export const se_ListWavesCommand = async (input, context) => {
|
|
|
806
850
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ListWaves";
|
|
807
851
|
let body;
|
|
808
852
|
body = JSON.stringify(take(input, {
|
|
853
|
+
accountID: [],
|
|
809
854
|
filters: (_) => _json(_),
|
|
810
855
|
maxResults: [],
|
|
811
856
|
nextToken: [],
|
|
@@ -828,6 +873,28 @@ export const se_MarkAsArchivedCommand = async (input, context) => {
|
|
|
828
873
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/MarkAsArchived";
|
|
829
874
|
let body;
|
|
830
875
|
body = JSON.stringify(take(input, {
|
|
876
|
+
accountID: [],
|
|
877
|
+
sourceServerID: [],
|
|
878
|
+
}));
|
|
879
|
+
return new __HttpRequest({
|
|
880
|
+
protocol,
|
|
881
|
+
hostname,
|
|
882
|
+
port,
|
|
883
|
+
method: "POST",
|
|
884
|
+
headers,
|
|
885
|
+
path: resolvedPath,
|
|
886
|
+
body,
|
|
887
|
+
});
|
|
888
|
+
};
|
|
889
|
+
export const se_PauseReplicationCommand = async (input, context) => {
|
|
890
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
891
|
+
const headers = {
|
|
892
|
+
"content-type": "application/json",
|
|
893
|
+
};
|
|
894
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/PauseReplication";
|
|
895
|
+
let body;
|
|
896
|
+
body = JSON.stringify(take(input, {
|
|
897
|
+
accountID: [],
|
|
831
898
|
sourceServerID: [],
|
|
832
899
|
}));
|
|
833
900
|
return new __HttpRequest({
|
|
@@ -848,6 +915,7 @@ export const se_PutSourceServerActionCommand = async (input, context) => {
|
|
|
848
915
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/PutSourceServerAction";
|
|
849
916
|
let body;
|
|
850
917
|
body = JSON.stringify(take(input, {
|
|
918
|
+
accountID: [],
|
|
851
919
|
actionID: [],
|
|
852
920
|
actionName: [],
|
|
853
921
|
active: [],
|
|
@@ -913,6 +981,7 @@ export const se_RemoveSourceServerActionCommand = async (input, context) => {
|
|
|
913
981
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/RemoveSourceServerAction";
|
|
914
982
|
let body;
|
|
915
983
|
body = JSON.stringify(take(input, {
|
|
984
|
+
accountID: [],
|
|
916
985
|
actionID: [],
|
|
917
986
|
sourceServerID: [],
|
|
918
987
|
}));
|
|
@@ -947,6 +1016,27 @@ export const se_RemoveTemplateActionCommand = async (input, context) => {
|
|
|
947
1016
|
body,
|
|
948
1017
|
});
|
|
949
1018
|
};
|
|
1019
|
+
export const se_ResumeReplicationCommand = async (input, context) => {
|
|
1020
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1021
|
+
const headers = {
|
|
1022
|
+
"content-type": "application/json",
|
|
1023
|
+
};
|
|
1024
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ResumeReplication";
|
|
1025
|
+
let body;
|
|
1026
|
+
body = JSON.stringify(take(input, {
|
|
1027
|
+
accountID: [],
|
|
1028
|
+
sourceServerID: [],
|
|
1029
|
+
}));
|
|
1030
|
+
return new __HttpRequest({
|
|
1031
|
+
protocol,
|
|
1032
|
+
hostname,
|
|
1033
|
+
port,
|
|
1034
|
+
method: "POST",
|
|
1035
|
+
headers,
|
|
1036
|
+
path: resolvedPath,
|
|
1037
|
+
body,
|
|
1038
|
+
});
|
|
1039
|
+
};
|
|
950
1040
|
export const se_RetryDataReplicationCommand = async (input, context) => {
|
|
951
1041
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
952
1042
|
const headers = {
|
|
@@ -955,6 +1045,7 @@ export const se_RetryDataReplicationCommand = async (input, context) => {
|
|
|
955
1045
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/RetryDataReplication";
|
|
956
1046
|
let body;
|
|
957
1047
|
body = JSON.stringify(take(input, {
|
|
1048
|
+
accountID: [],
|
|
958
1049
|
sourceServerID: [],
|
|
959
1050
|
}));
|
|
960
1051
|
return new __HttpRequest({
|
|
@@ -975,6 +1066,7 @@ export const se_StartCutoverCommand = async (input, context) => {
|
|
|
975
1066
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/StartCutover";
|
|
976
1067
|
let body;
|
|
977
1068
|
body = JSON.stringify(take(input, {
|
|
1069
|
+
accountID: [],
|
|
978
1070
|
sourceServerIDs: (_) => _json(_),
|
|
979
1071
|
tags: (_) => _json(_),
|
|
980
1072
|
}));
|
|
@@ -1039,6 +1131,7 @@ export const se_StartReplicationCommand = async (input, context) => {
|
|
|
1039
1131
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/StartReplication";
|
|
1040
1132
|
let body;
|
|
1041
1133
|
body = JSON.stringify(take(input, {
|
|
1134
|
+
accountID: [],
|
|
1042
1135
|
sourceServerID: [],
|
|
1043
1136
|
}));
|
|
1044
1137
|
return new __HttpRequest({
|
|
@@ -1059,6 +1152,7 @@ export const se_StartTestCommand = async (input, context) => {
|
|
|
1059
1152
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/StartTest";
|
|
1060
1153
|
let body;
|
|
1061
1154
|
body = JSON.stringify(take(input, {
|
|
1155
|
+
accountID: [],
|
|
1062
1156
|
sourceServerIDs: (_) => _json(_),
|
|
1063
1157
|
tags: (_) => _json(_),
|
|
1064
1158
|
}));
|
|
@@ -1072,6 +1166,27 @@ export const se_StartTestCommand = async (input, context) => {
|
|
|
1072
1166
|
body,
|
|
1073
1167
|
});
|
|
1074
1168
|
};
|
|
1169
|
+
export const se_StopReplicationCommand = async (input, context) => {
|
|
1170
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1171
|
+
const headers = {
|
|
1172
|
+
"content-type": "application/json",
|
|
1173
|
+
};
|
|
1174
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/StopReplication";
|
|
1175
|
+
let body;
|
|
1176
|
+
body = JSON.stringify(take(input, {
|
|
1177
|
+
accountID: [],
|
|
1178
|
+
sourceServerID: [],
|
|
1179
|
+
}));
|
|
1180
|
+
return new __HttpRequest({
|
|
1181
|
+
protocol,
|
|
1182
|
+
hostname,
|
|
1183
|
+
port,
|
|
1184
|
+
method: "POST",
|
|
1185
|
+
headers,
|
|
1186
|
+
path: resolvedPath,
|
|
1187
|
+
body,
|
|
1188
|
+
});
|
|
1189
|
+
};
|
|
1075
1190
|
export const se_TagResourceCommand = async (input, context) => {
|
|
1076
1191
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1077
1192
|
const headers = {
|
|
@@ -1101,6 +1216,7 @@ export const se_TerminateTargetInstancesCommand = async (input, context) => {
|
|
|
1101
1216
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/TerminateTargetInstances";
|
|
1102
1217
|
let body;
|
|
1103
1218
|
body = JSON.stringify(take(input, {
|
|
1219
|
+
accountID: [],
|
|
1104
1220
|
sourceServerIDs: (_) => _json(_),
|
|
1105
1221
|
tags: (_) => _json(_),
|
|
1106
1222
|
}));
|
|
@@ -1122,6 +1238,7 @@ export const se_UnarchiveApplicationCommand = async (input, context) => {
|
|
|
1122
1238
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UnarchiveApplication";
|
|
1123
1239
|
let body;
|
|
1124
1240
|
body = JSON.stringify(take(input, {
|
|
1241
|
+
accountID: [],
|
|
1125
1242
|
applicationID: [],
|
|
1126
1243
|
}));
|
|
1127
1244
|
return new __HttpRequest({
|
|
@@ -1142,6 +1259,7 @@ export const se_UnarchiveWaveCommand = async (input, context) => {
|
|
|
1142
1259
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UnarchiveWave";
|
|
1143
1260
|
let body;
|
|
1144
1261
|
body = JSON.stringify(take(input, {
|
|
1262
|
+
accountID: [],
|
|
1145
1263
|
waveID: [],
|
|
1146
1264
|
}));
|
|
1147
1265
|
return new __HttpRequest({
|
|
@@ -1185,6 +1303,7 @@ export const se_UpdateApplicationCommand = async (input, context) => {
|
|
|
1185
1303
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateApplication";
|
|
1186
1304
|
let body;
|
|
1187
1305
|
body = JSON.stringify(take(input, {
|
|
1306
|
+
accountID: [],
|
|
1188
1307
|
applicationID: [],
|
|
1189
1308
|
description: [],
|
|
1190
1309
|
name: [],
|
|
@@ -1207,6 +1326,7 @@ export const se_UpdateLaunchConfigurationCommand = async (input, context) => {
|
|
|
1207
1326
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateLaunchConfiguration";
|
|
1208
1327
|
let body;
|
|
1209
1328
|
body = JSON.stringify(take(input, {
|
|
1329
|
+
accountID: [],
|
|
1210
1330
|
bootMode: [],
|
|
1211
1331
|
copyPrivateIp: [],
|
|
1212
1332
|
copyTags: [],
|
|
@@ -1270,6 +1390,7 @@ export const se_UpdateReplicationConfigurationCommand = async (input, context) =
|
|
|
1270
1390
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateReplicationConfiguration";
|
|
1271
1391
|
let body;
|
|
1272
1392
|
body = JSON.stringify(take(input, {
|
|
1393
|
+
accountID: [],
|
|
1273
1394
|
associateDefaultSecurityGroup: [],
|
|
1274
1395
|
bandwidthThrottling: [],
|
|
1275
1396
|
createPublicIP: [],
|
|
@@ -1285,6 +1406,7 @@ export const se_UpdateReplicationConfigurationCommand = async (input, context) =
|
|
|
1285
1406
|
stagingAreaSubnetId: [],
|
|
1286
1407
|
stagingAreaTags: (_) => _json(_),
|
|
1287
1408
|
useDedicatedReplicationServer: [],
|
|
1409
|
+
useFipsEndpoint: [],
|
|
1288
1410
|
}));
|
|
1289
1411
|
return new __HttpRequest({
|
|
1290
1412
|
protocol,
|
|
@@ -1318,6 +1440,7 @@ export const se_UpdateReplicationConfigurationTemplateCommand = async (input, co
|
|
|
1318
1440
|
stagingAreaSubnetId: [],
|
|
1319
1441
|
stagingAreaTags: (_) => _json(_),
|
|
1320
1442
|
useDedicatedReplicationServer: [],
|
|
1443
|
+
useFipsEndpoint: [],
|
|
1321
1444
|
}));
|
|
1322
1445
|
return new __HttpRequest({
|
|
1323
1446
|
protocol,
|
|
@@ -1337,6 +1460,7 @@ export const se_UpdateSourceServerReplicationTypeCommand = async (input, context
|
|
|
1337
1460
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateSourceServerReplicationType";
|
|
1338
1461
|
let body;
|
|
1339
1462
|
body = JSON.stringify(take(input, {
|
|
1463
|
+
accountID: [],
|
|
1340
1464
|
replicationType: [],
|
|
1341
1465
|
sourceServerID: [],
|
|
1342
1466
|
}));
|
|
@@ -1358,6 +1482,7 @@ export const se_UpdateWaveCommand = async (input, context) => {
|
|
|
1358
1482
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/UpdateWave";
|
|
1359
1483
|
let body;
|
|
1360
1484
|
body = JSON.stringify(take(input, {
|
|
1485
|
+
accountID: [],
|
|
1361
1486
|
description: [],
|
|
1362
1487
|
name: [],
|
|
1363
1488
|
waveID: [],
|
|
@@ -1730,6 +1855,7 @@ export const de_CreateReplicationConfigurationTemplateCommand = async (output, c
|
|
|
1730
1855
|
stagingAreaTags: _json,
|
|
1731
1856
|
tags: _json,
|
|
1732
1857
|
useDedicatedReplicationServer: __expectBoolean,
|
|
1858
|
+
useFipsEndpoint: __expectBoolean,
|
|
1733
1859
|
});
|
|
1734
1860
|
Object.assign(contents, doc);
|
|
1735
1861
|
return contents;
|
|
@@ -2528,6 +2654,7 @@ export const de_GetReplicationConfigurationCommand = async (output, context) =>
|
|
|
2528
2654
|
stagingAreaSubnetId: __expectString,
|
|
2529
2655
|
stagingAreaTags: _json,
|
|
2530
2656
|
useDedicatedReplicationServer: __expectBoolean,
|
|
2657
|
+
useFipsEndpoint: __expectBoolean,
|
|
2531
2658
|
});
|
|
2532
2659
|
Object.assign(contents, doc);
|
|
2533
2660
|
return contents;
|
|
@@ -2765,6 +2892,43 @@ const de_ListImportsCommandError = async (output, context) => {
|
|
|
2765
2892
|
});
|
|
2766
2893
|
}
|
|
2767
2894
|
};
|
|
2895
|
+
export const de_ListManagedAccountsCommand = async (output, context) => {
|
|
2896
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2897
|
+
return de_ListManagedAccountsCommandError(output, context);
|
|
2898
|
+
}
|
|
2899
|
+
const contents = map({
|
|
2900
|
+
$metadata: deserializeMetadata(output),
|
|
2901
|
+
});
|
|
2902
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2903
|
+
const doc = take(data, {
|
|
2904
|
+
items: _json,
|
|
2905
|
+
nextToken: __expectString,
|
|
2906
|
+
});
|
|
2907
|
+
Object.assign(contents, doc);
|
|
2908
|
+
return contents;
|
|
2909
|
+
};
|
|
2910
|
+
const de_ListManagedAccountsCommandError = async (output, context) => {
|
|
2911
|
+
const parsedOutput = {
|
|
2912
|
+
...output,
|
|
2913
|
+
body: await parseErrorBody(output.body, context),
|
|
2914
|
+
};
|
|
2915
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2916
|
+
switch (errorCode) {
|
|
2917
|
+
case "UninitializedAccountException":
|
|
2918
|
+
case "com.amazonaws.mgn#UninitializedAccountException":
|
|
2919
|
+
throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
|
|
2920
|
+
case "ValidationException":
|
|
2921
|
+
case "com.amazonaws.mgn#ValidationException":
|
|
2922
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2923
|
+
default:
|
|
2924
|
+
const parsedBody = parsedOutput.body;
|
|
2925
|
+
return throwDefaultError({
|
|
2926
|
+
output,
|
|
2927
|
+
parsedBody,
|
|
2928
|
+
errorCode,
|
|
2929
|
+
});
|
|
2930
|
+
}
|
|
2931
|
+
};
|
|
2768
2932
|
export const de_ListSourceServerActionsCommand = async (output, context) => {
|
|
2769
2933
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2770
2934
|
return de_ListSourceServerActionsCommandError(output, context);
|
|
@@ -2969,6 +3133,63 @@ const de_MarkAsArchivedCommandError = async (output, context) => {
|
|
|
2969
3133
|
});
|
|
2970
3134
|
}
|
|
2971
3135
|
};
|
|
3136
|
+
export const de_PauseReplicationCommand = async (output, context) => {
|
|
3137
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3138
|
+
return de_PauseReplicationCommandError(output, context);
|
|
3139
|
+
}
|
|
3140
|
+
const contents = map({
|
|
3141
|
+
$metadata: deserializeMetadata(output),
|
|
3142
|
+
});
|
|
3143
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3144
|
+
const doc = take(data, {
|
|
3145
|
+
applicationID: __expectString,
|
|
3146
|
+
arn: __expectString,
|
|
3147
|
+
dataReplicationInfo: _json,
|
|
3148
|
+
fqdnForActionFramework: __expectString,
|
|
3149
|
+
isArchived: __expectBoolean,
|
|
3150
|
+
launchedInstance: _json,
|
|
3151
|
+
lifeCycle: _json,
|
|
3152
|
+
replicationType: __expectString,
|
|
3153
|
+
sourceProperties: _json,
|
|
3154
|
+
sourceServerID: __expectString,
|
|
3155
|
+
tags: _json,
|
|
3156
|
+
userProvidedID: __expectString,
|
|
3157
|
+
vcenterClientID: __expectString,
|
|
3158
|
+
});
|
|
3159
|
+
Object.assign(contents, doc);
|
|
3160
|
+
return contents;
|
|
3161
|
+
};
|
|
3162
|
+
const de_PauseReplicationCommandError = async (output, context) => {
|
|
3163
|
+
const parsedOutput = {
|
|
3164
|
+
...output,
|
|
3165
|
+
body: await parseErrorBody(output.body, context),
|
|
3166
|
+
};
|
|
3167
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3168
|
+
switch (errorCode) {
|
|
3169
|
+
case "ConflictException":
|
|
3170
|
+
case "com.amazonaws.mgn#ConflictException":
|
|
3171
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3172
|
+
case "ResourceNotFoundException":
|
|
3173
|
+
case "com.amazonaws.mgn#ResourceNotFoundException":
|
|
3174
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3175
|
+
case "ServiceQuotaExceededException":
|
|
3176
|
+
case "com.amazonaws.mgn#ServiceQuotaExceededException":
|
|
3177
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3178
|
+
case "UninitializedAccountException":
|
|
3179
|
+
case "com.amazonaws.mgn#UninitializedAccountException":
|
|
3180
|
+
throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
|
|
3181
|
+
case "ValidationException":
|
|
3182
|
+
case "com.amazonaws.mgn#ValidationException":
|
|
3183
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3184
|
+
default:
|
|
3185
|
+
const parsedBody = parsedOutput.body;
|
|
3186
|
+
return throwDefaultError({
|
|
3187
|
+
output,
|
|
3188
|
+
parsedBody,
|
|
3189
|
+
errorCode,
|
|
3190
|
+
});
|
|
3191
|
+
}
|
|
3192
|
+
};
|
|
2972
3193
|
export const de_PutSourceServerActionCommand = async (output, context) => {
|
|
2973
3194
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2974
3195
|
return de_PutSourceServerActionCommandError(output, context);
|
|
@@ -3146,6 +3367,63 @@ const de_RemoveTemplateActionCommandError = async (output, context) => {
|
|
|
3146
3367
|
});
|
|
3147
3368
|
}
|
|
3148
3369
|
};
|
|
3370
|
+
export const de_ResumeReplicationCommand = async (output, context) => {
|
|
3371
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3372
|
+
return de_ResumeReplicationCommandError(output, context);
|
|
3373
|
+
}
|
|
3374
|
+
const contents = map({
|
|
3375
|
+
$metadata: deserializeMetadata(output),
|
|
3376
|
+
});
|
|
3377
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3378
|
+
const doc = take(data, {
|
|
3379
|
+
applicationID: __expectString,
|
|
3380
|
+
arn: __expectString,
|
|
3381
|
+
dataReplicationInfo: _json,
|
|
3382
|
+
fqdnForActionFramework: __expectString,
|
|
3383
|
+
isArchived: __expectBoolean,
|
|
3384
|
+
launchedInstance: _json,
|
|
3385
|
+
lifeCycle: _json,
|
|
3386
|
+
replicationType: __expectString,
|
|
3387
|
+
sourceProperties: _json,
|
|
3388
|
+
sourceServerID: __expectString,
|
|
3389
|
+
tags: _json,
|
|
3390
|
+
userProvidedID: __expectString,
|
|
3391
|
+
vcenterClientID: __expectString,
|
|
3392
|
+
});
|
|
3393
|
+
Object.assign(contents, doc);
|
|
3394
|
+
return contents;
|
|
3395
|
+
};
|
|
3396
|
+
const de_ResumeReplicationCommandError = async (output, context) => {
|
|
3397
|
+
const parsedOutput = {
|
|
3398
|
+
...output,
|
|
3399
|
+
body: await parseErrorBody(output.body, context),
|
|
3400
|
+
};
|
|
3401
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3402
|
+
switch (errorCode) {
|
|
3403
|
+
case "ConflictException":
|
|
3404
|
+
case "com.amazonaws.mgn#ConflictException":
|
|
3405
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3406
|
+
case "ResourceNotFoundException":
|
|
3407
|
+
case "com.amazonaws.mgn#ResourceNotFoundException":
|
|
3408
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3409
|
+
case "ServiceQuotaExceededException":
|
|
3410
|
+
case "com.amazonaws.mgn#ServiceQuotaExceededException":
|
|
3411
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3412
|
+
case "UninitializedAccountException":
|
|
3413
|
+
case "com.amazonaws.mgn#UninitializedAccountException":
|
|
3414
|
+
throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
|
|
3415
|
+
case "ValidationException":
|
|
3416
|
+
case "com.amazonaws.mgn#ValidationException":
|
|
3417
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3418
|
+
default:
|
|
3419
|
+
const parsedBody = parsedOutput.body;
|
|
3420
|
+
return throwDefaultError({
|
|
3421
|
+
output,
|
|
3422
|
+
parsedBody,
|
|
3423
|
+
errorCode,
|
|
3424
|
+
});
|
|
3425
|
+
}
|
|
3426
|
+
};
|
|
3149
3427
|
export const de_RetryDataReplicationCommand = async (output, context) => {
|
|
3150
3428
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3151
3429
|
return de_RetryDataReplicationCommandError(output, context);
|
|
@@ -3416,6 +3694,63 @@ const de_StartTestCommandError = async (output, context) => {
|
|
|
3416
3694
|
});
|
|
3417
3695
|
}
|
|
3418
3696
|
};
|
|
3697
|
+
export const de_StopReplicationCommand = async (output, context) => {
|
|
3698
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3699
|
+
return de_StopReplicationCommandError(output, context);
|
|
3700
|
+
}
|
|
3701
|
+
const contents = map({
|
|
3702
|
+
$metadata: deserializeMetadata(output),
|
|
3703
|
+
});
|
|
3704
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3705
|
+
const doc = take(data, {
|
|
3706
|
+
applicationID: __expectString,
|
|
3707
|
+
arn: __expectString,
|
|
3708
|
+
dataReplicationInfo: _json,
|
|
3709
|
+
fqdnForActionFramework: __expectString,
|
|
3710
|
+
isArchived: __expectBoolean,
|
|
3711
|
+
launchedInstance: _json,
|
|
3712
|
+
lifeCycle: _json,
|
|
3713
|
+
replicationType: __expectString,
|
|
3714
|
+
sourceProperties: _json,
|
|
3715
|
+
sourceServerID: __expectString,
|
|
3716
|
+
tags: _json,
|
|
3717
|
+
userProvidedID: __expectString,
|
|
3718
|
+
vcenterClientID: __expectString,
|
|
3719
|
+
});
|
|
3720
|
+
Object.assign(contents, doc);
|
|
3721
|
+
return contents;
|
|
3722
|
+
};
|
|
3723
|
+
const de_StopReplicationCommandError = async (output, context) => {
|
|
3724
|
+
const parsedOutput = {
|
|
3725
|
+
...output,
|
|
3726
|
+
body: await parseErrorBody(output.body, context),
|
|
3727
|
+
};
|
|
3728
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3729
|
+
switch (errorCode) {
|
|
3730
|
+
case "ConflictException":
|
|
3731
|
+
case "com.amazonaws.mgn#ConflictException":
|
|
3732
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3733
|
+
case "ResourceNotFoundException":
|
|
3734
|
+
case "com.amazonaws.mgn#ResourceNotFoundException":
|
|
3735
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3736
|
+
case "ServiceQuotaExceededException":
|
|
3737
|
+
case "com.amazonaws.mgn#ServiceQuotaExceededException":
|
|
3738
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
3739
|
+
case "UninitializedAccountException":
|
|
3740
|
+
case "com.amazonaws.mgn#UninitializedAccountException":
|
|
3741
|
+
throw await de_UninitializedAccountExceptionRes(parsedOutput, context);
|
|
3742
|
+
case "ValidationException":
|
|
3743
|
+
case "com.amazonaws.mgn#ValidationException":
|
|
3744
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3745
|
+
default:
|
|
3746
|
+
const parsedBody = parsedOutput.body;
|
|
3747
|
+
return throwDefaultError({
|
|
3748
|
+
output,
|
|
3749
|
+
parsedBody,
|
|
3750
|
+
errorCode,
|
|
3751
|
+
});
|
|
3752
|
+
}
|
|
3753
|
+
};
|
|
3419
3754
|
export const de_TagResourceCommand = async (output, context) => {
|
|
3420
3755
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3421
3756
|
return de_TagResourceCommandError(output, context);
|
|
@@ -3815,6 +4150,7 @@ export const de_UpdateReplicationConfigurationCommand = async (output, context)
|
|
|
3815
4150
|
stagingAreaSubnetId: __expectString,
|
|
3816
4151
|
stagingAreaTags: _json,
|
|
3817
4152
|
useDedicatedReplicationServer: __expectBoolean,
|
|
4153
|
+
useFipsEndpoint: __expectBoolean,
|
|
3818
4154
|
});
|
|
3819
4155
|
Object.assign(contents, doc);
|
|
3820
4156
|
return contents;
|
|
@@ -3874,6 +4210,7 @@ export const de_UpdateReplicationConfigurationTemplateCommand = async (output, c
|
|
|
3874
4210
|
stagingAreaTags: _json,
|
|
3875
4211
|
tags: _json,
|
|
3876
4212
|
useDedicatedReplicationServer: __expectBoolean,
|
|
4213
|
+
useFipsEndpoint: __expectBoolean,
|
|
3877
4214
|
});
|
|
3878
4215
|
Object.assign(contents, doc);
|
|
3879
4216
|
return contents;
|