import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { ChangeServerLifeCycleStateCommand , ChangeServerLifeCycleStateCommandInput , ChangeServerLifeCycleStateCommandOutput , } from "./commands/ChangeServerLifeCycleStateCommand" ; import { CreateReplicationConfigurationTemplateCommand , CreateReplicationConfigurationTemplateCommandInput , CreateReplicationConfigurationTemplateCommandOutput , } from "./commands/CreateReplicationConfigurationTemplateCommand" ; import { DeleteJobCommand , DeleteJobCommandInput , DeleteJobCommandOutput } from "./commands/DeleteJobCommand" ; import { DeleteReplicationConfigurationTemplateCommand , DeleteReplicationConfigurationTemplateCommandInput , DeleteReplicationConfigurationTemplateCommandOutput , } from "./commands/DeleteReplicationConfigurationTemplateCommand" ; import { DeleteSourceServerCommand , DeleteSourceServerCommandInput , DeleteSourceServerCommandOutput , } from "./commands/DeleteSourceServerCommand" ; import { DeleteVcenterClientCommand , DeleteVcenterClientCommandInput , DeleteVcenterClientCommandOutput , } from "./commands/DeleteVcenterClientCommand" ; import { DescribeJobLogItemsCommand , DescribeJobLogItemsCommandInput , DescribeJobLogItemsCommandOutput , } from "./commands/DescribeJobLogItemsCommand" ; import { DescribeJobsCommand , DescribeJobsCommandInput , DescribeJobsCommandOutput , } from "./commands/DescribeJobsCommand" ; import { DescribeReplicationConfigurationTemplatesCommand , DescribeReplicationConfigurationTemplatesCommandInput , DescribeReplicationConfigurationTemplatesCommandOutput , } from "./commands/DescribeReplicationConfigurationTemplatesCommand" ; import { DescribeSourceServersCommand , DescribeSourceServersCommandInput , DescribeSourceServersCommandOutput , } from "./commands/DescribeSourceServersCommand" ; import { DescribeVcenterClientsCommand , DescribeVcenterClientsCommandInput , DescribeVcenterClientsCommandOutput , } from "./commands/DescribeVcenterClientsCommand" ; import { DisconnectFromServiceCommand , DisconnectFromServiceCommandInput , DisconnectFromServiceCommandOutput , } from "./commands/DisconnectFromServiceCommand" ; import { FinalizeCutoverCommand , FinalizeCutoverCommandInput , FinalizeCutoverCommandOutput , } from "./commands/FinalizeCutoverCommand" ; import { GetLaunchConfigurationCommand , GetLaunchConfigurationCommandInput , GetLaunchConfigurationCommandOutput , } from "./commands/GetLaunchConfigurationCommand" ; import { GetReplicationConfigurationCommand , GetReplicationConfigurationCommandInput , GetReplicationConfigurationCommandOutput , } from "./commands/GetReplicationConfigurationCommand" ; import { InitializeServiceCommand , InitializeServiceCommandInput , InitializeServiceCommandOutput , } from "./commands/InitializeServiceCommand" ; import { ListTagsForResourceCommand , ListTagsForResourceCommandInput , ListTagsForResourceCommandOutput , } from "./commands/ListTagsForResourceCommand" ; import { MarkAsArchivedCommand , MarkAsArchivedCommandInput , MarkAsArchivedCommandOutput , } from "./commands/MarkAsArchivedCommand" ; import { RetryDataReplicationCommand , RetryDataReplicationCommandInput , RetryDataReplicationCommandOutput , } from "./commands/RetryDataReplicationCommand" ; import { StartCutoverCommand , StartCutoverCommandInput , StartCutoverCommandOutput , } from "./commands/StartCutoverCommand" ; import { StartReplicationCommand , StartReplicationCommandInput , StartReplicationCommandOutput , } from "./commands/StartReplicationCommand" ; import { StartTestCommand , StartTestCommandInput , StartTestCommandOutput } from "./commands/StartTestCommand" ; import { TagResourceCommand , TagResourceCommandInput , TagResourceCommandOutput } from "./commands/TagResourceCommand" ; import { TerminateTargetInstancesCommand , TerminateTargetInstancesCommandInput , TerminateTargetInstancesCommandOutput , } from "./commands/TerminateTargetInstancesCommand" ; import { UntagResourceCommand , UntagResourceCommandInput , UntagResourceCommandOutput , } from "./commands/UntagResourceCommand" ; import { UpdateLaunchConfigurationCommand , UpdateLaunchConfigurationCommandInput , UpdateLaunchConfigurationCommandOutput , } from "./commands/UpdateLaunchConfigurationCommand" ; import { UpdateReplicationConfigurationCommand , UpdateReplicationConfigurationCommandInput , UpdateReplicationConfigurationCommandOutput , } from "./commands/UpdateReplicationConfigurationCommand" ; import { UpdateReplicationConfigurationTemplateCommand , UpdateReplicationConfigurationTemplateCommandInput , UpdateReplicationConfigurationTemplateCommandOutput , } from "./commands/UpdateReplicationConfigurationTemplateCommand" ; import { UpdateSourceServerReplicationTypeCommand , UpdateSourceServerReplicationTypeCommandInput , UpdateSourceServerReplicationTypeCommandOutput , } from "./commands/UpdateSourceServerReplicationTypeCommand" ; import { MgnClient } from "./MgnClient" ; /**
 * <p>The Application Migration Service service.</p>
 */ export class Mgn extends MgnClient { /**
     * <p>Allows the user to set the SourceServer.LifeCycle.state property for specific Source Server IDs to one of the following: READY_FOR_TEST or READY_FOR_CUTOVER. This command only works if the Source Server is already launchable (dataReplicationInfo.lagDuration is not null.)</p>
     */ public changeServerLifeCycleState ( args , options ? ) ; public changeServerLifeCycleState ( args , cb ) ; public changeServerLifeCycleState ( args , options , cb ) ; public changeServerLifeCycleState ( args , optionsOrCb ? , cb ? ) { const command = new ChangeServerLifeCycleStateCommand ( 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 new ReplicationConfigurationTemplate.</p>
     */ public createReplicationConfigurationTemplate ( args , options ? ) ; public createReplicationConfigurationTemplate ( args , cb ) ; public createReplicationConfigurationTemplate ( args , options , cb ) ; public createReplicationConfigurationTemplate ( args , optionsOrCb ? , cb ? ) { const command = new CreateReplicationConfigurationTemplateCommand ( 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 a single Job by ID.</p>
     */ public deleteJob ( args , options ? ) ; public deleteJob ( args , cb ) ; public deleteJob ( args , options , cb ) ; public deleteJob ( args , optionsOrCb ? , cb ? ) { const command = new DeleteJobCommand ( 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 a single Replication Configuration Template by ID</p>
     */ public deleteReplicationConfigurationTemplate ( args , options ? ) ; public deleteReplicationConfigurationTemplate ( args , cb ) ; public deleteReplicationConfigurationTemplate ( args , options , cb ) ; public deleteReplicationConfigurationTemplate ( args , optionsOrCb ? , cb ? ) { const command = new DeleteReplicationConfigurationTemplateCommand ( 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 a single source server by ID.</p>
     */ public deleteSourceServer ( args , options ? ) ; public deleteSourceServer ( args , cb ) ; public deleteSourceServer ( args , options , cb ) ; public deleteSourceServer ( args , optionsOrCb ? , cb ? ) { const command = new DeleteSourceServerCommand ( 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 a single vCenter client by ID.</p>
     */ public deleteVcenterClient ( args , options ? ) ; public deleteVcenterClient ( args , cb ) ; public deleteVcenterClient ( args , options , cb ) ; public deleteVcenterClient ( args , optionsOrCb ? , cb ? ) { const command = new DeleteVcenterClientCommand ( 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 Job log with paging.</p>
     */ public describeJobLogItems ( args , options ? ) ; public describeJobLogItems ( args , cb ) ; public describeJobLogItems ( args , options , cb ) ; public describeJobLogItems ( args , optionsOrCb ? , cb ? ) { const command = new DescribeJobLogItemsCommand ( 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 Jobs. Use the JobsID and fromDate and toData filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are normaly created by the StartTest, StartCutover, and TerminateTargetInstances APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances, which are APIs available only to *Support* and only used in response to relevant support tickets.</p>
     */ public describeJobs ( args , options ? ) ; public describeJobs ( args , cb ) ; public describeJobs ( args , options , cb ) ; public describeJobs ( args , optionsOrCb ? , cb ? ) { const command = new DescribeJobsCommand ( 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>Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.</p>
     */ public describeReplicationConfigurationTemplates ( args , options ? ) ; public describeReplicationConfigurationTemplates ( args , cb ) ; public describeReplicationConfigurationTemplates ( args , options , cb ) ; public describeReplicationConfigurationTemplates ( args , optionsOrCb ? , cb ? ) { const command = new DescribeReplicationConfigurationTemplatesCommand ( 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 all SourceServers or multiple SourceServers by ID.</p>
     */ public describeSourceServers ( args , options ? ) ; public describeSourceServers ( args , cb ) ; public describeSourceServers ( args , options , cb ) ; public describeSourceServers ( args , optionsOrCb ? , cb ? ) { const command = new DescribeSourceServersCommand ( 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>Lists all vCenter clients.</p>
     */ public describeVcenterClients ( args , options ? ) ; public describeVcenterClients ( args , cb ) ; public describeVcenterClients ( args , options , cb ) ; public describeVcenterClients ( args , optionsOrCb ? , cb ? ) { const command = new DescribeVcenterClientsCommand ( 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>Disconnects specific Source Servers from Application Migration Service. Data replication is stopped immediately. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. If the agent on the source server has not been prevented from communciating with the Application Migration Service service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDurationwill be nullified.</p>
     */ public disconnectFromService ( args , options ? ) ; public disconnectFromService ( args , cb ) ; public disconnectFromService ( args , options , cb ) ; public disconnectFromService ( args , optionsOrCb ? , cb ? ) { const command = new DisconnectFromServiceCommand ( 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>Finalizes the cutover immediately for specific Source Servers. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. The AWS Replication Agent will receive a command to uninstall itself (within 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be to DISCONNECTED; The SourceServer.lifeCycle.state will be changed to CUTOVER; The totalStorageBytes property fo each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDurationwill be nullified.</p>
     */ public finalizeCutover ( args , options ? ) ; public finalizeCutover ( args , cb ) ; public finalizeCutover ( args , options , cb ) ; public finalizeCutover ( args , optionsOrCb ? , cb ? ) { const command = new FinalizeCutoverCommand ( 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>Lists all LaunchConfigurations available, filtered by Source Server IDs.</p>
     */ public getLaunchConfiguration ( args , options ? ) ; public getLaunchConfiguration ( args , cb ) ; public getLaunchConfiguration ( args , options , cb ) ; public getLaunchConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new GetLaunchConfigurationCommand ( 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>Lists all ReplicationConfigurations, filtered by Source Server ID.</p>
     */ public getReplicationConfiguration ( args , options ? ) ; public getReplicationConfiguration ( args , cb ) ; public getReplicationConfiguration ( args , options , cb ) ; public getReplicationConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new GetReplicationConfigurationCommand ( 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>Initialize Application Migration Service.</p>
     */ public initializeService ( args , options ? ) ; public initializeService ( args , cb ) ; public initializeService ( args , options , cb ) ; public initializeService ( args , optionsOrCb ? , cb ? ) { const command = new InitializeServiceCommand ( 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>List all tags for your Application Migration Service resources.</p>
     */ public listTagsForResource ( args , options ? ) ; public listTagsForResource ( args , cb ) ; public listTagsForResource ( args , options , cb ) ; public listTagsForResource ( args , optionsOrCb ? , cb ? ) { const command = new ListTagsForResourceCommand ( 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>Archives specific Source Servers by setting the SourceServer.isArchived property to true for specified SourceServers by ID. This command only works for SourceServers with a lifecycle.state which equals DISCONNECTED or CUTOVER.</p>
     */ public markAsArchived ( args , options ? ) ; public markAsArchived ( args , cb ) ; public markAsArchived ( args , options , cb ) ; public markAsArchived ( args , optionsOrCb ? , cb ? ) { const command = new MarkAsArchivedCommand ( 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>Causes the data replication initiation sequence to begin immediately upon next Handshake for specified SourceServer IDs, regardless of when the previous initiation started. This command will not work if the SourceServer is not stalled or is in a DISCONNECTED or STOPPED state.</p>
     */ public retryDataReplication ( args , options ? ) ; public retryDataReplication ( args , cb ) ; public retryDataReplication ( args , options , cb ) ; public retryDataReplication ( args , optionsOrCb ? , cb ? ) { const command = new RetryDataReplicationCommand ( 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 a Cutover Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartCutover and changes the SourceServer.lifeCycle.state property to CUTTING_OVER.</p>
     */ public startCutover ( args , options ? ) ; public startCutover ( args , cb ) ; public startCutover ( args , options , cb ) ; public startCutover ( args , optionsOrCb ? , cb ? ) { const command = new StartCutoverCommand ( 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 replication on source server by ID.</p>
     */ public startReplication ( args , options ? ) ; public startReplication ( args , cb ) ; public startReplication ( args , options , cb ) ; public startReplication ( args , optionsOrCb ? , cb ? ) { const command = new StartReplicationCommand ( 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>Lauches a Test Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartTest and changes the SourceServer.lifeCycle.state property to TESTING.</p>
     */ public startTest ( args , options ? ) ; public startTest ( args , cb ) ; public startTest ( args , options , cb ) ; public startTest ( args , optionsOrCb ? , cb ? ) { const command = new StartTestCommand ( 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>Adds or overwrites only the specified tags for the specified Application Migration Service resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value.</p>
     */ public tagResource ( args , options ? ) ; public tagResource ( args , cb ) ; public tagResource ( args , options , cb ) ; public tagResource ( args , optionsOrCb ? , cb ? ) { const command = new TagResourceCommand ( 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 job that terminates specific launched EC2 Test and Cutover instances. This command will not work for any Source Server with a lifecycle.state of TESTING, CUTTING_OVER, or CUTOVER.</p>
     */ public terminateTargetInstances ( args , options ? ) ; public terminateTargetInstances ( args , cb ) ; public terminateTargetInstances ( args , options , cb ) ; public terminateTargetInstances ( args , optionsOrCb ? , cb ? ) { const command = new TerminateTargetInstancesCommand ( 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 set of tags from the specified set of Application Migration Service resources.</p>
     */ public untagResource ( args , options ? ) ; public untagResource ( args , cb ) ; public untagResource ( args , options , cb ) ; public untagResource ( args , optionsOrCb ? , cb ? ) { const command = new UntagResourceCommand ( 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 multiple LaunchConfigurations by Source Server ID.</p>
     */ public updateLaunchConfiguration ( args , options ? ) ; public updateLaunchConfiguration ( args , cb ) ; public updateLaunchConfiguration ( args , options , cb ) ; public updateLaunchConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new UpdateLaunchConfigurationCommand ( 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 you to update multiple ReplicationConfigurations by Source Server ID.</p>
     */ public updateReplicationConfiguration ( args , options ? ) ; public updateReplicationConfiguration ( args , cb ) ; public updateReplicationConfiguration ( args , options , cb ) ; public updateReplicationConfiguration ( args , optionsOrCb ? , cb ? ) { const command = new UpdateReplicationConfigurationCommand ( 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 multiple ReplicationConfigurationTemplates by ID.</p>
     */ public updateReplicationConfigurationTemplate ( args , options ? ) ; public updateReplicationConfigurationTemplate ( args , cb ) ; public updateReplicationConfigurationTemplate ( args , options , cb ) ; public updateReplicationConfigurationTemplate ( args , optionsOrCb ? , cb ? ) { const command = new UpdateReplicationConfigurationTemplateCommand ( 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 source server Replication Type by ID.</p>
     */ public updateSourceServerReplicationType ( args , options ? ) ; public updateSourceServerReplicationType ( args , cb ) ; public updateSourceServerReplicationType ( args , options , cb ) ; public updateSourceServerReplicationType ( args , optionsOrCb ? , cb ? ) { const command = new UpdateSourceServerReplicationTypeCommand ( 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 ) ; } } }