123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674 |
- import {Request} from '../lib/request';
- import {Response} from '../lib/response';
- import {AWSError} from '../lib/error';
- import {Service} from '../lib/service';
- import {ServiceConfigurationOptions} from '../lib/service';
- import {ConfigBase as Config} from '../lib/config-base';
- interface Blob {}
- declare class MigrationHubStrategy extends Service {
- /**
- * Constructs a service object. This object has one method for each API operation.
- */
- constructor(options?: MigrationHubStrategy.Types.ClientConfiguration)
- config: Config & MigrationHubStrategy.Types.ClientConfiguration;
- /**
- * Retrieves details about an application component.
- */
- getApplicationComponentDetails(params: MigrationHubStrategy.Types.GetApplicationComponentDetailsRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetApplicationComponentDetailsResponse) => void): Request<MigrationHubStrategy.Types.GetApplicationComponentDetailsResponse, AWSError>;
- /**
- * Retrieves details about an application component.
- */
- getApplicationComponentDetails(callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetApplicationComponentDetailsResponse) => void): Request<MigrationHubStrategy.Types.GetApplicationComponentDetailsResponse, AWSError>;
- /**
- * Retrieves a list of all the recommended strategies and tools for an application component running on a server.
- */
- getApplicationComponentStrategies(params: MigrationHubStrategy.Types.GetApplicationComponentStrategiesRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetApplicationComponentStrategiesResponse) => void): Request<MigrationHubStrategy.Types.GetApplicationComponentStrategiesResponse, AWSError>;
- /**
- * Retrieves a list of all the recommended strategies and tools for an application component running on a server.
- */
- getApplicationComponentStrategies(callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetApplicationComponentStrategiesResponse) => void): Request<MigrationHubStrategy.Types.GetApplicationComponentStrategiesResponse, AWSError>;
- /**
- * Retrieves the status of an on-going assessment.
- */
- getAssessment(params: MigrationHubStrategy.Types.GetAssessmentRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetAssessmentResponse) => void): Request<MigrationHubStrategy.Types.GetAssessmentResponse, AWSError>;
- /**
- * Retrieves the status of an on-going assessment.
- */
- getAssessment(callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetAssessmentResponse) => void): Request<MigrationHubStrategy.Types.GetAssessmentResponse, AWSError>;
- /**
- * Retrieves the details about a specific import task.
- */
- getImportFileTask(params: MigrationHubStrategy.Types.GetImportFileTaskRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetImportFileTaskResponse) => void): Request<MigrationHubStrategy.Types.GetImportFileTaskResponse, AWSError>;
- /**
- * Retrieves the details about a specific import task.
- */
- getImportFileTask(callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetImportFileTaskResponse) => void): Request<MigrationHubStrategy.Types.GetImportFileTaskResponse, AWSError>;
- /**
- * Retrieve the latest ID of a specific assessment task.
- */
- getLatestAssessmentId(params: MigrationHubStrategy.Types.GetLatestAssessmentIdRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetLatestAssessmentIdResponse) => void): Request<MigrationHubStrategy.Types.GetLatestAssessmentIdResponse, AWSError>;
- /**
- * Retrieve the latest ID of a specific assessment task.
- */
- getLatestAssessmentId(callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetLatestAssessmentIdResponse) => void): Request<MigrationHubStrategy.Types.GetLatestAssessmentIdResponse, AWSError>;
- /**
- * Retrieves your migration and modernization preferences.
- */
- getPortfolioPreferences(params: MigrationHubStrategy.Types.GetPortfolioPreferencesRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetPortfolioPreferencesResponse) => void): Request<MigrationHubStrategy.Types.GetPortfolioPreferencesResponse, AWSError>;
- /**
- * Retrieves your migration and modernization preferences.
- */
- getPortfolioPreferences(callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetPortfolioPreferencesResponse) => void): Request<MigrationHubStrategy.Types.GetPortfolioPreferencesResponse, AWSError>;
- /**
- * Retrieves overall summary including the number of servers to rehost and the overall number of anti-patterns.
- */
- getPortfolioSummary(params: MigrationHubStrategy.Types.GetPortfolioSummaryRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetPortfolioSummaryResponse) => void): Request<MigrationHubStrategy.Types.GetPortfolioSummaryResponse, AWSError>;
- /**
- * Retrieves overall summary including the number of servers to rehost and the overall number of anti-patterns.
- */
- getPortfolioSummary(callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetPortfolioSummaryResponse) => void): Request<MigrationHubStrategy.Types.GetPortfolioSummaryResponse, AWSError>;
- /**
- * Retrieves detailed information about the specified recommendation report.
- */
- getRecommendationReportDetails(params: MigrationHubStrategy.Types.GetRecommendationReportDetailsRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetRecommendationReportDetailsResponse) => void): Request<MigrationHubStrategy.Types.GetRecommendationReportDetailsResponse, AWSError>;
- /**
- * Retrieves detailed information about the specified recommendation report.
- */
- getRecommendationReportDetails(callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetRecommendationReportDetailsResponse) => void): Request<MigrationHubStrategy.Types.GetRecommendationReportDetailsResponse, AWSError>;
- /**
- * Retrieves detailed information about a specified server.
- */
- getServerDetails(params: MigrationHubStrategy.Types.GetServerDetailsRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetServerDetailsResponse) => void): Request<MigrationHubStrategy.Types.GetServerDetailsResponse, AWSError>;
- /**
- * Retrieves detailed information about a specified server.
- */
- getServerDetails(callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetServerDetailsResponse) => void): Request<MigrationHubStrategy.Types.GetServerDetailsResponse, AWSError>;
- /**
- * Retrieves recommended strategies and tools for the specified server.
- */
- getServerStrategies(params: MigrationHubStrategy.Types.GetServerStrategiesRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetServerStrategiesResponse) => void): Request<MigrationHubStrategy.Types.GetServerStrategiesResponse, AWSError>;
- /**
- * Retrieves recommended strategies and tools for the specified server.
- */
- getServerStrategies(callback?: (err: AWSError, data: MigrationHubStrategy.Types.GetServerStrategiesResponse) => void): Request<MigrationHubStrategy.Types.GetServerStrategiesResponse, AWSError>;
- /**
- * Retrieves a list of all the servers fetched from customer vCenter using Strategy Recommendation Collector.
- */
- listAnalyzableServers(params: MigrationHubStrategy.Types.ListAnalyzableServersRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.ListAnalyzableServersResponse) => void): Request<MigrationHubStrategy.Types.ListAnalyzableServersResponse, AWSError>;
- /**
- * Retrieves a list of all the servers fetched from customer vCenter using Strategy Recommendation Collector.
- */
- listAnalyzableServers(callback?: (err: AWSError, data: MigrationHubStrategy.Types.ListAnalyzableServersResponse) => void): Request<MigrationHubStrategy.Types.ListAnalyzableServersResponse, AWSError>;
- /**
- * Retrieves a list of all the application components (processes).
- */
- listApplicationComponents(params: MigrationHubStrategy.Types.ListApplicationComponentsRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.ListApplicationComponentsResponse) => void): Request<MigrationHubStrategy.Types.ListApplicationComponentsResponse, AWSError>;
- /**
- * Retrieves a list of all the application components (processes).
- */
- listApplicationComponents(callback?: (err: AWSError, data: MigrationHubStrategy.Types.ListApplicationComponentsResponse) => void): Request<MigrationHubStrategy.Types.ListApplicationComponentsResponse, AWSError>;
- /**
- * Retrieves a list of all the installed collectors.
- */
- listCollectors(params: MigrationHubStrategy.Types.ListCollectorsRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.ListCollectorsResponse) => void): Request<MigrationHubStrategy.Types.ListCollectorsResponse, AWSError>;
- /**
- * Retrieves a list of all the installed collectors.
- */
- listCollectors(callback?: (err: AWSError, data: MigrationHubStrategy.Types.ListCollectorsResponse) => void): Request<MigrationHubStrategy.Types.ListCollectorsResponse, AWSError>;
- /**
- * Retrieves a list of all the imports performed.
- */
- listImportFileTask(params: MigrationHubStrategy.Types.ListImportFileTaskRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.ListImportFileTaskResponse) => void): Request<MigrationHubStrategy.Types.ListImportFileTaskResponse, AWSError>;
- /**
- * Retrieves a list of all the imports performed.
- */
- listImportFileTask(callback?: (err: AWSError, data: MigrationHubStrategy.Types.ListImportFileTaskResponse) => void): Request<MigrationHubStrategy.Types.ListImportFileTaskResponse, AWSError>;
- /**
- * Returns a list of all the servers.
- */
- listServers(params: MigrationHubStrategy.Types.ListServersRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.ListServersResponse) => void): Request<MigrationHubStrategy.Types.ListServersResponse, AWSError>;
- /**
- * Returns a list of all the servers.
- */
- listServers(callback?: (err: AWSError, data: MigrationHubStrategy.Types.ListServersResponse) => void): Request<MigrationHubStrategy.Types.ListServersResponse, AWSError>;
- /**
- * Saves the specified migration and modernization preferences.
- */
- putPortfolioPreferences(params: MigrationHubStrategy.Types.PutPortfolioPreferencesRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.PutPortfolioPreferencesResponse) => void): Request<MigrationHubStrategy.Types.PutPortfolioPreferencesResponse, AWSError>;
- /**
- * Saves the specified migration and modernization preferences.
- */
- putPortfolioPreferences(callback?: (err: AWSError, data: MigrationHubStrategy.Types.PutPortfolioPreferencesResponse) => void): Request<MigrationHubStrategy.Types.PutPortfolioPreferencesResponse, AWSError>;
- /**
- * Starts the assessment of an on-premises environment.
- */
- startAssessment(params: MigrationHubStrategy.Types.StartAssessmentRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.StartAssessmentResponse) => void): Request<MigrationHubStrategy.Types.StartAssessmentResponse, AWSError>;
- /**
- * Starts the assessment of an on-premises environment.
- */
- startAssessment(callback?: (err: AWSError, data: MigrationHubStrategy.Types.StartAssessmentResponse) => void): Request<MigrationHubStrategy.Types.StartAssessmentResponse, AWSError>;
- /**
- * Starts a file import.
- */
- startImportFileTask(params: MigrationHubStrategy.Types.StartImportFileTaskRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.StartImportFileTaskResponse) => void): Request<MigrationHubStrategy.Types.StartImportFileTaskResponse, AWSError>;
- /**
- * Starts a file import.
- */
- startImportFileTask(callback?: (err: AWSError, data: MigrationHubStrategy.Types.StartImportFileTaskResponse) => void): Request<MigrationHubStrategy.Types.StartImportFileTaskResponse, AWSError>;
- /**
- * Starts generating a recommendation report.
- */
- startRecommendationReportGeneration(params: MigrationHubStrategy.Types.StartRecommendationReportGenerationRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.StartRecommendationReportGenerationResponse) => void): Request<MigrationHubStrategy.Types.StartRecommendationReportGenerationResponse, AWSError>;
- /**
- * Starts generating a recommendation report.
- */
- startRecommendationReportGeneration(callback?: (err: AWSError, data: MigrationHubStrategy.Types.StartRecommendationReportGenerationResponse) => void): Request<MigrationHubStrategy.Types.StartRecommendationReportGenerationResponse, AWSError>;
- /**
- * Stops the assessment of an on-premises environment.
- */
- stopAssessment(params: MigrationHubStrategy.Types.StopAssessmentRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.StopAssessmentResponse) => void): Request<MigrationHubStrategy.Types.StopAssessmentResponse, AWSError>;
- /**
- * Stops the assessment of an on-premises environment.
- */
- stopAssessment(callback?: (err: AWSError, data: MigrationHubStrategy.Types.StopAssessmentResponse) => void): Request<MigrationHubStrategy.Types.StopAssessmentResponse, AWSError>;
- /**
- * Updates the configuration of an application component.
- */
- updateApplicationComponentConfig(params: MigrationHubStrategy.Types.UpdateApplicationComponentConfigRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.UpdateApplicationComponentConfigResponse) => void): Request<MigrationHubStrategy.Types.UpdateApplicationComponentConfigResponse, AWSError>;
- /**
- * Updates the configuration of an application component.
- */
- updateApplicationComponentConfig(callback?: (err: AWSError, data: MigrationHubStrategy.Types.UpdateApplicationComponentConfigResponse) => void): Request<MigrationHubStrategy.Types.UpdateApplicationComponentConfigResponse, AWSError>;
- /**
- * Updates the configuration of the specified server.
- */
- updateServerConfig(params: MigrationHubStrategy.Types.UpdateServerConfigRequest, callback?: (err: AWSError, data: MigrationHubStrategy.Types.UpdateServerConfigResponse) => void): Request<MigrationHubStrategy.Types.UpdateServerConfigResponse, AWSError>;
- /**
- * Updates the configuration of the specified server.
- */
- updateServerConfig(callback?: (err: AWSError, data: MigrationHubStrategy.Types.UpdateServerConfigResponse) => void): Request<MigrationHubStrategy.Types.UpdateServerConfigResponse, AWSError>;
- }
- declare namespace MigrationHubStrategy {
- export interface AnalysisStatusUnion {
- /**
- * The status of the analysis.
- */
- runtimeAnalysisStatus?: RuntimeAnalysisStatus;
- /**
- * The status of the source code or database analysis.
- */
- srcCodeOrDbAnalysisStatus?: SrcCodeOrDbAnalysisStatus;
- }
- export type AnalysisType = "SOURCE_CODE_ANALYSIS"|"DATABASE_ANALYSIS"|"RUNTIME_ANALYSIS"|"BINARY_ANALYSIS"|string;
- export interface AnalyzableServerSummary {
- /**
- * The host name of the analyzable server.
- */
- hostname?: String;
- /**
- * The ip address of the analyzable server.
- */
- ipAddress?: String;
- /**
- * The data source of the analyzable server.
- */
- source?: String;
- /**
- * The virtual machine id of the analyzable server.
- */
- vmId?: String;
- }
- export type AnalyzableServerSummaryList = AnalyzableServerSummary[];
- export interface AnalyzerNameUnion {
- /**
- * The binary analyzer names.
- */
- binaryAnalyzerName?: BinaryAnalyzerName;
- /**
- * The assessment analyzer names.
- */
- runTimeAnalyzerName?: RunTimeAnalyzerName;
- /**
- * The source code analyzer names.
- */
- sourceCodeAnalyzerName?: SourceCodeAnalyzerName;
- }
- export interface AntipatternReportResult {
- /**
- * The analyzer name.
- */
- analyzerName?: AnalyzerNameUnion;
- antiPatternReportS3Object?: S3Object;
- /**
- * The status of the anti-pattern report generation.
- */
- antipatternReportStatus?: AntipatternReportStatus;
- /**
- * The status message for the anti-pattern.
- */
- antipatternReportStatusMessage?: StatusMessage;
- }
- export type AntipatternReportResultList = AntipatternReportResult[];
- export type AntipatternReportStatus = "FAILED"|"IN_PROGRESS"|"SUCCESS"|string;
- export interface AntipatternSeveritySummary {
- /**
- * Contains the count of anti-patterns.
- */
- count?: Integer;
- /**
- * Contains the severity of anti-patterns.
- */
- severity?: Severity;
- }
- 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;
- export interface AppUnitError {
- /**
- * The category of the error.
- */
- appUnitErrorCategory?: AppUnitErrorCategory;
- }
- export type AppUnitErrorCategory = "CREDENTIAL_ERROR"|"CONNECTIVITY_ERROR"|"PERMISSION_ERROR"|"UNSUPPORTED_ERROR"|"OTHER_ERROR"|string;
- export type ApplicationComponentCriteria = "NOT_DEFINED"|"APP_NAME"|"SERVER_ID"|"APP_TYPE"|"STRATEGY"|"DESTINATION"|"ANALYSIS_STATUS"|"ERROR_CATEGORY"|string;
- export interface ApplicationComponentDetail {
- /**
- * The status of analysis, if the application component has source code or an associated database.
- */
- analysisStatus?: SrcCodeOrDbAnalysisStatus;
- /**
- * The S3 bucket name and the Amazon S3 key name for the anti-pattern report.
- */
- antipatternReportS3Object?: S3Object;
- /**
- * The status of the anti-pattern report generation.
- */
- antipatternReportStatus?: AntipatternReportStatus;
- /**
- * The status message for the anti-pattern.
- */
- antipatternReportStatusMessage?: StatusMessage;
- /**
- * The type of application component.
- */
- appType?: AppType;
- /**
- * The error in the analysis of the source code or database.
- */
- appUnitError?: AppUnitError;
- /**
- * The ID of the server that the application component is running on.
- */
- associatedServerId?: ServerId;
- /**
- * Configuration details for the database associated with the application component.
- */
- databaseConfigDetail?: DatabaseConfigDetail;
- /**
- * The ID of the application component.
- */
- id?: ResourceId;
- /**
- * Indicates whether the application component has been included for server recommendation or not.
- */
- inclusionStatus?: InclusionStatus;
- /**
- * The timestamp of when the application component was assessed.
- */
- lastAnalyzedTimestamp?: TimeStamp;
- /**
- * A list of anti-pattern severity summaries.
- */
- listAntipatternSeveritySummary?: ListAntipatternSeveritySummary;
- /**
- * Set to true if the application component is running on multiple servers.
- */
- moreServerAssociationExists?: Boolean;
- /**
- * The name of application component.
- */
- name?: ResourceName;
- /**
- * OS driver.
- */
- osDriver?: String;
- /**
- * OS version.
- */
- osVersion?: String;
- /**
- * The top recommendation set for the application component.
- */
- recommendationSet?: RecommendationSet;
- /**
- * The application component subtype.
- */
- resourceSubType?: ResourceSubType;
- /**
- * A list of the analysis results.
- */
- resultList?: ResultList;
- /**
- * The status of the application unit.
- */
- runtimeStatus?: RuntimeAnalysisStatus;
- /**
- * The status message for the application unit.
- */
- runtimeStatusMessage?: StatusMessage;
- /**
- * Details about the source code repository associated with the application component.
- */
- sourceCodeRepositories?: SourceCodeRepositories;
- /**
- * A detailed description of the analysis status and any failure message.
- */
- statusMessage?: StatusMessage;
- }
- export type ApplicationComponentDetails = ApplicationComponentDetail[];
- export type ApplicationComponentId = string;
- export interface ApplicationComponentStatusSummary {
- /**
- * The number of application components successfully analyzed, partially successful or failed analysis.
- */
- count?: Integer;
- /**
- * The status of database analysis.
- */
- srcCodeOrDbAnalysisStatus?: SrcCodeOrDbAnalysisStatus;
- }
- export type ApplicationComponentStrategies = ApplicationComponentStrategy[];
- export interface ApplicationComponentStrategy {
- /**
- * Set to true if the recommendation is set as preferred.
- */
- isPreferred?: Boolean;
- /**
- * Strategy recommendation for the application component.
- */
- recommendation?: RecommendationSet;
- /**
- * The recommendation status of a strategy for an application component.
- */
- status?: StrategyRecommendation;
- }
- export interface ApplicationComponentSummary {
- /**
- * Contains the name of application types.
- */
- appType?: AppType;
- /**
- * Contains the count of application type.
- */
- count?: Integer;
- }
- export type ApplicationMode = "ALL"|"KNOWN"|"UNKNOWN"|string;
- export interface ApplicationPreferences {
- /**
- * Application preferences that you specify to prefer managed environment.
- */
- managementPreference?: ManagementPreference;
- }
- export type AssessmentDataSourceType = "StrategyRecommendationsApplicationDataCollector"|"ManualImport"|"ApplicationDiscoveryService"|string;
- export type AssessmentStatus = "IN_PROGRESS"|"COMPLETE"|"FAILED"|"STOPPED"|string;
- export type AssessmentStatusMessage = string;
- export interface AssessmentSummary {
- /**
- * The Amazon S3 object containing the anti-pattern report.
- */
- antipatternReportS3Object?: S3Object;
- /**
- * The status of the anti-pattern report.
- */
- antipatternReportStatus?: AntipatternReportStatus;
- /**
- * The status message of the anti-pattern report.
- */
- antipatternReportStatusMessage?: StatusMessage;
- /**
- * The time the assessment was performed.
- */
- lastAnalyzedTimestamp?: TimeStamp;
- /**
- * List of AntipatternSeveritySummary.
- */
- listAntipatternSeveritySummary?: ListAntipatternSeveritySummary;
- /**
- * List of status summaries of the analyzed application components.
- */
- listApplicationComponentStatusSummary?: ListApplicationComponentStatusSummary;
- /**
- * List of ApplicationComponentStrategySummary.
- */
- listApplicationComponentStrategySummary?: ListStrategySummary;
- /**
- * List of ApplicationComponentSummary.
- */
- listApplicationComponentSummary?: ListApplicationComponentSummary;
- /**
- * List of status summaries of the analyzed servers.
- */
- listServerStatusSummary?: ListServerStatusSummary;
- /**
- * List of ServerStrategySummary.
- */
- listServerStrategySummary?: ListStrategySummary;
- /**
- * List of ServerSummary.
- */
- listServerSummary?: ListServerSummary;
- }
- export interface AssessmentTarget {
- /**
- * Condition of an assessment.
- */
- condition: Condition;
- /**
- * Name of an assessment.
- */
- name: String;
- /**
- * Values of an assessment.
- */
- values: AssessmentTargetValues;
- }
- export type AssessmentTargetValues = String[];
- export type AssessmentTargets = AssessmentTarget[];
- export interface AssociatedApplication {
- /**
- * ID of the application as defined in Application Discovery Service.
- */
- id?: String;
- /**
- * Name of the application as defined in Application Discovery Service.
- */
- name?: String;
- }
- export type AssociatedApplications = AssociatedApplication[];
- export type AssociatedServerIDs = String[];
- export type AsyncTaskId = string;
- export type AuthType = "NTLM"|"SSH"|"CERT"|string;
- export interface AwsManagedResources {
- /**
- * The choice of application destination that you specify.
- */
- targetDestination: AwsManagedTargetDestinations;
- }
- export type AwsManagedTargetDestination = "None specified"|"AWS Elastic BeanStalk"|"AWS Fargate"|string;
- export type AwsManagedTargetDestinations = AwsManagedTargetDestination[];
- export type BinaryAnalyzerName = "DLL_ANALYZER"|"BYTECODE_ANALYZER"|string;
- export type Boolean = boolean;
- export interface BusinessGoals {
- /**
- * Business goal to reduce license costs.
- */
- licenseCostReduction?: BusinessGoalsInteger;
- /**
- * Business goal to modernize infrastructure by moving to cloud native technologies.
- */
- modernizeInfrastructureWithCloudNativeTechnologies?: BusinessGoalsInteger;
- /**
- * Business goal to reduce the operational overhead on the team by moving into managed services.
- */
- reduceOperationalOverheadWithManagedServices?: BusinessGoalsInteger;
- /**
- * Business goal to achieve migration at a fast pace.
- */
- speedOfMigration?: BusinessGoalsInteger;
- }
- export type BusinessGoalsInteger = number;
- export interface Collector {
- /**
- * Indicates the health of a collector.
- */
- collectorHealth?: CollectorHealth;
- /**
- * The ID of the collector.
- */
- collectorId?: String;
- /**
- * Current version of the collector that is running in the environment that you specify.
- */
- collectorVersion?: String;
- /**
- * Summary of the collector configuration.
- */
- configurationSummary?: ConfigurationSummary;
- /**
- * Hostname of the server that is hosting the collector.
- */
- hostName?: String;
- /**
- * IP address of the server that is hosting the collector.
- */
- ipAddress?: String;
- /**
- * Time when the collector last pinged the service.
- */
- lastActivityTimeStamp?: String;
- /**
- * Time when the collector registered with the service.
- */
- registeredTimeStamp?: String;
- }
- export type CollectorHealth = "COLLECTOR_HEALTHY"|"COLLECTOR_UNHEALTHY"|string;
- export type Collectors = Collector[];
- export type Condition = "EQUALS"|"NOT_EQUALS"|"CONTAINS"|"NOT_CONTAINS"|string;
- export interface ConfigurationSummary {
- /**
- * IP address based configurations.
- */
- ipAddressBasedRemoteInfoList?: IPAddressBasedRemoteInfoList;
- /**
- * The list of pipeline info configurations.
- */
- pipelineInfoList?: PipelineInfoList;
- /**
- * Info about the remote server source code configuration.
- */
- remoteSourceCodeAnalysisServerInfo?: RemoteSourceCodeAnalysisServerInfo;
- /**
- * The list of vCenter configurations.
- */
- vcenterBasedRemoteInfoList?: VcenterBasedRemoteInfoList;
- /**
- * The list of the version control configurations.
- */
- versionControlInfoList?: VersionControlInfoList;
- }
- export interface DataCollectionDetails {
- /**
- * The time the assessment completes.
- */
- completionTime?: TimeStamp;
- /**
- * The number of failed servers in the assessment.
- */
- failed?: Integer;
- /**
- * The number of servers with the assessment status IN_PROGESS.
- */
- inProgress?: Integer;
- /**
- * The total number of servers in the assessment.
- */
- servers?: Integer;
- /**
- * The start time of assessment.
- */
- startTime?: TimeStamp;
- /**
- * The status of the assessment.
- */
- status?: AssessmentStatus;
- /**
- * The status message of the assessment.
- */
- statusMessage?: AssessmentStatusMessage;
- /**
- * The number of successful servers in the assessment.
- */
- success?: Integer;
- }
- export type DataSourceType = "ApplicationDiscoveryService"|"MPA"|"Import"|"StrategyRecommendationsApplicationDataCollector"|string;
- export interface DatabaseConfigDetail {
- /**
- * AWS Secrets Manager key that holds the credentials that you use to connect to a database.
- */
- secretName?: String;
- }
- export type DatabaseManagementPreference = "AWS-managed"|"Self-manage"|"No preference"|string;
- export interface DatabaseMigrationPreference {
- /**
- * 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.
- */
- heterogeneous?: Heterogeneous;
- /**
- * 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.
- */
- homogeneous?: Homogeneous;
- /**
- * Indicated that you do not prefer heterogeneous or homogeneous.
- */
- noPreference?: NoDatabaseMigrationPreference;
- }
- export interface DatabasePreferences {
- /**
- * Specifies whether you're interested in self-managed databases or databases managed by AWS.
- */
- databaseManagementPreference?: DatabaseManagementPreference;
- /**
- * Specifies your preferred migration path.
- */
- databaseMigrationPreference?: DatabaseMigrationPreference;
- }
- export interface GetApplicationComponentDetailsRequest {
- /**
- * The ID of the application component. The ID is unique within an AWS account.
- */
- applicationComponentId: ApplicationComponentId;
- }
- export interface GetApplicationComponentDetailsResponse {
- /**
- * Detailed information about an application component.
- */
- applicationComponentDetail?: ApplicationComponentDetail;
- /**
- * The associated application group as defined in AWS Application Discovery Service.
- */
- associatedApplications?: AssociatedApplications;
- /**
- * A list of the IDs of the servers on which the application component is running.
- */
- associatedServerIds?: AssociatedServerIDs;
- /**
- * Set to true if the application component belongs to more than one application group.
- */
- moreApplicationResource?: Boolean;
- }
- export interface GetApplicationComponentStrategiesRequest {
- /**
- * The ID of the application component. The ID is unique within an AWS account.
- */
- applicationComponentId: ApplicationComponentId;
- }
- export interface GetApplicationComponentStrategiesResponse {
- /**
- * A list of application component strategy recommendations.
- */
- applicationComponentStrategies?: ApplicationComponentStrategies;
- }
- export interface GetAssessmentRequest {
- /**
- * The assessmentid returned by StartAssessment.
- */
- id: AsyncTaskId;
- }
- export interface GetAssessmentResponse {
- /**
- * List of criteria for assessment.
- */
- assessmentTargets?: AssessmentTargets;
- /**
- * Detailed information about the assessment.
- */
- dataCollectionDetails?: DataCollectionDetails;
- /**
- * The ID for the specific assessment task.
- */
- id?: AsyncTaskId;
- }
- export interface GetImportFileTaskRequest {
- /**
- * The ID of the import file task. This ID is returned in the response of StartImportFileTask.
- */
- id: String;
- }
- export interface GetImportFileTaskResponse {
- /**
- * The time that the import task completed.
- */
- completionTime?: TimeStamp;
- /**
- * The import file task id returned in the response of StartImportFileTask.
- */
- id?: String;
- /**
- * The name of the import task given in StartImportFileTask.
- */
- importName?: String;
- /**
- * The S3 bucket where import file is located.
- */
- inputS3Bucket?: importS3Bucket;
- /**
- * The Amazon S3 key name of the import file.
- */
- inputS3Key?: importS3Key;
- /**
- * The number of records that failed to be imported.
- */
- numberOfRecordsFailed?: Integer;
- /**
- * The number of records successfully imported.
- */
- numberOfRecordsSuccess?: Integer;
- /**
- * Start time of the import task.
- */
- startTime?: TimeStamp;
- /**
- * Status of import file task.
- */
- status?: ImportFileTaskStatus;
- /**
- * The S3 bucket name for status report of import task.
- */
- statusReportS3Bucket?: importS3Bucket;
- /**
- * 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.
- */
- statusReportS3Key?: importS3Key;
- }
- export interface GetLatestAssessmentIdRequest {
- }
- export interface GetLatestAssessmentIdResponse {
- /**
- * The latest ID for the specific assessment task.
- */
- id?: AsyncTaskId;
- }
- export interface GetPortfolioPreferencesRequest {
- }
- export interface GetPortfolioPreferencesResponse {
- /**
- * The classification for application component types.
- */
- applicationMode?: ApplicationMode;
- /**
- * The transformation preferences for non-database applications.
- */
- applicationPreferences?: ApplicationPreferences;
- /**
- * The transformation preferences for database applications.
- */
- databasePreferences?: DatabasePreferences;
- /**
- * The rank of business goals based on priority.
- */
- prioritizeBusinessGoals?: PrioritizeBusinessGoals;
- }
- export interface GetPortfolioSummaryRequest {
- }
- export interface GetPortfolioSummaryResponse {
- /**
- * An assessment summary for the portfolio including the number of servers to rehost and the overall number of anti-patterns.
- */
- assessmentSummary?: AssessmentSummary;
- }
- export interface GetRecommendationReportDetailsRequest {
- /**
- * The recommendation report generation task id returned by StartRecommendationReportGeneration.
- */
- id: RecommendationTaskId;
- }
- export interface GetRecommendationReportDetailsResponse {
- /**
- * The ID of the recommendation report generation task. See the response of StartRecommendationReportGeneration.
- */
- id?: RecommendationTaskId;
- /**
- * Detailed information about the recommendation report.
- */
- recommendationReportDetails?: RecommendationReportDetails;
- }
- export interface GetServerDetailsRequest {
- /**
- * The maximum number of items to include in the response. The maximum value is 100.
- */
- maxResults?: MaxResult;
- /**
- * 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.
- */
- nextToken?: NextToken;
- /**
- * The ID of the server.
- */
- serverId: ServerId;
- }
- export interface GetServerDetailsResponse {
- /**
- * The associated application group the server belongs to, as defined in AWS Application Discovery Service.
- */
- associatedApplications?: AssociatedApplications;
- /**
- * The token you use to retrieve the next set of results, or null if there are no more results.
- */
- nextToken?: String;
- /**
- * Detailed information about the server.
- */
- serverDetail?: ServerDetail;
- }
- export interface GetServerStrategiesRequest {
- /**
- * The ID of the server.
- */
- serverId: ServerId;
- }
- export interface GetServerStrategiesResponse {
- /**
- * A list of strategy recommendations for the server.
- */
- serverStrategies?: ServerStrategies;
- }
- export interface Group {
- /**
- * The key of the specific import group.
- */
- name?: GroupName;
- /**
- * The value of the specific import group.
- */
- value?: String;
- }
- export type GroupIds = Group[];
- export type GroupName = "ExternalId"|"ExternalSourceType"|string;
- export interface Heterogeneous {
- /**
- * The target database engine for heterogeneous database migration preference.
- */
- targetDatabaseEngine: HeterogeneousTargetDatabaseEngines;
- }
- export type HeterogeneousTargetDatabaseEngine = "None specified"|"Amazon Aurora"|"AWS PostgreSQL"|"MySQL"|"Microsoft SQL Server"|"Oracle Database"|"MariaDB"|"SAP"|"Db2 LUW"|"MongoDB"|string;
- export type HeterogeneousTargetDatabaseEngines = HeterogeneousTargetDatabaseEngine[];
- export interface Homogeneous {
- /**
- * The target database engine for homogeneous database migration preferences.
- */
- targetDatabaseEngine?: HomogeneousTargetDatabaseEngines;
- }
- export type HomogeneousTargetDatabaseEngine = "None specified"|string;
- export type HomogeneousTargetDatabaseEngines = HomogeneousTargetDatabaseEngine[];
- export type IPAddress = string;
- export interface IPAddressBasedRemoteInfo {
- /**
- * The type of authorization.
- */
- authType?: AuthType;
- /**
- * The time stamp of the configuration.
- */
- ipAddressConfigurationTimeStamp?: String;
- /**
- * The type of the operating system.
- */
- osType?: OSType;
- }
- export type IPAddressBasedRemoteInfoList = IPAddressBasedRemoteInfo[];
- export interface ImportFileTaskInformation {
- /**
- * The time that the import task completes.
- */
- completionTime?: TimeStamp;
- /**
- * The ID of the import file task.
- */
- id?: String;
- /**
- * The name of the import task given in StartImportFileTask.
- */
- importName?: String;
- /**
- * The S3 bucket where the import file is located.
- */
- inputS3Bucket?: importS3Bucket;
- /**
- * The Amazon S3 key name of the import file.
- */
- inputS3Key?: importS3Key;
- /**
- * The number of records that failed to be imported.
- */
- numberOfRecordsFailed?: Integer;
- /**
- * The number of records successfully imported.
- */
- numberOfRecordsSuccess?: Integer;
- /**
- * Start time of the import task.
- */
- startTime?: TimeStamp;
- /**
- * Status of import file task.
- */
- status?: ImportFileTaskStatus;
- /**
- * The S3 bucket name for status report of import task.
- */
- statusReportS3Bucket?: importS3Bucket;
- /**
- * 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.
- */
- statusReportS3Key?: importS3Key;
- }
- export type ImportFileTaskStatus = "ImportInProgress"|"ImportFailed"|"ImportPartialSuccess"|"ImportSuccess"|"DeleteInProgress"|"DeleteFailed"|"DeletePartialSuccess"|"DeleteSuccess"|string;
- export type InclusionStatus = "excludeFromAssessment"|"includeInAssessment"|string;
- export type Integer = number;
- export type InterfaceName = string;
- export interface ListAnalyzableServersRequest {
- /**
- * The maximum number of items to include in the response. The maximum value is 100.
- */
- maxResults?: MaxResult;
- /**
- * 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.
- */
- nextToken?: NextToken;
- /**
- * Specifies whether to sort by ascending (ASC) or descending (DESC) order.
- */
- sort?: SortOrder;
- }
- export interface ListAnalyzableServersResponse {
- /**
- * The list of analyzable servers with summary information about each server.
- */
- analyzableServers?: AnalyzableServerSummaryList;
- /**
- * The token you use to retrieve the next set of results, or null if there are no more results.
- */
- nextToken?: NextToken;
- }
- export type ListAntipatternSeveritySummary = AntipatternSeveritySummary[];
- export type ListApplicationComponentStatusSummary = ApplicationComponentStatusSummary[];
- export type ListApplicationComponentSummary = ApplicationComponentSummary[];
- export interface ListApplicationComponentsRequest {
- /**
- * Criteria for filtering the list of application components.
- */
- applicationComponentCriteria?: ApplicationComponentCriteria;
- /**
- * 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.
- */
- filterValue?: ListApplicationComponentsRequestFilterValueString;
- /**
- * The group ID specified in to filter on.
- */
- groupIdFilter?: GroupIds;
- /**
- * The maximum number of items to include in the response. The maximum value is 100.
- */
- maxResults?: MaxResult;
- /**
- * 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.
- */
- nextToken?: NextToken;
- /**
- * Specifies whether to sort by ascending (ASC) or descending (DESC) order.
- */
- sort?: SortOrder;
- }
- export type ListApplicationComponentsRequestFilterValueString = string;
- export interface ListApplicationComponentsResponse {
- /**
- * The list of application components with detailed information about each component.
- */
- applicationComponentInfos?: ApplicationComponentDetails;
- /**
- * The token you use to retrieve the next set of results, or null if there are no more results.
- */
- nextToken?: NextToken;
- }
- export interface ListCollectorsRequest {
- /**
- * The maximum number of items to include in the response. The maximum value is 100.
- */
- maxResults?: MaxResult;
- /**
- * 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.
- */
- nextToken?: NextToken;
- }
- export interface ListCollectorsResponse {
- /**
- * The list of all the installed collectors.
- */
- Collectors?: Collectors;
- /**
- * The token you use to retrieve the next set of results, or null if there are no more results.
- */
- nextToken?: NextToken;
- }
- export type ListImportFileTaskInformation = ImportFileTaskInformation[];
- export interface ListImportFileTaskRequest {
- /**
- * The total number of items to return. The maximum value is 100.
- */
- maxResults?: Integer;
- /**
- * 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.
- */
- nextToken?: String;
- }
- export interface ListImportFileTaskResponse {
- /**
- * The token you use to retrieve the next set of results, or null if there are no more results.
- */
- nextToken?: String;
- /**
- * Lists information about the files you import.
- */
- taskInfos?: ListImportFileTaskInformation;
- }
- export type ListServerStatusSummary = ServerStatusSummary[];
- export type ListServerSummary = ServerSummary[];
- export interface ListServersRequest {
- /**
- * 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.
- */
- filterValue?: String;
- /**
- * Specifies the group ID to filter on.
- */
- groupIdFilter?: GroupIds;
- /**
- * The maximum number of items to include in the response. The maximum value is 100.
- */
- maxResults?: MaxResult;
- /**
- * 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.
- */
- nextToken?: NextToken;
- /**
- * Criteria for filtering servers.
- */
- serverCriteria?: ServerCriteria;
- /**
- * Specifies whether to sort by ascending (ASC) or descending (DESC) order.
- */
- sort?: SortOrder;
- }
- export interface ListServersResponse {
- /**
- * The token you use to retrieve the next set of results, or null if there are no more results.
- */
- nextToken?: NextToken;
- /**
- * The list of servers with detailed information about each server.
- */
- serverInfos?: ServerDetails;
- }
- export type ListStrategySummary = StrategySummary[];
- export type Location = string;
- export type MacAddress = string;
- export interface ManagementPreference {
- /**
- * Indicates interest in solutions that are managed by AWS.
- */
- awsManagedResources?: AwsManagedResources;
- /**
- * No specific preference.
- */
- noPreference?: NoManagementPreference;
- /**
- * Indicates interest in managing your own resources on AWS.
- */
- selfManageResources?: SelfManageResources;
- }
- export type MaxResult = number;
- export type NetMask = string;
- export interface NetworkInfo {
- /**
- * Information about the name of the interface of the server for which the assessment was run.
- */
- interfaceName: InterfaceName;
- /**
- * Information about the IP address of the server for which the assessment was run.
- */
- ipAddress: IPAddress;
- /**
- * Information about the MAC address of the server for which the assessment was run.
- */
- macAddress: MacAddress;
- /**
- * Information about the subnet mask of the server for which the assessment was run.
- */
- netMask: NetMask;
- }
- export type NetworkInfoList = NetworkInfo[];
- export type NextToken = string;
- export interface NoDatabaseMigrationPreference {
- /**
- * The target database engine for database migration preference that you specify.
- */
- targetDatabaseEngine: TargetDatabaseEngines;
- }
- export interface NoManagementPreference {
- /**
- * The choice of application destination that you specify.
- */
- targetDestination: NoPreferenceTargetDestinations;
- }
- 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;
- export type NoPreferenceTargetDestinations = NoPreferenceTargetDestination[];
- export interface OSInfo {
- /**
- * Information about the type of operating system.
- */
- type?: OSType;
- /**
- * Information about the version of operating system.
- */
- version?: OSVersion;
- }
- export type OSType = "LINUX"|"WINDOWS"|string;
- export type OSVersion = string;
- export type OutputFormat = "Excel"|"Json"|string;
- export interface PipelineInfo {
- /**
- * The time when the pipeline info was configured.
- */
- pipelineConfigurationTimeStamp?: String;
- /**
- * The type of pipeline.
- */
- pipelineType?: PipelineType;
- }
- export type PipelineInfoList = PipelineInfo[];
- export type PipelineType = "AZURE_DEVOPS"|string;
- export interface PrioritizeBusinessGoals {
- /**
- * Rank of business goals based on priority.
- */
- businessGoals?: BusinessGoals;
- }
- export type ProjectName = string;
- export interface PutPortfolioPreferencesRequest {
- /**
- * The classification for application component types.
- */
- applicationMode?: ApplicationMode;
- /**
- * The transformation preferences for non-database applications.
- */
- applicationPreferences?: ApplicationPreferences;
- /**
- * The transformation preferences for database applications.
- */
- databasePreferences?: DatabasePreferences;
- /**
- * The rank of the business goals based on priority.
- */
- prioritizeBusinessGoals?: PrioritizeBusinessGoals;
- }
- export interface PutPortfolioPreferencesResponse {
- }
- export interface RecommendationReportDetails {
- /**
- * The time that the recommendation report generation task completes.
- */
- completionTime?: RecommendationReportTimeStamp;
- /**
- * The S3 bucket where the report file is located.
- */
- s3Bucket?: String;
- /**
- * The Amazon S3 key name of the report file.
- */
- s3Keys?: S3Keys;
- /**
- * The time that the recommendation report generation task starts.
- */
- startTime?: RecommendationReportTimeStamp;
- /**
- * The status of the recommendation report generation task.
- */
- status?: RecommendationReportStatus;
- /**
- * The status message for recommendation report generation.
- */
- statusMessage?: RecommendationReportStatusMessage;
- }
- export type RecommendationReportStatus = "FAILED"|"IN_PROGRESS"|"SUCCESS"|string;
- export type RecommendationReportStatusMessage = string;
- export type RecommendationReportTimeStamp = Date;
- export interface RecommendationSet {
- /**
- * The recommended strategy.
- */
- strategy?: Strategy;
- /**
- * The recommended target destination.
- */
- targetDestination?: TargetDestination;
- /**
- * The target destination for the recommendation set.
- */
- transformationTool?: TransformationTool;
- }
- export type RecommendationTaskId = string;
- export interface RemoteSourceCodeAnalysisServerInfo {
- /**
- * The time when the remote source code server was configured.
- */
- remoteSourceCodeAnalysisServerConfigurationTimestamp?: String;
- }
- export type ResourceId = string;
- export type ResourceName = string;
- export type ResourceSubType = "Database"|"Process"|"DatabaseProcess"|string;
- export interface Result {
- /**
- * The error in server analysis.
- */
- analysisStatus?: AnalysisStatusUnion;
- /**
- * The error in server analysis.
- */
- analysisType?: AnalysisType;
- /**
- * The error in server analysis.
- */
- antipatternReportResultList?: AntipatternReportResultList;
- /**
- * The error in server analysis.
- */
- statusMessage?: StatusMessage;
- }
- export type ResultList = Result[];
- export type RunTimeAnalyzerName = "A2C_ANALYZER"|"REHOST_ANALYZER"|"EMP_PA_ANALYZER"|"DATABASE_ANALYZER"|"SCT_ANALYZER"|string;
- export type RunTimeAssessmentStatus = "dataCollectionTaskToBeScheduled"|"dataCollectionTaskScheduled"|"dataCollectionTaskStarted"|"dataCollectionTaskStopped"|"dataCollectionTaskSuccess"|"dataCollectionTaskFailed"|"dataCollectionTaskPartialSuccess"|string;
- export type RuntimeAnalysisStatus = "ANALYSIS_TO_BE_SCHEDULED"|"ANALYSIS_STARTED"|"ANALYSIS_SUCCESS"|"ANALYSIS_FAILED"|string;
- export type S3Bucket = string;
- export type S3Key = string;
- export type S3Keys = String[];
- export interface S3Object {
- /**
- * The S3 bucket name.
- */
- s3Bucket?: S3Bucket;
- /**
- * The Amazon S3 key name.
- */
- s3key?: S3Key;
- }
- export type SecretsManagerKey = string;
- export interface SelfManageResources {
- /**
- * Self-managed resources target destination.
- */
- targetDestination: SelfManageTargetDestinations;
- }
- export type SelfManageTargetDestination = "None specified"|"Amazon Elastic Cloud Compute (EC2)"|"Amazon Elastic Container Service (ECS)"|"Amazon Elastic Kubernetes Service (EKS)"|string;
- export type SelfManageTargetDestinations = SelfManageTargetDestination[];
- export type ServerCriteria = "NOT_DEFINED"|"OS_NAME"|"STRATEGY"|"DESTINATION"|"SERVER_ID"|"ANALYSIS_STATUS"|"ERROR_CATEGORY"|string;
- export interface ServerDetail {
- /**
- * The S3 bucket name and Amazon S3 key name for anti-pattern report.
- */
- antipatternReportS3Object?: S3Object;
- /**
- * The status of the anti-pattern report generation.
- */
- antipatternReportStatus?: AntipatternReportStatus;
- /**
- * A message about the status of the anti-pattern report generation.
- */
- antipatternReportStatusMessage?: StatusMessage;
- /**
- * A list of strategy summaries.
- */
- applicationComponentStrategySummary?: ListStrategySummary;
- /**
- * The status of assessment for the server.
- */
- dataCollectionStatus?: RunTimeAssessmentStatus;
- /**
- * The server ID.
- */
- id?: ResourceId;
- /**
- * The timestamp of when the server was assessed.
- */
- lastAnalyzedTimestamp?: TimeStamp;
- /**
- * A list of anti-pattern severity summaries.
- */
- listAntipatternSeveritySummary?: ListAntipatternSeveritySummary;
- /**
- * The name of the server.
- */
- name?: ResourceName;
- /**
- * A set of recommendations.
- */
- recommendationSet?: RecommendationSet;
- /**
- * The error in server analysis.
- */
- serverError?: ServerError;
- /**
- * The type of server.
- */
- serverType?: String;
- /**
- * A message about the status of data collection, which contains detailed descriptions of any error messages.
- */
- statusMessage?: StatusMessage;
- /**
- * System information about the server.
- */
- systemInfo?: SystemInfo;
- }
- export type ServerDetails = ServerDetail[];
- export interface ServerError {
- /**
- * The error category of server analysis.
- */
- serverErrorCategory?: ServerErrorCategory;
- }
- export type ServerErrorCategory = "CONNECTIVITY_ERROR"|"CREDENTIAL_ERROR"|"PERMISSION_ERROR"|"ARCHITECTURE_ERROR"|"OTHER_ERROR"|string;
- export type ServerId = string;
- export type ServerOsType = "WindowsServer"|"AmazonLinux"|"EndOfSupportWindowsServer"|"Redhat"|"Other"|string;
- export interface ServerStatusSummary {
- /**
- * The number of servers successfully analyzed, partially successful or failed analysis.
- */
- count?: Integer;
- /**
- * The status of the run time.
- */
- runTimeAssessmentStatus?: RunTimeAssessmentStatus;
- }
- export type ServerStrategies = ServerStrategy[];
- export interface ServerStrategy {
- /**
- * Set to true if the recommendation is set as preferred.
- */
- isPreferred?: Boolean;
- /**
- * The number of application components with this strategy recommendation running on the server.
- */
- numberOfApplicationComponents?: Integer;
- /**
- * Strategy recommendation for the server.
- */
- recommendation?: RecommendationSet;
- /**
- * The recommendation status of the strategy for the server.
- */
- status?: StrategyRecommendation;
- }
- export interface ServerSummary {
- /**
- * Type of operating system for the servers.
- */
- ServerOsType?: ServerOsType;
- /**
- * Number of servers.
- */
- count?: Integer;
- }
- export type Severity = "HIGH"|"MEDIUM"|"LOW"|string;
- export type SortOrder = "ASC"|"DESC"|string;
- export interface SourceCode {
- /**
- * The repository name for the source code.
- */
- location?: Location;
- /**
- * The name of the project.
- */
- projectName?: ProjectName;
- /**
- * The branch of the source code.
- */
- sourceVersion?: SourceVersion;
- /**
- * The type of repository to use for the source code.
- */
- versionControl?: VersionControl;
- }
- export type SourceCodeAnalyzerName = "CSHARP_ANALYZER"|"JAVA_ANALYZER"|"BYTECODE_ANALYZER"|"PORTING_ASSISTANT"|string;
- export type SourceCodeList = SourceCode[];
- export type SourceCodeRepositories = SourceCodeRepository[];
- export interface SourceCodeRepository {
- /**
- * The branch of the source code.
- */
- branch?: String;
- /**
- * The name of the project.
- */
- projectName?: String;
- /**
- * The repository name for the source code.
- */
- repository?: String;
- /**
- * The type of repository to use for the source code.
- */
- versionControlType?: String;
- }
- export type SourceVersion = string;
- export type SrcCodeOrDbAnalysisStatus = "ANALYSIS_TO_BE_SCHEDULED"|"ANALYSIS_STARTED"|"ANALYSIS_SUCCESS"|"ANALYSIS_FAILED"|"ANALYSIS_PARTIAL_SUCCESS"|"UNCONFIGURED"|"CONFIGURED"|string;
- export interface StartAssessmentRequest {
- /**
- * The data source type of an assessment to be started.
- */
- assessmentDataSourceType?: AssessmentDataSourceType;
- /**
- * List of criteria for assessment.
- */
- assessmentTargets?: AssessmentTargets;
- /**
- * The S3 bucket used by the collectors to send analysis data to the service. The bucket name must begin with migrationhub-strategy-.
- */
- s3bucketForAnalysisData?: StartAssessmentRequestS3bucketForAnalysisDataString;
- /**
- * The S3 bucket where all the reports generated by the service are stored. The bucket name must begin with migrationhub-strategy-.
- */
- s3bucketForReportData?: StartAssessmentRequestS3bucketForReportDataString;
- }
- export type StartAssessmentRequestS3bucketForAnalysisDataString = string;
- export type StartAssessmentRequestS3bucketForReportDataString = string;
- export interface StartAssessmentResponse {
- /**
- * The ID of the assessment.
- */
- assessmentId?: AsyncTaskId;
- }
- export interface StartImportFileTaskRequest {
- /**
- * The S3 bucket where the import file is located. The bucket name is required to begin with migrationhub-strategy-.
- */
- S3Bucket: importS3Bucket;
- /**
- * 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.
- */
- dataSourceType?: DataSourceType;
- /**
- * Groups the resources in the import file together with a unique name. This ID can be as filter in ListApplicationComponents and ListServers.
- */
- groupId?: GroupIds;
- /**
- * A descriptive name for the request.
- */
- name: StartImportFileTaskRequestNameString;
- /**
- * The S3 bucket where Strategy Recommendations uploads import results. The bucket name is required to begin with migrationhub-strategy-.
- */
- s3bucketForReportData?: StartImportFileTaskRequestS3bucketForReportDataString;
- /**
- * The Amazon S3 key name of the import file.
- */
- s3key: String;
- }
- export type StartImportFileTaskRequestNameString = string;
- export type StartImportFileTaskRequestS3bucketForReportDataString = string;
- export interface StartImportFileTaskResponse {
- /**
- * The ID for a specific import task. The ID is unique within an AWS account.
- */
- id?: String;
- }
- export interface StartRecommendationReportGenerationRequest {
- /**
- * Groups the resources in the recommendation report with a unique name.
- */
- groupIdFilter?: GroupIds;
- /**
- * The output format for the recommendation report file. The default format is Microsoft Excel.
- */
- outputFormat?: OutputFormat;
- }
- export interface StartRecommendationReportGenerationResponse {
- /**
- * The ID of the recommendation report generation task.
- */
- id?: RecommendationTaskId;
- }
- export type StatusMessage = string;
- export interface StopAssessmentRequest {
- /**
- * The assessmentId returned by StartAssessment.
- */
- assessmentId: AsyncTaskId;
- }
- export interface StopAssessmentResponse {
- }
- export type Strategy = "Rehost"|"Retirement"|"Refactor"|"Replatform"|"Retain"|"Relocate"|"Repurchase"|string;
- export interface StrategyOption {
- /**
- * Indicates if a specific strategy is preferred for the application component.
- */
- isPreferred?: Boolean;
- /**
- * Type of transformation. For example, Rehost, Replatform, and so on.
- */
- strategy?: Strategy;
- /**
- * Destination information about where the application component can migrate to. For example, EC2, ECS, and so on.
- */
- targetDestination?: TargetDestination;
- /**
- * The name of the tool that can be used to transform an application component using this strategy.
- */
- toolName?: TransformationToolName;
- }
- export type StrategyRecommendation = "recommended"|"viableOption"|"notRecommended"|"potential"|string;
- export interface StrategySummary {
- /**
- * The count of recommendations per strategy.
- */
- count?: Integer;
- /**
- * The name of recommended strategy.
- */
- strategy?: Strategy;
- }
- export type String = string;
- export interface SystemInfo {
- /**
- * CPU architecture type for the server.
- */
- cpuArchitecture?: String;
- /**
- * File system type for the server.
- */
- fileSystemType?: String;
- /**
- * Networking information related to a server.
- */
- networkInfoList?: NetworkInfoList;
- /**
- * Operating system corresponding to a server.
- */
- osInfo?: OSInfo;
- }
- export type TargetDatabaseEngine = "None specified"|"Amazon Aurora"|"AWS PostgreSQL"|"MySQL"|"Microsoft SQL Server"|"Oracle Database"|"MariaDB"|"SAP"|"Db2 LUW"|"MongoDB"|string;
- export type TargetDatabaseEngines = TargetDatabaseEngine[];
- 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;
- export type TimeStamp = Date;
- export type TranformationToolDescription = string;
- export type TranformationToolInstallationLink = string;
- export interface TransformationTool {
- /**
- * Description of the tool.
- */
- description?: TranformationToolDescription;
- /**
- * Name of the tool.
- */
- name?: TransformationToolName;
- /**
- * URL for installing the tool.
- */
- tranformationToolInstallationLink?: TranformationToolInstallationLink;
- }
- 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;
- export interface UpdateApplicationComponentConfigRequest {
- /**
- * The type of known component.
- */
- appType?: AppType;
- /**
- * The ID of the application component. The ID is unique within an AWS account.
- */
- applicationComponentId: ApplicationComponentId;
- /**
- * 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.
- */
- configureOnly?: Boolean;
- /**
- * Indicates whether the application component has been included for server recommendation or not.
- */
- inclusionStatus?: InclusionStatus;
- /**
- * Database credentials.
- */
- secretsManagerKey?: SecretsManagerKey;
- /**
- * The list of source code configurations to update for the application component.
- */
- sourceCodeList?: SourceCodeList;
- /**
- * The preferred strategy options for the application component. Use values from the GetApplicationComponentStrategies response.
- */
- strategyOption?: StrategyOption;
- }
- export interface UpdateApplicationComponentConfigResponse {
- }
- export interface UpdateServerConfigRequest {
- /**
- * The ID of the server.
- */
- serverId: ServerId;
- /**
- * The preferred strategy options for the application component. See the response from GetServerStrategies.
- */
- strategyOption?: StrategyOption;
- }
- export interface UpdateServerConfigResponse {
- }
- export interface VcenterBasedRemoteInfo {
- /**
- * The type of the operating system.
- */
- osType?: OSType;
- /**
- * The time when the remote server based on vCenter was last configured.
- */
- vcenterConfigurationTimeStamp?: String;
- }
- export type VcenterBasedRemoteInfoList = VcenterBasedRemoteInfo[];
- export type VersionControl = "GITHUB"|"GITHUB_ENTERPRISE"|"AZURE_DEVOPS_GIT"|string;
- export interface VersionControlInfo {
- /**
- * The time when the version control system was last configured.
- */
- versionControlConfigurationTimeStamp?: String;
- /**
- * The type of version control.
- */
- versionControlType?: VersionControlType;
- }
- export type VersionControlInfoList = VersionControlInfo[];
- export type VersionControlType = "GITHUB"|"GITHUB_ENTERPRISE"|"AZURE_DEVOPS_GIT"|string;
- export type importS3Bucket = string;
- export type importS3Key = string;
- /**
- * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
- */
- export type apiVersion = "2020-02-19"|"latest"|string;
- export interface ClientApiVersions {
- /**
- * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
- */
- apiVersion?: apiVersion;
- }
- export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
- /**
- * Contains interfaces for use with the MigrationHubStrategy client.
- */
- export import Types = MigrationHubStrategy;
- }
- export = MigrationHubStrategy;
|