import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { CreateAppCommand , CreateAppCommandInput , CreateAppCommandOutput } from "./commands/CreateAppCommand" ; import { CreateReplicationJobCommand , CreateReplicationJobCommandInput , CreateReplicationJobCommandOutput , } from "./commands/CreateReplicationJobCommand" ; import { DeleteAppCommand , DeleteAppCommandInput , DeleteAppCommandOutput } from "./commands/DeleteAppCommand" ; import { DeleteAppLaunchConfigurationCommand , DeleteAppLaunchConfigurationCommandInput , DeleteAppLaunchConfigurationCommandOutput , } from "./commands/DeleteAppLaunchConfigurationCommand" ; import { DeleteAppReplicationConfigurationCommand , DeleteAppReplicationConfigurationCommandInput , DeleteAppReplicationConfigurationCommandOutput , } from "./commands/DeleteAppReplicationConfigurationCommand" ; import { DeleteAppValidationConfigurationCommand , DeleteAppValidationConfigurationCommandInput , DeleteAppValidationConfigurationCommandOutput , } from "./commands/DeleteAppValidationConfigurationCommand" ; import { DeleteReplicationJobCommand , DeleteReplicationJobCommandInput , DeleteReplicationJobCommandOutput , } from "./commands/DeleteReplicationJobCommand" ; import { DeleteServerCatalogCommand , DeleteServerCatalogCommandInput , DeleteServerCatalogCommandOutput , } from "./commands/DeleteServerCatalogCommand" ; import { DisassociateConnectorCommand , DisassociateConnectorCommandInput , DisassociateConnectorCommandOutput , } from "./commands/DisassociateConnectorCommand" ; import { GenerateChangeSetCommand , GenerateChangeSetCommandInput , GenerateChangeSetCommandOutput , } from "./commands/GenerateChangeSetCommand" ; import { GenerateTemplateCommand , GenerateTemplateCommandInput , GenerateTemplateCommandOutput , } from "./commands/GenerateTemplateCommand" ; import { GetAppCommand , GetAppCommandInput , GetAppCommandOutput } from "./commands/GetAppCommand" ; import { GetAppLaunchConfigurationCommand , GetAppLaunchConfigurationCommandInput , GetAppLaunchConfigurationCommandOutput , } from "./commands/GetAppLaunchConfigurationCommand" ; import { GetAppReplicationConfigurationCommand , GetAppReplicationConfigurationCommandInput , GetAppReplicationConfigurationCommandOutput , } from "./commands/GetAppReplicationConfigurationCommand" ; import { GetAppValidationConfigurationCommand , GetAppValidationConfigurationCommandInput , GetAppValidationConfigurationCommandOutput , } from "./commands/GetAppValidationConfigurationCommand" ; import { GetAppValidationOutputCommand , GetAppValidationOutputCommandInput , GetAppValidationOutputCommandOutput , } from "./commands/GetAppValidationOutputCommand" ; import { GetConnectorsCommand , GetConnectorsCommandInput , GetConnectorsCommandOutput , } from "./commands/GetConnectorsCommand" ; import { GetReplicationJobsCommand , GetReplicationJobsCommandInput , GetReplicationJobsCommandOutput , } from "./commands/GetReplicationJobsCommand" ; import { GetReplicationRunsCommand , GetReplicationRunsCommandInput , GetReplicationRunsCommandOutput , } from "./commands/GetReplicationRunsCommand" ; import { GetServersCommand , GetServersCommandInput , GetServersCommandOutput } from "./commands/GetServersCommand" ; import { ImportAppCatalogCommand , ImportAppCatalogCommandInput , ImportAppCatalogCommandOutput , } from "./commands/ImportAppCatalogCommand" ; import { ImportServerCatalogCommand , ImportServerCatalogCommandInput , ImportServerCatalogCommandOutput , } from "./commands/ImportServerCatalogCommand" ; import { LaunchAppCommand , LaunchAppCommandInput , LaunchAppCommandOutput } from "./commands/LaunchAppCommand" ; import { ListAppsCommand , ListAppsCommandInput , ListAppsCommandOutput } from "./commands/ListAppsCommand" ; import { NotifyAppValidationOutputCommand , NotifyAppValidationOutputCommandInput , NotifyAppValidationOutputCommandOutput , } from "./commands/NotifyAppValidationOutputCommand" ; import { PutAppLaunchConfigurationCommand , PutAppLaunchConfigurationCommandInput , PutAppLaunchConfigurationCommandOutput , } from "./commands/PutAppLaunchConfigurationCommand" ; import { PutAppReplicationConfigurationCommand , PutAppReplicationConfigurationCommandInput , PutAppReplicationConfigurationCommandOutput , } from "./commands/PutAppReplicationConfigurationCommand" ; import { PutAppValidationConfigurationCommand , PutAppValidationConfigurationCommandInput , PutAppValidationConfigurationCommandOutput , } from "./commands/PutAppValidationConfigurationCommand" ; import { StartAppReplicationCommand , StartAppReplicationCommandInput , StartAppReplicationCommandOutput , } from "./commands/StartAppReplicationCommand" ; import { StartOnDemandAppReplicationCommand , StartOnDemandAppReplicationCommandInput , StartOnDemandAppReplicationCommandOutput , } from "./commands/StartOnDemandAppReplicationCommand" ; import { StartOnDemandReplicationRunCommand , StartOnDemandReplicationRunCommandInput , StartOnDemandReplicationRunCommandOutput , } from "./commands/StartOnDemandReplicationRunCommand" ; import { StopAppReplicationCommand , StopAppReplicationCommandInput , StopAppReplicationCommandOutput , } from "./commands/StopAppReplicationCommand" ; import { TerminateAppCommand , TerminateAppCommandInput , TerminateAppCommandOutput , } from "./commands/TerminateAppCommand" ; import { UpdateAppCommand , UpdateAppCommandInput , UpdateAppCommandOutput } from "./commands/UpdateAppCommand" ; import { UpdateReplicationJobCommand , UpdateReplicationJobCommandInput , UpdateReplicationJobCommandOutput , } from "./commands/UpdateReplicationJobCommand" ; import { SMSClient } from "./SMSClient" ; /**
 * <important>
 *             <p>
 *                <b>Product update</b>
 *             </p>
 *             <p>As of March 31, 2022, Amazon Web Services will discontinue Server Migration Service (Amazon Web Services SMS).
 *          Going forward, we recommend <a href="http://aws.amazon.com/application-migration-service">Amazon Web Services Application Migration Service</a> (Amazon Web Services MGN) as the primary migration
 *          service for lift-and-shift migrations.</p>
 *             <p>You can initiate new migration jobs in Server Migration Service until January 1, 2022.
 *          Complete these active migration projects by March 31, 2022. For more information, see
 *             <a href="http://aws.amazon.com/application-migration-service/when-to-choose-aws-mgn/">When
 *             to Choose AWS Application Migration Service</a>.</p>
 *          </important>
 *
 *         <p>Server Migration Service (Server Migration Service) makes it easier and faster for you to migrate your
 *             on-premises workloads to Amazon Web Services. To learn more about Server Migration Service, see the following
 *             resources:</p>
 *         <ul>
 *             <li>
 *                 <p>
 *                   <a href="http://aws.amazon.com/server-migration-service/">Server Migration Service
 *                     product page</a>
 *                </p>
 *             </li>
 *             <li>
 *                 <p>
 *                   <a href="https://docs.aws.amazon.com/server-migration-service/latest/userguide/">Server Migration Service User Guide</a>
 *                </p>
 *             </li>
 *          </ul>
 */ export class SMS extends SMSClient { /**
     * <p>Creates an application. An application consists of one or more server groups. Each
     *             server group contain one or more servers.</p>
     */ public createApp ( args , options ? ) ; public createApp ( args , cb ) ; public createApp ( args , options , cb ) ; public createApp ( args , optionsOrCb ? , cb ? ) { const command = new CreateAppCommand ( 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>Creates a replication job. The replication job schedules periodic replication runs
     *             to replicate your server to Amazon Web Services. Each replication run creates an Amazon Machine Image
     *             (AMI).</p>
     */ public createReplicationJob ( args , options ? ) ; public createReplicationJob ( args , cb ) ; public createReplicationJob ( args , options , cb ) ; public createReplicationJob ( args , optionsOrCb ? , cb ? ) { const command = new CreateReplicationJobCommand ( 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>Deletes the specified application. Optionally deletes the launched stack associated with
     *             the application and all Server Migration Service replication jobs for servers in the application.</p>
     */ public deleteApp ( args , options ? ) ; public deleteApp ( args , cb ) ; public deleteApp ( args , options , cb ) ; public deleteApp ( args , optionsOrCb ? , cb ? ) { const command = new DeleteAppCommand ( 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>Deletes the launch configuration for the specified application.</p>
     */ public deleteAppLaunchConfiguration ( args , options ? ) ; public deleteAppLaunchConfiguration ( args , cb ) ; public deleteAppLaunchConfiguration ( args , options , cb ) ; public deleteAppLaunchConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new DeleteAppLaunchConfigurationCommand ( 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>Deletes the replication configuration for the specified application.</p>
     */ public deleteAppReplicationConfiguration ( args , options ? ) ; public deleteAppReplicationConfiguration ( args , cb ) ; public deleteAppReplicationConfiguration ( args , options , cb ) ; public deleteAppReplicationConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new DeleteAppReplicationConfigurationCommand ( 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>Deletes the validation configuration for the specified application.</p>
     */ public deleteAppValidationConfiguration ( args , options ? ) ; public deleteAppValidationConfiguration ( args , cb ) ; public deleteAppValidationConfiguration ( args , options , cb ) ; public deleteAppValidationConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new DeleteAppValidationConfigurationCommand ( 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>Deletes the specified replication job.</p>
     *         <p>After you delete a replication job, there are no further replication runs. Amazon Web Services
     *             deletes the contents of the Amazon S3 bucket used to store Server Migration Service artifacts. The AMIs created
     *             by the replication runs are not deleted.</p>
     */ public deleteReplicationJob ( args , options ? ) ; public deleteReplicationJob ( args , cb ) ; public deleteReplicationJob ( args , options , cb ) ; public deleteReplicationJob ( args , optionsOrCb ? , cb ? ) { const command = new DeleteReplicationJobCommand ( 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>Deletes all servers from your server catalog.</p>
     */ public deleteServerCatalog ( args , options ? ) ; public deleteServerCatalog ( args , cb ) ; public deleteServerCatalog ( args , options , cb ) ; public deleteServerCatalog ( args , optionsOrCb ? , cb ? ) { const command = new DeleteServerCatalogCommand ( 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>Disassociates the specified connector from Server Migration Service.</p>
     *         <p>After you disassociate a connector, it is no longer available to support
     *             replication jobs.</p>
     */ public disassociateConnector ( args , options ? ) ; public disassociateConnector ( args , cb ) ; public disassociateConnector ( args , options , cb ) ; public disassociateConnector ( args , optionsOrCb ? , cb ? ) { const command = new DisassociateConnectorCommand ( 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>Generates a target change set for a currently launched stack and writes it to an Amazon S3
     *             object in the customer’s Amazon S3 bucket.</p>
     */ public generateChangeSet ( args , options ? ) ; public generateChangeSet ( args , cb ) ; public generateChangeSet ( args , options , cb ) ; public generateChangeSet ( args , optionsOrCb ? , cb ? ) { const command = new GenerateChangeSetCommand ( 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>Generates an CloudFormation template based on the current launch configuration and writes it to
     *             an Amazon S3 object in the customer’s Amazon S3 bucket.</p>
     */ public generateTemplate ( args , options ? ) ; public generateTemplate ( args , cb ) ; public generateTemplate ( args , options , cb ) ; public generateTemplate ( args , optionsOrCb ? , cb ? ) { const command = new GenerateTemplateCommand ( 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>Retrieve information about the specified application.</p>
     */ public getApp ( args , options ? ) ; public getApp ( args , cb ) ; public getApp ( args , options , cb ) ; public getApp ( args , optionsOrCb ? , cb ? ) { const command = new GetAppCommand ( 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 application launch configuration associated with the specified application.</p>
     */ public getAppLaunchConfiguration ( args , options ? ) ; public getAppLaunchConfiguration ( args , cb ) ; public getAppLaunchConfiguration ( args , options , cb ) ; public getAppLaunchConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new GetAppLaunchConfigurationCommand ( 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 application replication configuration associated with the specified
     *             application.</p>
     */ public getAppReplicationConfiguration ( args , options ? ) ; public getAppReplicationConfiguration ( args , cb ) ; public getAppReplicationConfiguration ( args , options , cb ) ; public getAppReplicationConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new GetAppReplicationConfigurationCommand ( 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 information about a configuration for validating an application.</p>
     */ public getAppValidationConfiguration ( args , options ? ) ; public getAppValidationConfiguration ( args , cb ) ; public getAppValidationConfiguration ( args , options , cb ) ; public getAppValidationConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new GetAppValidationConfigurationCommand ( 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 output from validating an application.</p>
     */ public getAppValidationOutput ( args , options ? ) ; public getAppValidationOutput ( args , cb ) ; public getAppValidationOutput ( args , options , cb ) ; public getAppValidationOutput ( args , optionsOrCb ? , cb ? ) { const command = new GetAppValidationOutputCommand ( 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>Describes the connectors registered with the Server Migration Service.</p>
     */ public getConnectors ( args , options ? ) ; public getConnectors ( args , cb ) ; public getConnectors ( args , options , cb ) ; public getConnectors ( args , optionsOrCb ? , cb ? ) { const command = new GetConnectorsCommand ( 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>Describes the specified replication job or all of your replication jobs.</p>
     */ public getReplicationJobs ( args , options ? ) ; public getReplicationJobs ( args , cb ) ; public getReplicationJobs ( args , options , cb ) ; public getReplicationJobs ( args , optionsOrCb ? , cb ? ) { const command = new GetReplicationJobsCommand ( 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>Describes the replication runs for the specified replication job.</p>
     */ public getReplicationRuns ( args , options ? ) ; public getReplicationRuns ( args , cb ) ; public getReplicationRuns ( args , options , cb ) ; public getReplicationRuns ( args , optionsOrCb ? , cb ? ) { const command = new GetReplicationRunsCommand ( 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>Describes the servers in your server catalog.</p>
     *         <p>Before you can describe your servers, you must import them using <a>ImportServerCatalog</a>.</p>
     */ public getServers ( args , options ? ) ; public getServers ( args , cb ) ; public getServers ( args , options , cb ) ; public getServers ( args , optionsOrCb ? , cb ? ) { const command = new GetServersCommand ( 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>Allows application import from Migration Hub.</p>
     */ public importAppCatalog ( args , options ? ) ; public importAppCatalog ( args , cb ) ; public importAppCatalog ( args , options , cb ) ; public importAppCatalog ( args , optionsOrCb ? , cb ? ) { const command = new ImportAppCatalogCommand ( 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>Gathers a complete list of on-premises servers. Connectors must be installed and
     *             monitoring all servers to import.</p>
     *         <p>This call returns immediately, but might take additional time to retrieve all the
     *             servers.</p>
     */ public importServerCatalog ( args , options ? ) ; public importServerCatalog ( args , cb ) ; public importServerCatalog ( args , options , cb ) ; public importServerCatalog ( args , optionsOrCb ? , cb ? ) { const command = new ImportServerCatalogCommand ( 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>Launches the specified application as a stack in CloudFormation.</p>
     */ public launchApp ( args , options ? ) ; public launchApp ( args , cb ) ; public launchApp ( args , options , cb ) ; public launchApp ( args , optionsOrCb ? , cb ? ) { const command = new LaunchAppCommand ( 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 summaries for all applications.</p>
     */ public listApps ( args , options ? ) ; public listApps ( args , cb ) ; public listApps ( args , options , cb ) ; public listApps ( args , optionsOrCb ? , cb ? ) { const command = new ListAppsCommand ( 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>Provides information to Server Migration Service about whether application validation is successful.</p>
     */ public notifyAppValidationOutput ( args , options ? ) ; public notifyAppValidationOutput ( args , cb ) ; public notifyAppValidationOutput ( args , options , cb ) ; public notifyAppValidationOutput ( args , optionsOrCb ? , cb ? ) { const command = new NotifyAppValidationOutputCommand ( 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>Creates or updates the launch configuration for the specified application.</p>
     */ public putAppLaunchConfiguration ( args , options ? ) ; public putAppLaunchConfiguration ( args , cb ) ; public putAppLaunchConfiguration ( args , options , cb ) ; public putAppLaunchConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new PutAppLaunchConfigurationCommand ( 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>Creates or updates the replication configuration for the specified application.</p>
     */ public putAppReplicationConfiguration ( args , options ? ) ; public putAppReplicationConfiguration ( args , cb ) ; public putAppReplicationConfiguration ( args , options , cb ) ; public putAppReplicationConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new PutAppReplicationConfigurationCommand ( 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>Creates or updates a validation configuration for the specified application.</p>
     */ public putAppValidationConfiguration ( args , options ? ) ; public putAppValidationConfiguration ( args , cb ) ; public putAppValidationConfiguration ( args , options , cb ) ; public putAppValidationConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new PutAppValidationConfigurationCommand ( 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 replicating the specified application by creating replication jobs for each server in the
     *             application.</p>
     */ public startAppReplication ( args , options ? ) ; public startAppReplication ( args , cb ) ; public startAppReplication ( args , options , cb ) ; public startAppReplication ( args , optionsOrCb ? , cb ? ) { const command = new StartAppReplicationCommand ( 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 an on-demand replication run for the specified application.</p>
     */ public startOnDemandAppReplication ( args , options ? ) ; public startOnDemandAppReplication ( args , cb ) ; public startOnDemandAppReplication ( args , options , cb ) ; public startOnDemandAppReplication ( args , optionsOrCb ? , cb ? ) { const command = new StartOnDemandAppReplicationCommand ( 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 an on-demand replication run for the specified replication job. This
     *             replication run starts immediately. This replication run is in addition to the ones
     *             already scheduled.</p>
     *         <p>There is a limit on the number of on-demand replications runs that you can request
     *             in a 24-hour period.</p>
     */ public startOnDemandReplicationRun ( args , options ? ) ; public startOnDemandReplicationRun ( args , cb ) ; public startOnDemandReplicationRun ( args , options , cb ) ; public startOnDemandReplicationRun ( args , optionsOrCb ? , cb ? ) { const command = new StartOnDemandReplicationRunCommand ( 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 replicating the specified application by deleting the replication job for each server in
     *             the application.</p>
     */ public stopAppReplication ( args , options ? ) ; public stopAppReplication ( args , cb ) ; public stopAppReplication ( args , options , cb ) ; public stopAppReplication ( args , optionsOrCb ? , cb ? ) { const command = new StopAppReplicationCommand ( 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>Terminates the stack for the specified application.</p>
     */ public terminateApp ( args , options ? ) ; public terminateApp ( args , cb ) ; public terminateApp ( args , options , cb ) ; public terminateApp ( args , optionsOrCb ? , cb ? ) { const command = new TerminateAppCommand ( 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 specified application.</p>
     */ public updateApp ( args , options ? ) ; public updateApp ( args , cb ) ; public updateApp ( args , options , cb ) ; public updateApp ( args , optionsOrCb ? , cb ? ) { const command = new UpdateAppCommand ( 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 specified settings for the specified replication job.</p>
     */ public updateReplicationJob ( args , options ? ) ; public updateReplicationJob ( args , cb ) ; public updateReplicationJob ( args , options , cb ) ; public updateReplicationJob ( args , optionsOrCb ? , cb ? ) { const command = new UpdateReplicationJobCommand ( 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 ) ; } } }