sms.d.ts
48.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
import {Request} from '../lib/request';
import {Response} from '../lib/response';
import {AWSError} from '../lib/error';
import {Service} from '../lib/service';
import {ServiceConfigurationOptions} from '../lib/service';
import {ConfigBase as Config} from '../lib/config';
interface Blob {}
declare class SMS extends Service {
/**
* Constructs a service object. This object has one method for each API operation.
*/
constructor(options?: SMS.Types.ClientConfiguration)
config: Config & SMS.Types.ClientConfiguration;
/**
* Creates an application. An application consists of one or more server groups. Each server group contain one or more servers.
*/
createApp(params: SMS.Types.CreateAppRequest, callback?: (err: AWSError, data: SMS.Types.CreateAppResponse) => void): Request<SMS.Types.CreateAppResponse, AWSError>;
/**
* Creates an application. An application consists of one or more server groups. Each server group contain one or more servers.
*/
createApp(callback?: (err: AWSError, data: SMS.Types.CreateAppResponse) => void): Request<SMS.Types.CreateAppResponse, AWSError>;
/**
* Creates a replication job. The replication job schedules periodic replication runs to replicate your server to AWS. Each replication run creates an Amazon Machine Image (AMI).
*/
createReplicationJob(params: SMS.Types.CreateReplicationJobRequest, callback?: (err: AWSError, data: SMS.Types.CreateReplicationJobResponse) => void): Request<SMS.Types.CreateReplicationJobResponse, AWSError>;
/**
* Creates a replication job. The replication job schedules periodic replication runs to replicate your server to AWS. Each replication run creates an Amazon Machine Image (AMI).
*/
createReplicationJob(callback?: (err: AWSError, data: SMS.Types.CreateReplicationJobResponse) => void): Request<SMS.Types.CreateReplicationJobResponse, AWSError>;
/**
* Deletes an existing application. Optionally deletes the launched stack associated with the application and all AWS SMS replication jobs for servers in the application.
*/
deleteApp(params: SMS.Types.DeleteAppRequest, callback?: (err: AWSError, data: SMS.Types.DeleteAppResponse) => void): Request<SMS.Types.DeleteAppResponse, AWSError>;
/**
* Deletes an existing application. Optionally deletes the launched stack associated with the application and all AWS SMS replication jobs for servers in the application.
*/
deleteApp(callback?: (err: AWSError, data: SMS.Types.DeleteAppResponse) => void): Request<SMS.Types.DeleteAppResponse, AWSError>;
/**
* Deletes existing launch configuration for an application.
*/
deleteAppLaunchConfiguration(params: SMS.Types.DeleteAppLaunchConfigurationRequest, callback?: (err: AWSError, data: SMS.Types.DeleteAppLaunchConfigurationResponse) => void): Request<SMS.Types.DeleteAppLaunchConfigurationResponse, AWSError>;
/**
* Deletes existing launch configuration for an application.
*/
deleteAppLaunchConfiguration(callback?: (err: AWSError, data: SMS.Types.DeleteAppLaunchConfigurationResponse) => void): Request<SMS.Types.DeleteAppLaunchConfigurationResponse, AWSError>;
/**
* Deletes existing replication configuration for an application.
*/
deleteAppReplicationConfiguration(params: SMS.Types.DeleteAppReplicationConfigurationRequest, callback?: (err: AWSError, data: SMS.Types.DeleteAppReplicationConfigurationResponse) => void): Request<SMS.Types.DeleteAppReplicationConfigurationResponse, AWSError>;
/**
* Deletes existing replication configuration for an application.
*/
deleteAppReplicationConfiguration(callback?: (err: AWSError, data: SMS.Types.DeleteAppReplicationConfigurationResponse) => void): Request<SMS.Types.DeleteAppReplicationConfigurationResponse, AWSError>;
/**
* Deletes the specified replication job. After you delete a replication job, there are no further replication runs. AWS deletes the contents of the Amazon S3 bucket used to store AWS SMS artifacts. The AMIs created by the replication runs are not deleted.
*/
deleteReplicationJob(params: SMS.Types.DeleteReplicationJobRequest, callback?: (err: AWSError, data: SMS.Types.DeleteReplicationJobResponse) => void): Request<SMS.Types.DeleteReplicationJobResponse, AWSError>;
/**
* Deletes the specified replication job. After you delete a replication job, there are no further replication runs. AWS deletes the contents of the Amazon S3 bucket used to store AWS SMS artifacts. The AMIs created by the replication runs are not deleted.
*/
deleteReplicationJob(callback?: (err: AWSError, data: SMS.Types.DeleteReplicationJobResponse) => void): Request<SMS.Types.DeleteReplicationJobResponse, AWSError>;
/**
* Deletes all servers from your server catalog.
*/
deleteServerCatalog(params: SMS.Types.DeleteServerCatalogRequest, callback?: (err: AWSError, data: SMS.Types.DeleteServerCatalogResponse) => void): Request<SMS.Types.DeleteServerCatalogResponse, AWSError>;
/**
* Deletes all servers from your server catalog.
*/
deleteServerCatalog(callback?: (err: AWSError, data: SMS.Types.DeleteServerCatalogResponse) => void): Request<SMS.Types.DeleteServerCatalogResponse, AWSError>;
/**
* Disassociates the specified connector from AWS SMS. After you disassociate a connector, it is no longer available to support replication jobs.
*/
disassociateConnector(params: SMS.Types.DisassociateConnectorRequest, callback?: (err: AWSError, data: SMS.Types.DisassociateConnectorResponse) => void): Request<SMS.Types.DisassociateConnectorResponse, AWSError>;
/**
* Disassociates the specified connector from AWS SMS. After you disassociate a connector, it is no longer available to support replication jobs.
*/
disassociateConnector(callback?: (err: AWSError, data: SMS.Types.DisassociateConnectorResponse) => void): Request<SMS.Types.DisassociateConnectorResponse, AWSError>;
/**
* Generates a target change set for a currently launched stack and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
*/
generateChangeSet(params: SMS.Types.GenerateChangeSetRequest, callback?: (err: AWSError, data: SMS.Types.GenerateChangeSetResponse) => void): Request<SMS.Types.GenerateChangeSetResponse, AWSError>;
/**
* Generates a target change set for a currently launched stack and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
*/
generateChangeSet(callback?: (err: AWSError, data: SMS.Types.GenerateChangeSetResponse) => void): Request<SMS.Types.GenerateChangeSetResponse, AWSError>;
/**
* Generates an Amazon CloudFormation template based on the current launch configuration and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
*/
generateTemplate(params: SMS.Types.GenerateTemplateRequest, callback?: (err: AWSError, data: SMS.Types.GenerateTemplateResponse) => void): Request<SMS.Types.GenerateTemplateResponse, AWSError>;
/**
* Generates an Amazon CloudFormation template based on the current launch configuration and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
*/
generateTemplate(callback?: (err: AWSError, data: SMS.Types.GenerateTemplateResponse) => void): Request<SMS.Types.GenerateTemplateResponse, AWSError>;
/**
* Retrieve information about an application.
*/
getApp(params: SMS.Types.GetAppRequest, callback?: (err: AWSError, data: SMS.Types.GetAppResponse) => void): Request<SMS.Types.GetAppResponse, AWSError>;
/**
* Retrieve information about an application.
*/
getApp(callback?: (err: AWSError, data: SMS.Types.GetAppResponse) => void): Request<SMS.Types.GetAppResponse, AWSError>;
/**
* Retrieves the application launch configuration associated with an application.
*/
getAppLaunchConfiguration(params: SMS.Types.GetAppLaunchConfigurationRequest, callback?: (err: AWSError, data: SMS.Types.GetAppLaunchConfigurationResponse) => void): Request<SMS.Types.GetAppLaunchConfigurationResponse, AWSError>;
/**
* Retrieves the application launch configuration associated with an application.
*/
getAppLaunchConfiguration(callback?: (err: AWSError, data: SMS.Types.GetAppLaunchConfigurationResponse) => void): Request<SMS.Types.GetAppLaunchConfigurationResponse, AWSError>;
/**
* Retrieves an application replication configuration associatd with an application.
*/
getAppReplicationConfiguration(params: SMS.Types.GetAppReplicationConfigurationRequest, callback?: (err: AWSError, data: SMS.Types.GetAppReplicationConfigurationResponse) => void): Request<SMS.Types.GetAppReplicationConfigurationResponse, AWSError>;
/**
* Retrieves an application replication configuration associatd with an application.
*/
getAppReplicationConfiguration(callback?: (err: AWSError, data: SMS.Types.GetAppReplicationConfigurationResponse) => void): Request<SMS.Types.GetAppReplicationConfigurationResponse, AWSError>;
/**
* Describes the connectors registered with the AWS SMS.
*/
getConnectors(params: SMS.Types.GetConnectorsRequest, callback?: (err: AWSError, data: SMS.Types.GetConnectorsResponse) => void): Request<SMS.Types.GetConnectorsResponse, AWSError>;
/**
* Describes the connectors registered with the AWS SMS.
*/
getConnectors(callback?: (err: AWSError, data: SMS.Types.GetConnectorsResponse) => void): Request<SMS.Types.GetConnectorsResponse, AWSError>;
/**
* Describes the specified replication job or all of your replication jobs.
*/
getReplicationJobs(params: SMS.Types.GetReplicationJobsRequest, callback?: (err: AWSError, data: SMS.Types.GetReplicationJobsResponse) => void): Request<SMS.Types.GetReplicationJobsResponse, AWSError>;
/**
* Describes the specified replication job or all of your replication jobs.
*/
getReplicationJobs(callback?: (err: AWSError, data: SMS.Types.GetReplicationJobsResponse) => void): Request<SMS.Types.GetReplicationJobsResponse, AWSError>;
/**
* Describes the replication runs for the specified replication job.
*/
getReplicationRuns(params: SMS.Types.GetReplicationRunsRequest, callback?: (err: AWSError, data: SMS.Types.GetReplicationRunsResponse) => void): Request<SMS.Types.GetReplicationRunsResponse, AWSError>;
/**
* Describes the replication runs for the specified replication job.
*/
getReplicationRuns(callback?: (err: AWSError, data: SMS.Types.GetReplicationRunsResponse) => void): Request<SMS.Types.GetReplicationRunsResponse, AWSError>;
/**
* Describes the servers in your server catalog. Before you can describe your servers, you must import them using ImportServerCatalog.
*/
getServers(params: SMS.Types.GetServersRequest, callback?: (err: AWSError, data: SMS.Types.GetServersResponse) => void): Request<SMS.Types.GetServersResponse, AWSError>;
/**
* Describes the servers in your server catalog. Before you can describe your servers, you must import them using ImportServerCatalog.
*/
getServers(callback?: (err: AWSError, data: SMS.Types.GetServersResponse) => void): Request<SMS.Types.GetServersResponse, AWSError>;
/**
* Gathers a complete list of on-premises servers. Connectors must be installed and monitoring all servers that you want to import. This call returns immediately, but might take additional time to retrieve all the servers.
*/
importServerCatalog(params: SMS.Types.ImportServerCatalogRequest, callback?: (err: AWSError, data: SMS.Types.ImportServerCatalogResponse) => void): Request<SMS.Types.ImportServerCatalogResponse, AWSError>;
/**
* Gathers a complete list of on-premises servers. Connectors must be installed and monitoring all servers that you want to import. This call returns immediately, but might take additional time to retrieve all the servers.
*/
importServerCatalog(callback?: (err: AWSError, data: SMS.Types.ImportServerCatalogResponse) => void): Request<SMS.Types.ImportServerCatalogResponse, AWSError>;
/**
* Launches an application stack.
*/
launchApp(params: SMS.Types.LaunchAppRequest, callback?: (err: AWSError, data: SMS.Types.LaunchAppResponse) => void): Request<SMS.Types.LaunchAppResponse, AWSError>;
/**
* Launches an application stack.
*/
launchApp(callback?: (err: AWSError, data: SMS.Types.LaunchAppResponse) => void): Request<SMS.Types.LaunchAppResponse, AWSError>;
/**
* Returns a list of summaries for all applications.
*/
listApps(params: SMS.Types.ListAppsRequest, callback?: (err: AWSError, data: SMS.Types.ListAppsResponse) => void): Request<SMS.Types.ListAppsResponse, AWSError>;
/**
* Returns a list of summaries for all applications.
*/
listApps(callback?: (err: AWSError, data: SMS.Types.ListAppsResponse) => void): Request<SMS.Types.ListAppsResponse, AWSError>;
/**
* Creates a launch configuration for an application.
*/
putAppLaunchConfiguration(params: SMS.Types.PutAppLaunchConfigurationRequest, callback?: (err: AWSError, data: SMS.Types.PutAppLaunchConfigurationResponse) => void): Request<SMS.Types.PutAppLaunchConfigurationResponse, AWSError>;
/**
* Creates a launch configuration for an application.
*/
putAppLaunchConfiguration(callback?: (err: AWSError, data: SMS.Types.PutAppLaunchConfigurationResponse) => void): Request<SMS.Types.PutAppLaunchConfigurationResponse, AWSError>;
/**
* Creates or updates a replication configuration for an application.
*/
putAppReplicationConfiguration(params: SMS.Types.PutAppReplicationConfigurationRequest, callback?: (err: AWSError, data: SMS.Types.PutAppReplicationConfigurationResponse) => void): Request<SMS.Types.PutAppReplicationConfigurationResponse, AWSError>;
/**
* Creates or updates a replication configuration for an application.
*/
putAppReplicationConfiguration(callback?: (err: AWSError, data: SMS.Types.PutAppReplicationConfigurationResponse) => void): Request<SMS.Types.PutAppReplicationConfigurationResponse, AWSError>;
/**
* Starts replicating an application.
*/
startAppReplication(params: SMS.Types.StartAppReplicationRequest, callback?: (err: AWSError, data: SMS.Types.StartAppReplicationResponse) => void): Request<SMS.Types.StartAppReplicationResponse, AWSError>;
/**
* Starts replicating an application.
*/
startAppReplication(callback?: (err: AWSError, data: SMS.Types.StartAppReplicationResponse) => void): Request<SMS.Types.StartAppReplicationResponse, AWSError>;
/**
* Starts an on-demand replication run for the specified replication job. This replication run starts immediately. This replication run is in addition to the ones already scheduled. There is a limit on the number of on-demand replications runs you can request in a 24-hour period.
*/
startOnDemandReplicationRun(params: SMS.Types.StartOnDemandReplicationRunRequest, callback?: (err: AWSError, data: SMS.Types.StartOnDemandReplicationRunResponse) => void): Request<SMS.Types.StartOnDemandReplicationRunResponse, AWSError>;
/**
* Starts an on-demand replication run for the specified replication job. This replication run starts immediately. This replication run is in addition to the ones already scheduled. There is a limit on the number of on-demand replications runs you can request in a 24-hour period.
*/
startOnDemandReplicationRun(callback?: (err: AWSError, data: SMS.Types.StartOnDemandReplicationRunResponse) => void): Request<SMS.Types.StartOnDemandReplicationRunResponse, AWSError>;
/**
* Stops replicating an application.
*/
stopAppReplication(params: SMS.Types.StopAppReplicationRequest, callback?: (err: AWSError, data: SMS.Types.StopAppReplicationResponse) => void): Request<SMS.Types.StopAppReplicationResponse, AWSError>;
/**
* Stops replicating an application.
*/
stopAppReplication(callback?: (err: AWSError, data: SMS.Types.StopAppReplicationResponse) => void): Request<SMS.Types.StopAppReplicationResponse, AWSError>;
/**
* Terminates the stack for an application.
*/
terminateApp(params: SMS.Types.TerminateAppRequest, callback?: (err: AWSError, data: SMS.Types.TerminateAppResponse) => void): Request<SMS.Types.TerminateAppResponse, AWSError>;
/**
* Terminates the stack for an application.
*/
terminateApp(callback?: (err: AWSError, data: SMS.Types.TerminateAppResponse) => void): Request<SMS.Types.TerminateAppResponse, AWSError>;
/**
* Updates an application.
*/
updateApp(params: SMS.Types.UpdateAppRequest, callback?: (err: AWSError, data: SMS.Types.UpdateAppResponse) => void): Request<SMS.Types.UpdateAppResponse, AWSError>;
/**
* Updates an application.
*/
updateApp(callback?: (err: AWSError, data: SMS.Types.UpdateAppResponse) => void): Request<SMS.Types.UpdateAppResponse, AWSError>;
/**
* Updates the specified settings for the specified replication job.
*/
updateReplicationJob(params: SMS.Types.UpdateReplicationJobRequest, callback?: (err: AWSError, data: SMS.Types.UpdateReplicationJobResponse) => void): Request<SMS.Types.UpdateReplicationJobResponse, AWSError>;
/**
* Updates the specified settings for the specified replication job.
*/
updateReplicationJob(callback?: (err: AWSError, data: SMS.Types.UpdateReplicationJobResponse) => void): Request<SMS.Types.UpdateReplicationJobResponse, AWSError>;
}
declare namespace SMS {
export type AmiId = string;
export type AppDescription = string;
export type AppId = string;
export type AppIds = AppId[];
export type AppLaunchStatus = "READY_FOR_CONFIGURATION"|"CONFIGURATION_IN_PROGRESS"|"CONFIGURATION_INVALID"|"READY_FOR_LAUNCH"|"VALIDATION_IN_PROGRESS"|"LAUNCH_PENDING"|"LAUNCH_IN_PROGRESS"|"LAUNCHED"|"DELTA_LAUNCH_IN_PROGRESS"|"DELTA_LAUNCH_FAILED"|"LAUNCH_FAILED"|"TERMINATE_IN_PROGRESS"|"TERMINATE_FAILED"|"TERMINATED"|string;
export type AppLaunchStatusMessage = string;
export type AppName = string;
export type AppReplicationStatus = "READY_FOR_CONFIGURATION"|"CONFIGURATION_IN_PROGRESS"|"CONFIGURATION_INVALID"|"READY_FOR_REPLICATION"|"VALIDATION_IN_PROGRESS"|"REPLICATION_PENDING"|"REPLICATION_IN_PROGRESS"|"REPLICATED"|"DELTA_REPLICATION_IN_PROGRESS"|"DELTA_REPLICATED"|"DELTA_REPLICATION_FAILED"|"REPLICATION_FAILED"|"REPLICATION_STOPPING"|"REPLICATION_STOP_FAILED"|"REPLICATION_STOPPED"|string;
export type AppReplicationStatusMessage = string;
export type AppStatus = "CREATING"|"ACTIVE"|"UPDATING"|"DELETING"|"DELETED"|"DELETE_FAILED"|string;
export type AppStatusMessage = string;
export interface AppSummary {
/**
* Unique ID of the application.
*/
appId?: AppId;
/**
* Name of the application.
*/
name?: AppName;
/**
* Description of the application.
*/
description?: AppDescription;
/**
* Status of the application.
*/
status?: AppStatus;
/**
* A message related to the status of the application
*/
statusMessage?: AppStatusMessage;
/**
* Replication status of the application.
*/
replicationStatus?: AppReplicationStatus;
/**
* A message related to the replication status of the application.
*/
replicationStatusMessage?: AppReplicationStatusMessage;
/**
* Timestamp of the application's most recent successful replication.
*/
latestReplicationTime?: Timestamp;
/**
* Launch status of the application.
*/
launchStatus?: AppLaunchStatus;
/**
* A message related to the launch status of the application.
*/
launchStatusMessage?: AppLaunchStatusMessage;
/**
* Details about the latest launch of the application.
*/
launchDetails?: LaunchDetails;
/**
* Time of creation of this application.
*/
creationTime?: Timestamp;
/**
* Timestamp of the application's creation.
*/
lastModified?: Timestamp;
/**
* Name of the service role in the customer's account used by AWS SMS.
*/
roleName?: RoleName;
/**
* Number of server groups present in the application.
*/
totalServerGroups?: TotalServerGroups;
/**
* Number of servers present in the application.
*/
totalServers?: TotalServers;
}
export type Apps = AppSummary[];
export type AssociatePublicIpAddress = boolean;
export type BucketName = string;
export type ClientToken = string;
export interface Connector {
/**
* The identifier of the connector.
*/
connectorId?: ConnectorId;
/**
* The connector version.
*/
version?: ConnectorVersion;
/**
* The status of the connector.
*/
status?: ConnectorStatus;
/**
* The capabilities of the connector.
*/
capabilityList?: ConnectorCapabilityList;
/**
* The name of the VM manager.
*/
vmManagerName?: VmManagerName;
/**
* The VM management product.
*/
vmManagerType?: VmManagerType;
/**
* The identifier of the VM manager.
*/
vmManagerId?: VmManagerId;
/**
* The IP address of the connector.
*/
ipAddress?: IpAddress;
/**
* The MAC address of the connector.
*/
macAddress?: MacAddress;
/**
* The time the connector was associated.
*/
associatedOn?: Timestamp;
}
export type ConnectorCapability = "VSPHERE"|"SCVMM"|"HYPERV-MANAGER"|"SNAPSHOT_BATCHING"|string;
export type ConnectorCapabilityList = ConnectorCapability[];
export type ConnectorId = string;
export type ConnectorList = Connector[];
export type ConnectorStatus = "HEALTHY"|"UNHEALTHY"|string;
export type ConnectorVersion = string;
export interface CreateAppRequest {
/**
* Name of the new application.
*/
name?: AppName;
/**
* Description of the new application
*/
description?: AppDescription;
/**
* Name of service role in customer's account to be used by AWS SMS.
*/
roleName?: RoleName;
/**
* A unique, case-sensitive identifier you provide to ensure idempotency of application creation.
*/
clientToken?: ClientToken;
/**
* List of server groups to include in the application.
*/
serverGroups?: ServerGroups;
/**
* List of tags to be associated with the application.
*/
tags?: Tags;
}
export interface CreateAppResponse {
/**
* Summary description of the application.
*/
appSummary?: AppSummary;
/**
* List of server groups included in the application.
*/
serverGroups?: ServerGroups;
/**
* List of taags associated with the application.
*/
tags?: Tags;
}
export interface CreateReplicationJobRequest {
/**
* The identifier of the server.
*/
serverId: ServerId;
/**
* The seed replication time.
*/
seedReplicationTime: Timestamp;
/**
* The time between consecutive replication runs, in hours.
*/
frequency?: Frequency;
/**
*
*/
runOnce?: RunOnce;
/**
* The license type to be used for the AMI created by a successful replication run.
*/
licenseType?: LicenseType;
/**
* The name of the IAM role to be used by the AWS SMS.
*/
roleName?: RoleName;
/**
* The description of the replication job.
*/
description?: Description;
/**
* The maximum number of SMS-created AMIs to retain. The oldest will be deleted once the maximum number is reached and a new AMI is created.
*/
numberOfRecentAmisToKeep?: NumberOfRecentAmisToKeep;
/**
* When true, the replication job produces encrypted AMIs. See also KmsKeyId below.
*/
encrypted?: Encrypted;
/**
* KMS key ID for replication jobs that produce encrypted AMIs. Can be any of the following: KMS key ID KMS key alias ARN referring to KMS key ID ARN referring to KMS key alias If encrypted is true but a KMS key id is not specified, the customer's default KMS key for EBS is used.
*/
kmsKeyId?: KmsKeyId;
}
export interface CreateReplicationJobResponse {
/**
* The unique identifier of the replication job.
*/
replicationJobId?: ReplicationJobId;
}
export interface DeleteAppLaunchConfigurationRequest {
/**
* ID of the application associated with the launch configuration.
*/
appId?: AppId;
}
export interface DeleteAppLaunchConfigurationResponse {
}
export interface DeleteAppReplicationConfigurationRequest {
/**
* ID of the application associated with the replication configuration.
*/
appId?: AppId;
}
export interface DeleteAppReplicationConfigurationResponse {
}
export interface DeleteAppRequest {
/**
* ID of the application to delete.
*/
appId?: AppId;
/**
* While deleting the application, stop all replication jobs corresponding to the servers in the application.
*/
forceStopAppReplication?: ForceStopAppReplication;
/**
* While deleting the application, terminate the stack corresponding to the application.
*/
forceTerminateApp?: ForceTerminateApp;
}
export interface DeleteAppResponse {
}
export interface DeleteReplicationJobRequest {
/**
* The identifier of the replication job.
*/
replicationJobId: ReplicationJobId;
}
export interface DeleteReplicationJobResponse {
}
export interface DeleteServerCatalogRequest {
}
export interface DeleteServerCatalogResponse {
}
export type Description = string;
export interface DisassociateConnectorRequest {
/**
* The identifier of the connector.
*/
connectorId: ConnectorId;
}
export interface DisassociateConnectorResponse {
}
export type EC2KeyName = string;
export type Encrypted = boolean;
export type ForceStopAppReplication = boolean;
export type ForceTerminateApp = boolean;
export type Frequency = number;
export interface GenerateChangeSetRequest {
/**
* ID of the application associated with the change set.
*/
appId?: AppId;
/**
* Format for the change set.
*/
changesetFormat?: OutputFormat;
}
export interface GenerateChangeSetResponse {
/**
* Location of the Amazon S3 object.
*/
s3Location?: S3Location;
}
export interface GenerateTemplateRequest {
/**
* ID of the application associated with the Amazon CloudFormation template.
*/
appId?: AppId;
/**
* Format for generating the Amazon CloudFormation template.
*/
templateFormat?: OutputFormat;
}
export interface GenerateTemplateResponse {
/**
* Location of the Amazon S3 object.
*/
s3Location?: S3Location;
}
export interface GetAppLaunchConfigurationRequest {
/**
* ID of the application launch configuration.
*/
appId?: AppId;
}
export interface GetAppLaunchConfigurationResponse {
/**
* ID of the application associated with the launch configuration.
*/
appId?: AppId;
/**
* Name of the service role in the customer's account that Amazon CloudFormation uses to launch the application.
*/
roleName?: RoleName;
/**
* List of launch configurations for server groups in this application.
*/
serverGroupLaunchConfigurations?: ServerGroupLaunchConfigurations;
}
export interface GetAppReplicationConfigurationRequest {
/**
* ID of the application associated with the replication configuration.
*/
appId?: AppId;
}
export interface GetAppReplicationConfigurationResponse {
/**
* Replication configurations associated with server groups in this application.
*/
serverGroupReplicationConfigurations?: ServerGroupReplicationConfigurations;
}
export interface GetAppRequest {
/**
* ID of the application whose information is being retrieved.
*/
appId?: AppId;
}
export interface GetAppResponse {
/**
* Information about the application.
*/
appSummary?: AppSummary;
/**
* List of server groups belonging to the application.
*/
serverGroups?: ServerGroups;
/**
* List of tags associated with the application.
*/
tags?: Tags;
}
export interface GetConnectorsRequest {
/**
* The token for the next set of results.
*/
nextToken?: NextToken;
/**
* The maximum number of results to return in a single call. The default value is 50. To retrieve the remaining results, make another call with the returned NextToken value.
*/
maxResults?: MaxResults;
}
export interface GetConnectorsResponse {
/**
* Information about the registered connectors.
*/
connectorList?: ConnectorList;
/**
* The token required to retrieve the next set of results. This value is null when there are no more results to return.
*/
nextToken?: NextToken;
}
export interface GetReplicationJobsRequest {
/**
* The identifier of the replication job.
*/
replicationJobId?: ReplicationJobId;
/**
* The token for the next set of results.
*/
nextToken?: NextToken;
/**
* The maximum number of results to return in a single call. The default value is 50. To retrieve the remaining results, make another call with the returned NextToken value.
*/
maxResults?: MaxResults;
}
export interface GetReplicationJobsResponse {
/**
* Information about the replication jobs.
*/
replicationJobList?: ReplicationJobList;
/**
* The token required to retrieve the next set of results. This value is null when there are no more results to return.
*/
nextToken?: NextToken;
}
export interface GetReplicationRunsRequest {
/**
* The identifier of the replication job.
*/
replicationJobId: ReplicationJobId;
/**
* The token for the next set of results.
*/
nextToken?: NextToken;
/**
* The maximum number of results to return in a single call. The default value is 50. To retrieve the remaining results, make another call with the returned NextToken value.
*/
maxResults?: MaxResults;
}
export interface GetReplicationRunsResponse {
/**
* Information about the replication job.
*/
replicationJob?: ReplicationJob;
/**
* Information about the replication runs.
*/
replicationRunList?: ReplicationRunList;
/**
* The token required to retrieve the next set of results. This value is null when there are no more results to return.
*/
nextToken?: NextToken;
}
export interface GetServersRequest {
/**
* The token for the next set of results.
*/
nextToken?: NextToken;
/**
* The maximum number of results to return in a single call. The default value is 50. To retrieve the remaining results, make another call with the returned NextToken value.
*/
maxResults?: MaxResults;
/**
* List of VmServerAddress objects
*/
vmServerAddressList?: VmServerAddressList;
}
export interface GetServersResponse {
/**
* The time when the server was last modified.
*/
lastModifiedOn?: Timestamp;
/**
* The status of the server catalog.
*/
serverCatalogStatus?: ServerCatalogStatus;
/**
* Information about the servers.
*/
serverList?: ServerList;
/**
* The token required to retrieve the next set of results. This value is null when there are no more results to return.
*/
nextToken?: NextToken;
}
export interface ImportServerCatalogRequest {
}
export interface ImportServerCatalogResponse {
}
export type InstanceType = string;
export type IpAddress = string;
export type KeyName = string;
export type KmsKeyId = string;
export interface LaunchAppRequest {
/**
* ID of the application to launch.
*/
appId?: AppId;
}
export interface LaunchAppResponse {
}
export interface LaunchDetails {
/**
* Latest time this application was launched successfully.
*/
latestLaunchTime?: Timestamp;
/**
* Name of the latest stack launched for this application.
*/
stackName?: StackName;
/**
* Identifier of the latest stack launched for this application.
*/
stackId?: StackId;
}
export type LaunchOrder = number;
export type LicenseType = "AWS"|"BYOL"|string;
export interface ListAppsRequest {
/**
*
*/
appIds?: AppIds;
/**
* The token for the next set of results.
*/
nextToken?: NextToken;
/**
* The maximum number of results to return in a single call. The default value is 50. To retrieve the remaining results, make another call with the returned NextToken value.
*/
maxResults?: MaxResults;
}
export interface ListAppsResponse {
/**
* A list of application summaries.
*/
apps?: Apps;
/**
* The token required to retrieve the next set of results. This value is null when there are no more results to return.
*/
nextToken?: NextToken;
}
export type LogicalId = string;
export type MacAddress = string;
export type MaxResults = number;
export type NextToken = string;
export type NumberOfRecentAmisToKeep = number;
export type OutputFormat = "JSON"|"YAML"|string;
export interface PutAppLaunchConfigurationRequest {
/**
* ID of the application associated with the launch configuration.
*/
appId?: AppId;
/**
* Name of service role in the customer's account that Amazon CloudFormation uses to launch the application.
*/
roleName?: RoleName;
/**
* Launch configurations for server groups in the application.
*/
serverGroupLaunchConfigurations?: ServerGroupLaunchConfigurations;
}
export interface PutAppLaunchConfigurationResponse {
}
export interface PutAppReplicationConfigurationRequest {
/**
* ID of the application tassociated with the replication configuration.
*/
appId?: AppId;
/**
* Replication configurations for server groups in the application.
*/
serverGroupReplicationConfigurations?: ServerGroupReplicationConfigurations;
}
export interface PutAppReplicationConfigurationResponse {
}
export interface ReplicationJob {
/**
* The identifier of the replication job.
*/
replicationJobId?: ReplicationJobId;
/**
* The identifier of the server.
*/
serverId?: ServerId;
/**
* The type of server.
*/
serverType?: ServerType;
/**
* Information about the VM server.
*/
vmServer?: VmServer;
/**
* The seed replication time.
*/
seedReplicationTime?: Timestamp;
/**
* The time between consecutive replication runs, in hours.
*/
frequency?: Frequency;
/**
*
*/
runOnce?: RunOnce;
/**
* The start time of the next replication run.
*/
nextReplicationRunStartTime?: Timestamp;
/**
* The license type to be used for the AMI created by a successful replication run.
*/
licenseType?: LicenseType;
/**
* The name of the IAM role to be used by the Server Migration Service.
*/
roleName?: RoleName;
/**
* The ID of the latest Amazon Machine Image (AMI).
*/
latestAmiId?: AmiId;
/**
* The state of the replication job.
*/
state?: ReplicationJobState;
/**
* The description of the current status of the replication job.
*/
statusMessage?: ReplicationJobStatusMessage;
/**
* The description of the replication job.
*/
description?: Description;
/**
* Number of recent AMIs to keep in the customer's account for a replication job. By default the value is set to zero, meaning that all AMIs are kept.
*/
numberOfRecentAmisToKeep?: NumberOfRecentAmisToKeep;
/**
* Whether the replication job should produce encrypted AMIs or not. See also KmsKeyId below.
*/
encrypted?: Encrypted;
/**
* KMS key ID for replication jobs that produce encrypted AMIs. Can be any of the following: KMS key ID KMS key alias ARN referring to KMS key ID ARN referring to KMS key alias If encrypted is true but a KMS key id is not specified, the customer's default KMS key for EBS is used.
*/
kmsKeyId?: KmsKeyId;
/**
* Information about the replication runs.
*/
replicationRunList?: ReplicationRunList;
}
export type ReplicationJobId = string;
export type ReplicationJobList = ReplicationJob[];
export type ReplicationJobState = "PENDING"|"ACTIVE"|"FAILED"|"DELETING"|"DELETED"|"COMPLETED"|"PAUSED_ON_FAILURE"|"FAILING"|string;
export type ReplicationJobStatusMessage = string;
export type ReplicationJobTerminated = boolean;
export interface ReplicationRun {
/**
* The identifier of the replication run.
*/
replicationRunId?: ReplicationRunId;
/**
* The state of the replication run.
*/
state?: ReplicationRunState;
/**
* The type of replication run.
*/
type?: ReplicationRunType;
/**
* Details of the current stage of the replication run.
*/
stageDetails?: ReplicationRunStageDetails;
/**
* The description of the current status of the replication job.
*/
statusMessage?: ReplicationRunStatusMessage;
/**
* The identifier of the Amazon Machine Image (AMI) from the replication run.
*/
amiId?: AmiId;
/**
* The start time of the next replication run.
*/
scheduledStartTime?: Timestamp;
/**
* The completion time of the last replication run.
*/
completedTime?: Timestamp;
/**
* The description of the replication run.
*/
description?: Description;
/**
* Whether the replication run should produce encrypted AMI or not. See also KmsKeyId below.
*/
encrypted?: Encrypted;
/**
* KMS key ID for replication jobs that produce encrypted AMIs. Can be any of the following: KMS key ID KMS key alias ARN referring to KMS key ID ARN referring to KMS key alias If encrypted is true but a KMS key id is not specified, the customer's default KMS key for EBS is used.
*/
kmsKeyId?: KmsKeyId;
}
export type ReplicationRunId = string;
export type ReplicationRunList = ReplicationRun[];
export type ReplicationRunStage = string;
export interface ReplicationRunStageDetails {
/**
* String describing the current stage of a replication run.
*/
stage?: ReplicationRunStage;
/**
* String describing the progress of the current stage of a replication run.
*/
stageProgress?: ReplicationRunStageProgress;
}
export type ReplicationRunStageProgress = string;
export type ReplicationRunState = "PENDING"|"MISSED"|"ACTIVE"|"FAILED"|"COMPLETED"|"DELETING"|"DELETED"|string;
export type ReplicationRunStatusMessage = string;
export type ReplicationRunType = "ON_DEMAND"|"AUTOMATIC"|string;
export type RoleName = string;
export type RunOnce = boolean;
export interface S3Location {
/**
* Amazon S3 bucket name.
*/
bucket?: BucketName;
/**
* Amazon S3 bucket key.
*/
key?: KeyName;
}
export type SecurityGroup = string;
export interface Server {
/**
* The identifier of the server.
*/
serverId?: ServerId;
/**
* The type of server.
*/
serverType?: ServerType;
/**
* Information about the VM server.
*/
vmServer?: VmServer;
/**
* The identifier of the replication job.
*/
replicationJobId?: ReplicationJobId;
/**
* Indicates whether the replication job is deleted or failed.
*/
replicationJobTerminated?: ReplicationJobTerminated;
}
export type ServerCatalogStatus = "NOT_IMPORTED"|"IMPORTING"|"AVAILABLE"|"DELETED"|"EXPIRED"|string;
export interface ServerGroup {
/**
* Identifier of a server group.
*/
serverGroupId?: ServerGroupId;
/**
* Name of a server group.
*/
name?: ServerGroupName;
/**
* List of servers belonging to a server group.
*/
serverList?: ServerList;
}
export type ServerGroupId = string;
export interface ServerGroupLaunchConfiguration {
/**
* Identifier of the server group the launch configuration is associated with.
*/
serverGroupId?: ServerGroupId;
/**
* Launch order of servers in the server group.
*/
launchOrder?: LaunchOrder;
/**
* Launch configuration for servers in the server group.
*/
serverLaunchConfigurations?: ServerLaunchConfigurations;
}
export type ServerGroupLaunchConfigurations = ServerGroupLaunchConfiguration[];
export type ServerGroupName = string;
export interface ServerGroupReplicationConfiguration {
/**
* Identifier of the server group this replication configuration is associated with.
*/
serverGroupId?: ServerGroupId;
/**
* Replication configuration for servers in the server group.
*/
serverReplicationConfigurations?: ServerReplicationConfigurations;
}
export type ServerGroupReplicationConfigurations = ServerGroupReplicationConfiguration[];
export type ServerGroups = ServerGroup[];
export type ServerId = string;
export interface ServerLaunchConfiguration {
/**
* Identifier of the server the launch configuration is associated with.
*/
server?: Server;
/**
* Logical ID of the server in the Amazon CloudFormation template.
*/
logicalId?: LogicalId;
/**
* Identifier of the VPC the server should be launched into.
*/
vpc?: VPC;
/**
* Identifier of the subnet the server should be launched into.
*/
subnet?: Subnet;
/**
* Identifier of the security group that applies to the launched server.
*/
securityGroup?: SecurityGroup;
/**
* Name of the EC2 SSH Key to be used for connecting to the launched server.
*/
ec2KeyName?: EC2KeyName;
/**
* Location of the user-data script to be executed when launching the server.
*/
userData?: UserData;
/**
* Instance type to be used for launching the server.
*/
instanceType?: InstanceType;
/**
* If true, a publicly accessible IP address is created when launching the server.
*/
associatePublicIpAddress?: AssociatePublicIpAddress;
}
export type ServerLaunchConfigurations = ServerLaunchConfiguration[];
export type ServerList = Server[];
export interface ServerReplicationConfiguration {
/**
* Identifier of the server this replication configuration is associated with.
*/
server?: Server;
/**
* Parameters for replicating the server.
*/
serverReplicationParameters?: ServerReplicationParameters;
}
export type ServerReplicationConfigurations = ServerReplicationConfiguration[];
export interface ServerReplicationParameters {
/**
* Seed time for creating a replication job for the server.
*/
seedTime?: Timestamp;
/**
* Frequency of creating replication jobs for the server.
*/
frequency?: Frequency;
/**
*
*/
runOnce?: RunOnce;
/**
* License type for creating a replication job for the server.
*/
licenseType?: LicenseType;
/**
* Number of recent AMIs to keep when creating a replication job for this server.
*/
numberOfRecentAmisToKeep?: NumberOfRecentAmisToKeep;
/**
* When true, the replication job produces encrypted AMIs. See also KmsKeyId below.
*/
encrypted?: Encrypted;
/**
* KMS key ID for replication jobs that produce encrypted AMIs. Can be any of the following: KMS key ID KMS key alias ARN referring to KMS key ID ARN referring to KMS key alias If encrypted is true but a KMS key id is not specified, the customer's default KMS key for EBS is used.
*/
kmsKeyId?: KmsKeyId;
}
export type ServerType = "VIRTUAL_MACHINE"|string;
export type StackId = string;
export type StackName = string;
export interface StartAppReplicationRequest {
/**
* ID of the application to replicate.
*/
appId?: AppId;
}
export interface StartAppReplicationResponse {
}
export interface StartOnDemandReplicationRunRequest {
/**
* The identifier of the replication job.
*/
replicationJobId: ReplicationJobId;
/**
* The description of the replication run.
*/
description?: Description;
}
export interface StartOnDemandReplicationRunResponse {
/**
* The identifier of the replication run.
*/
replicationRunId?: ReplicationRunId;
}
export interface StopAppReplicationRequest {
/**
* ID of the application to stop replicating.
*/
appId?: AppId;
}
export interface StopAppReplicationResponse {
}
export type Subnet = string;
export interface Tag {
/**
* Tag key.
*/
key?: TagKey;
/**
* Tag value.
*/
value?: TagValue;
}
export type TagKey = string;
export type TagValue = string;
export type Tags = Tag[];
export interface TerminateAppRequest {
/**
* ID of the application to terminate.
*/
appId?: AppId;
}
export interface TerminateAppResponse {
}
export type Timestamp = Date;
export type TotalServerGroups = number;
export type TotalServers = number;
export interface UpdateAppRequest {
/**
* ID of the application to update.
*/
appId?: AppId;
/**
* New name of the application.
*/
name?: AppName;
/**
* New description of the application.
*/
description?: AppDescription;
/**
* Name of the service role in the customer's account used by AWS SMS.
*/
roleName?: RoleName;
/**
* List of server groups in the application to update.
*/
serverGroups?: ServerGroups;
/**
* List of tags to associate with the application.
*/
tags?: Tags;
}
export interface UpdateAppResponse {
/**
* Summary description of the application.
*/
appSummary?: AppSummary;
/**
* List of updated server groups in the application.
*/
serverGroups?: ServerGroups;
/**
* List of tags associated with the application.
*/
tags?: Tags;
}
export interface UpdateReplicationJobRequest {
/**
* The identifier of the replication job.
*/
replicationJobId: ReplicationJobId;
/**
* The time between consecutive replication runs, in hours.
*/
frequency?: Frequency;
/**
* The start time of the next replication run.
*/
nextReplicationRunStartTime?: Timestamp;
/**
* The license type to be used for the AMI created by a successful replication run.
*/
licenseType?: LicenseType;
/**
* The name of the IAM role to be used by AWS SMS.
*/
roleName?: RoleName;
/**
* The description of the replication job.
*/
description?: Description;
/**
* The maximum number of SMS-created AMIs to retain. The oldest will be deleted once the maximum number is reached and a new AMI is created.
*/
numberOfRecentAmisToKeep?: NumberOfRecentAmisToKeep;
/**
* When true, the replication job produces encrypted AMIs . See also KmsKeyId below.
*/
encrypted?: Encrypted;
/**
* KMS key ID for replication jobs that produce encrypted AMIs. Can be any of the following: KMS key ID KMS key alias ARN referring to KMS key ID ARN referring to KMS key alias If encrypted is true but a KMS key id is not specified, the customer's default KMS key for EBS is used.
*/
kmsKeyId?: KmsKeyId;
}
export interface UpdateReplicationJobResponse {
}
export interface UserData {
/**
* Amazon S3 location of the user-data script.
*/
s3Location?: S3Location;
}
export type VPC = string;
export type VmId = string;
export type VmManagerId = string;
export type VmManagerName = string;
export type VmManagerType = "VSPHERE"|"SCVMM"|"HYPERV-MANAGER"|string;
export type VmName = string;
export type VmPath = string;
export interface VmServer {
/**
* Information about the VM server location.
*/
vmServerAddress?: VmServerAddress;
/**
* The name of the VM.
*/
vmName?: VmName;
/**
* The name of the VM manager.
*/
vmManagerName?: VmManagerName;
/**
* The type of VM management product.
*/
vmManagerType?: VmManagerType;
/**
* The VM folder path in the vCenter Server virtual machine inventory tree.
*/
vmPath?: VmPath;
}
export interface VmServerAddress {
/**
* The identifier of the VM manager.
*/
vmManagerId?: VmManagerId;
/**
* The identifier of the VM.
*/
vmId?: VmId;
}
export type VmServerAddressList = VmServerAddress[];
/**
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
*/
export type apiVersion = "2016-10-24"|"latest"|string;
export interface ClientApiVersions {
/**
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
*/
apiVersion?: apiVersion;
}
export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
/**
* Contains interfaces for use with the SMS client.
*/
export import Types = SMS;
}
export = SMS;