sms.d.ts 61 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629
  1. import {Request} from '../lib/request';
  2. import {Response} from '../lib/response';
  3. import {AWSError} from '../lib/error';
  4. import {Service} from '../lib/service';
  5. import {ServiceConfigurationOptions} from '../lib/service';
  6. import {ConfigBase as Config} from '../lib/config-base';
  7. interface Blob {}
  8. declare class SMS extends Service {
  9. /**
  10. * Constructs a service object. This object has one method for each API operation.
  11. */
  12. constructor(options?: SMS.Types.ClientConfiguration)
  13. config: Config & SMS.Types.ClientConfiguration;
  14. /**
  15. * Creates an application. An application consists of one or more server groups. Each server group contain one or more servers.
  16. */
  17. createApp(params: SMS.Types.CreateAppRequest, callback?: (err: AWSError, data: SMS.Types.CreateAppResponse) => void): Request<SMS.Types.CreateAppResponse, AWSError>;
  18. /**
  19. * Creates an application. An application consists of one or more server groups. Each server group contain one or more servers.
  20. */
  21. createApp(callback?: (err: AWSError, data: SMS.Types.CreateAppResponse) => void): Request<SMS.Types.CreateAppResponse, AWSError>;
  22. /**
  23. * Creates a replication job. The replication job schedules periodic replication runs to replicate your server to Amazon Web Services. Each replication run creates an Amazon Machine Image (AMI).
  24. */
  25. createReplicationJob(params: SMS.Types.CreateReplicationJobRequest, callback?: (err: AWSError, data: SMS.Types.CreateReplicationJobResponse) => void): Request<SMS.Types.CreateReplicationJobResponse, AWSError>;
  26. /**
  27. * Creates a replication job. The replication job schedules periodic replication runs to replicate your server to Amazon Web Services. Each replication run creates an Amazon Machine Image (AMI).
  28. */
  29. createReplicationJob(callback?: (err: AWSError, data: SMS.Types.CreateReplicationJobResponse) => void): Request<SMS.Types.CreateReplicationJobResponse, AWSError>;
  30. /**
  31. * Deletes the specified application. Optionally deletes the launched stack associated with the application and all Server Migration Service replication jobs for servers in the application.
  32. */
  33. deleteApp(params: SMS.Types.DeleteAppRequest, callback?: (err: AWSError, data: SMS.Types.DeleteAppResponse) => void): Request<SMS.Types.DeleteAppResponse, AWSError>;
  34. /**
  35. * Deletes the specified application. Optionally deletes the launched stack associated with the application and all Server Migration Service replication jobs for servers in the application.
  36. */
  37. deleteApp(callback?: (err: AWSError, data: SMS.Types.DeleteAppResponse) => void): Request<SMS.Types.DeleteAppResponse, AWSError>;
  38. /**
  39. * Deletes the launch configuration for the specified application.
  40. */
  41. deleteAppLaunchConfiguration(params: SMS.Types.DeleteAppLaunchConfigurationRequest, callback?: (err: AWSError, data: SMS.Types.DeleteAppLaunchConfigurationResponse) => void): Request<SMS.Types.DeleteAppLaunchConfigurationResponse, AWSError>;
  42. /**
  43. * Deletes the launch configuration for the specified application.
  44. */
  45. deleteAppLaunchConfiguration(callback?: (err: AWSError, data: SMS.Types.DeleteAppLaunchConfigurationResponse) => void): Request<SMS.Types.DeleteAppLaunchConfigurationResponse, AWSError>;
  46. /**
  47. * Deletes the replication configuration for the specified application.
  48. */
  49. deleteAppReplicationConfiguration(params: SMS.Types.DeleteAppReplicationConfigurationRequest, callback?: (err: AWSError, data: SMS.Types.DeleteAppReplicationConfigurationResponse) => void): Request<SMS.Types.DeleteAppReplicationConfigurationResponse, AWSError>;
  50. /**
  51. * Deletes the replication configuration for the specified application.
  52. */
  53. deleteAppReplicationConfiguration(callback?: (err: AWSError, data: SMS.Types.DeleteAppReplicationConfigurationResponse) => void): Request<SMS.Types.DeleteAppReplicationConfigurationResponse, AWSError>;
  54. /**
  55. * Deletes the validation configuration for the specified application.
  56. */
  57. deleteAppValidationConfiguration(params: SMS.Types.DeleteAppValidationConfigurationRequest, callback?: (err: AWSError, data: SMS.Types.DeleteAppValidationConfigurationResponse) => void): Request<SMS.Types.DeleteAppValidationConfigurationResponse, AWSError>;
  58. /**
  59. * Deletes the validation configuration for the specified application.
  60. */
  61. deleteAppValidationConfiguration(callback?: (err: AWSError, data: SMS.Types.DeleteAppValidationConfigurationResponse) => void): Request<SMS.Types.DeleteAppValidationConfigurationResponse, AWSError>;
  62. /**
  63. * Deletes the specified replication job. After you delete a replication job, there are no further replication runs. Amazon Web Services deletes the contents of the Amazon S3 bucket used to store Server Migration Service artifacts. The AMIs created by the replication runs are not deleted.
  64. */
  65. deleteReplicationJob(params: SMS.Types.DeleteReplicationJobRequest, callback?: (err: AWSError, data: SMS.Types.DeleteReplicationJobResponse) => void): Request<SMS.Types.DeleteReplicationJobResponse, AWSError>;
  66. /**
  67. * Deletes the specified replication job. After you delete a replication job, there are no further replication runs. Amazon Web Services deletes the contents of the Amazon S3 bucket used to store Server Migration Service artifacts. The AMIs created by the replication runs are not deleted.
  68. */
  69. deleteReplicationJob(callback?: (err: AWSError, data: SMS.Types.DeleteReplicationJobResponse) => void): Request<SMS.Types.DeleteReplicationJobResponse, AWSError>;
  70. /**
  71. * Deletes all servers from your server catalog.
  72. */
  73. deleteServerCatalog(params: SMS.Types.DeleteServerCatalogRequest, callback?: (err: AWSError, data: SMS.Types.DeleteServerCatalogResponse) => void): Request<SMS.Types.DeleteServerCatalogResponse, AWSError>;
  74. /**
  75. * Deletes all servers from your server catalog.
  76. */
  77. deleteServerCatalog(callback?: (err: AWSError, data: SMS.Types.DeleteServerCatalogResponse) => void): Request<SMS.Types.DeleteServerCatalogResponse, AWSError>;
  78. /**
  79. * Disassociates the specified connector from Server Migration Service. After you disassociate a connector, it is no longer available to support replication jobs.
  80. */
  81. disassociateConnector(params: SMS.Types.DisassociateConnectorRequest, callback?: (err: AWSError, data: SMS.Types.DisassociateConnectorResponse) => void): Request<SMS.Types.DisassociateConnectorResponse, AWSError>;
  82. /**
  83. * Disassociates the specified connector from Server Migration Service. After you disassociate a connector, it is no longer available to support replication jobs.
  84. */
  85. disassociateConnector(callback?: (err: AWSError, data: SMS.Types.DisassociateConnectorResponse) => void): Request<SMS.Types.DisassociateConnectorResponse, AWSError>;
  86. /**
  87. * 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.
  88. */
  89. generateChangeSet(params: SMS.Types.GenerateChangeSetRequest, callback?: (err: AWSError, data: SMS.Types.GenerateChangeSetResponse) => void): Request<SMS.Types.GenerateChangeSetResponse, AWSError>;
  90. /**
  91. * 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.
  92. */
  93. generateChangeSet(callback?: (err: AWSError, data: SMS.Types.GenerateChangeSetResponse) => void): Request<SMS.Types.GenerateChangeSetResponse, AWSError>;
  94. /**
  95. * Generates an CloudFormation template based on the current launch configuration and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
  96. */
  97. generateTemplate(params: SMS.Types.GenerateTemplateRequest, callback?: (err: AWSError, data: SMS.Types.GenerateTemplateResponse) => void): Request<SMS.Types.GenerateTemplateResponse, AWSError>;
  98. /**
  99. * Generates an CloudFormation template based on the current launch configuration and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
  100. */
  101. generateTemplate(callback?: (err: AWSError, data: SMS.Types.GenerateTemplateResponse) => void): Request<SMS.Types.GenerateTemplateResponse, AWSError>;
  102. /**
  103. * Retrieve information about the specified application.
  104. */
  105. getApp(params: SMS.Types.GetAppRequest, callback?: (err: AWSError, data: SMS.Types.GetAppResponse) => void): Request<SMS.Types.GetAppResponse, AWSError>;
  106. /**
  107. * Retrieve information about the specified application.
  108. */
  109. getApp(callback?: (err: AWSError, data: SMS.Types.GetAppResponse) => void): Request<SMS.Types.GetAppResponse, AWSError>;
  110. /**
  111. * Retrieves the application launch configuration associated with the specified application.
  112. */
  113. getAppLaunchConfiguration(params: SMS.Types.GetAppLaunchConfigurationRequest, callback?: (err: AWSError, data: SMS.Types.GetAppLaunchConfigurationResponse) => void): Request<SMS.Types.GetAppLaunchConfigurationResponse, AWSError>;
  114. /**
  115. * Retrieves the application launch configuration associated with the specified application.
  116. */
  117. getAppLaunchConfiguration(callback?: (err: AWSError, data: SMS.Types.GetAppLaunchConfigurationResponse) => void): Request<SMS.Types.GetAppLaunchConfigurationResponse, AWSError>;
  118. /**
  119. * Retrieves the application replication configuration associated with the specified application.
  120. */
  121. getAppReplicationConfiguration(params: SMS.Types.GetAppReplicationConfigurationRequest, callback?: (err: AWSError, data: SMS.Types.GetAppReplicationConfigurationResponse) => void): Request<SMS.Types.GetAppReplicationConfigurationResponse, AWSError>;
  122. /**
  123. * Retrieves the application replication configuration associated with the specified application.
  124. */
  125. getAppReplicationConfiguration(callback?: (err: AWSError, data: SMS.Types.GetAppReplicationConfigurationResponse) => void): Request<SMS.Types.GetAppReplicationConfigurationResponse, AWSError>;
  126. /**
  127. * Retrieves information about a configuration for validating an application.
  128. */
  129. getAppValidationConfiguration(params: SMS.Types.GetAppValidationConfigurationRequest, callback?: (err: AWSError, data: SMS.Types.GetAppValidationConfigurationResponse) => void): Request<SMS.Types.GetAppValidationConfigurationResponse, AWSError>;
  130. /**
  131. * Retrieves information about a configuration for validating an application.
  132. */
  133. getAppValidationConfiguration(callback?: (err: AWSError, data: SMS.Types.GetAppValidationConfigurationResponse) => void): Request<SMS.Types.GetAppValidationConfigurationResponse, AWSError>;
  134. /**
  135. * Retrieves output from validating an application.
  136. */
  137. getAppValidationOutput(params: SMS.Types.GetAppValidationOutputRequest, callback?: (err: AWSError, data: SMS.Types.GetAppValidationOutputResponse) => void): Request<SMS.Types.GetAppValidationOutputResponse, AWSError>;
  138. /**
  139. * Retrieves output from validating an application.
  140. */
  141. getAppValidationOutput(callback?: (err: AWSError, data: SMS.Types.GetAppValidationOutputResponse) => void): Request<SMS.Types.GetAppValidationOutputResponse, AWSError>;
  142. /**
  143. * Describes the connectors registered with the Server Migration Service.
  144. */
  145. getConnectors(params: SMS.Types.GetConnectorsRequest, callback?: (err: AWSError, data: SMS.Types.GetConnectorsResponse) => void): Request<SMS.Types.GetConnectorsResponse, AWSError>;
  146. /**
  147. * Describes the connectors registered with the Server Migration Service.
  148. */
  149. getConnectors(callback?: (err: AWSError, data: SMS.Types.GetConnectorsResponse) => void): Request<SMS.Types.GetConnectorsResponse, AWSError>;
  150. /**
  151. * Describes the specified replication job or all of your replication jobs.
  152. */
  153. getReplicationJobs(params: SMS.Types.GetReplicationJobsRequest, callback?: (err: AWSError, data: SMS.Types.GetReplicationJobsResponse) => void): Request<SMS.Types.GetReplicationJobsResponse, AWSError>;
  154. /**
  155. * Describes the specified replication job or all of your replication jobs.
  156. */
  157. getReplicationJobs(callback?: (err: AWSError, data: SMS.Types.GetReplicationJobsResponse) => void): Request<SMS.Types.GetReplicationJobsResponse, AWSError>;
  158. /**
  159. * Describes the replication runs for the specified replication job.
  160. */
  161. getReplicationRuns(params: SMS.Types.GetReplicationRunsRequest, callback?: (err: AWSError, data: SMS.Types.GetReplicationRunsResponse) => void): Request<SMS.Types.GetReplicationRunsResponse, AWSError>;
  162. /**
  163. * Describes the replication runs for the specified replication job.
  164. */
  165. getReplicationRuns(callback?: (err: AWSError, data: SMS.Types.GetReplicationRunsResponse) => void): Request<SMS.Types.GetReplicationRunsResponse, AWSError>;
  166. /**
  167. * Describes the servers in your server catalog. Before you can describe your servers, you must import them using ImportServerCatalog.
  168. */
  169. getServers(params: SMS.Types.GetServersRequest, callback?: (err: AWSError, data: SMS.Types.GetServersResponse) => void): Request<SMS.Types.GetServersResponse, AWSError>;
  170. /**
  171. * Describes the servers in your server catalog. Before you can describe your servers, you must import them using ImportServerCatalog.
  172. */
  173. getServers(callback?: (err: AWSError, data: SMS.Types.GetServersResponse) => void): Request<SMS.Types.GetServersResponse, AWSError>;
  174. /**
  175. * Allows application import from Migration Hub.
  176. */
  177. importAppCatalog(params: SMS.Types.ImportAppCatalogRequest, callback?: (err: AWSError, data: SMS.Types.ImportAppCatalogResponse) => void): Request<SMS.Types.ImportAppCatalogResponse, AWSError>;
  178. /**
  179. * Allows application import from Migration Hub.
  180. */
  181. importAppCatalog(callback?: (err: AWSError, data: SMS.Types.ImportAppCatalogResponse) => void): Request<SMS.Types.ImportAppCatalogResponse, AWSError>;
  182. /**
  183. * Gathers a complete list of on-premises servers. Connectors must be installed and monitoring all servers to import. This call returns immediately, but might take additional time to retrieve all the servers.
  184. */
  185. importServerCatalog(params: SMS.Types.ImportServerCatalogRequest, callback?: (err: AWSError, data: SMS.Types.ImportServerCatalogResponse) => void): Request<SMS.Types.ImportServerCatalogResponse, AWSError>;
  186. /**
  187. * Gathers a complete list of on-premises servers. Connectors must be installed and monitoring all servers to import. This call returns immediately, but might take additional time to retrieve all the servers.
  188. */
  189. importServerCatalog(callback?: (err: AWSError, data: SMS.Types.ImportServerCatalogResponse) => void): Request<SMS.Types.ImportServerCatalogResponse, AWSError>;
  190. /**
  191. * Launches the specified application as a stack in CloudFormation.
  192. */
  193. launchApp(params: SMS.Types.LaunchAppRequest, callback?: (err: AWSError, data: SMS.Types.LaunchAppResponse) => void): Request<SMS.Types.LaunchAppResponse, AWSError>;
  194. /**
  195. * Launches the specified application as a stack in CloudFormation.
  196. */
  197. launchApp(callback?: (err: AWSError, data: SMS.Types.LaunchAppResponse) => void): Request<SMS.Types.LaunchAppResponse, AWSError>;
  198. /**
  199. * Retrieves summaries for all applications.
  200. */
  201. listApps(params: SMS.Types.ListAppsRequest, callback?: (err: AWSError, data: SMS.Types.ListAppsResponse) => void): Request<SMS.Types.ListAppsResponse, AWSError>;
  202. /**
  203. * Retrieves summaries for all applications.
  204. */
  205. listApps(callback?: (err: AWSError, data: SMS.Types.ListAppsResponse) => void): Request<SMS.Types.ListAppsResponse, AWSError>;
  206. /**
  207. * Provides information to Server Migration Service about whether application validation is successful.
  208. */
  209. notifyAppValidationOutput(params: SMS.Types.NotifyAppValidationOutputRequest, callback?: (err: AWSError, data: SMS.Types.NotifyAppValidationOutputResponse) => void): Request<SMS.Types.NotifyAppValidationOutputResponse, AWSError>;
  210. /**
  211. * Provides information to Server Migration Service about whether application validation is successful.
  212. */
  213. notifyAppValidationOutput(callback?: (err: AWSError, data: SMS.Types.NotifyAppValidationOutputResponse) => void): Request<SMS.Types.NotifyAppValidationOutputResponse, AWSError>;
  214. /**
  215. * Creates or updates the launch configuration for the specified application.
  216. */
  217. putAppLaunchConfiguration(params: SMS.Types.PutAppLaunchConfigurationRequest, callback?: (err: AWSError, data: SMS.Types.PutAppLaunchConfigurationResponse) => void): Request<SMS.Types.PutAppLaunchConfigurationResponse, AWSError>;
  218. /**
  219. * Creates or updates the launch configuration for the specified application.
  220. */
  221. putAppLaunchConfiguration(callback?: (err: AWSError, data: SMS.Types.PutAppLaunchConfigurationResponse) => void): Request<SMS.Types.PutAppLaunchConfigurationResponse, AWSError>;
  222. /**
  223. * Creates or updates the replication configuration for the specified application.
  224. */
  225. putAppReplicationConfiguration(params: SMS.Types.PutAppReplicationConfigurationRequest, callback?: (err: AWSError, data: SMS.Types.PutAppReplicationConfigurationResponse) => void): Request<SMS.Types.PutAppReplicationConfigurationResponse, AWSError>;
  226. /**
  227. * Creates or updates the replication configuration for the specified application.
  228. */
  229. putAppReplicationConfiguration(callback?: (err: AWSError, data: SMS.Types.PutAppReplicationConfigurationResponse) => void): Request<SMS.Types.PutAppReplicationConfigurationResponse, AWSError>;
  230. /**
  231. * Creates or updates a validation configuration for the specified application.
  232. */
  233. putAppValidationConfiguration(params: SMS.Types.PutAppValidationConfigurationRequest, callback?: (err: AWSError, data: SMS.Types.PutAppValidationConfigurationResponse) => void): Request<SMS.Types.PutAppValidationConfigurationResponse, AWSError>;
  234. /**
  235. * Creates or updates a validation configuration for the specified application.
  236. */
  237. putAppValidationConfiguration(callback?: (err: AWSError, data: SMS.Types.PutAppValidationConfigurationResponse) => void): Request<SMS.Types.PutAppValidationConfigurationResponse, AWSError>;
  238. /**
  239. * Starts replicating the specified application by creating replication jobs for each server in the application.
  240. */
  241. startAppReplication(params: SMS.Types.StartAppReplicationRequest, callback?: (err: AWSError, data: SMS.Types.StartAppReplicationResponse) => void): Request<SMS.Types.StartAppReplicationResponse, AWSError>;
  242. /**
  243. * Starts replicating the specified application by creating replication jobs for each server in the application.
  244. */
  245. startAppReplication(callback?: (err: AWSError, data: SMS.Types.StartAppReplicationResponse) => void): Request<SMS.Types.StartAppReplicationResponse, AWSError>;
  246. /**
  247. * Starts an on-demand replication run for the specified application.
  248. */
  249. startOnDemandAppReplication(params: SMS.Types.StartOnDemandAppReplicationRequest, callback?: (err: AWSError, data: SMS.Types.StartOnDemandAppReplicationResponse) => void): Request<SMS.Types.StartOnDemandAppReplicationResponse, AWSError>;
  250. /**
  251. * Starts an on-demand replication run for the specified application.
  252. */
  253. startOnDemandAppReplication(callback?: (err: AWSError, data: SMS.Types.StartOnDemandAppReplicationResponse) => void): Request<SMS.Types.StartOnDemandAppReplicationResponse, AWSError>;
  254. /**
  255. * 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 that you can request in a 24-hour period.
  256. */
  257. startOnDemandReplicationRun(params: SMS.Types.StartOnDemandReplicationRunRequest, callback?: (err: AWSError, data: SMS.Types.StartOnDemandReplicationRunResponse) => void): Request<SMS.Types.StartOnDemandReplicationRunResponse, AWSError>;
  258. /**
  259. * 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 that you can request in a 24-hour period.
  260. */
  261. startOnDemandReplicationRun(callback?: (err: AWSError, data: SMS.Types.StartOnDemandReplicationRunResponse) => void): Request<SMS.Types.StartOnDemandReplicationRunResponse, AWSError>;
  262. /**
  263. * Stops replicating the specified application by deleting the replication job for each server in the application.
  264. */
  265. stopAppReplication(params: SMS.Types.StopAppReplicationRequest, callback?: (err: AWSError, data: SMS.Types.StopAppReplicationResponse) => void): Request<SMS.Types.StopAppReplicationResponse, AWSError>;
  266. /**
  267. * Stops replicating the specified application by deleting the replication job for each server in the application.
  268. */
  269. stopAppReplication(callback?: (err: AWSError, data: SMS.Types.StopAppReplicationResponse) => void): Request<SMS.Types.StopAppReplicationResponse, AWSError>;
  270. /**
  271. * Terminates the stack for the specified application.
  272. */
  273. terminateApp(params: SMS.Types.TerminateAppRequest, callback?: (err: AWSError, data: SMS.Types.TerminateAppResponse) => void): Request<SMS.Types.TerminateAppResponse, AWSError>;
  274. /**
  275. * Terminates the stack for the specified application.
  276. */
  277. terminateApp(callback?: (err: AWSError, data: SMS.Types.TerminateAppResponse) => void): Request<SMS.Types.TerminateAppResponse, AWSError>;
  278. /**
  279. * Updates the specified application.
  280. */
  281. updateApp(params: SMS.Types.UpdateAppRequest, callback?: (err: AWSError, data: SMS.Types.UpdateAppResponse) => void): Request<SMS.Types.UpdateAppResponse, AWSError>;
  282. /**
  283. * Updates the specified application.
  284. */
  285. updateApp(callback?: (err: AWSError, data: SMS.Types.UpdateAppResponse) => void): Request<SMS.Types.UpdateAppResponse, AWSError>;
  286. /**
  287. * Updates the specified settings for the specified replication job.
  288. */
  289. updateReplicationJob(params: SMS.Types.UpdateReplicationJobRequest, callback?: (err: AWSError, data: SMS.Types.UpdateReplicationJobResponse) => void): Request<SMS.Types.UpdateReplicationJobResponse, AWSError>;
  290. /**
  291. * Updates the specified settings for the specified replication job.
  292. */
  293. updateReplicationJob(callback?: (err: AWSError, data: SMS.Types.UpdateReplicationJobResponse) => void): Request<SMS.Types.UpdateReplicationJobResponse, AWSError>;
  294. }
  295. declare namespace SMS {
  296. export type AmiId = string;
  297. export type AppDescription = string;
  298. export type AppId = string;
  299. export type AppIdWithValidation = string;
  300. export type AppIds = AppId[];
  301. export type AppLaunchConfigurationStatus = "NOT_CONFIGURED"|"CONFIGURED"|string;
  302. export type AppLaunchStatus = "READY_FOR_CONFIGURATION"|"CONFIGURATION_IN_PROGRESS"|"CONFIGURATION_INVALID"|"READY_FOR_LAUNCH"|"VALIDATION_IN_PROGRESS"|"LAUNCH_PENDING"|"LAUNCH_IN_PROGRESS"|"LAUNCHED"|"PARTIALLY_LAUNCHED"|"DELTA_LAUNCH_IN_PROGRESS"|"DELTA_LAUNCH_FAILED"|"LAUNCH_FAILED"|"TERMINATE_IN_PROGRESS"|"TERMINATE_FAILED"|"TERMINATED"|string;
  303. export type AppLaunchStatusMessage = string;
  304. export type AppName = string;
  305. export type AppReplicationConfigurationStatus = "NOT_CONFIGURED"|"CONFIGURED"|string;
  306. export type AppReplicationStatus = "READY_FOR_CONFIGURATION"|"CONFIGURATION_IN_PROGRESS"|"CONFIGURATION_INVALID"|"READY_FOR_REPLICATION"|"VALIDATION_IN_PROGRESS"|"REPLICATION_PENDING"|"REPLICATION_IN_PROGRESS"|"REPLICATED"|"PARTIALLY_REPLICATED"|"DELTA_REPLICATION_IN_PROGRESS"|"DELTA_REPLICATED"|"DELTA_REPLICATION_FAILED"|"REPLICATION_FAILED"|"REPLICATION_STOPPING"|"REPLICATION_STOP_FAILED"|"REPLICATION_STOPPED"|string;
  307. export type AppReplicationStatusMessage = string;
  308. export type AppStatus = "CREATING"|"ACTIVE"|"UPDATING"|"DELETING"|"DELETED"|"DELETE_FAILED"|string;
  309. export type AppStatusMessage = string;
  310. export interface AppSummary {
  311. /**
  312. * The unique ID of the application.
  313. */
  314. appId?: AppId;
  315. /**
  316. * The ID of the application.
  317. */
  318. importedAppId?: ImportedAppId;
  319. /**
  320. * The name of the application.
  321. */
  322. name?: AppName;
  323. /**
  324. * The description of the application.
  325. */
  326. description?: AppDescription;
  327. /**
  328. * Status of the application.
  329. */
  330. status?: AppStatus;
  331. /**
  332. * A message related to the status of the application
  333. */
  334. statusMessage?: AppStatusMessage;
  335. /**
  336. * Status of the replication configuration.
  337. */
  338. replicationConfigurationStatus?: AppReplicationConfigurationStatus;
  339. /**
  340. * The replication status of the application.
  341. */
  342. replicationStatus?: AppReplicationStatus;
  343. /**
  344. * A message related to the replication status of the application.
  345. */
  346. replicationStatusMessage?: AppReplicationStatusMessage;
  347. /**
  348. * The timestamp of the application's most recent successful replication.
  349. */
  350. latestReplicationTime?: Timestamp;
  351. /**
  352. * Status of the launch configuration.
  353. */
  354. launchConfigurationStatus?: AppLaunchConfigurationStatus;
  355. /**
  356. * The launch status of the application.
  357. */
  358. launchStatus?: AppLaunchStatus;
  359. /**
  360. * A message related to the launch status of the application.
  361. */
  362. launchStatusMessage?: AppLaunchStatusMessage;
  363. /**
  364. * Details about the latest launch of the application.
  365. */
  366. launchDetails?: LaunchDetails;
  367. /**
  368. * The creation time of the application.
  369. */
  370. creationTime?: Timestamp;
  371. /**
  372. * The last modified time of the application.
  373. */
  374. lastModified?: Timestamp;
  375. /**
  376. * The name of the service role in the customer's account used by Server Migration Service.
  377. */
  378. roleName?: RoleName;
  379. /**
  380. * The number of server groups present in the application.
  381. */
  382. totalServerGroups?: TotalServerGroups;
  383. /**
  384. * The number of servers present in the application.
  385. */
  386. totalServers?: TotalServers;
  387. }
  388. export interface AppValidationConfiguration {
  389. /**
  390. * The ID of the validation.
  391. */
  392. validationId?: ValidationId;
  393. /**
  394. * The name of the configuration.
  395. */
  396. name?: NonEmptyStringWithMaxLen255;
  397. /**
  398. * The validation strategy.
  399. */
  400. appValidationStrategy?: AppValidationStrategy;
  401. /**
  402. * The validation parameters.
  403. */
  404. ssmValidationParameters?: SSMValidationParameters;
  405. }
  406. export type AppValidationConfigurations = AppValidationConfiguration[];
  407. export interface AppValidationOutput {
  408. /**
  409. * Output from using SSM to validate the application.
  410. */
  411. ssmOutput?: SSMOutput;
  412. }
  413. export type AppValidationStrategy = "SSM"|string;
  414. export type Apps = AppSummary[];
  415. export type AssociatePublicIpAddress = boolean;
  416. export type AutoLaunch = boolean;
  417. export type BucketName = string;
  418. export type ClientToken = string;
  419. export type Command = string;
  420. export interface Connector {
  421. /**
  422. * The ID of the connector.
  423. */
  424. connectorId?: ConnectorId;
  425. /**
  426. * The connector version.
  427. */
  428. version?: ConnectorVersion;
  429. /**
  430. * The status of the connector.
  431. */
  432. status?: ConnectorStatus;
  433. /**
  434. * The capabilities of the connector.
  435. */
  436. capabilityList?: ConnectorCapabilityList;
  437. /**
  438. * The name of the VM manager.
  439. */
  440. vmManagerName?: VmManagerName;
  441. /**
  442. * The VM management product.
  443. */
  444. vmManagerType?: VmManagerType;
  445. /**
  446. * The ID of the VM manager.
  447. */
  448. vmManagerId?: VmManagerId;
  449. /**
  450. * The IP address of the connector.
  451. */
  452. ipAddress?: IpAddress;
  453. /**
  454. * The MAC address of the connector.
  455. */
  456. macAddress?: MacAddress;
  457. /**
  458. * The time the connector was associated.
  459. */
  460. associatedOn?: Timestamp;
  461. }
  462. export type ConnectorCapability = "VSPHERE"|"SCVMM"|"HYPERV-MANAGER"|"SNAPSHOT_BATCHING"|"SMS_OPTIMIZED"|string;
  463. export type ConnectorCapabilityList = ConnectorCapability[];
  464. export type ConnectorId = string;
  465. export type ConnectorList = Connector[];
  466. export type ConnectorStatus = "HEALTHY"|"UNHEALTHY"|string;
  467. export type ConnectorVersion = string;
  468. export interface CreateAppRequest {
  469. /**
  470. * The name of the new application.
  471. */
  472. name?: AppName;
  473. /**
  474. * The description of the new application
  475. */
  476. description?: AppDescription;
  477. /**
  478. * The name of the service role in the customer's account to be used by Server Migration Service.
  479. */
  480. roleName?: RoleName;
  481. /**
  482. * A unique, case-sensitive identifier that you provide to ensure the idempotency of application creation.
  483. */
  484. clientToken?: ClientToken;
  485. /**
  486. * The server groups to include in the application.
  487. */
  488. serverGroups?: ServerGroups;
  489. /**
  490. * The tags to be associated with the application.
  491. */
  492. tags?: Tags;
  493. }
  494. export interface CreateAppResponse {
  495. /**
  496. * A summary description of the application.
  497. */
  498. appSummary?: AppSummary;
  499. /**
  500. * The server groups included in the application.
  501. */
  502. serverGroups?: ServerGroups;
  503. /**
  504. * The tags associated with the application.
  505. */
  506. tags?: Tags;
  507. }
  508. export interface CreateReplicationJobRequest {
  509. /**
  510. * The ID of the server.
  511. */
  512. serverId: ServerId;
  513. /**
  514. * The seed replication time.
  515. */
  516. seedReplicationTime: Timestamp;
  517. /**
  518. * The time between consecutive replication runs, in hours.
  519. */
  520. frequency?: Frequency;
  521. /**
  522. * Indicates whether to run the replication job one time.
  523. */
  524. runOnce?: RunOnce;
  525. /**
  526. * The license type to be used for the AMI created by a successful replication run.
  527. */
  528. licenseType?: LicenseType;
  529. /**
  530. * The name of the IAM role to be used by the Server Migration Service.
  531. */
  532. roleName?: RoleName;
  533. /**
  534. * The description of the replication job.
  535. */
  536. description?: Description;
  537. /**
  538. * The maximum number of SMS-created AMIs to retain. The oldest is deleted after the maximum number is reached and a new AMI is created.
  539. */
  540. numberOfRecentAmisToKeep?: NumberOfRecentAmisToKeep;
  541. /**
  542. * Indicates whether the replication job produces encrypted AMIs.
  543. */
  544. encrypted?: Encrypted;
  545. /**
  546. * The ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the following: KMS key ID KMS key alias ARN referring to the KMS key ID ARN referring to the KMS key alias If encrypted is true but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.
  547. */
  548. kmsKeyId?: KmsKeyId;
  549. }
  550. export interface CreateReplicationJobResponse {
  551. /**
  552. * The unique identifier of the replication job.
  553. */
  554. replicationJobId?: ReplicationJobId;
  555. }
  556. export interface DeleteAppLaunchConfigurationRequest {
  557. /**
  558. * The ID of the application.
  559. */
  560. appId?: AppId;
  561. }
  562. export interface DeleteAppLaunchConfigurationResponse {
  563. }
  564. export interface DeleteAppReplicationConfigurationRequest {
  565. /**
  566. * The ID of the application.
  567. */
  568. appId?: AppId;
  569. }
  570. export interface DeleteAppReplicationConfigurationResponse {
  571. }
  572. export interface DeleteAppRequest {
  573. /**
  574. * The ID of the application.
  575. */
  576. appId?: AppId;
  577. /**
  578. * Indicates whether to stop all replication jobs corresponding to the servers in the application while deleting the application.
  579. */
  580. forceStopAppReplication?: ForceStopAppReplication;
  581. /**
  582. * Indicates whether to terminate the stack corresponding to the application while deleting the application.
  583. */
  584. forceTerminateApp?: ForceTerminateApp;
  585. }
  586. export interface DeleteAppResponse {
  587. }
  588. export interface DeleteAppValidationConfigurationRequest {
  589. /**
  590. * The ID of the application.
  591. */
  592. appId: AppIdWithValidation;
  593. }
  594. export interface DeleteAppValidationConfigurationResponse {
  595. }
  596. export interface DeleteReplicationJobRequest {
  597. /**
  598. * The ID of the replication job.
  599. */
  600. replicationJobId: ReplicationJobId;
  601. }
  602. export interface DeleteReplicationJobResponse {
  603. }
  604. export interface DeleteServerCatalogRequest {
  605. }
  606. export interface DeleteServerCatalogResponse {
  607. }
  608. export type Description = string;
  609. export interface DisassociateConnectorRequest {
  610. /**
  611. * The ID of the connector.
  612. */
  613. connectorId: ConnectorId;
  614. }
  615. export interface DisassociateConnectorResponse {
  616. }
  617. export type EC2KeyName = string;
  618. export type Encrypted = boolean;
  619. export type ExecutionTimeoutSeconds = number;
  620. export type ForceStopAppReplication = boolean;
  621. export type ForceTerminateApp = boolean;
  622. export type Frequency = number;
  623. export interface GenerateChangeSetRequest {
  624. /**
  625. * The ID of the application associated with the change set.
  626. */
  627. appId?: AppId;
  628. /**
  629. * The format for the change set.
  630. */
  631. changesetFormat?: OutputFormat;
  632. }
  633. export interface GenerateChangeSetResponse {
  634. /**
  635. * The location of the Amazon S3 object.
  636. */
  637. s3Location?: S3Location;
  638. }
  639. export interface GenerateTemplateRequest {
  640. /**
  641. * The ID of the application associated with the CloudFormation template.
  642. */
  643. appId?: AppId;
  644. /**
  645. * The format for generating the CloudFormation template.
  646. */
  647. templateFormat?: OutputFormat;
  648. }
  649. export interface GenerateTemplateResponse {
  650. /**
  651. * The location of the Amazon S3 object.
  652. */
  653. s3Location?: S3Location;
  654. }
  655. export interface GetAppLaunchConfigurationRequest {
  656. /**
  657. * The ID of the application.
  658. */
  659. appId?: AppId;
  660. }
  661. export interface GetAppLaunchConfigurationResponse {
  662. /**
  663. * The ID of the application.
  664. */
  665. appId?: AppId;
  666. /**
  667. * The name of the service role in the customer's account that CloudFormation uses to launch the application.
  668. */
  669. roleName?: RoleName;
  670. /**
  671. * Indicates whether the application is configured to launch automatically after replication is complete.
  672. */
  673. autoLaunch?: AutoLaunch;
  674. /**
  675. * The launch configurations for server groups in this application.
  676. */
  677. serverGroupLaunchConfigurations?: ServerGroupLaunchConfigurations;
  678. }
  679. export interface GetAppReplicationConfigurationRequest {
  680. /**
  681. * The ID of the application.
  682. */
  683. appId?: AppId;
  684. }
  685. export interface GetAppReplicationConfigurationResponse {
  686. /**
  687. * The replication configurations associated with server groups in this application.
  688. */
  689. serverGroupReplicationConfigurations?: ServerGroupReplicationConfigurations;
  690. }
  691. export interface GetAppRequest {
  692. /**
  693. * The ID of the application.
  694. */
  695. appId?: AppId;
  696. }
  697. export interface GetAppResponse {
  698. /**
  699. * Information about the application.
  700. */
  701. appSummary?: AppSummary;
  702. /**
  703. * The server groups that belong to the application.
  704. */
  705. serverGroups?: ServerGroups;
  706. /**
  707. * The tags associated with the application.
  708. */
  709. tags?: Tags;
  710. }
  711. export interface GetAppValidationConfigurationRequest {
  712. /**
  713. * The ID of the application.
  714. */
  715. appId: AppIdWithValidation;
  716. }
  717. export interface GetAppValidationConfigurationResponse {
  718. /**
  719. * The configuration for application validation.
  720. */
  721. appValidationConfigurations?: AppValidationConfigurations;
  722. /**
  723. * The configuration for instance validation.
  724. */
  725. serverGroupValidationConfigurations?: ServerGroupValidationConfigurations;
  726. }
  727. export interface GetAppValidationOutputRequest {
  728. /**
  729. * The ID of the application.
  730. */
  731. appId: AppIdWithValidation;
  732. }
  733. export interface GetAppValidationOutputResponse {
  734. /**
  735. * The validation output.
  736. */
  737. validationOutputList?: ValidationOutputList;
  738. }
  739. export interface GetConnectorsRequest {
  740. /**
  741. * The token for the next set of results.
  742. */
  743. nextToken?: NextToken;
  744. /**
  745. * 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.
  746. */
  747. maxResults?: MaxResults;
  748. }
  749. export interface GetConnectorsResponse {
  750. /**
  751. * Information about the registered connectors.
  752. */
  753. connectorList?: ConnectorList;
  754. /**
  755. * The token required to retrieve the next set of results. This value is null when there are no more results to return.
  756. */
  757. nextToken?: NextToken;
  758. }
  759. export interface GetReplicationJobsRequest {
  760. /**
  761. * The ID of the replication job.
  762. */
  763. replicationJobId?: ReplicationJobId;
  764. /**
  765. * The token for the next set of results.
  766. */
  767. nextToken?: NextToken;
  768. /**
  769. * 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.
  770. */
  771. maxResults?: MaxResults;
  772. }
  773. export interface GetReplicationJobsResponse {
  774. /**
  775. * Information about the replication jobs.
  776. */
  777. replicationJobList?: ReplicationJobList;
  778. /**
  779. * The token required to retrieve the next set of results. This value is null when there are no more results to return.
  780. */
  781. nextToken?: NextToken;
  782. }
  783. export interface GetReplicationRunsRequest {
  784. /**
  785. * The ID of the replication job.
  786. */
  787. replicationJobId: ReplicationJobId;
  788. /**
  789. * The token for the next set of results.
  790. */
  791. nextToken?: NextToken;
  792. /**
  793. * 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.
  794. */
  795. maxResults?: MaxResults;
  796. }
  797. export interface GetReplicationRunsResponse {
  798. /**
  799. * Information about the replication job.
  800. */
  801. replicationJob?: ReplicationJob;
  802. /**
  803. * Information about the replication runs.
  804. */
  805. replicationRunList?: ReplicationRunList;
  806. /**
  807. * The token required to retrieve the next set of results. This value is null when there are no more results to return.
  808. */
  809. nextToken?: NextToken;
  810. }
  811. export interface GetServersRequest {
  812. /**
  813. * The token for the next set of results.
  814. */
  815. nextToken?: NextToken;
  816. /**
  817. * 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.
  818. */
  819. maxResults?: MaxResults;
  820. /**
  821. * The server addresses.
  822. */
  823. vmServerAddressList?: VmServerAddressList;
  824. }
  825. export interface GetServersResponse {
  826. /**
  827. * The time when the server was last modified.
  828. */
  829. lastModifiedOn?: Timestamp;
  830. /**
  831. * The status of the server catalog.
  832. */
  833. serverCatalogStatus?: ServerCatalogStatus;
  834. /**
  835. * Information about the servers.
  836. */
  837. serverList?: ServerList;
  838. /**
  839. * The token required to retrieve the next set of results. This value is null when there are no more results to return.
  840. */
  841. nextToken?: NextToken;
  842. }
  843. export interface ImportAppCatalogRequest {
  844. /**
  845. * The name of the service role. If you omit this parameter, we create a service-linked role for Migration Hub in your account. Otherwise, the role that you provide must have the policy and trust policy described in the Migration Hub User Guide.
  846. */
  847. roleName?: RoleName;
  848. }
  849. export interface ImportAppCatalogResponse {
  850. }
  851. export interface ImportServerCatalogRequest {
  852. }
  853. export interface ImportServerCatalogResponse {
  854. }
  855. export type ImportedAppId = string;
  856. export type InstanceId = string;
  857. export type InstanceType = string;
  858. export type IpAddress = string;
  859. export type KmsKeyId = string;
  860. export interface LaunchAppRequest {
  861. /**
  862. * The ID of the application.
  863. */
  864. appId?: AppId;
  865. }
  866. export interface LaunchAppResponse {
  867. }
  868. export interface LaunchDetails {
  869. /**
  870. * The latest time that this application was launched successfully.
  871. */
  872. latestLaunchTime?: Timestamp;
  873. /**
  874. * The name of the latest stack launched for this application.
  875. */
  876. stackName?: StackName;
  877. /**
  878. * The ID of the latest stack launched for this application.
  879. */
  880. stackId?: StackId;
  881. }
  882. export type LaunchOrder = number;
  883. export type LicenseType = "AWS"|"BYOL"|string;
  884. export interface ListAppsRequest {
  885. /**
  886. * The unique application IDs.
  887. */
  888. appIds?: AppIds;
  889. /**
  890. * The token for the next set of results.
  891. */
  892. nextToken?: NextToken;
  893. /**
  894. * The maximum number of results to return in a single call. The default value is 100. To retrieve the remaining results, make another call with the returned NextToken value.
  895. */
  896. maxResults?: MaxResults;
  897. }
  898. export interface ListAppsResponse {
  899. /**
  900. * The application summaries.
  901. */
  902. apps?: Apps;
  903. /**
  904. * The token required to retrieve the next set of results. This value is null when there are no more results to return.
  905. */
  906. nextToken?: NextToken;
  907. }
  908. export type LogicalId = string;
  909. export type MacAddress = string;
  910. export type MaxResults = number;
  911. export type NextToken = string;
  912. export type NonEmptyStringWithMaxLen255 = string;
  913. export interface NotificationContext {
  914. /**
  915. * The ID of the validation.
  916. */
  917. validationId?: ValidationId;
  918. /**
  919. * The status of the validation.
  920. */
  921. status?: ValidationStatus;
  922. /**
  923. * The status message.
  924. */
  925. statusMessage?: ValidationStatusMessage;
  926. }
  927. export interface NotifyAppValidationOutputRequest {
  928. /**
  929. * The ID of the application.
  930. */
  931. appId: AppIdWithValidation;
  932. /**
  933. * The notification information.
  934. */
  935. notificationContext?: NotificationContext;
  936. }
  937. export interface NotifyAppValidationOutputResponse {
  938. }
  939. export type NumberOfRecentAmisToKeep = number;
  940. export type OutputFormat = "JSON"|"YAML"|string;
  941. export interface PutAppLaunchConfigurationRequest {
  942. /**
  943. * The ID of the application.
  944. */
  945. appId?: AppId;
  946. /**
  947. * The name of service role in the customer's account that CloudFormation uses to launch the application.
  948. */
  949. roleName?: RoleName;
  950. /**
  951. * Indicates whether the application is configured to launch automatically after replication is complete.
  952. */
  953. autoLaunch?: AutoLaunch;
  954. /**
  955. * Information about the launch configurations for server groups in the application.
  956. */
  957. serverGroupLaunchConfigurations?: ServerGroupLaunchConfigurations;
  958. }
  959. export interface PutAppLaunchConfigurationResponse {
  960. }
  961. export interface PutAppReplicationConfigurationRequest {
  962. /**
  963. * The ID of the application.
  964. */
  965. appId?: AppId;
  966. /**
  967. * Information about the replication configurations for server groups in the application.
  968. */
  969. serverGroupReplicationConfigurations?: ServerGroupReplicationConfigurations;
  970. }
  971. export interface PutAppReplicationConfigurationResponse {
  972. }
  973. export interface PutAppValidationConfigurationRequest {
  974. /**
  975. * The ID of the application.
  976. */
  977. appId: AppIdWithValidation;
  978. /**
  979. * The configuration for application validation.
  980. */
  981. appValidationConfigurations?: AppValidationConfigurations;
  982. /**
  983. * The configuration for instance validation.
  984. */
  985. serverGroupValidationConfigurations?: ServerGroupValidationConfigurations;
  986. }
  987. export interface PutAppValidationConfigurationResponse {
  988. }
  989. export interface ReplicationJob {
  990. /**
  991. * The ID of the replication job.
  992. */
  993. replicationJobId?: ReplicationJobId;
  994. /**
  995. * The ID of the server.
  996. */
  997. serverId?: ServerId;
  998. /**
  999. * The type of server.
  1000. */
  1001. serverType?: ServerType;
  1002. /**
  1003. * Information about the VM server.
  1004. */
  1005. vmServer?: VmServer;
  1006. /**
  1007. * The seed replication time.
  1008. */
  1009. seedReplicationTime?: Timestamp;
  1010. /**
  1011. * The time between consecutive replication runs, in hours.
  1012. */
  1013. frequency?: Frequency;
  1014. /**
  1015. * Indicates whether to run the replication job one time.
  1016. */
  1017. runOnce?: RunOnce;
  1018. /**
  1019. * The start time of the next replication run.
  1020. */
  1021. nextReplicationRunStartTime?: Timestamp;
  1022. /**
  1023. * The license type to be used for the AMI created by a successful replication run.
  1024. */
  1025. licenseType?: LicenseType;
  1026. /**
  1027. * The name of the IAM role to be used by Server Migration Service.
  1028. */
  1029. roleName?: RoleName;
  1030. /**
  1031. * The ID of the latest Amazon Machine Image (AMI).
  1032. */
  1033. latestAmiId?: AmiId;
  1034. /**
  1035. * The state of the replication job.
  1036. */
  1037. state?: ReplicationJobState;
  1038. /**
  1039. * The description of the current status of the replication job.
  1040. */
  1041. statusMessage?: ReplicationJobStatusMessage;
  1042. /**
  1043. * The description of the replication job.
  1044. */
  1045. description?: Description;
  1046. /**
  1047. * The 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.
  1048. */
  1049. numberOfRecentAmisToKeep?: NumberOfRecentAmisToKeep;
  1050. /**
  1051. * Indicates whether the replication job should produce encrypted AMIs.
  1052. */
  1053. encrypted?: Encrypted;
  1054. /**
  1055. * The ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the following: KMS key ID KMS key alias ARN referring to the KMS key ID ARN referring to the KMS key alias If encrypted is enabled but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.
  1056. */
  1057. kmsKeyId?: KmsKeyId;
  1058. /**
  1059. * Information about the replication runs.
  1060. */
  1061. replicationRunList?: ReplicationRunList;
  1062. }
  1063. export type ReplicationJobId = string;
  1064. export type ReplicationJobList = ReplicationJob[];
  1065. export type ReplicationJobState = "PENDING"|"ACTIVE"|"FAILED"|"DELETING"|"DELETED"|"COMPLETED"|"PAUSED_ON_FAILURE"|"FAILING"|string;
  1066. export type ReplicationJobStatusMessage = string;
  1067. export type ReplicationJobTerminated = boolean;
  1068. export interface ReplicationRun {
  1069. /**
  1070. * The ID of the replication run.
  1071. */
  1072. replicationRunId?: ReplicationRunId;
  1073. /**
  1074. * The state of the replication run.
  1075. */
  1076. state?: ReplicationRunState;
  1077. /**
  1078. * The type of replication run.
  1079. */
  1080. type?: ReplicationRunType;
  1081. /**
  1082. * Details about the current stage of the replication run.
  1083. */
  1084. stageDetails?: ReplicationRunStageDetails;
  1085. /**
  1086. * The description of the current status of the replication job.
  1087. */
  1088. statusMessage?: ReplicationRunStatusMessage;
  1089. /**
  1090. * The ID of the Amazon Machine Image (AMI) from the replication run.
  1091. */
  1092. amiId?: AmiId;
  1093. /**
  1094. * The start time of the next replication run.
  1095. */
  1096. scheduledStartTime?: Timestamp;
  1097. /**
  1098. * The completion time of the last replication run.
  1099. */
  1100. completedTime?: Timestamp;
  1101. /**
  1102. * The description of the replication run.
  1103. */
  1104. description?: Description;
  1105. /**
  1106. * Indicates whether the replication run should produce an encrypted AMI.
  1107. */
  1108. encrypted?: Encrypted;
  1109. /**
  1110. * The ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the following: KMS key ID KMS key alias ARN referring to the KMS key ID ARN referring to the KMS key alias If encrypted is true but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.
  1111. */
  1112. kmsKeyId?: KmsKeyId;
  1113. }
  1114. export type ReplicationRunId = string;
  1115. export type ReplicationRunList = ReplicationRun[];
  1116. export type ReplicationRunStage = string;
  1117. export interface ReplicationRunStageDetails {
  1118. /**
  1119. * The current stage of a replication run.
  1120. */
  1121. stage?: ReplicationRunStage;
  1122. /**
  1123. * The progress of the current stage of a replication run.
  1124. */
  1125. stageProgress?: ReplicationRunStageProgress;
  1126. }
  1127. export type ReplicationRunStageProgress = string;
  1128. export type ReplicationRunState = "PENDING"|"MISSED"|"ACTIVE"|"FAILED"|"COMPLETED"|"DELETING"|"DELETED"|string;
  1129. export type ReplicationRunStatusMessage = string;
  1130. export type ReplicationRunType = "ON_DEMAND"|"AUTOMATIC"|string;
  1131. export type RoleName = string;
  1132. export type RunOnce = boolean;
  1133. export type S3BucketName = string;
  1134. export type S3KeyName = string;
  1135. export interface S3Location {
  1136. /**
  1137. * The Amazon S3 bucket name.
  1138. */
  1139. bucket?: S3BucketName;
  1140. /**
  1141. * The Amazon S3 bucket key.
  1142. */
  1143. key?: S3KeyName;
  1144. }
  1145. export interface SSMOutput {
  1146. s3Location?: S3Location;
  1147. }
  1148. export interface SSMValidationParameters {
  1149. /**
  1150. * The location of the validation script.
  1151. */
  1152. source?: Source;
  1153. /**
  1154. * The ID of the instance. The instance must have the following tag: UserForSMSApplicationValidation=true.
  1155. */
  1156. instanceId?: InstanceId;
  1157. /**
  1158. * The type of validation script.
  1159. */
  1160. scriptType?: ScriptType;
  1161. /**
  1162. * The command to run the validation script.
  1163. */
  1164. command?: Command;
  1165. /**
  1166. * The timeout interval, in seconds.
  1167. */
  1168. executionTimeoutSeconds?: ExecutionTimeoutSeconds;
  1169. /**
  1170. * The name of the S3 bucket for output.
  1171. */
  1172. outputS3BucketName?: BucketName;
  1173. }
  1174. export type ScriptType = "SHELL_SCRIPT"|"POWERSHELL_SCRIPT"|string;
  1175. export type SecurityGroup = string;
  1176. export interface Server {
  1177. /**
  1178. * The ID of the server.
  1179. */
  1180. serverId?: ServerId;
  1181. /**
  1182. * The type of server.
  1183. */
  1184. serverType?: ServerType;
  1185. /**
  1186. * Information about the VM server.
  1187. */
  1188. vmServer?: VmServer;
  1189. /**
  1190. * The ID of the replication job.
  1191. */
  1192. replicationJobId?: ReplicationJobId;
  1193. /**
  1194. * Indicates whether the replication job is deleted or failed.
  1195. */
  1196. replicationJobTerminated?: ReplicationJobTerminated;
  1197. }
  1198. export type ServerCatalogStatus = "NOT_IMPORTED"|"IMPORTING"|"AVAILABLE"|"DELETED"|"EXPIRED"|string;
  1199. export interface ServerGroup {
  1200. /**
  1201. * The ID of a server group.
  1202. */
  1203. serverGroupId?: ServerGroupId;
  1204. /**
  1205. * The name of a server group.
  1206. */
  1207. name?: ServerGroupName;
  1208. /**
  1209. * The servers that belong to a server group.
  1210. */
  1211. serverList?: ServerList;
  1212. }
  1213. export type ServerGroupId = string;
  1214. export interface ServerGroupLaunchConfiguration {
  1215. /**
  1216. * The ID of the server group with which the launch configuration is associated.
  1217. */
  1218. serverGroupId?: ServerGroupId;
  1219. /**
  1220. * The launch order of servers in the server group.
  1221. */
  1222. launchOrder?: LaunchOrder;
  1223. /**
  1224. * The launch configuration for servers in the server group.
  1225. */
  1226. serverLaunchConfigurations?: ServerLaunchConfigurations;
  1227. }
  1228. export type ServerGroupLaunchConfigurations = ServerGroupLaunchConfiguration[];
  1229. export type ServerGroupName = string;
  1230. export interface ServerGroupReplicationConfiguration {
  1231. /**
  1232. * The ID of the server group with which this replication configuration is associated.
  1233. */
  1234. serverGroupId?: ServerGroupId;
  1235. /**
  1236. * The replication configuration for servers in the server group.
  1237. */
  1238. serverReplicationConfigurations?: ServerReplicationConfigurations;
  1239. }
  1240. export type ServerGroupReplicationConfigurations = ServerGroupReplicationConfiguration[];
  1241. export interface ServerGroupValidationConfiguration {
  1242. /**
  1243. * The ID of the server group.
  1244. */
  1245. serverGroupId?: ServerGroupId;
  1246. /**
  1247. * The validation configuration.
  1248. */
  1249. serverValidationConfigurations?: ServerValidationConfigurations;
  1250. }
  1251. export type ServerGroupValidationConfigurations = ServerGroupValidationConfiguration[];
  1252. export type ServerGroups = ServerGroup[];
  1253. export type ServerId = string;
  1254. export interface ServerLaunchConfiguration {
  1255. /**
  1256. * The ID of the server with which the launch configuration is associated.
  1257. */
  1258. server?: Server;
  1259. /**
  1260. * The logical ID of the server in the CloudFormation template.
  1261. */
  1262. logicalId?: LogicalId;
  1263. /**
  1264. * The ID of the VPC into which the server should be launched.
  1265. */
  1266. vpc?: VPC;
  1267. /**
  1268. * The ID of the subnet the server should be launched into.
  1269. */
  1270. subnet?: Subnet;
  1271. /**
  1272. * The ID of the security group that applies to the launched server.
  1273. */
  1274. securityGroup?: SecurityGroup;
  1275. /**
  1276. * The name of the Amazon EC2 SSH key to be used for connecting to the launched server.
  1277. */
  1278. ec2KeyName?: EC2KeyName;
  1279. /**
  1280. * Location of the user-data script to be executed when launching the server.
  1281. */
  1282. userData?: UserData;
  1283. /**
  1284. * The instance type to use when launching the server.
  1285. */
  1286. instanceType?: InstanceType;
  1287. /**
  1288. * Indicates whether a publicly accessible IP address is created when launching the server.
  1289. */
  1290. associatePublicIpAddress?: AssociatePublicIpAddress;
  1291. /**
  1292. * The name of the IAM instance profile.
  1293. */
  1294. iamInstanceProfileName?: RoleName;
  1295. configureScript?: S3Location;
  1296. /**
  1297. * The type of configuration script.
  1298. */
  1299. configureScriptType?: ScriptType;
  1300. }
  1301. export type ServerLaunchConfigurations = ServerLaunchConfiguration[];
  1302. export type ServerList = Server[];
  1303. export interface ServerReplicationConfiguration {
  1304. /**
  1305. * The ID of the server with which this replication configuration is associated.
  1306. */
  1307. server?: Server;
  1308. /**
  1309. * The parameters for replicating the server.
  1310. */
  1311. serverReplicationParameters?: ServerReplicationParameters;
  1312. }
  1313. export type ServerReplicationConfigurations = ServerReplicationConfiguration[];
  1314. export interface ServerReplicationParameters {
  1315. /**
  1316. * The seed time for creating a replication job for the server.
  1317. */
  1318. seedTime?: Timestamp;
  1319. /**
  1320. * The frequency of creating replication jobs for the server.
  1321. */
  1322. frequency?: Frequency;
  1323. /**
  1324. * Indicates whether to run the replication job one time.
  1325. */
  1326. runOnce?: RunOnce;
  1327. /**
  1328. * The license type for creating a replication job for the server.
  1329. */
  1330. licenseType?: LicenseType;
  1331. /**
  1332. * The number of recent AMIs to keep when creating a replication job for this server.
  1333. */
  1334. numberOfRecentAmisToKeep?: NumberOfRecentAmisToKeep;
  1335. /**
  1336. * Indicates whether the replication job produces encrypted AMIs.
  1337. */
  1338. encrypted?: Encrypted;
  1339. /**
  1340. * The ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the following: KMS key ID KMS key alias ARN referring to the KMS key ID ARN referring to the KMS key alias If encrypted is enabled but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.
  1341. */
  1342. kmsKeyId?: KmsKeyId;
  1343. }
  1344. export type ServerType = "VIRTUAL_MACHINE"|string;
  1345. export interface ServerValidationConfiguration {
  1346. server?: Server;
  1347. /**
  1348. * The ID of the validation.
  1349. */
  1350. validationId?: ValidationId;
  1351. /**
  1352. * The name of the configuration.
  1353. */
  1354. name?: NonEmptyStringWithMaxLen255;
  1355. /**
  1356. * The validation strategy.
  1357. */
  1358. serverValidationStrategy?: ServerValidationStrategy;
  1359. /**
  1360. * The validation parameters.
  1361. */
  1362. userDataValidationParameters?: UserDataValidationParameters;
  1363. }
  1364. export type ServerValidationConfigurations = ServerValidationConfiguration[];
  1365. export interface ServerValidationOutput {
  1366. server?: Server;
  1367. }
  1368. export type ServerValidationStrategy = "USERDATA"|string;
  1369. export interface Source {
  1370. s3Location?: S3Location;
  1371. }
  1372. export type StackId = string;
  1373. export type StackName = string;
  1374. export interface StartAppReplicationRequest {
  1375. /**
  1376. * The ID of the application.
  1377. */
  1378. appId?: AppId;
  1379. }
  1380. export interface StartAppReplicationResponse {
  1381. }
  1382. export interface StartOnDemandAppReplicationRequest {
  1383. /**
  1384. * The ID of the application.
  1385. */
  1386. appId: AppId;
  1387. /**
  1388. * The description of the replication run.
  1389. */
  1390. description?: Description;
  1391. }
  1392. export interface StartOnDemandAppReplicationResponse {
  1393. }
  1394. export interface StartOnDemandReplicationRunRequest {
  1395. /**
  1396. * The ID of the replication job.
  1397. */
  1398. replicationJobId: ReplicationJobId;
  1399. /**
  1400. * The description of the replication run.
  1401. */
  1402. description?: Description;
  1403. }
  1404. export interface StartOnDemandReplicationRunResponse {
  1405. /**
  1406. * The ID of the replication run.
  1407. */
  1408. replicationRunId?: ReplicationRunId;
  1409. }
  1410. export interface StopAppReplicationRequest {
  1411. /**
  1412. * The ID of the application.
  1413. */
  1414. appId?: AppId;
  1415. }
  1416. export interface StopAppReplicationResponse {
  1417. }
  1418. export type Subnet = string;
  1419. export interface Tag {
  1420. /**
  1421. * The tag key.
  1422. */
  1423. key?: TagKey;
  1424. /**
  1425. * The tag value.
  1426. */
  1427. value?: TagValue;
  1428. }
  1429. export type TagKey = string;
  1430. export type TagValue = string;
  1431. export type Tags = Tag[];
  1432. export interface TerminateAppRequest {
  1433. /**
  1434. * The ID of the application.
  1435. */
  1436. appId?: AppId;
  1437. }
  1438. export interface TerminateAppResponse {
  1439. }
  1440. export type Timestamp = Date;
  1441. export type TotalServerGroups = number;
  1442. export type TotalServers = number;
  1443. export interface UpdateAppRequest {
  1444. /**
  1445. * The ID of the application.
  1446. */
  1447. appId?: AppId;
  1448. /**
  1449. * The new name of the application.
  1450. */
  1451. name?: AppName;
  1452. /**
  1453. * The new description of the application.
  1454. */
  1455. description?: AppDescription;
  1456. /**
  1457. * The name of the service role in the customer's account used by Server Migration Service.
  1458. */
  1459. roleName?: RoleName;
  1460. /**
  1461. * The server groups in the application to update.
  1462. */
  1463. serverGroups?: ServerGroups;
  1464. /**
  1465. * The tags to associate with the application.
  1466. */
  1467. tags?: Tags;
  1468. }
  1469. export interface UpdateAppResponse {
  1470. /**
  1471. * A summary description of the application.
  1472. */
  1473. appSummary?: AppSummary;
  1474. /**
  1475. * The updated server groups in the application.
  1476. */
  1477. serverGroups?: ServerGroups;
  1478. /**
  1479. * The tags associated with the application.
  1480. */
  1481. tags?: Tags;
  1482. }
  1483. export interface UpdateReplicationJobRequest {
  1484. /**
  1485. * The ID of the replication job.
  1486. */
  1487. replicationJobId: ReplicationJobId;
  1488. /**
  1489. * The time between consecutive replication runs, in hours.
  1490. */
  1491. frequency?: Frequency;
  1492. /**
  1493. * The start time of the next replication run.
  1494. */
  1495. nextReplicationRunStartTime?: Timestamp;
  1496. /**
  1497. * The license type to be used for the AMI created by a successful replication run.
  1498. */
  1499. licenseType?: LicenseType;
  1500. /**
  1501. * The name of the IAM role to be used by Server Migration Service.
  1502. */
  1503. roleName?: RoleName;
  1504. /**
  1505. * The description of the replication job.
  1506. */
  1507. description?: Description;
  1508. /**
  1509. * The maximum number of SMS-created AMIs to retain. The oldest is deleted after the maximum number is reached and a new AMI is created.
  1510. */
  1511. numberOfRecentAmisToKeep?: NumberOfRecentAmisToKeep;
  1512. /**
  1513. * When true, the replication job produces encrypted AMIs. For more information, KmsKeyId.
  1514. */
  1515. encrypted?: Encrypted;
  1516. /**
  1517. * The ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the following: KMS key ID KMS key alias ARN referring to the KMS key ID ARN referring to the KMS key alias If encrypted is enabled but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.
  1518. */
  1519. kmsKeyId?: KmsKeyId;
  1520. }
  1521. export interface UpdateReplicationJobResponse {
  1522. }
  1523. export interface UserData {
  1524. /**
  1525. * Amazon S3 location of the user-data script.
  1526. */
  1527. s3Location?: S3Location;
  1528. }
  1529. export interface UserDataValidationParameters {
  1530. /**
  1531. * The location of the validation script.
  1532. */
  1533. source?: Source;
  1534. /**
  1535. * The type of validation script.
  1536. */
  1537. scriptType?: ScriptType;
  1538. }
  1539. export type VPC = string;
  1540. export type ValidationId = string;
  1541. export interface ValidationOutput {
  1542. /**
  1543. * The ID of the validation.
  1544. */
  1545. validationId?: ValidationId;
  1546. /**
  1547. * The name of the validation.
  1548. */
  1549. name?: NonEmptyStringWithMaxLen255;
  1550. /**
  1551. * The status of the validation.
  1552. */
  1553. status?: ValidationStatus;
  1554. /**
  1555. * The status message.
  1556. */
  1557. statusMessage?: ValidationStatusMessage;
  1558. /**
  1559. * The latest time that the validation was performed.
  1560. */
  1561. latestValidationTime?: Timestamp;
  1562. /**
  1563. * The output from validating an application.
  1564. */
  1565. appValidationOutput?: AppValidationOutput;
  1566. /**
  1567. * The output from validation an instance.
  1568. */
  1569. serverValidationOutput?: ServerValidationOutput;
  1570. }
  1571. export type ValidationOutputList = ValidationOutput[];
  1572. export type ValidationStatus = "READY_FOR_VALIDATION"|"PENDING"|"IN_PROGRESS"|"SUCCEEDED"|"FAILED"|string;
  1573. export type ValidationStatusMessage = string;
  1574. export type VmId = string;
  1575. export type VmManagerId = string;
  1576. export type VmManagerName = string;
  1577. export type VmManagerType = "VSPHERE"|"SCVMM"|"HYPERV-MANAGER"|string;
  1578. export type VmName = string;
  1579. export type VmPath = string;
  1580. export interface VmServer {
  1581. /**
  1582. * The VM server location.
  1583. */
  1584. vmServerAddress?: VmServerAddress;
  1585. /**
  1586. * The name of the VM.
  1587. */
  1588. vmName?: VmName;
  1589. /**
  1590. * The name of the VM manager.
  1591. */
  1592. vmManagerName?: VmManagerName;
  1593. /**
  1594. * The type of VM management product.
  1595. */
  1596. vmManagerType?: VmManagerType;
  1597. /**
  1598. * The VM folder path in the vCenter Server virtual machine inventory tree.
  1599. */
  1600. vmPath?: VmPath;
  1601. }
  1602. export interface VmServerAddress {
  1603. /**
  1604. * The ID of the VM manager.
  1605. */
  1606. vmManagerId?: VmManagerId;
  1607. /**
  1608. * The ID of the VM.
  1609. */
  1610. vmId?: VmId;
  1611. }
  1612. export type VmServerAddressList = VmServerAddress[];
  1613. /**
  1614. * 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.
  1615. */
  1616. export type apiVersion = "2016-10-24"|"latest"|string;
  1617. export interface ClientApiVersions {
  1618. /**
  1619. * 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.
  1620. */
  1621. apiVersion?: apiVersion;
  1622. }
  1623. export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
  1624. /**
  1625. * Contains interfaces for use with the SMS client.
  1626. */
  1627. export import Types = SMS;
  1628. }
  1629. export = SMS;