@aws-sdk/client-mgn 3.42.0 → 3.47.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.
Files changed (56) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/dist-cjs/Mgn.js +60 -0
  3. package/dist-cjs/commands/DeleteVcenterClientCommand.js +36 -0
  4. package/dist-cjs/commands/DescribeVcenterClientsCommand.js +36 -0
  5. package/dist-cjs/commands/StartReplicationCommand.js +36 -0
  6. package/dist-cjs/commands/UpdateSourceServerReplicationTypeCommand.js +36 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/endpoints.js +1 -0
  9. package/dist-cjs/models/models_0.js +51 -44
  10. package/dist-cjs/pagination/DescribeVcenterClientsPaginator.js +35 -0
  11. package/dist-cjs/pagination/index.js +1 -0
  12. package/dist-cjs/protocols/Aws_restJson1.js +574 -1
  13. package/dist-cjs/runtimeConfig.browser.js +7 -2
  14. package/dist-cjs/runtimeConfig.js +9 -3
  15. package/dist-es/Mgn.js +60 -0
  16. package/dist-es/commands/DeleteVcenterClientCommand.js +39 -0
  17. package/dist-es/commands/DescribeVcenterClientsCommand.js +39 -0
  18. package/dist-es/commands/StartReplicationCommand.js +39 -0
  19. package/dist-es/commands/UpdateSourceServerReplicationTypeCommand.js +39 -0
  20. package/dist-es/commands/index.js +4 -0
  21. package/dist-es/endpoints.js +1 -0
  22. package/dist-es/models/models_0.js +34 -28
  23. package/dist-es/pagination/DescribeVcenterClientsPaginator.js +74 -0
  24. package/dist-es/pagination/index.js +1 -0
  25. package/dist-es/protocols/Aws_restJson1.js +643 -6
  26. package/dist-es/runtimeConfig.browser.js +12 -3
  27. package/dist-es/runtimeConfig.js +13 -6
  28. package/dist-types/Mgn.d.ts +28 -0
  29. package/dist-types/MgnClient.d.ts +11 -3
  30. package/dist-types/commands/DeleteVcenterClientCommand.d.ts +35 -0
  31. package/dist-types/commands/DescribeVcenterClientsCommand.d.ts +35 -0
  32. package/dist-types/commands/StartReplicationCommand.d.ts +35 -0
  33. package/dist-types/commands/UpdateSourceServerReplicationTypeCommand.d.ts +35 -0
  34. package/dist-types/commands/index.d.ts +4 -0
  35. package/dist-types/models/models_0.d.ts +178 -43
  36. package/dist-types/pagination/DescribeVcenterClientsPaginator.d.ts +4 -0
  37. package/dist-types/pagination/index.d.ts +1 -0
  38. package/dist-types/protocols/Aws_restJson1.d.ts +12 -0
  39. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  40. package/dist-types/runtimeConfig.d.ts +4 -3
  41. package/dist-types/runtimeConfig.native.d.ts +1 -0
  42. package/dist-types/ts3.4/Mgn.d.ts +20 -0
  43. package/dist-types/ts3.4/MgnClient.d.ts +9 -3
  44. package/dist-types/ts3.4/commands/DeleteVcenterClientCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/DescribeVcenterClientsCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/StartReplicationCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/UpdateSourceServerReplicationTypeCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  49. package/dist-types/ts3.4/models/models_0.d.ts +110 -29
  50. package/dist-types/ts3.4/pagination/DescribeVcenterClientsPaginator.d.ts +4 -0
  51. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  52. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  53. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  54. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  55. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  56. package/package.json +38 -45
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
4
+ import { DeleteVcenterClientRequest } from "../models/models_0";
5
+ export interface DeleteVcenterClientCommandInput extends DeleteVcenterClientRequest {
6
+ }
7
+ export interface DeleteVcenterClientCommandOutput extends __MetadataBearer {
8
+ }
9
+
10
+ export declare class DeleteVcenterClientCommand extends $Command<DeleteVcenterClientCommandInput, DeleteVcenterClientCommandOutput, MgnClientResolvedConfig> {
11
+ readonly input: DeleteVcenterClientCommandInput;
12
+ constructor(input: DeleteVcenterClientCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteVcenterClientCommandInput, DeleteVcenterClientCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
4
+ import { DescribeVcenterClientsRequest, DescribeVcenterClientsResponse } from "../models/models_0";
5
+ export interface DescribeVcenterClientsCommandInput extends DescribeVcenterClientsRequest {
6
+ }
7
+ export interface DescribeVcenterClientsCommandOutput extends DescribeVcenterClientsResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DescribeVcenterClientsCommand extends $Command<DescribeVcenterClientsCommandInput, DescribeVcenterClientsCommandOutput, MgnClientResolvedConfig> {
11
+ readonly input: DescribeVcenterClientsCommandInput;
12
+ constructor(input: DescribeVcenterClientsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeVcenterClientsCommandInput, DescribeVcenterClientsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
4
+ import { SourceServer, StartReplicationRequest } from "../models/models_0";
5
+ export interface StartReplicationCommandInput extends StartReplicationRequest {
6
+ }
7
+ export interface StartReplicationCommandOutput extends SourceServer, __MetadataBearer {
8
+ }
9
+
10
+ export declare class StartReplicationCommand extends $Command<StartReplicationCommandInput, StartReplicationCommandOutput, MgnClientResolvedConfig> {
11
+ readonly input: StartReplicationCommandInput;
12
+ constructor(input: StartReplicationCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartReplicationCommandInput, StartReplicationCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { MgnClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MgnClient";
4
+ import { SourceServer, UpdateSourceServerReplicationTypeRequest } from "../models/models_0";
5
+ export interface UpdateSourceServerReplicationTypeCommandInput extends UpdateSourceServerReplicationTypeRequest {
6
+ }
7
+ export interface UpdateSourceServerReplicationTypeCommandOutput extends SourceServer, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UpdateSourceServerReplicationTypeCommand extends $Command<UpdateSourceServerReplicationTypeCommandInput, UpdateSourceServerReplicationTypeCommandOutput, MgnClientResolvedConfig> {
11
+ readonly input: UpdateSourceServerReplicationTypeCommandInput;
12
+ constructor(input: UpdateSourceServerReplicationTypeCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MgnClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateSourceServerReplicationTypeCommandInput, UpdateSourceServerReplicationTypeCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -3,10 +3,12 @@ export * from "./CreateReplicationConfigurationTemplateCommand";
3
3
  export * from "./DeleteJobCommand";
4
4
  export * from "./DeleteReplicationConfigurationTemplateCommand";
5
5
  export * from "./DeleteSourceServerCommand";
6
+ export * from "./DeleteVcenterClientCommand";
6
7
  export * from "./DescribeJobLogItemsCommand";
7
8
  export * from "./DescribeJobsCommand";
8
9
  export * from "./DescribeReplicationConfigurationTemplatesCommand";
9
10
  export * from "./DescribeSourceServersCommand";
11
+ export * from "./DescribeVcenterClientsCommand";
10
12
  export * from "./DisconnectFromServiceCommand";
11
13
  export * from "./FinalizeCutoverCommand";
12
14
  export * from "./GetLaunchConfigurationCommand";
@@ -16,6 +18,7 @@ export * from "./ListTagsForResourceCommand";
16
18
  export * from "./MarkAsArchivedCommand";
17
19
  export * from "./RetryDataReplicationCommand";
18
20
  export * from "./StartCutoverCommand";
21
+ export * from "./StartReplicationCommand";
19
22
  export * from "./StartTestCommand";
20
23
  export * from "./TagResourceCommand";
21
24
  export * from "./TerminateTargetInstancesCommand";
@@ -23,3 +26,4 @@ export * from "./UntagResourceCommand";
23
26
  export * from "./UpdateLaunchConfigurationCommand";
24
27
  export * from "./UpdateReplicationConfigurationCommand";
25
28
  export * from "./UpdateReplicationConfigurationTemplateCommand";
29
+ export * from "./UpdateSourceServerReplicationTypeCommand";
@@ -6,10 +6,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
6
6
  message?: string;
7
7
  code?: string;
8
8
  }
9
- export declare namespace AccessDeniedException {
10
-
11
- const filterSensitiveLog: (obj: AccessDeniedException) => any;
12
- }
13
9
  export interface InitializeServiceRequest {
14
10
  }
15
11
  export declare namespace InitializeServiceRequest {
@@ -50,10 +46,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
50
46
 
51
47
  fieldList?: ValidationExceptionField[];
52
48
  }
53
- export declare namespace ValidationException {
54
-
55
- const filterSensitiveLog: (obj: ValidationException) => any;
56
- }
57
49
 
58
50
  export interface ConflictException extends __SmithyException, $MetadataBearer {
59
51
  name: "ConflictException";
@@ -65,10 +57,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
65
57
 
66
58
  resourceType?: string;
67
59
  }
68
- export declare namespace ConflictException {
69
-
70
- const filterSensitiveLog: (obj: ConflictException) => any;
71
- }
72
60
  export interface DeleteJobRequest {
73
61
 
74
62
  jobID: string | undefined;
@@ -94,10 +82,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
94
82
 
95
83
  resourceType?: string;
96
84
  }
97
- export declare namespace ResourceNotFoundException {
98
-
99
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
100
- }
101
85
 
102
86
  export interface UninitializedAccountException extends __SmithyException, $MetadataBearer {
103
87
  name: "UninitializedAccountException";
@@ -105,10 +89,6 @@ export interface UninitializedAccountException extends __SmithyException, $Metad
105
89
  message?: string;
106
90
  code?: string;
107
91
  }
108
- export declare namespace UninitializedAccountException {
109
-
110
- const filterSensitiveLog: (obj: UninitializedAccountException) => any;
111
- }
112
92
  export interface DescribeJobLogItemsRequest {
113
93
 
114
94
  jobID: string | undefined;
@@ -280,10 +260,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
280
260
 
281
261
  retryAfterSeconds?: number;
282
262
  }
283
- export declare namespace InternalServerException {
284
-
285
- const filterSensitiveLog: (obj: InternalServerException) => any;
286
- }
287
263
  export interface ListTagsForResourceRequest {
288
264
 
289
265
  resourceArn: string | undefined;
@@ -314,10 +290,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
314
290
 
315
291
  retryAfterSeconds?: string;
316
292
  }
317
- export declare namespace ThrottlingException {
318
-
319
- const filterSensitiveLog: (obj: ThrottlingException) => any;
320
- }
321
293
  export declare enum ReplicationConfigurationDataPlaneRouting {
322
294
  PRIVATE_IP = "PRIVATE_IP",
323
295
  PUBLIC_IP = "PUBLIC_IP"
@@ -514,9 +486,11 @@ export declare enum DataReplicationErrorString {
514
486
  FAILED_TO_LAUNCH_REPLICATION_SERVER = "FAILED_TO_LAUNCH_REPLICATION_SERVER",
515
487
  FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT = "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT",
516
488
  FAILED_TO_START_DATA_TRANSFER = "FAILED_TO_START_DATA_TRANSFER",
489
+ LAST_SNAPSHOT_JOB_FAILED = "LAST_SNAPSHOT_JOB_FAILED",
517
490
  NOT_CONVERGING = "NOT_CONVERGING",
518
491
  SNAPSHOTS_FAILURE = "SNAPSHOTS_FAILURE",
519
- UNSTABLE_NETWORK = "UNSTABLE_NETWORK"
492
+ UNSTABLE_NETWORK = "UNSTABLE_NETWORK",
493
+ UNSUPPORTED_VM_CONFIGURATION = "UNSUPPORTED_VM_CONFIGURATION"
520
494
  }
521
495
 
522
496
  export interface DataReplicationError {
@@ -581,7 +555,9 @@ export declare enum DataReplicationState {
581
555
  INITIAL_SYNC = "INITIAL_SYNC",
582
556
  INITIATING = "INITIATING",
583
557
  PAUSED = "PAUSED",
558
+ PENDING_SNAPSHOT_SHIPPING = "PENDING_SNAPSHOT_SHIPPING",
584
559
  RESCAN = "RESCAN",
560
+ SHIPPING_SNAPSHOT = "SHIPPING_SNAPSHOT",
585
561
  STALLED = "STALLED",
586
562
  STOPPED = "STOPPED"
587
563
  }
@@ -616,6 +592,8 @@ export interface DataReplicationInfo {
616
592
  dataReplicationInitiation?: DataReplicationInitiation;
617
593
 
618
594
  dataReplicationError?: DataReplicationError;
595
+
596
+ lastSnapshotDateTime?: string;
619
597
  }
620
598
  export declare namespace DataReplicationInfo {
621
599
 
@@ -728,6 +706,7 @@ export declare enum LifeCycleState {
728
706
  CUTOVER = "CUTOVER",
729
707
  CUTTING_OVER = "CUTTING_OVER",
730
708
  DISCONNECTED = "DISCONNECTED",
709
+ DISCOVERED = "DISCOVERED",
731
710
  NOT_READY = "NOT_READY",
732
711
  READY_FOR_CUTOVER = "READY_FOR_CUTOVER",
733
712
  READY_FOR_TEST = "READY_FOR_TEST",
@@ -755,6 +734,10 @@ export declare namespace LifeCycle {
755
734
 
756
735
  const filterSensitiveLog: (obj: LifeCycle) => any;
757
736
  }
737
+ export declare enum ReplicationType {
738
+ AGENT_BASED = "AGENT_BASED",
739
+ SNAPSHOT_SHIPPING = "SNAPSHOT_SHIPPING"
740
+ }
758
741
 
759
742
  export interface CPU {
760
743
 
@@ -787,6 +770,8 @@ export interface IdentificationHints {
787
770
  vmWareUuid?: string;
788
771
 
789
772
  awsInstanceID?: string;
773
+
774
+ vmPath?: string;
790
775
  }
791
776
  export declare namespace IdentificationHints {
792
777
 
@@ -856,6 +841,10 @@ export interface SourceServer {
856
841
  lifeCycle?: LifeCycle;
857
842
 
858
843
  sourceProperties?: SourceProperties;
844
+
845
+ replicationType?: ReplicationType | string;
846
+
847
+ vcenterClientID?: string;
859
848
  }
860
849
  export declare namespace SourceServer {
861
850
 
@@ -881,6 +870,10 @@ export interface DescribeSourceServersRequestFilters {
881
870
  sourceServerIDs?: string[];
882
871
 
883
872
  isArchived?: boolean;
873
+
874
+ replicationTypes?: (ReplicationType | string)[];
875
+
876
+ lifeCycleStates?: (LifeCycleState | string)[];
884
877
  }
885
878
  export declare namespace DescribeSourceServersRequestFilters {
886
879
 
@@ -1076,6 +1069,29 @@ export declare namespace StartCutoverResponse {
1076
1069
 
1077
1070
  const filterSensitiveLog: (obj: StartCutoverResponse) => any;
1078
1071
  }
1072
+
1073
+ export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
1074
+ name: "ServiceQuotaExceededException";
1075
+ $fault: "client";
1076
+ message?: string;
1077
+ code?: string;
1078
+
1079
+ resourceId?: string;
1080
+
1081
+ resourceType?: string;
1082
+
1083
+ serviceCode?: string;
1084
+
1085
+ quotaCode?: string;
1086
+ }
1087
+ export interface StartReplicationRequest {
1088
+
1089
+ sourceServerID: string | undefined;
1090
+ }
1091
+ export declare namespace StartReplicationRequest {
1092
+
1093
+ const filterSensitiveLog: (obj: StartReplicationRequest) => any;
1094
+ }
1079
1095
  export interface StartTestRequest {
1080
1096
 
1081
1097
  sourceServerIDs: string[] | undefined;
@@ -1174,6 +1190,16 @@ export declare namespace UpdateReplicationConfigurationRequest {
1174
1190
 
1175
1191
  const filterSensitiveLog: (obj: UpdateReplicationConfigurationRequest) => any;
1176
1192
  }
1193
+ export interface UpdateSourceServerReplicationTypeRequest {
1194
+
1195
+ sourceServerID: string | undefined;
1196
+
1197
+ replicationType: ReplicationType | string | undefined;
1198
+ }
1199
+ export declare namespace UpdateSourceServerReplicationTypeRequest {
1200
+
1201
+ const filterSensitiveLog: (obj: UpdateSourceServerReplicationTypeRequest) => any;
1202
+ }
1177
1203
  export interface TagResourceRequest {
1178
1204
 
1179
1205
  resourceArn: string | undefined;
@@ -1196,3 +1222,58 @@ export declare namespace UntagResourceRequest {
1196
1222
 
1197
1223
  const filterSensitiveLog: (obj: UntagResourceRequest) => any;
1198
1224
  }
1225
+ export interface DeleteVcenterClientRequest {
1226
+
1227
+ vcenterClientID: string | undefined;
1228
+ }
1229
+ export declare namespace DeleteVcenterClientRequest {
1230
+
1231
+ const filterSensitiveLog: (obj: DeleteVcenterClientRequest) => any;
1232
+ }
1233
+ export interface DescribeVcenterClientsRequest {
1234
+
1235
+ maxResults?: number;
1236
+
1237
+ nextToken?: string;
1238
+ }
1239
+ export declare namespace DescribeVcenterClientsRequest {
1240
+
1241
+ const filterSensitiveLog: (obj: DescribeVcenterClientsRequest) => any;
1242
+ }
1243
+
1244
+ export interface VcenterClient {
1245
+
1246
+ vcenterClientID?: string;
1247
+
1248
+ arn?: string;
1249
+
1250
+ hostname?: string;
1251
+
1252
+ vcenterUUID?: string;
1253
+
1254
+ datacenterName?: string;
1255
+
1256
+ lastSeenDatetime?: string;
1257
+
1258
+ sourceServerTags?: {
1259
+ [key: string]: string;
1260
+ };
1261
+
1262
+ tags?: {
1263
+ [key: string]: string;
1264
+ };
1265
+ }
1266
+ export declare namespace VcenterClient {
1267
+
1268
+ const filterSensitiveLog: (obj: VcenterClient) => any;
1269
+ }
1270
+ export interface DescribeVcenterClientsResponse {
1271
+
1272
+ items?: VcenterClient[];
1273
+
1274
+ nextToken?: string;
1275
+ }
1276
+ export declare namespace DescribeVcenterClientsResponse {
1277
+
1278
+ const filterSensitiveLog: (obj: DescribeVcenterClientsResponse) => any;
1279
+ }
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { DescribeVcenterClientsCommandInput, DescribeVcenterClientsCommandOutput } from "../commands/DescribeVcenterClientsCommand";
3
+ import { MgnPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateDescribeVcenterClients(config: MgnPaginationConfiguration, input: DescribeVcenterClientsCommandInput, ...additionalArguments: any): Paginator<DescribeVcenterClientsCommandOutput>;
@@ -2,4 +2,5 @@ export * from "./DescribeJobLogItemsPaginator";
2
2
  export * from "./DescribeJobsPaginator";
3
3
  export * from "./DescribeReplicationConfigurationTemplatesPaginator";
4
4
  export * from "./DescribeSourceServersPaginator";
5
+ export * from "./DescribeVcenterClientsPaginator";
5
6
  export * from "./Interfaces";
@@ -5,10 +5,12 @@ import { CreateReplicationConfigurationTemplateCommandInput, CreateReplicationCo
5
5
  import { DeleteJobCommandInput, DeleteJobCommandOutput } from "../commands/DeleteJobCommand";
6
6
  import { DeleteReplicationConfigurationTemplateCommandInput, DeleteReplicationConfigurationTemplateCommandOutput } from "../commands/DeleteReplicationConfigurationTemplateCommand";
7
7
  import { DeleteSourceServerCommandInput, DeleteSourceServerCommandOutput } from "../commands/DeleteSourceServerCommand";
8
+ import { DeleteVcenterClientCommandInput, DeleteVcenterClientCommandOutput } from "../commands/DeleteVcenterClientCommand";
8
9
  import { DescribeJobLogItemsCommandInput, DescribeJobLogItemsCommandOutput } from "../commands/DescribeJobLogItemsCommand";
9
10
  import { DescribeJobsCommandInput, DescribeJobsCommandOutput } from "../commands/DescribeJobsCommand";
10
11
  import { DescribeReplicationConfigurationTemplatesCommandInput, DescribeReplicationConfigurationTemplatesCommandOutput } from "../commands/DescribeReplicationConfigurationTemplatesCommand";
11
12
  import { DescribeSourceServersCommandInput, DescribeSourceServersCommandOutput } from "../commands/DescribeSourceServersCommand";
13
+ import { DescribeVcenterClientsCommandInput, DescribeVcenterClientsCommandOutput } from "../commands/DescribeVcenterClientsCommand";
12
14
  import { DisconnectFromServiceCommandInput, DisconnectFromServiceCommandOutput } from "../commands/DisconnectFromServiceCommand";
13
15
  import { FinalizeCutoverCommandInput, FinalizeCutoverCommandOutput } from "../commands/FinalizeCutoverCommand";
14
16
  import { GetLaunchConfigurationCommandInput, GetLaunchConfigurationCommandOutput } from "../commands/GetLaunchConfigurationCommand";
@@ -18,6 +20,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
18
20
  import { MarkAsArchivedCommandInput, MarkAsArchivedCommandOutput } from "../commands/MarkAsArchivedCommand";
19
21
  import { RetryDataReplicationCommandInput, RetryDataReplicationCommandOutput } from "../commands/RetryDataReplicationCommand";
20
22
  import { StartCutoverCommandInput, StartCutoverCommandOutput } from "../commands/StartCutoverCommand";
23
+ import { StartReplicationCommandInput, StartReplicationCommandOutput } from "../commands/StartReplicationCommand";
21
24
  import { StartTestCommandInput, StartTestCommandOutput } from "../commands/StartTestCommand";
22
25
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
23
26
  import { TerminateTargetInstancesCommandInput, TerminateTargetInstancesCommandOutput } from "../commands/TerminateTargetInstancesCommand";
@@ -25,15 +28,18 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../comman
25
28
  import { UpdateLaunchConfigurationCommandInput, UpdateLaunchConfigurationCommandOutput } from "../commands/UpdateLaunchConfigurationCommand";
26
29
  import { UpdateReplicationConfigurationCommandInput, UpdateReplicationConfigurationCommandOutput } from "../commands/UpdateReplicationConfigurationCommand";
27
30
  import { UpdateReplicationConfigurationTemplateCommandInput, UpdateReplicationConfigurationTemplateCommandOutput } from "../commands/UpdateReplicationConfigurationTemplateCommand";
31
+ import { UpdateSourceServerReplicationTypeCommandInput, UpdateSourceServerReplicationTypeCommandOutput } from "../commands/UpdateSourceServerReplicationTypeCommand";
28
32
  export declare const serializeAws_restJson1ChangeServerLifeCycleStateCommand: (input: ChangeServerLifeCycleStateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
29
33
  export declare const serializeAws_restJson1CreateReplicationConfigurationTemplateCommand: (input: CreateReplicationConfigurationTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
30
34
  export declare const serializeAws_restJson1DeleteJobCommand: (input: DeleteJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
31
35
  export declare const serializeAws_restJson1DeleteReplicationConfigurationTemplateCommand: (input: DeleteReplicationConfigurationTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
32
36
  export declare const serializeAws_restJson1DeleteSourceServerCommand: (input: DeleteSourceServerCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
37
+ export declare const serializeAws_restJson1DeleteVcenterClientCommand: (input: DeleteVcenterClientCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
38
  export declare const serializeAws_restJson1DescribeJobLogItemsCommand: (input: DescribeJobLogItemsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
34
39
  export declare const serializeAws_restJson1DescribeJobsCommand: (input: DescribeJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
35
40
  export declare const serializeAws_restJson1DescribeReplicationConfigurationTemplatesCommand: (input: DescribeReplicationConfigurationTemplatesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
36
41
  export declare const serializeAws_restJson1DescribeSourceServersCommand: (input: DescribeSourceServersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
42
+ export declare const serializeAws_restJson1DescribeVcenterClientsCommand: (input: DescribeVcenterClientsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
37
43
  export declare const serializeAws_restJson1DisconnectFromServiceCommand: (input: DisconnectFromServiceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
38
44
  export declare const serializeAws_restJson1FinalizeCutoverCommand: (input: FinalizeCutoverCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
39
45
  export declare const serializeAws_restJson1GetLaunchConfigurationCommand: (input: GetLaunchConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -43,6 +49,7 @@ export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: L
43
49
  export declare const serializeAws_restJson1MarkAsArchivedCommand: (input: MarkAsArchivedCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
44
50
  export declare const serializeAws_restJson1RetryDataReplicationCommand: (input: RetryDataReplicationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
45
51
  export declare const serializeAws_restJson1StartCutoverCommand: (input: StartCutoverCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
52
+ export declare const serializeAws_restJson1StartReplicationCommand: (input: StartReplicationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
46
53
  export declare const serializeAws_restJson1StartTestCommand: (input: StartTestCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
47
54
  export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
48
55
  export declare const serializeAws_restJson1TerminateTargetInstancesCommand: (input: TerminateTargetInstancesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -50,15 +57,18 @@ export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagRe
50
57
  export declare const serializeAws_restJson1UpdateLaunchConfigurationCommand: (input: UpdateLaunchConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
51
58
  export declare const serializeAws_restJson1UpdateReplicationConfigurationCommand: (input: UpdateReplicationConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
52
59
  export declare const serializeAws_restJson1UpdateReplicationConfigurationTemplateCommand: (input: UpdateReplicationConfigurationTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
60
+ export declare const serializeAws_restJson1UpdateSourceServerReplicationTypeCommand: (input: UpdateSourceServerReplicationTypeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
53
61
  export declare const deserializeAws_restJson1ChangeServerLifeCycleStateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ChangeServerLifeCycleStateCommandOutput>;
54
62
  export declare const deserializeAws_restJson1CreateReplicationConfigurationTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateReplicationConfigurationTemplateCommandOutput>;
55
63
  export declare const deserializeAws_restJson1DeleteJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteJobCommandOutput>;
56
64
  export declare const deserializeAws_restJson1DeleteReplicationConfigurationTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteReplicationConfigurationTemplateCommandOutput>;
57
65
  export declare const deserializeAws_restJson1DeleteSourceServerCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteSourceServerCommandOutput>;
66
+ export declare const deserializeAws_restJson1DeleteVcenterClientCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteVcenterClientCommandOutput>;
58
67
  export declare const deserializeAws_restJson1DescribeJobLogItemsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeJobLogItemsCommandOutput>;
59
68
  export declare const deserializeAws_restJson1DescribeJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeJobsCommandOutput>;
60
69
  export declare const deserializeAws_restJson1DescribeReplicationConfigurationTemplatesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeReplicationConfigurationTemplatesCommandOutput>;
61
70
  export declare const deserializeAws_restJson1DescribeSourceServersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeSourceServersCommandOutput>;
71
+ export declare const deserializeAws_restJson1DescribeVcenterClientsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeVcenterClientsCommandOutput>;
62
72
  export declare const deserializeAws_restJson1DisconnectFromServiceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisconnectFromServiceCommandOutput>;
63
73
  export declare const deserializeAws_restJson1FinalizeCutoverCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<FinalizeCutoverCommandOutput>;
64
74
  export declare const deserializeAws_restJson1GetLaunchConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetLaunchConfigurationCommandOutput>;
@@ -68,6 +78,7 @@ export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output
68
78
  export declare const deserializeAws_restJson1MarkAsArchivedCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<MarkAsArchivedCommandOutput>;
69
79
  export declare const deserializeAws_restJson1RetryDataReplicationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RetryDataReplicationCommandOutput>;
70
80
  export declare const deserializeAws_restJson1StartCutoverCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartCutoverCommandOutput>;
81
+ export declare const deserializeAws_restJson1StartReplicationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartReplicationCommandOutput>;
71
82
  export declare const deserializeAws_restJson1StartTestCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartTestCommandOutput>;
72
83
  export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
73
84
  export declare const deserializeAws_restJson1TerminateTargetInstancesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TerminateTargetInstancesCommandOutput>;
@@ -75,3 +86,4 @@ export declare const deserializeAws_restJson1UntagResourceCommand: (output: __Ht
75
86
  export declare const deserializeAws_restJson1UpdateLaunchConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateLaunchConfigurationCommandOutput>;
76
87
  export declare const deserializeAws_restJson1UpdateReplicationConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateReplicationConfigurationCommandOutput>;
77
88
  export declare const deserializeAws_restJson1UpdateReplicationConfigurationTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateReplicationConfigurationTemplateCommandOutput>;
89
+ export declare const deserializeAws_restJson1UpdateSourceServerReplicationTypeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateSourceServerReplicationTypeCommandOutput>;
@@ -1,8 +1,9 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { MgnClientConfig } from "./MgnClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: MgnClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: MgnClientConfig) => {
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<any>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,16 +1,17 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { MgnClientConfig } from "./MgnClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: MgnClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
9
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<string>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: MgnClientConfig) => {
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
27
28
  tls?: boolean | undefined;
28
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
package/package.json CHANGED
@@ -1,18 +1,15 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mgn",
3
3
  "description": "AWS SDK for JavaScript Mgn Client for Node.js, Browser and React Native",
4
- "version": "3.42.0",
4
+ "version": "3.47.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
- "build:cjs": "tsc -p tsconfig.json",
8
- "build:docs": "yarn clean:docs && typedoc ./",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
+ "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
- "clean": "yarn clean:dist && yarn clean:docs",
12
- "clean:dist": "rimraf ./dist",
13
- "clean:docs": "rimraf ./docs",
14
- "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
- "test": "jest --coverage --passWithNoTests"
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
+ "clean": "rimraf ./dist-*"
16
13
  },
17
14
  "main": "./dist-cjs/index.js",
18
15
  "types": "./dist-types/index.d.ts",
@@ -21,48 +18,44 @@
21
18
  "dependencies": {
22
19
  "@aws-crypto/sha256-browser": "2.0.0",
23
20
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.42.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.41.0",
27
- "@aws-sdk/fetch-http-handler": "3.40.0",
28
- "@aws-sdk/hash-node": "3.40.0",
29
- "@aws-sdk/invalid-dependency": "3.40.0",
30
- "@aws-sdk/middleware-content-length": "3.40.0",
31
- "@aws-sdk/middleware-host-header": "3.40.0",
32
- "@aws-sdk/middleware-logger": "3.40.0",
33
- "@aws-sdk/middleware-retry": "3.40.0",
34
- "@aws-sdk/middleware-serde": "3.40.0",
35
- "@aws-sdk/middleware-signing": "3.40.0",
36
- "@aws-sdk/middleware-stack": "3.40.0",
37
- "@aws-sdk/middleware-user-agent": "3.40.0",
38
- "@aws-sdk/node-config-provider": "3.40.0",
39
- "@aws-sdk/node-http-handler": "3.40.0",
40
- "@aws-sdk/protocol-http": "3.40.0",
41
- "@aws-sdk/smithy-client": "3.41.0",
42
- "@aws-sdk/types": "3.40.0",
43
- "@aws-sdk/url-parser": "3.40.0",
44
- "@aws-sdk/util-base64-browser": "3.37.0",
45
- "@aws-sdk/util-base64-node": "3.37.0",
46
- "@aws-sdk/util-body-length-browser": "3.37.0",
47
- "@aws-sdk/util-body-length-node": "3.37.0",
48
- "@aws-sdk/util-user-agent-browser": "3.40.0",
49
- "@aws-sdk/util-user-agent-node": "3.40.0",
50
- "@aws-sdk/util-utf8-browser": "3.37.0",
51
- "@aws-sdk/util-utf8-node": "3.37.0",
21
+ "@aws-sdk/client-sts": "3.47.0",
22
+ "@aws-sdk/config-resolver": "3.47.0",
23
+ "@aws-sdk/credential-provider-node": "3.47.0",
24
+ "@aws-sdk/fetch-http-handler": "3.47.0",
25
+ "@aws-sdk/hash-node": "3.47.0",
26
+ "@aws-sdk/invalid-dependency": "3.47.0",
27
+ "@aws-sdk/middleware-content-length": "3.47.0",
28
+ "@aws-sdk/middleware-host-header": "3.47.0",
29
+ "@aws-sdk/middleware-logger": "3.47.0",
30
+ "@aws-sdk/middleware-retry": "3.47.0",
31
+ "@aws-sdk/middleware-serde": "3.47.0",
32
+ "@aws-sdk/middleware-signing": "3.47.0",
33
+ "@aws-sdk/middleware-stack": "3.47.0",
34
+ "@aws-sdk/middleware-user-agent": "3.47.0",
35
+ "@aws-sdk/node-config-provider": "3.47.0",
36
+ "@aws-sdk/node-http-handler": "3.47.0",
37
+ "@aws-sdk/protocol-http": "3.47.0",
38
+ "@aws-sdk/smithy-client": "3.47.0",
39
+ "@aws-sdk/types": "3.47.0",
40
+ "@aws-sdk/url-parser": "3.47.0",
41
+ "@aws-sdk/util-base64-browser": "3.47.0",
42
+ "@aws-sdk/util-base64-node": "3.47.0",
43
+ "@aws-sdk/util-body-length-browser": "3.47.0",
44
+ "@aws-sdk/util-body-length-node": "3.47.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.47.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.47.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.47.0",
48
+ "@aws-sdk/util-user-agent-node": "3.47.0",
49
+ "@aws-sdk/util-utf8-browser": "3.47.0",
50
+ "@aws-sdk/util-utf8-node": "3.47.0",
52
51
  "tslib": "^2.3.0"
53
52
  },
54
53
  "devDependencies": {
55
- "@aws-sdk/service-client-documentation-generator": "3.38.0",
56
- "@types/node": "^12.7.5",
57
- "downlevel-dts": "0.7.0",
58
- "jest": "^26.1.0",
59
- "rimraf": "^3.0.0",
60
- "ts-jest": "^26.4.1",
61
- "typedoc": "^0.19.2",
62
- "typescript": "~4.3.5"
54
+ "@aws-sdk/service-client-documentation-generator": "3.47.0",
55
+ "@types/node": "^12.7.5"
63
56
  },
64
57
  "engines": {
65
- "node": ">=10.0.0"
58
+ "node": ">=12.0.0"
66
59
  },
67
60
  "typesVersions": {
68
61
  "<4.0": {