import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { GetApplicationComponentDetailsCommand , GetApplicationComponentDetailsCommandInput , GetApplicationComponentDetailsCommandOutput , } from "./commands/GetApplicationComponentDetailsCommand" ; import { GetApplicationComponentStrategiesCommand , GetApplicationComponentStrategiesCommandInput , GetApplicationComponentStrategiesCommandOutput , } from "./commands/GetApplicationComponentStrategiesCommand" ; import { GetAssessmentCommand , GetAssessmentCommandInput , GetAssessmentCommandOutput , } from "./commands/GetAssessmentCommand" ; import { GetImportFileTaskCommand , GetImportFileTaskCommandInput , GetImportFileTaskCommandOutput , } from "./commands/GetImportFileTaskCommand" ; import { GetPortfolioPreferencesCommand , GetPortfolioPreferencesCommandInput , GetPortfolioPreferencesCommandOutput , } from "./commands/GetPortfolioPreferencesCommand" ; import { GetPortfolioSummaryCommand , GetPortfolioSummaryCommandInput , GetPortfolioSummaryCommandOutput , } from "./commands/GetPortfolioSummaryCommand" ; import { GetRecommendationReportDetailsCommand , GetRecommendationReportDetailsCommandInput , GetRecommendationReportDetailsCommandOutput , } from "./commands/GetRecommendationReportDetailsCommand" ; import { GetServerDetailsCommand , GetServerDetailsCommandInput , GetServerDetailsCommandOutput , } from "./commands/GetServerDetailsCommand" ; import { GetServerStrategiesCommand , GetServerStrategiesCommandInput , GetServerStrategiesCommandOutput , } from "./commands/GetServerStrategiesCommand" ; import { ListApplicationComponentsCommand , ListApplicationComponentsCommandInput , ListApplicationComponentsCommandOutput , } from "./commands/ListApplicationComponentsCommand" ; import { ListCollectorsCommand , ListCollectorsCommandInput , ListCollectorsCommandOutput , } from "./commands/ListCollectorsCommand" ; import { ListImportFileTaskCommand , ListImportFileTaskCommandInput , ListImportFileTaskCommandOutput , } from "./commands/ListImportFileTaskCommand" ; import { ListServersCommand , ListServersCommandInput , ListServersCommandOutput } from "./commands/ListServersCommand" ; import { PutPortfolioPreferencesCommand , PutPortfolioPreferencesCommandInput , PutPortfolioPreferencesCommandOutput , } from "./commands/PutPortfolioPreferencesCommand" ; import { StartAssessmentCommand , StartAssessmentCommandInput , StartAssessmentCommandOutput , } from "./commands/StartAssessmentCommand" ; import { StartImportFileTaskCommand , StartImportFileTaskCommandInput , StartImportFileTaskCommandOutput , } from "./commands/StartImportFileTaskCommand" ; import { StartRecommendationReportGenerationCommand , StartRecommendationReportGenerationCommandInput , StartRecommendationReportGenerationCommandOutput , } from "./commands/StartRecommendationReportGenerationCommand" ; import { StopAssessmentCommand , StopAssessmentCommandInput , StopAssessmentCommandOutput , } from "./commands/StopAssessmentCommand" ; import { UpdateApplicationComponentConfigCommand , UpdateApplicationComponentConfigCommandInput , UpdateApplicationComponentConfigCommandOutput , } from "./commands/UpdateApplicationComponentConfigCommand" ; import { UpdateServerConfigCommand , UpdateServerConfigCommandInput , UpdateServerConfigCommandOutput , } from "./commands/UpdateServerConfigCommand" ; import { MigrationHubStrategyClient } from "./MigrationHubStrategyClient" ; /**
 * <fullname>Migration Hub Strategy Recommendations</fullname>
 *
 *          <p>This API reference provides descriptions, syntax, and other details about each of the
 *       actions and data types for Migration Hub Strategy Recommendations (Strategy Recommendations). The topic for each action shows the API
 *       request parameters and the response. Alternatively, you can use one of the AWS SDKs to access
 *       an API that is tailored to the programming language or platform that you're using. For more
 *       information, see <a href="http://aws.amazon.com/tools/#SDKs">AWS SDKs</a>.</p>
 */ export class MigrationHubStrategy extends MigrationHubStrategyClient { /**
     * <p> Retrieves details about an application component. </p>
     */ public getApplicationComponentDetails ( args , options ? ) ; public getApplicationComponentDetails ( args , cb ) ; public getApplicationComponentDetails ( args , options , cb ) ; public getApplicationComponentDetails ( args , optionsOrCb ? , cb ? ) { const command = new GetApplicationComponentDetailsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Retrieves a list of all the recommended strategies and tools for an application component
     *       running on a server. </p>
     */ public getApplicationComponentStrategies ( args , options ? ) ; public getApplicationComponentStrategies ( args , cb ) ; public getApplicationComponentStrategies ( args , options , cb ) ; public getApplicationComponentStrategies ( args , optionsOrCb ? , cb ? ) { const command = new GetApplicationComponentStrategiesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Retrieves the status of an on-going assessment. </p>
     */ public getAssessment ( args , options ? ) ; public getAssessment ( args , cb ) ; public getAssessment ( args , options , cb ) ; public getAssessment ( args , optionsOrCb ? , cb ? ) { const command = new GetAssessmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Retrieves the details about a specific import task. </p>
     */ public getImportFileTask ( args , options ? ) ; public getImportFileTask ( args , cb ) ; public getImportFileTask ( args , options , cb ) ; public getImportFileTask ( args , optionsOrCb ? , cb ? ) { const command = new GetImportFileTaskCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Retrieves your migration and modernization preferences. </p>
     */ public getPortfolioPreferences ( args , options ? ) ; public getPortfolioPreferences ( args , cb ) ; public getPortfolioPreferences ( args , options , cb ) ; public getPortfolioPreferences ( args , optionsOrCb ? , cb ? ) { const command = new GetPortfolioPreferencesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Retrieves overall summary including the number of servers to rehost and the overall
     *       number of anti-patterns. </p>
     */ public getPortfolioSummary ( args , options ? ) ; public getPortfolioSummary ( args , cb ) ; public getPortfolioSummary ( args , options , cb ) ; public getPortfolioSummary ( args , optionsOrCb ? , cb ? ) { const command = new GetPortfolioSummaryCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Retrieves detailed information about the specified recommendation report. </p>
     */ public getRecommendationReportDetails ( args , options ? ) ; public getRecommendationReportDetails ( args , cb ) ; public getRecommendationReportDetails ( args , options , cb ) ; public getRecommendationReportDetails ( args , optionsOrCb ? , cb ? ) { const command = new GetRecommendationReportDetailsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Retrieves detailed information about a specified server. </p>
     */ public getServerDetails ( args , options ? ) ; public getServerDetails ( args , cb ) ; public getServerDetails ( args , options , cb ) ; public getServerDetails ( args , optionsOrCb ? , cb ? ) { const command = new GetServerDetailsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Retrieves recommended strategies and tools for the specified server. </p>
     */ public getServerStrategies ( args , options ? ) ; public getServerStrategies ( args , cb ) ; public getServerStrategies ( args , options , cb ) ; public getServerStrategies ( args , optionsOrCb ? , cb ? ) { const command = new GetServerStrategiesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Retrieves a list of all the application components (processes). </p>
     */ public listApplicationComponents ( args , options ? ) ; public listApplicationComponents ( args , cb ) ; public listApplicationComponents ( args , options , cb ) ; public listApplicationComponents ( args , optionsOrCb ? , cb ? ) { const command = new ListApplicationComponentsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Retrieves a list of all the installed collectors. </p>
     */ public listCollectors ( args , options ? ) ; public listCollectors ( args , cb ) ; public listCollectors ( args , options , cb ) ; public listCollectors ( args , optionsOrCb ? , cb ? ) { const command = new ListCollectorsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Retrieves a list of all the imports performed. </p>
     */ public listImportFileTask ( args , options ? ) ; public listImportFileTask ( args , cb ) ; public listImportFileTask ( args , options , cb ) ; public listImportFileTask ( args , optionsOrCb ? , cb ? ) { const command = new ListImportFileTaskCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Returns a list of all the servers. </p>
     */ public listServers ( args , options ? ) ; public listServers ( args , cb ) ; public listServers ( args , options , cb ) ; public listServers ( args , optionsOrCb ? , cb ? ) { const command = new ListServersCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Saves the specified migration and modernization preferences. </p>
     */ public putPortfolioPreferences ( args , options ? ) ; public putPortfolioPreferences ( args , cb ) ; public putPortfolioPreferences ( args , options , cb ) ; public putPortfolioPreferences ( args , optionsOrCb ? , cb ? ) { const command = new PutPortfolioPreferencesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Starts the assessment of an on-premises environment. </p>
     */ public startAssessment ( args , options ? ) ; public startAssessment ( args , cb ) ; public startAssessment ( args , options , cb ) ; public startAssessment ( args , optionsOrCb ? , cb ? ) { const command = new StartAssessmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Starts a file import. </p>
     */ public startImportFileTask ( args , options ? ) ; public startImportFileTask ( args , cb ) ; public startImportFileTask ( args , options , cb ) ; public startImportFileTask ( args , optionsOrCb ? , cb ? ) { const command = new StartImportFileTaskCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Starts generating a recommendation report. </p>
     */ public startRecommendationReportGeneration ( args , options ? ) ; public startRecommendationReportGeneration ( args , cb ) ; public startRecommendationReportGeneration ( args , options , cb ) ; public startRecommendationReportGeneration ( args , optionsOrCb ? , cb ? ) { const command = new StartRecommendationReportGenerationCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Stops the assessment of an on-premises environment. </p>
     */ public stopAssessment ( args , options ? ) ; public stopAssessment ( args , cb ) ; public stopAssessment ( args , options , cb ) ; public stopAssessment ( args , optionsOrCb ? , cb ? ) { const command = new StopAssessmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Updates the configuration of an application component. </p>
     */ public updateApplicationComponentConfig ( args , options ? ) ; public updateApplicationComponentConfig ( args , cb ) ; public updateApplicationComponentConfig ( args , options , cb ) ; public updateApplicationComponentConfig ( args , optionsOrCb ? , cb ? ) { const command = new UpdateApplicationComponentConfigCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Updates the configuration of the specified server. </p>
     */ public updateServerConfig ( args , options ? ) ; public updateServerConfig ( args , cb ) ; public updateServerConfig ( args , options , cb ) ; public updateServerConfig ( args , optionsOrCb ? , cb ? ) { const command = new UpdateServerConfigCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } }