@aws-sdk/client-mgn 3.928.0 → 3.929.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/dist-cjs/index.js +2378 -3304
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/MgnClient.js +2 -0
- package/dist-es/commands/ArchiveApplicationCommand.js +3 -10
- package/dist-es/commands/ArchiveWaveCommand.js +3 -10
- package/dist-es/commands/AssociateApplicationsCommand.js +3 -9
- package/dist-es/commands/AssociateSourceServersCommand.js +3 -9
- package/dist-es/commands/ChangeServerLifeCycleStateCommand.js +3 -10
- package/dist-es/commands/CreateApplicationCommand.js +3 -10
- package/dist-es/commands/CreateConnectorCommand.js +3 -10
- package/dist-es/commands/CreateLaunchConfigurationTemplateCommand.js +3 -10
- package/dist-es/commands/CreateReplicationConfigurationTemplateCommand.js +3 -10
- package/dist-es/commands/CreateWaveCommand.js +3 -10
- package/dist-es/commands/DeleteApplicationCommand.js +3 -9
- package/dist-es/commands/DeleteConnectorCommand.js +3 -9
- package/dist-es/commands/DeleteJobCommand.js +3 -9
- package/dist-es/commands/DeleteLaunchConfigurationTemplateCommand.js +3 -9
- package/dist-es/commands/DeleteReplicationConfigurationTemplateCommand.js +3 -9
- package/dist-es/commands/DeleteSourceServerCommand.js +3 -9
- package/dist-es/commands/DeleteVcenterClientCommand.js +3 -9
- package/dist-es/commands/DeleteWaveCommand.js +3 -9
- package/dist-es/commands/DescribeJobLogItemsCommand.js +3 -9
- package/dist-es/commands/DescribeJobsCommand.js +3 -10
- package/dist-es/commands/DescribeLaunchConfigurationTemplatesCommand.js +3 -10
- package/dist-es/commands/DescribeReplicationConfigurationTemplatesCommand.js +3 -10
- package/dist-es/commands/DescribeSourceServersCommand.js +3 -10
- package/dist-es/commands/DescribeVcenterClientsCommand.js +3 -10
- package/dist-es/commands/DisassociateApplicationsCommand.js +3 -9
- package/dist-es/commands/DisassociateSourceServersCommand.js +3 -9
- package/dist-es/commands/DisconnectFromServiceCommand.js +3 -10
- package/dist-es/commands/FinalizeCutoverCommand.js +3 -10
- package/dist-es/commands/GetLaunchConfigurationCommand.js +3 -9
- package/dist-es/commands/GetReplicationConfigurationCommand.js +3 -10
- package/dist-es/commands/InitializeServiceCommand.js +3 -9
- package/dist-es/commands/ListApplicationsCommand.js +3 -10
- package/dist-es/commands/ListConnectorsCommand.js +3 -10
- package/dist-es/commands/ListExportErrorsCommand.js +3 -9
- package/dist-es/commands/ListExportsCommand.js +3 -9
- package/dist-es/commands/ListImportErrorsCommand.js +3 -9
- package/dist-es/commands/ListImportsCommand.js +3 -9
- package/dist-es/commands/ListManagedAccountsCommand.js +3 -9
- package/dist-es/commands/ListSourceServerActionsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -10
- package/dist-es/commands/ListTemplateActionsCommand.js +3 -9
- package/dist-es/commands/ListWavesCommand.js +3 -10
- package/dist-es/commands/MarkAsArchivedCommand.js +3 -10
- package/dist-es/commands/PauseReplicationCommand.js +3 -10
- package/dist-es/commands/PutSourceServerActionCommand.js +3 -9
- package/dist-es/commands/PutTemplateActionCommand.js +3 -9
- package/dist-es/commands/RemoveSourceServerActionCommand.js +3 -9
- package/dist-es/commands/RemoveTemplateActionCommand.js +3 -9
- package/dist-es/commands/ResumeReplicationCommand.js +3 -10
- package/dist-es/commands/RetryDataReplicationCommand.js +3 -10
- package/dist-es/commands/StartCutoverCommand.js +3 -10
- package/dist-es/commands/StartExportCommand.js +3 -9
- package/dist-es/commands/StartImportCommand.js +3 -9
- package/dist-es/commands/StartReplicationCommand.js +3 -10
- package/dist-es/commands/StartTestCommand.js +3 -10
- package/dist-es/commands/StopReplicationCommand.js +3 -10
- package/dist-es/commands/TagResourceCommand.js +3 -10
- package/dist-es/commands/TerminateTargetInstancesCommand.js +3 -10
- package/dist-es/commands/UnarchiveApplicationCommand.js +3 -10
- package/dist-es/commands/UnarchiveWaveCommand.js +3 -10
- package/dist-es/commands/UntagResourceCommand.js +3 -10
- package/dist-es/commands/UpdateApplicationCommand.js +3 -10
- package/dist-es/commands/UpdateConnectorCommand.js +3 -10
- package/dist-es/commands/UpdateLaunchConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateLaunchConfigurationTemplateCommand.js +3 -10
- package/dist-es/commands/UpdateReplicationConfigurationCommand.js +3 -10
- package/dist-es/commands/UpdateReplicationConfigurationTemplateCommand.js +3 -10
- package/dist-es/commands/UpdateSourceServerCommand.js +3 -10
- package/dist-es/commands/UpdateSourceServerReplicationTypeCommand.js +3 -10
- package/dist-es/commands/UpdateWaveCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -138
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +2237 -0
- package/dist-types/MgnClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -132
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +313 -0
- package/dist-types/ts3.4/MgnClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -89
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +319 -0
- package/package.json +2 -3
- package/dist-es/protocols/Aws_restJson1.js +0 -2625
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -632
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -845
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateSourceServerReplicationTypeCommand, se_UpdateSourceServerReplicationTypeCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateSourceServerReplicationType } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateSourceServerReplicationTypeCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("ApplicationMigrationService", "UpdateSourceServerReplicationType", {})
|
|
18
13
|
.n("MgnClient", "UpdateSourceServerReplicationTypeCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateSourceServerReplicationTypeCommand)
|
|
21
|
-
.de(de_UpdateSourceServerReplicationTypeCommand)
|
|
14
|
+
.sc(UpdateSourceServerReplicationType)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateWaveCommand, se_UpdateWaveCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateWave } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateWaveCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("ApplicationMigrationService", "UpdateWave", {})
|
|
18
13
|
.n("MgnClient", "UpdateWaveCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateWaveCommand)
|
|
21
|
-
.de(de_UpdateWaveCommand)
|
|
14
|
+
.sc(UpdateWave)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { MgnServiceException as __BaseException } from "./MgnServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -384,140 +383,3 @@ export const WaveProgressStatus = {
|
|
|
384
383
|
IN_PROGRESS: "IN_PROGRESS",
|
|
385
384
|
NOT_STARTED: "NOT_STARTED",
|
|
386
385
|
};
|
|
387
|
-
export const ApplicationFilterSensitiveLog = (obj) => ({
|
|
388
|
-
...obj,
|
|
389
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
390
|
-
});
|
|
391
|
-
export const CreateApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
392
|
-
...obj,
|
|
393
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
394
|
-
});
|
|
395
|
-
export const ListApplicationsResponseFilterSensitiveLog = (obj) => ({
|
|
396
|
-
...obj,
|
|
397
|
-
...(obj.items && { items: obj.items.map((item) => ApplicationFilterSensitiveLog(item)) }),
|
|
398
|
-
});
|
|
399
|
-
export const ConnectorFilterSensitiveLog = (obj) => ({
|
|
400
|
-
...obj,
|
|
401
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
402
|
-
});
|
|
403
|
-
export const CreateConnectorRequestFilterSensitiveLog = (obj) => ({
|
|
404
|
-
...obj,
|
|
405
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
406
|
-
});
|
|
407
|
-
export const ListConnectorsResponseFilterSensitiveLog = (obj) => ({
|
|
408
|
-
...obj,
|
|
409
|
-
...(obj.items && { items: obj.items.map((item) => ConnectorFilterSensitiveLog(item)) }),
|
|
410
|
-
});
|
|
411
|
-
export const JobFilterSensitiveLog = (obj) => ({
|
|
412
|
-
...obj,
|
|
413
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
414
|
-
});
|
|
415
|
-
export const DescribeJobsResponseFilterSensitiveLog = (obj) => ({
|
|
416
|
-
...obj,
|
|
417
|
-
...(obj.items && { items: obj.items.map((item) => JobFilterSensitiveLog(item)) }),
|
|
418
|
-
});
|
|
419
|
-
export const CreateLaunchConfigurationTemplateRequestFilterSensitiveLog = (obj) => ({
|
|
420
|
-
...obj,
|
|
421
|
-
...(obj.postLaunchActions && { postLaunchActions: obj.postLaunchActions }),
|
|
422
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
423
|
-
});
|
|
424
|
-
export const LaunchConfigurationTemplateFilterSensitiveLog = (obj) => ({
|
|
425
|
-
...obj,
|
|
426
|
-
...(obj.postLaunchActions && { postLaunchActions: obj.postLaunchActions }),
|
|
427
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
428
|
-
});
|
|
429
|
-
export const DescribeLaunchConfigurationTemplatesResponseFilterSensitiveLog = (obj) => ({
|
|
430
|
-
...obj,
|
|
431
|
-
...(obj.items && { items: obj.items.map((item) => LaunchConfigurationTemplateFilterSensitiveLog(item)) }),
|
|
432
|
-
});
|
|
433
|
-
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
434
|
-
...obj,
|
|
435
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
436
|
-
});
|
|
437
|
-
export const CreateReplicationConfigurationTemplateRequestFilterSensitiveLog = (obj) => ({
|
|
438
|
-
...obj,
|
|
439
|
-
...(obj.stagingAreaTags && { stagingAreaTags: SENSITIVE_STRING }),
|
|
440
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
441
|
-
});
|
|
442
|
-
export const ReplicationConfigurationTemplateFilterSensitiveLog = (obj) => ({
|
|
443
|
-
...obj,
|
|
444
|
-
...(obj.stagingAreaTags && { stagingAreaTags: SENSITIVE_STRING }),
|
|
445
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
446
|
-
});
|
|
447
|
-
export const DescribeReplicationConfigurationTemplatesResponseFilterSensitiveLog = (obj) => ({
|
|
448
|
-
...obj,
|
|
449
|
-
...(obj.items && { items: obj.items.map((item) => ReplicationConfigurationTemplateFilterSensitiveLog(item)) }),
|
|
450
|
-
});
|
|
451
|
-
export const UpdateReplicationConfigurationTemplateRequestFilterSensitiveLog = (obj) => ({
|
|
452
|
-
...obj,
|
|
453
|
-
...(obj.stagingAreaTags && { stagingAreaTags: SENSITIVE_STRING }),
|
|
454
|
-
});
|
|
455
|
-
export const SourceServerFilterSensitiveLog = (obj) => ({
|
|
456
|
-
...obj,
|
|
457
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
458
|
-
});
|
|
459
|
-
export const DescribeSourceServersResponseFilterSensitiveLog = (obj) => ({
|
|
460
|
-
...obj,
|
|
461
|
-
...(obj.items && { items: obj.items.map((item) => SourceServerFilterSensitiveLog(item)) }),
|
|
462
|
-
});
|
|
463
|
-
export const ReplicationConfigurationFilterSensitiveLog = (obj) => ({
|
|
464
|
-
...obj,
|
|
465
|
-
...(obj.stagingAreaTags && { stagingAreaTags: SENSITIVE_STRING }),
|
|
466
|
-
});
|
|
467
|
-
export const StartCutoverRequestFilterSensitiveLog = (obj) => ({
|
|
468
|
-
...obj,
|
|
469
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
470
|
-
});
|
|
471
|
-
export const StartCutoverResponseFilterSensitiveLog = (obj) => ({
|
|
472
|
-
...obj,
|
|
473
|
-
...(obj.job && { job: JobFilterSensitiveLog(obj.job) }),
|
|
474
|
-
});
|
|
475
|
-
export const StartTestRequestFilterSensitiveLog = (obj) => ({
|
|
476
|
-
...obj,
|
|
477
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
478
|
-
});
|
|
479
|
-
export const StartTestResponseFilterSensitiveLog = (obj) => ({
|
|
480
|
-
...obj,
|
|
481
|
-
...(obj.job && { job: JobFilterSensitiveLog(obj.job) }),
|
|
482
|
-
});
|
|
483
|
-
export const TerminateTargetInstancesRequestFilterSensitiveLog = (obj) => ({
|
|
484
|
-
...obj,
|
|
485
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
486
|
-
});
|
|
487
|
-
export const TerminateTargetInstancesResponseFilterSensitiveLog = (obj) => ({
|
|
488
|
-
...obj,
|
|
489
|
-
...(obj.job && { job: JobFilterSensitiveLog(obj.job) }),
|
|
490
|
-
});
|
|
491
|
-
export const UpdateReplicationConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
492
|
-
...obj,
|
|
493
|
-
...(obj.stagingAreaTags && { stagingAreaTags: SENSITIVE_STRING }),
|
|
494
|
-
});
|
|
495
|
-
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
496
|
-
...obj,
|
|
497
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
498
|
-
});
|
|
499
|
-
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
500
|
-
...obj,
|
|
501
|
-
...(obj.tagKeys && { tagKeys: SENSITIVE_STRING }),
|
|
502
|
-
});
|
|
503
|
-
export const VcenterClientFilterSensitiveLog = (obj) => ({
|
|
504
|
-
...obj,
|
|
505
|
-
...(obj.sourceServerTags && { sourceServerTags: SENSITIVE_STRING }),
|
|
506
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
507
|
-
});
|
|
508
|
-
export const DescribeVcenterClientsResponseFilterSensitiveLog = (obj) => ({
|
|
509
|
-
...obj,
|
|
510
|
-
...(obj.items && { items: obj.items.map((item) => VcenterClientFilterSensitiveLog(item)) }),
|
|
511
|
-
});
|
|
512
|
-
export const WaveFilterSensitiveLog = (obj) => ({
|
|
513
|
-
...obj,
|
|
514
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
515
|
-
});
|
|
516
|
-
export const CreateWaveRequestFilterSensitiveLog = (obj) => ({
|
|
517
|
-
...obj,
|
|
518
|
-
...(obj.tags && { tags: SENSITIVE_STRING }),
|
|
519
|
-
});
|
|
520
|
-
export const ListWavesResponseFilterSensitiveLog = (obj) => ({
|
|
521
|
-
...obj,
|
|
522
|
-
...(obj.items && { items: obj.items.map((item) => WaveFilterSensitiveLog(item)) }),
|
|
523
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.mgn" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "mgn",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|