migrationhubstrategy.d.ts 64 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674
  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 MigrationHubStrategy extends Service {
  9. /**
  10. * Constructs a service object. This object has one method for each API operation.
  11. */
  12. constructor(options?: MigrationHubStrategy.Types.ClientConfiguration)
  13. config: Config & MigrationHubStrategy.Types.ClientConfiguration;
  14. /**
  15. * Retrieves details about an application component.
  16. */
  17. getApplicationComponentDetails(params: MigrationHubStrategy.Types.GetApplicationComponentDetailsRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetApplicationComponentDetailsResponse) => void): Request<MigrationHubStrategy.Types.GetApplicationComponentDetailsResponse, AWSError>;
  18. /**
  19. * Retrieves details about an application component.
  20. */
  21. getApplicationComponentDetails(callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetApplicationComponentDetailsResponse) => void): Request<MigrationHubStrategy.Types.GetApplicationComponentDetailsResponse, AWSError>;
  22. /**
  23. * Retrieves a list of all the recommended strategies and tools for an application component running on a server.
  24. */
  25. getApplicationComponentStrategies(params: MigrationHubStrategy.Types.GetApplicationComponentStrategiesRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetApplicationComponentStrategiesResponse) => void): Request<MigrationHubStrategy.Types.GetApplicationComponentStrategiesResponse, AWSError>;
  26. /**
  27. * Retrieves a list of all the recommended strategies and tools for an application component running on a server.
  28. */
  29. getApplicationComponentStrategies(callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetApplicationComponentStrategiesResponse) => void): Request<MigrationHubStrategy.Types.GetApplicationComponentStrategiesResponse, AWSError>;
  30. /**
  31. * Retrieves the status of an on-going assessment.
  32. */
  33. getAssessment(params: MigrationHubStrategy.Types.GetAssessmentRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetAssessmentResponse) => void): Request<MigrationHubStrategy.Types.GetAssessmentResponse, AWSError>;
  34. /**
  35. * Retrieves the status of an on-going assessment.
  36. */
  37. getAssessment(callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetAssessmentResponse) => void): Request<MigrationHubStrategy.Types.GetAssessmentResponse, AWSError>;
  38. /**
  39. * Retrieves the details about a specific import task.
  40. */
  41. getImportFileTask(params: MigrationHubStrategy.Types.GetImportFileTaskRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetImportFileTaskResponse) => void): Request<MigrationHubStrategy.Types.GetImportFileTaskResponse, AWSError>;
  42. /**
  43. * Retrieves the details about a specific import task.
  44. */
  45. getImportFileTask(callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetImportFileTaskResponse) => void): Request<MigrationHubStrategy.Types.GetImportFileTaskResponse, AWSError>;
  46. /**
  47. * Retrieve the latest ID of a specific assessment task.
  48. */
  49. getLatestAssessmentId(params: MigrationHubStrategy.Types.GetLatestAssessmentIdRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetLatestAssessmentIdResponse) => void): Request<MigrationHubStrategy.Types.GetLatestAssessmentIdResponse, AWSError>;
  50. /**
  51. * Retrieve the latest ID of a specific assessment task.
  52. */
  53. getLatestAssessmentId(callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetLatestAssessmentIdResponse) => void): Request<MigrationHubStrategy.Types.GetLatestAssessmentIdResponse, AWSError>;
  54. /**
  55. * Retrieves your migration and modernization preferences.
  56. */
  57. getPortfolioPreferences(params: MigrationHubStrategy.Types.GetPortfolioPreferencesRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetPortfolioPreferencesResponse) => void): Request<MigrationHubStrategy.Types.GetPortfolioPreferencesResponse, AWSError>;
  58. /**
  59. * Retrieves your migration and modernization preferences.
  60. */
  61. getPortfolioPreferences(callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetPortfolioPreferencesResponse) => void): Request<MigrationHubStrategy.Types.GetPortfolioPreferencesResponse, AWSError>;
  62. /**
  63. * Retrieves overall summary including the number of servers to rehost and the overall number of anti-patterns.
  64. */
  65. getPortfolioSummary(params: MigrationHubStrategy.Types.GetPortfolioSummaryRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetPortfolioSummaryResponse) => void): Request<MigrationHubStrategy.Types.GetPortfolioSummaryResponse, AWSError>;
  66. /**
  67. * Retrieves overall summary including the number of servers to rehost and the overall number of anti-patterns.
  68. */
  69. getPortfolioSummary(callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetPortfolioSummaryResponse) => void): Request<MigrationHubStrategy.Types.GetPortfolioSummaryResponse, AWSError>;
  70. /**
  71. * Retrieves detailed information about the specified recommendation report.
  72. */
  73. getRecommendationReportDetails(params: MigrationHubStrategy.Types.GetRecommendationReportDetailsRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetRecommendationReportDetailsResponse) => void): Request<MigrationHubStrategy.Types.GetRecommendationReportDetailsResponse, AWSError>;
  74. /**
  75. * Retrieves detailed information about the specified recommendation report.
  76. */
  77. getRecommendationReportDetails(callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetRecommendationReportDetailsResponse) => void): Request<MigrationHubStrategy.Types.GetRecommendationReportDetailsResponse, AWSError>;
  78. /**
  79. * Retrieves detailed information about a specified server.
  80. */
  81. getServerDetails(params: MigrationHubStrategy.Types.GetServerDetailsRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetServerDetailsResponse) => void): Request<MigrationHubStrategy.Types.GetServerDetailsResponse, AWSError>;
  82. /**
  83. * Retrieves detailed information about a specified server.
  84. */
  85. getServerDetails(callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetServerDetailsResponse) => void): Request<MigrationHubStrategy.Types.GetServerDetailsResponse, AWSError>;
  86. /**
  87. * Retrieves recommended strategies and tools for the specified server.
  88. */
  89. getServerStrategies(params: MigrationHubStrategy.Types.GetServerStrategiesRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetServerStrategiesResponse) => void): Request<MigrationHubStrategy.Types.GetServerStrategiesResponse, AWSError>;
  90. /**
  91. * Retrieves recommended strategies and tools for the specified server.
  92. */
  93. getServerStrategies(callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetServerStrategiesResponse) => void): Request<MigrationHubStrategy.Types.GetServerStrategiesResponse, AWSError>;
  94. /**
  95. * Retrieves a list of all the servers fetched from customer vCenter using Strategy Recommendation Collector.
  96. */
  97. listAnalyzableServers(params: MigrationHubStrategy.Types.ListAnalyzableServersRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.ListAnalyzableServersResponse) => void): Request<MigrationHubStrategy.Types.ListAnalyzableServersResponse, AWSError>;
  98. /**
  99. * Retrieves a list of all the servers fetched from customer vCenter using Strategy Recommendation Collector.
  100. */
  101. listAnalyzableServers(callback?: (err: AWSError, data: MigrationHubStrategy.Types.ListAnalyzableServersResponse) => void): Request<MigrationHubStrategy.Types.ListAnalyzableServersResponse, AWSError>;
  102. /**
  103. * Retrieves a list of all the application components (processes).
  104. */
  105. listApplicationComponents(params: MigrationHubStrategy.Types.ListApplicationComponentsRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.ListApplicationComponentsResponse) => void): Request<MigrationHubStrategy.Types.ListApplicationComponentsResponse, AWSError>;
  106. /**
  107. * Retrieves a list of all the application components (processes).
  108. */
  109. listApplicationComponents(callback?: (err: AWSError, data: MigrationHubStrategy.Types.ListApplicationComponentsResponse) => void): Request<MigrationHubStrategy.Types.ListApplicationComponentsResponse, AWSError>;
  110. /**
  111. * Retrieves a list of all the installed collectors.
  112. */
  113. listCollectors(params: MigrationHubStrategy.Types.ListCollectorsRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.ListCollectorsResponse) => void): Request<MigrationHubStrategy.Types.ListCollectorsResponse, AWSError>;
  114. /**
  115. * Retrieves a list of all the installed collectors.
  116. */
  117. listCollectors(callback?: (err: AWSError, data: MigrationHubStrategy.Types.ListCollectorsResponse) => void): Request<MigrationHubStrategy.Types.ListCollectorsResponse, AWSError>;
  118. /**
  119. * Retrieves a list of all the imports performed.
  120. */
  121. listImportFileTask(params: MigrationHubStrategy.Types.ListImportFileTaskRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.ListImportFileTaskResponse) => void): Request<MigrationHubStrategy.Types.ListImportFileTaskResponse, AWSError>;
  122. /**
  123. * Retrieves a list of all the imports performed.
  124. */
  125. listImportFileTask(callback?: (err: AWSError, data: MigrationHubStrategy.Types.ListImportFileTaskResponse) => void): Request<MigrationHubStrategy.Types.ListImportFileTaskResponse, AWSError>;
  126. /**
  127. * Returns a list of all the servers.
  128. */
  129. listServers(params: MigrationHubStrategy.Types.ListServersRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.ListServersResponse) => void): Request<MigrationHubStrategy.Types.ListServersResponse, AWSError>;
  130. /**
  131. * Returns a list of all the servers.
  132. */
  133. listServers(callback?: (err: AWSError, data: MigrationHubStrategy.Types.ListServersResponse) => void): Request<MigrationHubStrategy.Types.ListServersResponse, AWSError>;
  134. /**
  135. * Saves the specified migration and modernization preferences.
  136. */
  137. putPortfolioPreferences(params: MigrationHubStrategy.Types.PutPortfolioPreferencesRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.PutPortfolioPreferencesResponse) => void): Request<MigrationHubStrategy.Types.PutPortfolioPreferencesResponse, AWSError>;
  138. /**
  139. * Saves the specified migration and modernization preferences.
  140. */
  141. putPortfolioPreferences(callback?: (err: AWSError, data: MigrationHubStrategy.Types.PutPortfolioPreferencesResponse) => void): Request<MigrationHubStrategy.Types.PutPortfolioPreferencesResponse, AWSError>;
  142. /**
  143. * Starts the assessment of an on-premises environment.
  144. */
  145. startAssessment(params: MigrationHubStrategy.Types.StartAssessmentRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.StartAssessmentResponse) => void): Request<MigrationHubStrategy.Types.StartAssessmentResponse, AWSError>;
  146. /**
  147. * Starts the assessment of an on-premises environment.
  148. */
  149. startAssessment(callback?: (err: AWSError, data: MigrationHubStrategy.Types.StartAssessmentResponse) => void): Request<MigrationHubStrategy.Types.StartAssessmentResponse, AWSError>;
  150. /**
  151. * Starts a file import.
  152. */
  153. startImportFileTask(params: MigrationHubStrategy.Types.StartImportFileTaskRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.StartImportFileTaskResponse) => void): Request<MigrationHubStrategy.Types.StartImportFileTaskResponse, AWSError>;
  154. /**
  155. * Starts a file import.
  156. */
  157. startImportFileTask(callback?: (err: AWSError, data: MigrationHubStrategy.Types.StartImportFileTaskResponse) => void): Request<MigrationHubStrategy.Types.StartImportFileTaskResponse, AWSError>;
  158. /**
  159. * Starts generating a recommendation report.
  160. */
  161. startRecommendationReportGeneration(params: MigrationHubStrategy.Types.StartRecommendationReportGenerationRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.StartRecommendationReportGenerationResponse) => void): Request<MigrationHubStrategy.Types.StartRecommendationReportGenerationResponse, AWSError>;
  162. /**
  163. * Starts generating a recommendation report.
  164. */
  165. startRecommendationReportGeneration(callback?: (err: AWSError, data: MigrationHubStrategy.Types.StartRecommendationReportGenerationResponse) => void): Request<MigrationHubStrategy.Types.StartRecommendationReportGenerationResponse, AWSError>;
  166. /**
  167. * Stops the assessment of an on-premises environment.
  168. */
  169. stopAssessment(params: MigrationHubStrategy.Types.StopAssessmentRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.StopAssessmentResponse) => void): Request<MigrationHubStrategy.Types.StopAssessmentResponse, AWSError>;
  170. /**
  171. * Stops the assessment of an on-premises environment.
  172. */
  173. stopAssessment(callback?: (err: AWSError, data: MigrationHubStrategy.Types.StopAssessmentResponse) => void): Request<MigrationHubStrategy.Types.StopAssessmentResponse, AWSError>;
  174. /**
  175. * Updates the configuration of an application component.
  176. */
  177. updateApplicationComponentConfig(params: MigrationHubStrategy.Types.UpdateApplicationComponentConfigRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.UpdateApplicationComponentConfigResponse) => void): Request<MigrationHubStrategy.Types.UpdateApplicationComponentConfigResponse, AWSError>;
  178. /**
  179. * Updates the configuration of an application component.
  180. */
  181. updateApplicationComponentConfig(callback?: (err: AWSError, data: MigrationHubStrategy.Types.UpdateApplicationComponentConfigResponse) => void): Request<MigrationHubStrategy.Types.UpdateApplicationComponentConfigResponse, AWSError>;
  182. /**
  183. * Updates the configuration of the specified server.
  184. */
  185. updateServerConfig(params: MigrationHubStrategy.Types.UpdateServerConfigRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.UpdateServerConfigResponse) => void): Request<MigrationHubStrategy.Types.UpdateServerConfigResponse, AWSError>;
  186. /**
  187. * Updates the configuration of the specified server.
  188. */
  189. updateServerConfig(callback?: (err: AWSError, data: MigrationHubStrategy.Types.UpdateServerConfigResponse) => void): Request<MigrationHubStrategy.Types.UpdateServerConfigResponse, AWSError>;
  190. }
  191. declare namespace MigrationHubStrategy {
  192. export interface AnalysisStatusUnion {
  193. /**
  194. * The status of the analysis.
  195. */
  196. runtimeAnalysisStatus?: RuntimeAnalysisStatus;
  197. /**
  198. * The status of the source code or database analysis.
  199. */
  200. srcCodeOrDbAnalysisStatus?: SrcCodeOrDbAnalysisStatus;
  201. }
  202. export type AnalysisType = "SOURCE_CODE_ANALYSIS"|"DATABASE_ANALYSIS"|"RUNTIME_ANALYSIS"|"BINARY_ANALYSIS"|string;
  203. export interface AnalyzableServerSummary {
  204. /**
  205. * The host name of the analyzable server.
  206. */
  207. hostname?: String;
  208. /**
  209. * The ip address of the analyzable server.
  210. */
  211. ipAddress?: String;
  212. /**
  213. * The data source of the analyzable server.
  214. */
  215. source?: String;
  216. /**
  217. * The virtual machine id of the analyzable server.
  218. */
  219. vmId?: String;
  220. }
  221. export type AnalyzableServerSummaryList = AnalyzableServerSummary[];
  222. export interface AnalyzerNameUnion {
  223. /**
  224. * The binary analyzer names.
  225. */
  226. binaryAnalyzerName?: BinaryAnalyzerName;
  227. /**
  228. * The assessment analyzer names.
  229. */
  230. runTimeAnalyzerName?: RunTimeAnalyzerName;
  231. /**
  232. * The source code analyzer names.
  233. */
  234. sourceCodeAnalyzerName?: SourceCodeAnalyzerName;
  235. }
  236. export interface AntipatternReportResult {
  237. /**
  238. * The analyzer name.
  239. */
  240. analyzerName?: AnalyzerNameUnion;
  241. antiPatternReportS3Object?: S3Object;
  242. /**
  243. * The status of the anti-pattern report generation.
  244. */
  245. antipatternReportStatus?: AntipatternReportStatus;
  246. /**
  247. * The status message for the anti-pattern.
  248. */
  249. antipatternReportStatusMessage?: StatusMessage;
  250. }
  251. export type AntipatternReportResultList = AntipatternReportResult[];
  252. export type AntipatternReportStatus = "FAILED"|"IN_PROGRESS"|"SUCCESS"|string;
  253. export interface AntipatternSeveritySummary {
  254. /**
  255. * Contains the count of anti-patterns.
  256. */
  257. count?: Integer;
  258. /**
  259. * Contains the severity of anti-patterns.
  260. */
  261. severity?: Severity;
  262. }
  263. export type AppType = "DotNetFramework"|"Java"|"SQLServer"|"IIS"|"Oracle"|"Other"|"Tomcat"|"JBoss"|"Spring"|"Mongo DB"|"DB2"|"Maria DB"|"MySQL"|"Sybase"|"PostgreSQLServer"|"Cassandra"|"IBM WebSphere"|"Oracle WebLogic"|"Visual Basic"|"Unknown"|"DotnetCore"|"Dotnet"|string;
  264. export interface AppUnitError {
  265. /**
  266. * The category of the error.
  267. */
  268. appUnitErrorCategory?: AppUnitErrorCategory;
  269. }
  270. export type AppUnitErrorCategory = "CREDENTIAL_ERROR"|"CONNECTIVITY_ERROR"|"PERMISSION_ERROR"|"UNSUPPORTED_ERROR"|"OTHER_ERROR"|string;
  271. export type ApplicationComponentCriteria = "NOT_DEFINED"|"APP_NAME"|"SERVER_ID"|"APP_TYPE"|"STRATEGY"|"DESTINATION"|"ANALYSIS_STATUS"|"ERROR_CATEGORY"|string;
  272. export interface ApplicationComponentDetail {
  273. /**
  274. * The status of analysis, if the application component has source code or an associated database.
  275. */
  276. analysisStatus?: SrcCodeOrDbAnalysisStatus;
  277. /**
  278. * The S3 bucket name and the Amazon S3 key name for the anti-pattern report.
  279. */
  280. antipatternReportS3Object?: S3Object;
  281. /**
  282. * The status of the anti-pattern report generation.
  283. */
  284. antipatternReportStatus?: AntipatternReportStatus;
  285. /**
  286. * The status message for the anti-pattern.
  287. */
  288. antipatternReportStatusMessage?: StatusMessage;
  289. /**
  290. * The type of application component.
  291. */
  292. appType?: AppType;
  293. /**
  294. * The error in the analysis of the source code or database.
  295. */
  296. appUnitError?: AppUnitError;
  297. /**
  298. * The ID of the server that the application component is running on.
  299. */
  300. associatedServerId?: ServerId;
  301. /**
  302. * Configuration details for the database associated with the application component.
  303. */
  304. databaseConfigDetail?: DatabaseConfigDetail;
  305. /**
  306. * The ID of the application component.
  307. */
  308. id?: ResourceId;
  309. /**
  310. * Indicates whether the application component has been included for server recommendation or not.
  311. */
  312. inclusionStatus?: InclusionStatus;
  313. /**
  314. * The timestamp of when the application component was assessed.
  315. */
  316. lastAnalyzedTimestamp?: TimeStamp;
  317. /**
  318. * A list of anti-pattern severity summaries.
  319. */
  320. listAntipatternSeveritySummary?: ListAntipatternSeveritySummary;
  321. /**
  322. * Set to true if the application component is running on multiple servers.
  323. */
  324. moreServerAssociationExists?: Boolean;
  325. /**
  326. * The name of application component.
  327. */
  328. name?: ResourceName;
  329. /**
  330. * OS driver.
  331. */
  332. osDriver?: String;
  333. /**
  334. * OS version.
  335. */
  336. osVersion?: String;
  337. /**
  338. * The top recommendation set for the application component.
  339. */
  340. recommendationSet?: RecommendationSet;
  341. /**
  342. * The application component subtype.
  343. */
  344. resourceSubType?: ResourceSubType;
  345. /**
  346. * A list of the analysis results.
  347. */
  348. resultList?: ResultList;
  349. /**
  350. * The status of the application unit.
  351. */
  352. runtimeStatus?: RuntimeAnalysisStatus;
  353. /**
  354. * The status message for the application unit.
  355. */
  356. runtimeStatusMessage?: StatusMessage;
  357. /**
  358. * Details about the source code repository associated with the application component.
  359. */
  360. sourceCodeRepositories?: SourceCodeRepositories;
  361. /**
  362. * A detailed description of the analysis status and any failure message.
  363. */
  364. statusMessage?: StatusMessage;
  365. }
  366. export type ApplicationComponentDetails = ApplicationComponentDetail[];
  367. export type ApplicationComponentId = string;
  368. export interface ApplicationComponentStatusSummary {
  369. /**
  370. * The number of application components successfully analyzed, partially successful or failed analysis.
  371. */
  372. count?: Integer;
  373. /**
  374. * The status of database analysis.
  375. */
  376. srcCodeOrDbAnalysisStatus?: SrcCodeOrDbAnalysisStatus;
  377. }
  378. export type ApplicationComponentStrategies = ApplicationComponentStrategy[];
  379. export interface ApplicationComponentStrategy {
  380. /**
  381. * Set to true if the recommendation is set as preferred.
  382. */
  383. isPreferred?: Boolean;
  384. /**
  385. * Strategy recommendation for the application component.
  386. */
  387. recommendation?: RecommendationSet;
  388. /**
  389. * The recommendation status of a strategy for an application component.
  390. */
  391. status?: StrategyRecommendation;
  392. }
  393. export interface ApplicationComponentSummary {
  394. /**
  395. * Contains the name of application types.
  396. */
  397. appType?: AppType;
  398. /**
  399. * Contains the count of application type.
  400. */
  401. count?: Integer;
  402. }
  403. export type ApplicationMode = "ALL"|"KNOWN"|"UNKNOWN"|string;
  404. export interface ApplicationPreferences {
  405. /**
  406. * Application preferences that you specify to prefer managed environment.
  407. */
  408. managementPreference?: ManagementPreference;
  409. }
  410. export type AssessmentDataSourceType = "StrategyRecommendationsApplicationDataCollector"|"ManualImport"|"ApplicationDiscoveryService"|string;
  411. export type AssessmentStatus = "IN_PROGRESS"|"COMPLETE"|"FAILED"|"STOPPED"|string;
  412. export type AssessmentStatusMessage = string;
  413. export interface AssessmentSummary {
  414. /**
  415. * The Amazon S3 object containing the anti-pattern report.
  416. */
  417. antipatternReportS3Object?: S3Object;
  418. /**
  419. * The status of the anti-pattern report.
  420. */
  421. antipatternReportStatus?: AntipatternReportStatus;
  422. /**
  423. * The status message of the anti-pattern report.
  424. */
  425. antipatternReportStatusMessage?: StatusMessage;
  426. /**
  427. * The time the assessment was performed.
  428. */
  429. lastAnalyzedTimestamp?: TimeStamp;
  430. /**
  431. * List of AntipatternSeveritySummary.
  432. */
  433. listAntipatternSeveritySummary?: ListAntipatternSeveritySummary;
  434. /**
  435. * List of status summaries of the analyzed application components.
  436. */
  437. listApplicationComponentStatusSummary?: ListApplicationComponentStatusSummary;
  438. /**
  439. * List of ApplicationComponentStrategySummary.
  440. */
  441. listApplicationComponentStrategySummary?: ListStrategySummary;
  442. /**
  443. * List of ApplicationComponentSummary.
  444. */
  445. listApplicationComponentSummary?: ListApplicationComponentSummary;
  446. /**
  447. * List of status summaries of the analyzed servers.
  448. */
  449. listServerStatusSummary?: ListServerStatusSummary;
  450. /**
  451. * List of ServerStrategySummary.
  452. */
  453. listServerStrategySummary?: ListStrategySummary;
  454. /**
  455. * List of ServerSummary.
  456. */
  457. listServerSummary?: ListServerSummary;
  458. }
  459. export interface AssessmentTarget {
  460. /**
  461. * Condition of an assessment.
  462. */
  463. condition: Condition;
  464. /**
  465. * Name of an assessment.
  466. */
  467. name: String;
  468. /**
  469. * Values of an assessment.
  470. */
  471. values: AssessmentTargetValues;
  472. }
  473. export type AssessmentTargetValues = String[];
  474. export type AssessmentTargets = AssessmentTarget[];
  475. export interface AssociatedApplication {
  476. /**
  477. * ID of the application as defined in Application Discovery Service.
  478. */
  479. id?: String;
  480. /**
  481. * Name of the application as defined in Application Discovery Service.
  482. */
  483. name?: String;
  484. }
  485. export type AssociatedApplications = AssociatedApplication[];
  486. export type AssociatedServerIDs = String[];
  487. export type AsyncTaskId = string;
  488. export type AuthType = "NTLM"|"SSH"|"CERT"|string;
  489. export interface AwsManagedResources {
  490. /**
  491. * The choice of application destination that you specify.
  492. */
  493. targetDestination: AwsManagedTargetDestinations;
  494. }
  495. export type AwsManagedTargetDestination = "None specified"|"AWS Elastic BeanStalk"|"AWS Fargate"|string;
  496. export type AwsManagedTargetDestinations = AwsManagedTargetDestination[];
  497. export type BinaryAnalyzerName = "DLL_ANALYZER"|"BYTECODE_ANALYZER"|string;
  498. export type Boolean = boolean;
  499. export interface BusinessGoals {
  500. /**
  501. * Business goal to reduce license costs.
  502. */
  503. licenseCostReduction?: BusinessGoalsInteger;
  504. /**
  505. * Business goal to modernize infrastructure by moving to cloud native technologies.
  506. */
  507. modernizeInfrastructureWithCloudNativeTechnologies?: BusinessGoalsInteger;
  508. /**
  509. * Business goal to reduce the operational overhead on the team by moving into managed services.
  510. */
  511. reduceOperationalOverheadWithManagedServices?: BusinessGoalsInteger;
  512. /**
  513. * Business goal to achieve migration at a fast pace.
  514. */
  515. speedOfMigration?: BusinessGoalsInteger;
  516. }
  517. export type BusinessGoalsInteger = number;
  518. export interface Collector {
  519. /**
  520. * Indicates the health of a collector.
  521. */
  522. collectorHealth?: CollectorHealth;
  523. /**
  524. * The ID of the collector.
  525. */
  526. collectorId?: String;
  527. /**
  528. * Current version of the collector that is running in the environment that you specify.
  529. */
  530. collectorVersion?: String;
  531. /**
  532. * Summary of the collector configuration.
  533. */
  534. configurationSummary?: ConfigurationSummary;
  535. /**
  536. * Hostname of the server that is hosting the collector.
  537. */
  538. hostName?: String;
  539. /**
  540. * IP address of the server that is hosting the collector.
  541. */
  542. ipAddress?: String;
  543. /**
  544. * Time when the collector last pinged the service.
  545. */
  546. lastActivityTimeStamp?: String;
  547. /**
  548. * Time when the collector registered with the service.
  549. */
  550. registeredTimeStamp?: String;
  551. }
  552. export type CollectorHealth = "COLLECTOR_HEALTHY"|"COLLECTOR_UNHEALTHY"|string;
  553. export type Collectors = Collector[];
  554. export type Condition = "EQUALS"|"NOT_EQUALS"|"CONTAINS"|"NOT_CONTAINS"|string;
  555. export interface ConfigurationSummary {
  556. /**
  557. * IP address based configurations.
  558. */
  559. ipAddressBasedRemoteInfoList?: IPAddressBasedRemoteInfoList;
  560. /**
  561. * The list of pipeline info configurations.
  562. */
  563. pipelineInfoList?: PipelineInfoList;
  564. /**
  565. * Info about the remote server source code configuration.
  566. */
  567. remoteSourceCodeAnalysisServerInfo?: RemoteSourceCodeAnalysisServerInfo;
  568. /**
  569. * The list of vCenter configurations.
  570. */
  571. vcenterBasedRemoteInfoList?: VcenterBasedRemoteInfoList;
  572. /**
  573. * The list of the version control configurations.
  574. */
  575. versionControlInfoList?: VersionControlInfoList;
  576. }
  577. export interface DataCollectionDetails {
  578. /**
  579. * The time the assessment completes.
  580. */
  581. completionTime?: TimeStamp;
  582. /**
  583. * The number of failed servers in the assessment.
  584. */
  585. failed?: Integer;
  586. /**
  587. * The number of servers with the assessment status IN_PROGESS.
  588. */
  589. inProgress?: Integer;
  590. /**
  591. * The total number of servers in the assessment.
  592. */
  593. servers?: Integer;
  594. /**
  595. * The start time of assessment.
  596. */
  597. startTime?: TimeStamp;
  598. /**
  599. * The status of the assessment.
  600. */
  601. status?: AssessmentStatus;
  602. /**
  603. * The status message of the assessment.
  604. */
  605. statusMessage?: AssessmentStatusMessage;
  606. /**
  607. * The number of successful servers in the assessment.
  608. */
  609. success?: Integer;
  610. }
  611. export type DataSourceType = "ApplicationDiscoveryService"|"MPA"|"Import"|"StrategyRecommendationsApplicationDataCollector"|string;
  612. export interface DatabaseConfigDetail {
  613. /**
  614. * AWS Secrets Manager key that holds the credentials that you use to connect to a database.
  615. */
  616. secretName?: String;
  617. }
  618. export type DatabaseManagementPreference = "AWS-managed"|"Self-manage"|"No preference"|string;
  619. export interface DatabaseMigrationPreference {
  620. /**
  621. * Indicates whether you are interested in moving from one type of database to another. For example, from SQL Server to Amazon Aurora MySQL-Compatible Edition.
  622. */
  623. heterogeneous?: Heterogeneous;
  624. /**
  625. * Indicates whether you are interested in moving to the same type of database into AWS. For example, from SQL Server in your environment to SQL Server on AWS.
  626. */
  627. homogeneous?: Homogeneous;
  628. /**
  629. * Indicated that you do not prefer heterogeneous or homogeneous.
  630. */
  631. noPreference?: NoDatabaseMigrationPreference;
  632. }
  633. export interface DatabasePreferences {
  634. /**
  635. * Specifies whether you're interested in self-managed databases or databases managed by AWS.
  636. */
  637. databaseManagementPreference?: DatabaseManagementPreference;
  638. /**
  639. * Specifies your preferred migration path.
  640. */
  641. databaseMigrationPreference?: DatabaseMigrationPreference;
  642. }
  643. export interface GetApplicationComponentDetailsRequest {
  644. /**
  645. * The ID of the application component. The ID is unique within an AWS account.
  646. */
  647. applicationComponentId: ApplicationComponentId;
  648. }
  649. export interface GetApplicationComponentDetailsResponse {
  650. /**
  651. * Detailed information about an application component.
  652. */
  653. applicationComponentDetail?: ApplicationComponentDetail;
  654. /**
  655. * The associated application group as defined in AWS Application Discovery Service.
  656. */
  657. associatedApplications?: AssociatedApplications;
  658. /**
  659. * A list of the IDs of the servers on which the application component is running.
  660. */
  661. associatedServerIds?: AssociatedServerIDs;
  662. /**
  663. * Set to true if the application component belongs to more than one application group.
  664. */
  665. moreApplicationResource?: Boolean;
  666. }
  667. export interface GetApplicationComponentStrategiesRequest {
  668. /**
  669. * The ID of the application component. The ID is unique within an AWS account.
  670. */
  671. applicationComponentId: ApplicationComponentId;
  672. }
  673. export interface GetApplicationComponentStrategiesResponse {
  674. /**
  675. * A list of application component strategy recommendations.
  676. */
  677. applicationComponentStrategies?: ApplicationComponentStrategies;
  678. }
  679. export interface GetAssessmentRequest {
  680. /**
  681. * The assessmentid returned by StartAssessment.
  682. */
  683. id: AsyncTaskId;
  684. }
  685. export interface GetAssessmentResponse {
  686. /**
  687. * List of criteria for assessment.
  688. */
  689. assessmentTargets?: AssessmentTargets;
  690. /**
  691. * Detailed information about the assessment.
  692. */
  693. dataCollectionDetails?: DataCollectionDetails;
  694. /**
  695. * The ID for the specific assessment task.
  696. */
  697. id?: AsyncTaskId;
  698. }
  699. export interface GetImportFileTaskRequest {
  700. /**
  701. * The ID of the import file task. This ID is returned in the response of StartImportFileTask.
  702. */
  703. id: String;
  704. }
  705. export interface GetImportFileTaskResponse {
  706. /**
  707. * The time that the import task completed.
  708. */
  709. completionTime?: TimeStamp;
  710. /**
  711. * The import file task id returned in the response of StartImportFileTask.
  712. */
  713. id?: String;
  714. /**
  715. * The name of the import task given in StartImportFileTask.
  716. */
  717. importName?: String;
  718. /**
  719. * The S3 bucket where import file is located.
  720. */
  721. inputS3Bucket?: importS3Bucket;
  722. /**
  723. * The Amazon S3 key name of the import file.
  724. */
  725. inputS3Key?: importS3Key;
  726. /**
  727. * The number of records that failed to be imported.
  728. */
  729. numberOfRecordsFailed?: Integer;
  730. /**
  731. * The number of records successfully imported.
  732. */
  733. numberOfRecordsSuccess?: Integer;
  734. /**
  735. * Start time of the import task.
  736. */
  737. startTime?: TimeStamp;
  738. /**
  739. * Status of import file task.
  740. */
  741. status?: ImportFileTaskStatus;
  742. /**
  743. * The S3 bucket name for status report of import task.
  744. */
  745. statusReportS3Bucket?: importS3Bucket;
  746. /**
  747. * The Amazon S3 key name for status report of import task. The report contains details about whether each record imported successfully or why it did not.
  748. */
  749. statusReportS3Key?: importS3Key;
  750. }
  751. export interface GetLatestAssessmentIdRequest {
  752. }
  753. export interface GetLatestAssessmentIdResponse {
  754. /**
  755. * The latest ID for the specific assessment task.
  756. */
  757. id?: AsyncTaskId;
  758. }
  759. export interface GetPortfolioPreferencesRequest {
  760. }
  761. export interface GetPortfolioPreferencesResponse {
  762. /**
  763. * The classification for application component types.
  764. */
  765. applicationMode?: ApplicationMode;
  766. /**
  767. * The transformation preferences for non-database applications.
  768. */
  769. applicationPreferences?: ApplicationPreferences;
  770. /**
  771. * The transformation preferences for database applications.
  772. */
  773. databasePreferences?: DatabasePreferences;
  774. /**
  775. * The rank of business goals based on priority.
  776. */
  777. prioritizeBusinessGoals?: PrioritizeBusinessGoals;
  778. }
  779. export interface GetPortfolioSummaryRequest {
  780. }
  781. export interface GetPortfolioSummaryResponse {
  782. /**
  783. * An assessment summary for the portfolio including the number of servers to rehost and the overall number of anti-patterns.
  784. */
  785. assessmentSummary?: AssessmentSummary;
  786. }
  787. export interface GetRecommendationReportDetailsRequest {
  788. /**
  789. * The recommendation report generation task id returned by StartRecommendationReportGeneration.
  790. */
  791. id: RecommendationTaskId;
  792. }
  793. export interface GetRecommendationReportDetailsResponse {
  794. /**
  795. * The ID of the recommendation report generation task. See the response of StartRecommendationReportGeneration.
  796. */
  797. id?: RecommendationTaskId;
  798. /**
  799. * Detailed information about the recommendation report.
  800. */
  801. recommendationReportDetails?: RecommendationReportDetails;
  802. }
  803. export interface GetServerDetailsRequest {
  804. /**
  805. * The maximum number of items to include in the response. The maximum value is 100.
  806. */
  807. maxResults?: MaxResult;
  808. /**
  809. * The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.
  810. */
  811. nextToken?: NextToken;
  812. /**
  813. * The ID of the server.
  814. */
  815. serverId: ServerId;
  816. }
  817. export interface GetServerDetailsResponse {
  818. /**
  819. * The associated application group the server belongs to, as defined in AWS Application Discovery Service.
  820. */
  821. associatedApplications?: AssociatedApplications;
  822. /**
  823. * The token you use to retrieve the next set of results, or null if there are no more results.
  824. */
  825. nextToken?: String;
  826. /**
  827. * Detailed information about the server.
  828. */
  829. serverDetail?: ServerDetail;
  830. }
  831. export interface GetServerStrategiesRequest {
  832. /**
  833. * The ID of the server.
  834. */
  835. serverId: ServerId;
  836. }
  837. export interface GetServerStrategiesResponse {
  838. /**
  839. * A list of strategy recommendations for the server.
  840. */
  841. serverStrategies?: ServerStrategies;
  842. }
  843. export interface Group {
  844. /**
  845. * The key of the specific import group.
  846. */
  847. name?: GroupName;
  848. /**
  849. * The value of the specific import group.
  850. */
  851. value?: String;
  852. }
  853. export type GroupIds = Group[];
  854. export type GroupName = "ExternalId"|"ExternalSourceType"|string;
  855. export interface Heterogeneous {
  856. /**
  857. * The target database engine for heterogeneous database migration preference.
  858. */
  859. targetDatabaseEngine: HeterogeneousTargetDatabaseEngines;
  860. }
  861. export type HeterogeneousTargetDatabaseEngine = "None specified"|"Amazon Aurora"|"AWS PostgreSQL"|"MySQL"|"Microsoft SQL Server"|"Oracle Database"|"MariaDB"|"SAP"|"Db2 LUW"|"MongoDB"|string;
  862. export type HeterogeneousTargetDatabaseEngines = HeterogeneousTargetDatabaseEngine[];
  863. export interface Homogeneous {
  864. /**
  865. * The target database engine for homogeneous database migration preferences.
  866. */
  867. targetDatabaseEngine?: HomogeneousTargetDatabaseEngines;
  868. }
  869. export type HomogeneousTargetDatabaseEngine = "None specified"|string;
  870. export type HomogeneousTargetDatabaseEngines = HomogeneousTargetDatabaseEngine[];
  871. export type IPAddress = string;
  872. export interface IPAddressBasedRemoteInfo {
  873. /**
  874. * The type of authorization.
  875. */
  876. authType?: AuthType;
  877. /**
  878. * The time stamp of the configuration.
  879. */
  880. ipAddressConfigurationTimeStamp?: String;
  881. /**
  882. * The type of the operating system.
  883. */
  884. osType?: OSType;
  885. }
  886. export type IPAddressBasedRemoteInfoList = IPAddressBasedRemoteInfo[];
  887. export interface ImportFileTaskInformation {
  888. /**
  889. * The time that the import task completes.
  890. */
  891. completionTime?: TimeStamp;
  892. /**
  893. * The ID of the import file task.
  894. */
  895. id?: String;
  896. /**
  897. * The name of the import task given in StartImportFileTask.
  898. */
  899. importName?: String;
  900. /**
  901. * The S3 bucket where the import file is located.
  902. */
  903. inputS3Bucket?: importS3Bucket;
  904. /**
  905. * The Amazon S3 key name of the import file.
  906. */
  907. inputS3Key?: importS3Key;
  908. /**
  909. * The number of records that failed to be imported.
  910. */
  911. numberOfRecordsFailed?: Integer;
  912. /**
  913. * The number of records successfully imported.
  914. */
  915. numberOfRecordsSuccess?: Integer;
  916. /**
  917. * Start time of the import task.
  918. */
  919. startTime?: TimeStamp;
  920. /**
  921. * Status of import file task.
  922. */
  923. status?: ImportFileTaskStatus;
  924. /**
  925. * The S3 bucket name for status report of import task.
  926. */
  927. statusReportS3Bucket?: importS3Bucket;
  928. /**
  929. * The Amazon S3 key name for status report of import task. The report contains details about whether each record imported successfully or why it did not.
  930. */
  931. statusReportS3Key?: importS3Key;
  932. }
  933. export type ImportFileTaskStatus = "ImportInProgress"|"ImportFailed"|"ImportPartialSuccess"|"ImportSuccess"|"DeleteInProgress"|"DeleteFailed"|"DeletePartialSuccess"|"DeleteSuccess"|string;
  934. export type InclusionStatus = "excludeFromAssessment"|"includeInAssessment"|string;
  935. export type Integer = number;
  936. export type InterfaceName = string;
  937. export interface ListAnalyzableServersRequest {
  938. /**
  939. * The maximum number of items to include in the response. The maximum value is 100.
  940. */
  941. maxResults?: MaxResult;
  942. /**
  943. * The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.
  944. */
  945. nextToken?: NextToken;
  946. /**
  947. * Specifies whether to sort by ascending (ASC) or descending (DESC) order.
  948. */
  949. sort?: SortOrder;
  950. }
  951. export interface ListAnalyzableServersResponse {
  952. /**
  953. * The list of analyzable servers with summary information about each server.
  954. */
  955. analyzableServers?: AnalyzableServerSummaryList;
  956. /**
  957. * The token you use to retrieve the next set of results, or null if there are no more results.
  958. */
  959. nextToken?: NextToken;
  960. }
  961. export type ListAntipatternSeveritySummary = AntipatternSeveritySummary[];
  962. export type ListApplicationComponentStatusSummary = ApplicationComponentStatusSummary[];
  963. export type ListApplicationComponentSummary = ApplicationComponentSummary[];
  964. export interface ListApplicationComponentsRequest {
  965. /**
  966. * Criteria for filtering the list of application components.
  967. */
  968. applicationComponentCriteria?: ApplicationComponentCriteria;
  969. /**
  970. * Specify the value based on the application component criteria type. For example, if applicationComponentCriteria is set to SERVER_ID and filterValue is set to server1, then ListApplicationComponents returns all the application components running on server1.
  971. */
  972. filterValue?: ListApplicationComponentsRequestFilterValueString;
  973. /**
  974. * The group ID specified in to filter on.
  975. */
  976. groupIdFilter?: GroupIds;
  977. /**
  978. * The maximum number of items to include in the response. The maximum value is 100.
  979. */
  980. maxResults?: MaxResult;
  981. /**
  982. * The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.
  983. */
  984. nextToken?: NextToken;
  985. /**
  986. * Specifies whether to sort by ascending (ASC) or descending (DESC) order.
  987. */
  988. sort?: SortOrder;
  989. }
  990. export type ListApplicationComponentsRequestFilterValueString = string;
  991. export interface ListApplicationComponentsResponse {
  992. /**
  993. * The list of application components with detailed information about each component.
  994. */
  995. applicationComponentInfos?: ApplicationComponentDetails;
  996. /**
  997. * The token you use to retrieve the next set of results, or null if there are no more results.
  998. */
  999. nextToken?: NextToken;
  1000. }
  1001. export interface ListCollectorsRequest {
  1002. /**
  1003. * The maximum number of items to include in the response. The maximum value is 100.
  1004. */
  1005. maxResults?: MaxResult;
  1006. /**
  1007. * The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.
  1008. */
  1009. nextToken?: NextToken;
  1010. }
  1011. export interface ListCollectorsResponse {
  1012. /**
  1013. * The list of all the installed collectors.
  1014. */
  1015. Collectors?: Collectors;
  1016. /**
  1017. * The token you use to retrieve the next set of results, or null if there are no more results.
  1018. */
  1019. nextToken?: NextToken;
  1020. }
  1021. export type ListImportFileTaskInformation = ImportFileTaskInformation[];
  1022. export interface ListImportFileTaskRequest {
  1023. /**
  1024. * The total number of items to return. The maximum value is 100.
  1025. */
  1026. maxResults?: Integer;
  1027. /**
  1028. * The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.
  1029. */
  1030. nextToken?: String;
  1031. }
  1032. export interface ListImportFileTaskResponse {
  1033. /**
  1034. * The token you use to retrieve the next set of results, or null if there are no more results.
  1035. */
  1036. nextToken?: String;
  1037. /**
  1038. * Lists information about the files you import.
  1039. */
  1040. taskInfos?: ListImportFileTaskInformation;
  1041. }
  1042. export type ListServerStatusSummary = ServerStatusSummary[];
  1043. export type ListServerSummary = ServerSummary[];
  1044. export interface ListServersRequest {
  1045. /**
  1046. * Specifies the filter value, which is based on the type of server criteria. For example, if serverCriteria is OS_NAME, and the filterValue is equal to WindowsServer, then ListServers returns all of the servers matching the OS name WindowsServer.
  1047. */
  1048. filterValue?: String;
  1049. /**
  1050. * Specifies the group ID to filter on.
  1051. */
  1052. groupIdFilter?: GroupIds;
  1053. /**
  1054. * The maximum number of items to include in the response. The maximum value is 100.
  1055. */
  1056. maxResults?: MaxResult;
  1057. /**
  1058. * The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.
  1059. */
  1060. nextToken?: NextToken;
  1061. /**
  1062. * Criteria for filtering servers.
  1063. */
  1064. serverCriteria?: ServerCriteria;
  1065. /**
  1066. * Specifies whether to sort by ascending (ASC) or descending (DESC) order.
  1067. */
  1068. sort?: SortOrder;
  1069. }
  1070. export interface ListServersResponse {
  1071. /**
  1072. * The token you use to retrieve the next set of results, or null if there are no more results.
  1073. */
  1074. nextToken?: NextToken;
  1075. /**
  1076. * The list of servers with detailed information about each server.
  1077. */
  1078. serverInfos?: ServerDetails;
  1079. }
  1080. export type ListStrategySummary = StrategySummary[];
  1081. export type Location = string;
  1082. export type MacAddress = string;
  1083. export interface ManagementPreference {
  1084. /**
  1085. * Indicates interest in solutions that are managed by AWS.
  1086. */
  1087. awsManagedResources?: AwsManagedResources;
  1088. /**
  1089. * No specific preference.
  1090. */
  1091. noPreference?: NoManagementPreference;
  1092. /**
  1093. * Indicates interest in managing your own resources on AWS.
  1094. */
  1095. selfManageResources?: SelfManageResources;
  1096. }
  1097. export type MaxResult = number;
  1098. export type NetMask = string;
  1099. export interface NetworkInfo {
  1100. /**
  1101. * Information about the name of the interface of the server for which the assessment was run.
  1102. */
  1103. interfaceName: InterfaceName;
  1104. /**
  1105. * Information about the IP address of the server for which the assessment was run.
  1106. */
  1107. ipAddress: IPAddress;
  1108. /**
  1109. * Information about the MAC address of the server for which the assessment was run.
  1110. */
  1111. macAddress: MacAddress;
  1112. /**
  1113. * Information about the subnet mask of the server for which the assessment was run.
  1114. */
  1115. netMask: NetMask;
  1116. }
  1117. export type NetworkInfoList = NetworkInfo[];
  1118. export type NextToken = string;
  1119. export interface NoDatabaseMigrationPreference {
  1120. /**
  1121. * The target database engine for database migration preference that you specify.
  1122. */
  1123. targetDatabaseEngine: TargetDatabaseEngines;
  1124. }
  1125. export interface NoManagementPreference {
  1126. /**
  1127. * The choice of application destination that you specify.
  1128. */
  1129. targetDestination: NoPreferenceTargetDestinations;
  1130. }
  1131. export type NoPreferenceTargetDestination = "None specified"|"AWS Elastic BeanStalk"|"AWS Fargate"|"Amazon Elastic Cloud Compute (EC2)"|"Amazon Elastic Container Service (ECS)"|"Amazon Elastic Kubernetes Service (EKS)"|string;
  1132. export type NoPreferenceTargetDestinations = NoPreferenceTargetDestination[];
  1133. export interface OSInfo {
  1134. /**
  1135. * Information about the type of operating system.
  1136. */
  1137. type?: OSType;
  1138. /**
  1139. * Information about the version of operating system.
  1140. */
  1141. version?: OSVersion;
  1142. }
  1143. export type OSType = "LINUX"|"WINDOWS"|string;
  1144. export type OSVersion = string;
  1145. export type OutputFormat = "Excel"|"Json"|string;
  1146. export interface PipelineInfo {
  1147. /**
  1148. * The time when the pipeline info was configured.
  1149. */
  1150. pipelineConfigurationTimeStamp?: String;
  1151. /**
  1152. * The type of pipeline.
  1153. */
  1154. pipelineType?: PipelineType;
  1155. }
  1156. export type PipelineInfoList = PipelineInfo[];
  1157. export type PipelineType = "AZURE_DEVOPS"|string;
  1158. export interface PrioritizeBusinessGoals {
  1159. /**
  1160. * Rank of business goals based on priority.
  1161. */
  1162. businessGoals?: BusinessGoals;
  1163. }
  1164. export type ProjectName = string;
  1165. export interface PutPortfolioPreferencesRequest {
  1166. /**
  1167. * The classification for application component types.
  1168. */
  1169. applicationMode?: ApplicationMode;
  1170. /**
  1171. * The transformation preferences for non-database applications.
  1172. */
  1173. applicationPreferences?: ApplicationPreferences;
  1174. /**
  1175. * The transformation preferences for database applications.
  1176. */
  1177. databasePreferences?: DatabasePreferences;
  1178. /**
  1179. * The rank of the business goals based on priority.
  1180. */
  1181. prioritizeBusinessGoals?: PrioritizeBusinessGoals;
  1182. }
  1183. export interface PutPortfolioPreferencesResponse {
  1184. }
  1185. export interface RecommendationReportDetails {
  1186. /**
  1187. * The time that the recommendation report generation task completes.
  1188. */
  1189. completionTime?: RecommendationReportTimeStamp;
  1190. /**
  1191. * The S3 bucket where the report file is located.
  1192. */
  1193. s3Bucket?: String;
  1194. /**
  1195. * The Amazon S3 key name of the report file.
  1196. */
  1197. s3Keys?: S3Keys;
  1198. /**
  1199. * The time that the recommendation report generation task starts.
  1200. */
  1201. startTime?: RecommendationReportTimeStamp;
  1202. /**
  1203. * The status of the recommendation report generation task.
  1204. */
  1205. status?: RecommendationReportStatus;
  1206. /**
  1207. * The status message for recommendation report generation.
  1208. */
  1209. statusMessage?: RecommendationReportStatusMessage;
  1210. }
  1211. export type RecommendationReportStatus = "FAILED"|"IN_PROGRESS"|"SUCCESS"|string;
  1212. export type RecommendationReportStatusMessage = string;
  1213. export type RecommendationReportTimeStamp = Date;
  1214. export interface RecommendationSet {
  1215. /**
  1216. * The recommended strategy.
  1217. */
  1218. strategy?: Strategy;
  1219. /**
  1220. * The recommended target destination.
  1221. */
  1222. targetDestination?: TargetDestination;
  1223. /**
  1224. * The target destination for the recommendation set.
  1225. */
  1226. transformationTool?: TransformationTool;
  1227. }
  1228. export type RecommendationTaskId = string;
  1229. export interface RemoteSourceCodeAnalysisServerInfo {
  1230. /**
  1231. * The time when the remote source code server was configured.
  1232. */
  1233. remoteSourceCodeAnalysisServerConfigurationTimestamp?: String;
  1234. }
  1235. export type ResourceId = string;
  1236. export type ResourceName = string;
  1237. export type ResourceSubType = "Database"|"Process"|"DatabaseProcess"|string;
  1238. export interface Result {
  1239. /**
  1240. * The error in server analysis.
  1241. */
  1242. analysisStatus?: AnalysisStatusUnion;
  1243. /**
  1244. * The error in server analysis.
  1245. */
  1246. analysisType?: AnalysisType;
  1247. /**
  1248. * The error in server analysis.
  1249. */
  1250. antipatternReportResultList?: AntipatternReportResultList;
  1251. /**
  1252. * The error in server analysis.
  1253. */
  1254. statusMessage?: StatusMessage;
  1255. }
  1256. export type ResultList = Result[];
  1257. export type RunTimeAnalyzerName = "A2C_ANALYZER"|"REHOST_ANALYZER"|"EMP_PA_ANALYZER"|"DATABASE_ANALYZER"|"SCT_ANALYZER"|string;
  1258. export type RunTimeAssessmentStatus = "dataCollectionTaskToBeScheduled"|"dataCollectionTaskScheduled"|"dataCollectionTaskStarted"|"dataCollectionTaskStopped"|"dataCollectionTaskSuccess"|"dataCollectionTaskFailed"|"dataCollectionTaskPartialSuccess"|string;
  1259. export type RuntimeAnalysisStatus = "ANALYSIS_TO_BE_SCHEDULED"|"ANALYSIS_STARTED"|"ANALYSIS_SUCCESS"|"ANALYSIS_FAILED"|string;
  1260. export type S3Bucket = string;
  1261. export type S3Key = string;
  1262. export type S3Keys = String[];
  1263. export interface S3Object {
  1264. /**
  1265. * The S3 bucket name.
  1266. */
  1267. s3Bucket?: S3Bucket;
  1268. /**
  1269. * The Amazon S3 key name.
  1270. */
  1271. s3key?: S3Key;
  1272. }
  1273. export type SecretsManagerKey = string;
  1274. export interface SelfManageResources {
  1275. /**
  1276. * Self-managed resources target destination.
  1277. */
  1278. targetDestination: SelfManageTargetDestinations;
  1279. }
  1280. export type SelfManageTargetDestination = "None specified"|"Amazon Elastic Cloud Compute (EC2)"|"Amazon Elastic Container Service (ECS)"|"Amazon Elastic Kubernetes Service (EKS)"|string;
  1281. export type SelfManageTargetDestinations = SelfManageTargetDestination[];
  1282. export type ServerCriteria = "NOT_DEFINED"|"OS_NAME"|"STRATEGY"|"DESTINATION"|"SERVER_ID"|"ANALYSIS_STATUS"|"ERROR_CATEGORY"|string;
  1283. export interface ServerDetail {
  1284. /**
  1285. * The S3 bucket name and Amazon S3 key name for anti-pattern report.
  1286. */
  1287. antipatternReportS3Object?: S3Object;
  1288. /**
  1289. * The status of the anti-pattern report generation.
  1290. */
  1291. antipatternReportStatus?: AntipatternReportStatus;
  1292. /**
  1293. * A message about the status of the anti-pattern report generation.
  1294. */
  1295. antipatternReportStatusMessage?: StatusMessage;
  1296. /**
  1297. * A list of strategy summaries.
  1298. */
  1299. applicationComponentStrategySummary?: ListStrategySummary;
  1300. /**
  1301. * The status of assessment for the server.
  1302. */
  1303. dataCollectionStatus?: RunTimeAssessmentStatus;
  1304. /**
  1305. * The server ID.
  1306. */
  1307. id?: ResourceId;
  1308. /**
  1309. * The timestamp of when the server was assessed.
  1310. */
  1311. lastAnalyzedTimestamp?: TimeStamp;
  1312. /**
  1313. * A list of anti-pattern severity summaries.
  1314. */
  1315. listAntipatternSeveritySummary?: ListAntipatternSeveritySummary;
  1316. /**
  1317. * The name of the server.
  1318. */
  1319. name?: ResourceName;
  1320. /**
  1321. * A set of recommendations.
  1322. */
  1323. recommendationSet?: RecommendationSet;
  1324. /**
  1325. * The error in server analysis.
  1326. */
  1327. serverError?: ServerError;
  1328. /**
  1329. * The type of server.
  1330. */
  1331. serverType?: String;
  1332. /**
  1333. * A message about the status of data collection, which contains detailed descriptions of any error messages.
  1334. */
  1335. statusMessage?: StatusMessage;
  1336. /**
  1337. * System information about the server.
  1338. */
  1339. systemInfo?: SystemInfo;
  1340. }
  1341. export type ServerDetails = ServerDetail[];
  1342. export interface ServerError {
  1343. /**
  1344. * The error category of server analysis.
  1345. */
  1346. serverErrorCategory?: ServerErrorCategory;
  1347. }
  1348. export type ServerErrorCategory = "CONNECTIVITY_ERROR"|"CREDENTIAL_ERROR"|"PERMISSION_ERROR"|"ARCHITECTURE_ERROR"|"OTHER_ERROR"|string;
  1349. export type ServerId = string;
  1350. export type ServerOsType = "WindowsServer"|"AmazonLinux"|"EndOfSupportWindowsServer"|"Redhat"|"Other"|string;
  1351. export interface ServerStatusSummary {
  1352. /**
  1353. * The number of servers successfully analyzed, partially successful or failed analysis.
  1354. */
  1355. count?: Integer;
  1356. /**
  1357. * The status of the run time.
  1358. */
  1359. runTimeAssessmentStatus?: RunTimeAssessmentStatus;
  1360. }
  1361. export type ServerStrategies = ServerStrategy[];
  1362. export interface ServerStrategy {
  1363. /**
  1364. * Set to true if the recommendation is set as preferred.
  1365. */
  1366. isPreferred?: Boolean;
  1367. /**
  1368. * The number of application components with this strategy recommendation running on the server.
  1369. */
  1370. numberOfApplicationComponents?: Integer;
  1371. /**
  1372. * Strategy recommendation for the server.
  1373. */
  1374. recommendation?: RecommendationSet;
  1375. /**
  1376. * The recommendation status of the strategy for the server.
  1377. */
  1378. status?: StrategyRecommendation;
  1379. }
  1380. export interface ServerSummary {
  1381. /**
  1382. * Type of operating system for the servers.
  1383. */
  1384. ServerOsType?: ServerOsType;
  1385. /**
  1386. * Number of servers.
  1387. */
  1388. count?: Integer;
  1389. }
  1390. export type Severity = "HIGH"|"MEDIUM"|"LOW"|string;
  1391. export type SortOrder = "ASC"|"DESC"|string;
  1392. export interface SourceCode {
  1393. /**
  1394. * The repository name for the source code.
  1395. */
  1396. location?: Location;
  1397. /**
  1398. * The name of the project.
  1399. */
  1400. projectName?: ProjectName;
  1401. /**
  1402. * The branch of the source code.
  1403. */
  1404. sourceVersion?: SourceVersion;
  1405. /**
  1406. * The type of repository to use for the source code.
  1407. */
  1408. versionControl?: VersionControl;
  1409. }
  1410. export type SourceCodeAnalyzerName = "CSHARP_ANALYZER"|"JAVA_ANALYZER"|"BYTECODE_ANALYZER"|"PORTING_ASSISTANT"|string;
  1411. export type SourceCodeList = SourceCode[];
  1412. export type SourceCodeRepositories = SourceCodeRepository[];
  1413. export interface SourceCodeRepository {
  1414. /**
  1415. * The branch of the source code.
  1416. */
  1417. branch?: String;
  1418. /**
  1419. * The name of the project.
  1420. */
  1421. projectName?: String;
  1422. /**
  1423. * The repository name for the source code.
  1424. */
  1425. repository?: String;
  1426. /**
  1427. * The type of repository to use for the source code.
  1428. */
  1429. versionControlType?: String;
  1430. }
  1431. export type SourceVersion = string;
  1432. export type SrcCodeOrDbAnalysisStatus = "ANALYSIS_TO_BE_SCHEDULED"|"ANALYSIS_STARTED"|"ANALYSIS_SUCCESS"|"ANALYSIS_FAILED"|"ANALYSIS_PARTIAL_SUCCESS"|"UNCONFIGURED"|"CONFIGURED"|string;
  1433. export interface StartAssessmentRequest {
  1434. /**
  1435. * The data source type of an assessment to be started.
  1436. */
  1437. assessmentDataSourceType?: AssessmentDataSourceType;
  1438. /**
  1439. * List of criteria for assessment.
  1440. */
  1441. assessmentTargets?: AssessmentTargets;
  1442. /**
  1443. * The S3 bucket used by the collectors to send analysis data to the service. The bucket name must begin with migrationhub-strategy-.
  1444. */
  1445. s3bucketForAnalysisData?: StartAssessmentRequestS3bucketForAnalysisDataString;
  1446. /**
  1447. * The S3 bucket where all the reports generated by the service are stored. The bucket name must begin with migrationhub-strategy-.
  1448. */
  1449. s3bucketForReportData?: StartAssessmentRequestS3bucketForReportDataString;
  1450. }
  1451. export type StartAssessmentRequestS3bucketForAnalysisDataString = string;
  1452. export type StartAssessmentRequestS3bucketForReportDataString = string;
  1453. export interface StartAssessmentResponse {
  1454. /**
  1455. * The ID of the assessment.
  1456. */
  1457. assessmentId?: AsyncTaskId;
  1458. }
  1459. export interface StartImportFileTaskRequest {
  1460. /**
  1461. * The S3 bucket where the import file is located. The bucket name is required to begin with migrationhub-strategy-.
  1462. */
  1463. S3Bucket: importS3Bucket;
  1464. /**
  1465. * Specifies the source that the servers are coming from. By default, Strategy Recommendations assumes that the servers specified in the import file are available in AWS Application Discovery Service.
  1466. */
  1467. dataSourceType?: DataSourceType;
  1468. /**
  1469. * Groups the resources in the import file together with a unique name. This ID can be as filter in ListApplicationComponents and ListServers.
  1470. */
  1471. groupId?: GroupIds;
  1472. /**
  1473. * A descriptive name for the request.
  1474. */
  1475. name: StartImportFileTaskRequestNameString;
  1476. /**
  1477. * The S3 bucket where Strategy Recommendations uploads import results. The bucket name is required to begin with migrationhub-strategy-.
  1478. */
  1479. s3bucketForReportData?: StartImportFileTaskRequestS3bucketForReportDataString;
  1480. /**
  1481. * The Amazon S3 key name of the import file.
  1482. */
  1483. s3key: String;
  1484. }
  1485. export type StartImportFileTaskRequestNameString = string;
  1486. export type StartImportFileTaskRequestS3bucketForReportDataString = string;
  1487. export interface StartImportFileTaskResponse {
  1488. /**
  1489. * The ID for a specific import task. The ID is unique within an AWS account.
  1490. */
  1491. id?: String;
  1492. }
  1493. export interface StartRecommendationReportGenerationRequest {
  1494. /**
  1495. * Groups the resources in the recommendation report with a unique name.
  1496. */
  1497. groupIdFilter?: GroupIds;
  1498. /**
  1499. * The output format for the recommendation report file. The default format is Microsoft Excel.
  1500. */
  1501. outputFormat?: OutputFormat;
  1502. }
  1503. export interface StartRecommendationReportGenerationResponse {
  1504. /**
  1505. * The ID of the recommendation report generation task.
  1506. */
  1507. id?: RecommendationTaskId;
  1508. }
  1509. export type StatusMessage = string;
  1510. export interface StopAssessmentRequest {
  1511. /**
  1512. * The assessmentId returned by StartAssessment.
  1513. */
  1514. assessmentId: AsyncTaskId;
  1515. }
  1516. export interface StopAssessmentResponse {
  1517. }
  1518. export type Strategy = "Rehost"|"Retirement"|"Refactor"|"Replatform"|"Retain"|"Relocate"|"Repurchase"|string;
  1519. export interface StrategyOption {
  1520. /**
  1521. * Indicates if a specific strategy is preferred for the application component.
  1522. */
  1523. isPreferred?: Boolean;
  1524. /**
  1525. * Type of transformation. For example, Rehost, Replatform, and so on.
  1526. */
  1527. strategy?: Strategy;
  1528. /**
  1529. * Destination information about where the application component can migrate to. For example, EC2, ECS, and so on.
  1530. */
  1531. targetDestination?: TargetDestination;
  1532. /**
  1533. * The name of the tool that can be used to transform an application component using this strategy.
  1534. */
  1535. toolName?: TransformationToolName;
  1536. }
  1537. export type StrategyRecommendation = "recommended"|"viableOption"|"notRecommended"|"potential"|string;
  1538. export interface StrategySummary {
  1539. /**
  1540. * The count of recommendations per strategy.
  1541. */
  1542. count?: Integer;
  1543. /**
  1544. * The name of recommended strategy.
  1545. */
  1546. strategy?: Strategy;
  1547. }
  1548. export type String = string;
  1549. export interface SystemInfo {
  1550. /**
  1551. * CPU architecture type for the server.
  1552. */
  1553. cpuArchitecture?: String;
  1554. /**
  1555. * File system type for the server.
  1556. */
  1557. fileSystemType?: String;
  1558. /**
  1559. * Networking information related to a server.
  1560. */
  1561. networkInfoList?: NetworkInfoList;
  1562. /**
  1563. * Operating system corresponding to a server.
  1564. */
  1565. osInfo?: OSInfo;
  1566. }
  1567. export type TargetDatabaseEngine = "None specified"|"Amazon Aurora"|"AWS PostgreSQL"|"MySQL"|"Microsoft SQL Server"|"Oracle Database"|"MariaDB"|"SAP"|"Db2 LUW"|"MongoDB"|string;
  1568. export type TargetDatabaseEngines = TargetDatabaseEngine[];
  1569. export type TargetDestination = "None specified"|"AWS Elastic BeanStalk"|"AWS Fargate"|"Amazon Elastic Cloud Compute (EC2)"|"Amazon Elastic Container Service (ECS)"|"Amazon Elastic Kubernetes Service (EKS)"|"Aurora MySQL"|"Aurora PostgreSQL"|"Amazon Relational Database Service on MySQL"|"Amazon Relational Database Service on PostgreSQL"|"Amazon DocumentDB"|"Amazon DynamoDB"|"Amazon Relational Database Service"|"Babelfish for Aurora PostgreSQL"|string;
  1570. export type TimeStamp = Date;
  1571. export type TranformationToolDescription = string;
  1572. export type TranformationToolInstallationLink = string;
  1573. export interface TransformationTool {
  1574. /**
  1575. * Description of the tool.
  1576. */
  1577. description?: TranformationToolDescription;
  1578. /**
  1579. * Name of the tool.
  1580. */
  1581. name?: TransformationToolName;
  1582. /**
  1583. * URL for installing the tool.
  1584. */
  1585. tranformationToolInstallationLink?: TranformationToolInstallationLink;
  1586. }
  1587. export type TransformationToolName = "App2Container"|"Porting Assistant For .NET"|"End of Support Migration"|"Windows Web Application Migration Assistant"|"Application Migration Service"|"Strategy Recommendation Support"|"In Place Operating System Upgrade"|"Schema Conversion Tool"|"Database Migration Service"|"Native SQL Server Backup/Restore"|string;
  1588. export interface UpdateApplicationComponentConfigRequest {
  1589. /**
  1590. * The type of known component.
  1591. */
  1592. appType?: AppType;
  1593. /**
  1594. * The ID of the application component. The ID is unique within an AWS account.
  1595. */
  1596. applicationComponentId: ApplicationComponentId;
  1597. /**
  1598. * Update the configuration request of an application component. If it is set to true, the source code and/or database credentials are updated. If it is set to false, the source code and/or database credentials are updated and an analysis is initiated.
  1599. */
  1600. configureOnly?: Boolean;
  1601. /**
  1602. * Indicates whether the application component has been included for server recommendation or not.
  1603. */
  1604. inclusionStatus?: InclusionStatus;
  1605. /**
  1606. * Database credentials.
  1607. */
  1608. secretsManagerKey?: SecretsManagerKey;
  1609. /**
  1610. * The list of source code configurations to update for the application component.
  1611. */
  1612. sourceCodeList?: SourceCodeList;
  1613. /**
  1614. * The preferred strategy options for the application component. Use values from the GetApplicationComponentStrategies response.
  1615. */
  1616. strategyOption?: StrategyOption;
  1617. }
  1618. export interface UpdateApplicationComponentConfigResponse {
  1619. }
  1620. export interface UpdateServerConfigRequest {
  1621. /**
  1622. * The ID of the server.
  1623. */
  1624. serverId: ServerId;
  1625. /**
  1626. * The preferred strategy options for the application component. See the response from GetServerStrategies.
  1627. */
  1628. strategyOption?: StrategyOption;
  1629. }
  1630. export interface UpdateServerConfigResponse {
  1631. }
  1632. export interface VcenterBasedRemoteInfo {
  1633. /**
  1634. * The type of the operating system.
  1635. */
  1636. osType?: OSType;
  1637. /**
  1638. * The time when the remote server based on vCenter was last configured.
  1639. */
  1640. vcenterConfigurationTimeStamp?: String;
  1641. }
  1642. export type VcenterBasedRemoteInfoList = VcenterBasedRemoteInfo[];
  1643. export type VersionControl = "GITHUB"|"GITHUB_ENTERPRISE"|"AZURE_DEVOPS_GIT"|string;
  1644. export interface VersionControlInfo {
  1645. /**
  1646. * The time when the version control system was last configured.
  1647. */
  1648. versionControlConfigurationTimeStamp?: String;
  1649. /**
  1650. * The type of version control.
  1651. */
  1652. versionControlType?: VersionControlType;
  1653. }
  1654. export type VersionControlInfoList = VersionControlInfo[];
  1655. export type VersionControlType = "GITHUB"|"GITHUB_ENTERPRISE"|"AZURE_DEVOPS_GIT"|string;
  1656. export type importS3Bucket = string;
  1657. export type importS3Key = string;
  1658. /**
  1659. * 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.
  1660. */
  1661. export type apiVersion = "2020-02-19"|"latest"|string;
  1662. export interface ClientApiVersions {
  1663. /**
  1664. * 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.
  1665. */
  1666. apiVersion?: apiVersion;
  1667. }
  1668. export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
  1669. /**
  1670. * Contains interfaces for use with the MigrationHubStrategy client.
  1671. */
  1672. export import Types = MigrationHubStrategy;
  1673. }
  1674. export = MigrationHubStrategy;