@aws-sdk/client-mgn 3.294.0 → 3.296.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 +48 -0
- package/dist-cjs/Mgn.js +90 -0
- package/dist-cjs/commands/ArchiveApplicationCommand.js +4 -4
- package/dist-cjs/commands/ArchiveWaveCommand.js +4 -4
- package/dist-cjs/commands/AssociateApplicationsCommand.js +4 -4
- package/dist-cjs/commands/AssociateSourceServersCommand.js +4 -4
- package/dist-cjs/commands/ChangeServerLifeCycleStateCommand.js +4 -4
- package/dist-cjs/commands/CreateApplicationCommand.js +4 -4
- package/dist-cjs/commands/CreateLaunchConfigurationTemplateCommand.js +4 -4
- package/dist-cjs/commands/CreateReplicationConfigurationTemplateCommand.js +4 -4
- package/dist-cjs/commands/CreateWaveCommand.js +4 -4
- package/dist-cjs/commands/DeleteApplicationCommand.js +4 -4
- package/dist-cjs/commands/DeleteJobCommand.js +4 -4
- package/dist-cjs/commands/DeleteLaunchConfigurationTemplateCommand.js +4 -4
- package/dist-cjs/commands/DeleteReplicationConfigurationTemplateCommand.js +4 -4
- package/dist-cjs/commands/DeleteSourceServerCommand.js +4 -4
- package/dist-cjs/commands/DeleteVcenterClientCommand.js +4 -4
- package/dist-cjs/commands/DeleteWaveCommand.js +4 -4
- package/dist-cjs/commands/DescribeJobLogItemsCommand.js +4 -4
- package/dist-cjs/commands/DescribeJobsCommand.js +4 -4
- package/dist-cjs/commands/DescribeLaunchConfigurationTemplatesCommand.js +4 -4
- package/dist-cjs/commands/DescribeReplicationConfigurationTemplatesCommand.js +4 -4
- package/dist-cjs/commands/DescribeSourceServersCommand.js +4 -4
- package/dist-cjs/commands/DescribeVcenterClientsCommand.js +4 -4
- package/dist-cjs/commands/DisassociateApplicationsCommand.js +4 -4
- package/dist-cjs/commands/DisassociateSourceServersCommand.js +4 -4
- package/dist-cjs/commands/DisconnectFromServiceCommand.js +4 -4
- package/dist-cjs/commands/FinalizeCutoverCommand.js +4 -4
- package/dist-cjs/commands/GetLaunchConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetReplicationConfigurationCommand.js +4 -4
- package/dist-cjs/commands/InitializeServiceCommand.js +4 -4
- package/dist-cjs/commands/ListApplicationsCommand.js +4 -4
- package/dist-cjs/commands/ListExportErrorsCommand.js +46 -0
- package/dist-cjs/commands/ListExportsCommand.js +46 -0
- package/dist-cjs/commands/ListImportErrorsCommand.js +46 -0
- package/dist-cjs/commands/ListImportsCommand.js +46 -0
- package/dist-cjs/commands/ListSourceServerActionsCommand.js +4 -4
- package/dist-cjs/commands/ListTagsForResourceCommand.js +4 -4
- package/dist-cjs/commands/ListTemplateActionsCommand.js +4 -4
- package/dist-cjs/commands/ListWavesCommand.js +4 -4
- package/dist-cjs/commands/MarkAsArchivedCommand.js +4 -4
- package/dist-cjs/commands/PutSourceServerActionCommand.js +4 -4
- package/dist-cjs/commands/PutTemplateActionCommand.js +4 -4
- package/dist-cjs/commands/RemoveSourceServerActionCommand.js +4 -4
- package/dist-cjs/commands/RemoveTemplateActionCommand.js +4 -4
- package/dist-cjs/commands/RetryDataReplicationCommand.js +4 -4
- package/dist-cjs/commands/StartCutoverCommand.js +4 -4
- package/dist-cjs/commands/StartExportCommand.js +46 -0
- package/dist-cjs/commands/StartImportCommand.js +46 -0
- package/dist-cjs/commands/StartReplicationCommand.js +4 -4
- package/dist-cjs/commands/StartTestCommand.js +4 -4
- package/dist-cjs/commands/TagResourceCommand.js +4 -4
- package/dist-cjs/commands/TerminateTargetInstancesCommand.js +4 -4
- package/dist-cjs/commands/UnarchiveApplicationCommand.js +4 -4
- package/dist-cjs/commands/UnarchiveWaveCommand.js +4 -4
- package/dist-cjs/commands/UntagResourceCommand.js +4 -4
- package/dist-cjs/commands/UpdateApplicationCommand.js +4 -4
- package/dist-cjs/commands/UpdateLaunchConfigurationCommand.js +4 -4
- package/dist-cjs/commands/UpdateLaunchConfigurationTemplateCommand.js +4 -4
- package/dist-cjs/commands/UpdateReplicationConfigurationCommand.js +4 -4
- package/dist-cjs/commands/UpdateReplicationConfigurationTemplateCommand.js +4 -4
- package/dist-cjs/commands/UpdateSourceServerReplicationTypeCommand.js +4 -4
- package/dist-cjs/commands/UpdateWaveCommand.js +4 -4
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +191 -8
- package/dist-cjs/pagination/ListExportErrorsPaginator.js +29 -0
- package/dist-cjs/pagination/ListExportsPaginator.js +29 -0
- package/dist-cjs/pagination/ListImportErrorsPaginator.js +29 -0
- package/dist-cjs/pagination/ListImportsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +4 -0
- package/dist-cjs/protocols/Aws_restJson1.js +676 -3
- package/dist-es/Mgn.js +90 -0
- package/dist-es/commands/ArchiveApplicationCommand.js +4 -4
- package/dist-es/commands/ArchiveWaveCommand.js +4 -4
- package/dist-es/commands/AssociateApplicationsCommand.js +4 -4
- package/dist-es/commands/AssociateSourceServersCommand.js +4 -4
- package/dist-es/commands/ChangeServerLifeCycleStateCommand.js +4 -4
- package/dist-es/commands/CreateApplicationCommand.js +4 -4
- package/dist-es/commands/CreateLaunchConfigurationTemplateCommand.js +4 -4
- package/dist-es/commands/CreateReplicationConfigurationTemplateCommand.js +4 -4
- package/dist-es/commands/CreateWaveCommand.js +4 -4
- package/dist-es/commands/DeleteApplicationCommand.js +4 -4
- package/dist-es/commands/DeleteJobCommand.js +4 -4
- package/dist-es/commands/DeleteLaunchConfigurationTemplateCommand.js +4 -4
- package/dist-es/commands/DeleteReplicationConfigurationTemplateCommand.js +4 -4
- package/dist-es/commands/DeleteSourceServerCommand.js +4 -4
- package/dist-es/commands/DeleteVcenterClientCommand.js +4 -4
- package/dist-es/commands/DeleteWaveCommand.js +4 -4
- package/dist-es/commands/DescribeJobLogItemsCommand.js +4 -4
- package/dist-es/commands/DescribeJobsCommand.js +4 -4
- package/dist-es/commands/DescribeLaunchConfigurationTemplatesCommand.js +4 -4
- package/dist-es/commands/DescribeReplicationConfigurationTemplatesCommand.js +4 -4
- package/dist-es/commands/DescribeSourceServersCommand.js +4 -4
- package/dist-es/commands/DescribeVcenterClientsCommand.js +4 -4
- package/dist-es/commands/DisassociateApplicationsCommand.js +4 -4
- package/dist-es/commands/DisassociateSourceServersCommand.js +4 -4
- package/dist-es/commands/DisconnectFromServiceCommand.js +4 -4
- package/dist-es/commands/FinalizeCutoverCommand.js +4 -4
- package/dist-es/commands/GetLaunchConfigurationCommand.js +4 -4
- package/dist-es/commands/GetReplicationConfigurationCommand.js +4 -4
- package/dist-es/commands/InitializeServiceCommand.js +4 -4
- package/dist-es/commands/ListApplicationsCommand.js +4 -4
- package/dist-es/commands/ListExportErrorsCommand.js +42 -0
- package/dist-es/commands/ListExportsCommand.js +42 -0
- package/dist-es/commands/ListImportErrorsCommand.js +42 -0
- package/dist-es/commands/ListImportsCommand.js +42 -0
- package/dist-es/commands/ListSourceServerActionsCommand.js +4 -4
- package/dist-es/commands/ListTagsForResourceCommand.js +4 -4
- package/dist-es/commands/ListTemplateActionsCommand.js +4 -4
- package/dist-es/commands/ListWavesCommand.js +4 -4
- package/dist-es/commands/MarkAsArchivedCommand.js +4 -4
- package/dist-es/commands/PutSourceServerActionCommand.js +4 -4
- package/dist-es/commands/PutTemplateActionCommand.js +4 -4
- package/dist-es/commands/RemoveSourceServerActionCommand.js +4 -4
- package/dist-es/commands/RemoveTemplateActionCommand.js +4 -4
- package/dist-es/commands/RetryDataReplicationCommand.js +4 -4
- package/dist-es/commands/StartCutoverCommand.js +4 -4
- package/dist-es/commands/StartExportCommand.js +42 -0
- package/dist-es/commands/StartImportCommand.js +42 -0
- package/dist-es/commands/StartReplicationCommand.js +4 -4
- package/dist-es/commands/StartTestCommand.js +4 -4
- package/dist-es/commands/TagResourceCommand.js +4 -4
- package/dist-es/commands/TerminateTargetInstancesCommand.js +4 -4
- package/dist-es/commands/UnarchiveApplicationCommand.js +4 -4
- package/dist-es/commands/UnarchiveWaveCommand.js +4 -4
- package/dist-es/commands/UntagResourceCommand.js +4 -4
- package/dist-es/commands/UpdateApplicationCommand.js +4 -4
- package/dist-es/commands/UpdateLaunchConfigurationCommand.js +4 -4
- package/dist-es/commands/UpdateLaunchConfigurationTemplateCommand.js +4 -4
- package/dist-es/commands/UpdateReplicationConfigurationCommand.js +4 -4
- package/dist-es/commands/UpdateReplicationConfigurationTemplateCommand.js +4 -4
- package/dist-es/commands/UpdateSourceServerReplicationTypeCommand.js +4 -4
- package/dist-es/commands/UpdateWaveCommand.js +4 -4
- package/dist-es/commands/index.js +6 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +157 -2
- package/dist-es/pagination/ListExportErrorsPaginator.js +25 -0
- package/dist-es/pagination/ListExportsPaginator.js +25 -0
- package/dist-es/pagination/ListImportErrorsPaginator.js +25 -0
- package/dist-es/pagination/ListImportsPaginator.js +25 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +663 -2
- package/dist-types/Mgn.d.ts +42 -0
- package/dist-types/MgnClient.d.ts +10 -4
- package/dist-types/commands/ListExportErrorsCommand.d.ts +50 -0
- package/dist-types/commands/ListExportsCommand.d.ts +47 -0
- package/dist-types/commands/ListImportErrorsCommand.d.ts +50 -0
- package/dist-types/commands/ListImportsCommand.d.ts +50 -0
- package/dist-types/commands/StartExportCommand.d.ts +53 -0
- package/dist-types/commands/StartImportCommand.d.ts +59 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +641 -4
- package/dist-types/pagination/ListExportErrorsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListExportsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListImportErrorsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListImportsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/Mgn.d.ts +102 -0
- package/dist-types/ts3.4/MgnClient.d.ts +40 -4
- package/dist-types/ts3.4/commands/ListExportErrorsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListImportErrorsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/StartExportCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/StartImportCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -4
- package/dist-types/ts3.4/models/models_0.d.ts +268 -5
- package/dist-types/ts3.4/pagination/ListExportErrorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListImportErrorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
- package/package.json +38 -36
|
@@ -13,6 +13,19 @@ export class AccessDeniedException extends __BaseException {
|
|
|
13
13
|
this.code = opts.code;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
+
export var ActionCategory;
|
|
17
|
+
(function (ActionCategory) {
|
|
18
|
+
ActionCategory["BACKUP"] = "BACKUP";
|
|
19
|
+
ActionCategory["CONFIGURATION"] = "CONFIGURATION";
|
|
20
|
+
ActionCategory["DISASTER_RECOVERY"] = "DISASTER_RECOVERY";
|
|
21
|
+
ActionCategory["LICENSE_AND_SUBSCRIPTION"] = "LICENSE_AND_SUBSCRIPTION";
|
|
22
|
+
ActionCategory["NETWORKING"] = "NETWORKING";
|
|
23
|
+
ActionCategory["OBSERVABILITY"] = "OBSERVABILITY";
|
|
24
|
+
ActionCategory["OPERATING_SYSTEM"] = "OPERATING_SYSTEM";
|
|
25
|
+
ActionCategory["OTHER"] = "OTHER";
|
|
26
|
+
ActionCategory["SECURITY"] = "SECURITY";
|
|
27
|
+
ActionCategory["VALIDATION"] = "VALIDATION";
|
|
28
|
+
})(ActionCategory || (ActionCategory = {}));
|
|
16
29
|
export var ApplicationHealthStatus;
|
|
17
30
|
(function (ApplicationHealthStatus) {
|
|
18
31
|
ApplicationHealthStatus["ERROR"] = "ERROR";
|
|
@@ -109,6 +122,25 @@ export class ValidationException extends __BaseException {
|
|
|
109
122
|
this.fieldList = opts.fieldList;
|
|
110
123
|
}
|
|
111
124
|
}
|
|
125
|
+
export var ExportStatus;
|
|
126
|
+
(function (ExportStatus) {
|
|
127
|
+
ExportStatus["FAILED"] = "FAILED";
|
|
128
|
+
ExportStatus["PENDING"] = "PENDING";
|
|
129
|
+
ExportStatus["STARTED"] = "STARTED";
|
|
130
|
+
ExportStatus["SUCCEEDED"] = "SUCCEEDED";
|
|
131
|
+
})(ExportStatus || (ExportStatus = {}));
|
|
132
|
+
export var ImportErrorType;
|
|
133
|
+
(function (ImportErrorType) {
|
|
134
|
+
ImportErrorType["PROCESSING_ERROR"] = "PROCESSING_ERROR";
|
|
135
|
+
ImportErrorType["VALIDATION_ERROR"] = "VALIDATION_ERROR";
|
|
136
|
+
})(ImportErrorType || (ImportErrorType = {}));
|
|
137
|
+
export var ImportStatus;
|
|
138
|
+
(function (ImportStatus) {
|
|
139
|
+
ImportStatus["FAILED"] = "FAILED";
|
|
140
|
+
ImportStatus["PENDING"] = "PENDING";
|
|
141
|
+
ImportStatus["STARTED"] = "STARTED";
|
|
142
|
+
ImportStatus["SUCCEEDED"] = "SUCCEEDED";
|
|
143
|
+
})(ImportStatus || (ImportStatus = {}));
|
|
112
144
|
export var JobLogEvent;
|
|
113
145
|
(function (JobLogEvent) {
|
|
114
146
|
JobLogEvent["CLEANUP_END"] = "CLEANUP_END";
|
|
@@ -149,6 +181,14 @@ export var PostLaunchActionExecutionStatus;
|
|
|
149
181
|
PostLaunchActionExecutionStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
150
182
|
PostLaunchActionExecutionStatus["SUCCESS"] = "SUCCESS";
|
|
151
183
|
})(PostLaunchActionExecutionStatus || (PostLaunchActionExecutionStatus = {}));
|
|
184
|
+
export var SsmExternalParameter;
|
|
185
|
+
(function (SsmExternalParameter) {
|
|
186
|
+
SsmExternalParameter.visit = (value, visitor) => {
|
|
187
|
+
if (value.dynamicPath !== undefined)
|
|
188
|
+
return visitor.dynamicPath(value.dynamicPath);
|
|
189
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
190
|
+
};
|
|
191
|
+
})(SsmExternalParameter || (SsmExternalParameter = {}));
|
|
152
192
|
export var SsmParameterStoreParameterType;
|
|
153
193
|
(function (SsmParameterStoreParameterType) {
|
|
154
194
|
SsmParameterStoreParameterType["STRING"] = "STRING";
|
|
@@ -320,6 +360,7 @@ export var LifeCycleState;
|
|
|
320
360
|
LifeCycleState["DISCONNECTED"] = "DISCONNECTED";
|
|
321
361
|
LifeCycleState["DISCOVERED"] = "DISCOVERED";
|
|
322
362
|
LifeCycleState["NOT_READY"] = "NOT_READY";
|
|
363
|
+
LifeCycleState["PENDING_INSTALLATION"] = "PENDING_INSTALLATION";
|
|
323
364
|
LifeCycleState["READY_FOR_CUTOVER"] = "READY_FOR_CUTOVER";
|
|
324
365
|
LifeCycleState["READY_FOR_TEST"] = "READY_FOR_TEST";
|
|
325
366
|
LifeCycleState["STOPPED"] = "STOPPED";
|
|
@@ -404,15 +445,93 @@ export const UnarchiveApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
|
404
445
|
export const UpdateApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
405
446
|
...obj,
|
|
406
447
|
});
|
|
407
|
-
export const
|
|
448
|
+
export const ListExportErrorsRequestFilterSensitiveLog = (obj) => ({
|
|
408
449
|
...obj,
|
|
409
450
|
});
|
|
410
|
-
export const
|
|
451
|
+
export const ExportErrorDataFilterSensitiveLog = (obj) => ({
|
|
452
|
+
...obj,
|
|
453
|
+
});
|
|
454
|
+
export const ExportTaskErrorFilterSensitiveLog = (obj) => ({
|
|
455
|
+
...obj,
|
|
456
|
+
});
|
|
457
|
+
export const ListExportErrorsResponseFilterSensitiveLog = (obj) => ({
|
|
411
458
|
...obj,
|
|
412
459
|
});
|
|
413
460
|
export const ValidationExceptionFieldFilterSensitiveLog = (obj) => ({
|
|
414
461
|
...obj,
|
|
415
462
|
});
|
|
463
|
+
export const ListExportsRequestFiltersFilterSensitiveLog = (obj) => ({
|
|
464
|
+
...obj,
|
|
465
|
+
});
|
|
466
|
+
export const ListExportsRequestFilterSensitiveLog = (obj) => ({
|
|
467
|
+
...obj,
|
|
468
|
+
});
|
|
469
|
+
export const ExportTaskSummaryFilterSensitiveLog = (obj) => ({
|
|
470
|
+
...obj,
|
|
471
|
+
});
|
|
472
|
+
export const ExportTaskFilterSensitiveLog = (obj) => ({
|
|
473
|
+
...obj,
|
|
474
|
+
});
|
|
475
|
+
export const ListExportsResponseFilterSensitiveLog = (obj) => ({
|
|
476
|
+
...obj,
|
|
477
|
+
});
|
|
478
|
+
export const StartExportRequestFilterSensitiveLog = (obj) => ({
|
|
479
|
+
...obj,
|
|
480
|
+
});
|
|
481
|
+
export const StartExportResponseFilterSensitiveLog = (obj) => ({
|
|
482
|
+
...obj,
|
|
483
|
+
});
|
|
484
|
+
export const ListImportErrorsRequestFilterSensitiveLog = (obj) => ({
|
|
485
|
+
...obj,
|
|
486
|
+
});
|
|
487
|
+
export const ImportErrorDataFilterSensitiveLog = (obj) => ({
|
|
488
|
+
...obj,
|
|
489
|
+
});
|
|
490
|
+
export const ImportTaskErrorFilterSensitiveLog = (obj) => ({
|
|
491
|
+
...obj,
|
|
492
|
+
});
|
|
493
|
+
export const ListImportErrorsResponseFilterSensitiveLog = (obj) => ({
|
|
494
|
+
...obj,
|
|
495
|
+
});
|
|
496
|
+
export const ListImportsRequestFiltersFilterSensitiveLog = (obj) => ({
|
|
497
|
+
...obj,
|
|
498
|
+
});
|
|
499
|
+
export const ListImportsRequestFilterSensitiveLog = (obj) => ({
|
|
500
|
+
...obj,
|
|
501
|
+
});
|
|
502
|
+
export const S3BucketSourceFilterSensitiveLog = (obj) => ({
|
|
503
|
+
...obj,
|
|
504
|
+
});
|
|
505
|
+
export const ImportTaskSummaryApplicationsFilterSensitiveLog = (obj) => ({
|
|
506
|
+
...obj,
|
|
507
|
+
});
|
|
508
|
+
export const ImportTaskSummaryServersFilterSensitiveLog = (obj) => ({
|
|
509
|
+
...obj,
|
|
510
|
+
});
|
|
511
|
+
export const ImportTaskSummaryWavesFilterSensitiveLog = (obj) => ({
|
|
512
|
+
...obj,
|
|
513
|
+
});
|
|
514
|
+
export const ImportTaskSummaryFilterSensitiveLog = (obj) => ({
|
|
515
|
+
...obj,
|
|
516
|
+
});
|
|
517
|
+
export const ImportTaskFilterSensitiveLog = (obj) => ({
|
|
518
|
+
...obj,
|
|
519
|
+
});
|
|
520
|
+
export const ListImportsResponseFilterSensitiveLog = (obj) => ({
|
|
521
|
+
...obj,
|
|
522
|
+
});
|
|
523
|
+
export const StartImportRequestFilterSensitiveLog = (obj) => ({
|
|
524
|
+
...obj,
|
|
525
|
+
});
|
|
526
|
+
export const StartImportResponseFilterSensitiveLog = (obj) => ({
|
|
527
|
+
...obj,
|
|
528
|
+
});
|
|
529
|
+
export const InitializeServiceRequestFilterSensitiveLog = (obj) => ({
|
|
530
|
+
...obj,
|
|
531
|
+
});
|
|
532
|
+
export const InitializeServiceResponseFilterSensitiveLog = (obj) => ({
|
|
533
|
+
...obj,
|
|
534
|
+
});
|
|
416
535
|
export const DeleteJobRequestFilterSensitiveLog = (obj) => ({
|
|
417
536
|
...obj,
|
|
418
537
|
});
|
|
@@ -437,20 +556,36 @@ export const DescribeJobsRequestFiltersFilterSensitiveLog = (obj) => ({
|
|
|
437
556
|
export const DescribeJobsRequestFilterSensitiveLog = (obj) => ({
|
|
438
557
|
...obj,
|
|
439
558
|
});
|
|
559
|
+
export const SsmExternalParameterFilterSensitiveLog = (obj) => {
|
|
560
|
+
if (obj.dynamicPath !== undefined)
|
|
561
|
+
return { dynamicPath: obj.dynamicPath };
|
|
562
|
+
if (obj.$unknown !== undefined)
|
|
563
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
564
|
+
};
|
|
440
565
|
export const SsmParameterStoreParameterFilterSensitiveLog = (obj) => ({
|
|
441
566
|
...obj,
|
|
442
567
|
});
|
|
443
568
|
export const SsmDocumentFilterSensitiveLog = (obj) => ({
|
|
444
569
|
...obj,
|
|
570
|
+
...(obj.externalParameters && {
|
|
571
|
+
externalParameters: Object.entries(obj.externalParameters).reduce((acc, [key, value]) => ((acc[key] = SsmExternalParameterFilterSensitiveLog(value)), acc), {}),
|
|
572
|
+
}),
|
|
445
573
|
});
|
|
446
574
|
export const JobPostLaunchActionsLaunchStatusFilterSensitiveLog = (obj) => ({
|
|
447
575
|
...obj,
|
|
576
|
+
...(obj.ssmDocument && { ssmDocument: SsmDocumentFilterSensitiveLog(obj.ssmDocument) }),
|
|
448
577
|
});
|
|
449
578
|
export const PostLaunchActionsStatusFilterSensitiveLog = (obj) => ({
|
|
450
579
|
...obj,
|
|
580
|
+
...(obj.postLaunchActionsLaunchStatusList && {
|
|
581
|
+
postLaunchActionsLaunchStatusList: obj.postLaunchActionsLaunchStatusList.map((item) => JobPostLaunchActionsLaunchStatusFilterSensitiveLog(item)),
|
|
582
|
+
}),
|
|
451
583
|
});
|
|
452
584
|
export const ParticipatingServerFilterSensitiveLog = (obj) => ({
|
|
453
585
|
...obj,
|
|
586
|
+
...(obj.postLaunchActionsStatus && {
|
|
587
|
+
postLaunchActionsStatus: PostLaunchActionsStatusFilterSensitiveLog(obj.postLaunchActionsStatus),
|
|
588
|
+
}),
|
|
454
589
|
});
|
|
455
590
|
export const JobFilterSensitiveLog = (obj) => ({
|
|
456
591
|
...obj,
|
|
@@ -468,13 +603,16 @@ export const LicensingFilterSensitiveLog = (obj) => ({
|
|
|
468
603
|
});
|
|
469
604
|
export const PostLaunchActionsFilterSensitiveLog = (obj) => ({
|
|
470
605
|
...obj,
|
|
606
|
+
...(obj.ssmDocuments && { ssmDocuments: obj.ssmDocuments.map((item) => SsmDocumentFilterSensitiveLog(item)) }),
|
|
471
607
|
});
|
|
472
608
|
export const CreateLaunchConfigurationTemplateRequestFilterSensitiveLog = (obj) => ({
|
|
473
609
|
...obj,
|
|
610
|
+
...(obj.postLaunchActions && { postLaunchActions: PostLaunchActionsFilterSensitiveLog(obj.postLaunchActions) }),
|
|
474
611
|
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
475
612
|
});
|
|
476
613
|
export const LaunchConfigurationTemplateFilterSensitiveLog = (obj) => ({
|
|
477
614
|
...obj,
|
|
615
|
+
...(obj.postLaunchActions && { postLaunchActions: PostLaunchActionsFilterSensitiveLog(obj.postLaunchActions) }),
|
|
478
616
|
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
479
617
|
});
|
|
480
618
|
export const DeleteLaunchConfigurationTemplateRequestFilterSensitiveLog = (obj) => ({
|
|
@@ -498,12 +636,19 @@ export const ListTemplateActionsRequestFilterSensitiveLog = (obj) => ({
|
|
|
498
636
|
});
|
|
499
637
|
export const TemplateActionDocumentFilterSensitiveLog = (obj) => ({
|
|
500
638
|
...obj,
|
|
639
|
+
...(obj.externalParameters && {
|
|
640
|
+
externalParameters: Object.entries(obj.externalParameters).reduce((acc, [key, value]) => ((acc[key] = SsmExternalParameterFilterSensitiveLog(value)), acc), {}),
|
|
641
|
+
}),
|
|
501
642
|
});
|
|
502
643
|
export const ListTemplateActionsResponseFilterSensitiveLog = (obj) => ({
|
|
503
644
|
...obj,
|
|
645
|
+
...(obj.items && { items: obj.items.map((item) => TemplateActionDocumentFilterSensitiveLog(item)) }),
|
|
504
646
|
});
|
|
505
647
|
export const PutTemplateActionRequestFilterSensitiveLog = (obj) => ({
|
|
506
648
|
...obj,
|
|
649
|
+
...(obj.externalParameters && {
|
|
650
|
+
externalParameters: Object.entries(obj.externalParameters).reduce((acc, [key, value]) => ((acc[key] = SsmExternalParameterFilterSensitiveLog(value)), acc), {}),
|
|
651
|
+
}),
|
|
507
652
|
});
|
|
508
653
|
export const RemoveTemplateActionRequestFilterSensitiveLog = (obj) => ({
|
|
509
654
|
...obj,
|
|
@@ -513,6 +658,7 @@ export const RemoveTemplateActionResponseFilterSensitiveLog = (obj) => ({
|
|
|
513
658
|
});
|
|
514
659
|
export const UpdateLaunchConfigurationTemplateRequestFilterSensitiveLog = (obj) => ({
|
|
515
660
|
...obj,
|
|
661
|
+
...(obj.postLaunchActions && { postLaunchActions: PostLaunchActionsFilterSensitiveLog(obj.postLaunchActions) }),
|
|
516
662
|
});
|
|
517
663
|
export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
518
664
|
...obj,
|
|
@@ -648,6 +794,7 @@ export const GetLaunchConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
|
648
794
|
});
|
|
649
795
|
export const LaunchConfigurationFilterSensitiveLog = (obj) => ({
|
|
650
796
|
...obj,
|
|
797
|
+
...(obj.postLaunchActions && { postLaunchActions: PostLaunchActionsFilterSensitiveLog(obj.postLaunchActions) }),
|
|
651
798
|
});
|
|
652
799
|
export const GetReplicationConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
653
800
|
...obj,
|
|
@@ -667,15 +814,22 @@ export const ListSourceServerActionsRequestFilterSensitiveLog = (obj) => ({
|
|
|
667
814
|
});
|
|
668
815
|
export const SourceServerActionDocumentFilterSensitiveLog = (obj) => ({
|
|
669
816
|
...obj,
|
|
817
|
+
...(obj.externalParameters && {
|
|
818
|
+
externalParameters: Object.entries(obj.externalParameters).reduce((acc, [key, value]) => ((acc[key] = SsmExternalParameterFilterSensitiveLog(value)), acc), {}),
|
|
819
|
+
}),
|
|
670
820
|
});
|
|
671
821
|
export const ListSourceServerActionsResponseFilterSensitiveLog = (obj) => ({
|
|
672
822
|
...obj,
|
|
823
|
+
...(obj.items && { items: obj.items.map((item) => SourceServerActionDocumentFilterSensitiveLog(item)) }),
|
|
673
824
|
});
|
|
674
825
|
export const MarkAsArchivedRequestFilterSensitiveLog = (obj) => ({
|
|
675
826
|
...obj,
|
|
676
827
|
});
|
|
677
828
|
export const PutSourceServerActionRequestFilterSensitiveLog = (obj) => ({
|
|
678
829
|
...obj,
|
|
830
|
+
...(obj.externalParameters && {
|
|
831
|
+
externalParameters: Object.entries(obj.externalParameters).reduce((acc, [key, value]) => ((acc[key] = SsmExternalParameterFilterSensitiveLog(value)), acc), {}),
|
|
832
|
+
}),
|
|
679
833
|
});
|
|
680
834
|
export const RemoveSourceServerActionRequestFilterSensitiveLog = (obj) => ({
|
|
681
835
|
...obj,
|
|
@@ -715,6 +869,7 @@ export const TerminateTargetInstancesResponseFilterSensitiveLog = (obj) => ({
|
|
|
715
869
|
});
|
|
716
870
|
export const UpdateLaunchConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
717
871
|
...obj,
|
|
872
|
+
...(obj.postLaunchActions && { postLaunchActions: PostLaunchActionsFilterSensitiveLog(obj.postLaunchActions) }),
|
|
718
873
|
});
|
|
719
874
|
export const UpdateReplicationConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
720
875
|
...obj,
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListExportErrorsCommand, } from "../commands/ListExportErrorsCommand";
|
|
2
|
+
import { MgnClient } from "../MgnClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListExportErrorsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListExportErrors(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof MgnClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected Mgn | MgnClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListExportsCommand } from "../commands/ListExportsCommand";
|
|
2
|
+
import { MgnClient } from "../MgnClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListExportsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListExports(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof MgnClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected Mgn | MgnClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListImportErrorsCommand, } from "../commands/ListImportErrorsCommand";
|
|
2
|
+
import { MgnClient } from "../MgnClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListImportErrorsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListImportErrors(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof MgnClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected Mgn | MgnClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListImportsCommand } from "../commands/ListImportsCommand";
|
|
2
|
+
import { MgnClient } from "../MgnClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new ListImportsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateListImports(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.nextToken = token;
|
|
12
|
+
input["maxResults"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof MgnClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected Mgn | MgnClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.nextToken;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -6,6 +6,10 @@ export * from "./DescribeSourceServersPaginator";
|
|
|
6
6
|
export * from "./DescribeVcenterClientsPaginator";
|
|
7
7
|
export * from "./Interfaces";
|
|
8
8
|
export * from "./ListApplicationsPaginator";
|
|
9
|
+
export * from "./ListExportErrorsPaginator";
|
|
10
|
+
export * from "./ListExportsPaginator";
|
|
11
|
+
export * from "./ListImportErrorsPaginator";
|
|
12
|
+
export * from "./ListImportsPaginator";
|
|
9
13
|
export * from "./ListSourceServerActionsPaginator";
|
|
10
14
|
export * from "./ListTemplateActionsPaginator";
|
|
11
15
|
export * from "./ListWavesPaginator";
|