@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSmgnAsync extends AbstractAWSmgn implements AWSmgnAsync
AWSmgnAsync
. Convenient method forms pass through to the corresponding overload
that takes a request object and an AsyncHandler
, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
changeServerLifeCycleState, createLaunchConfigurationTemplate, createReplicationConfigurationTemplate, deleteJob, deleteLaunchConfigurationTemplate, deleteReplicationConfigurationTemplate, deleteSourceServer, deleteVcenterClient, describeJobLogItems, describeJobs, describeLaunchConfigurationTemplates, describeReplicationConfigurationTemplates, describeSourceServers, describeVcenterClients, disconnectFromService, finalizeCutover, getCachedResponseMetadata, getLaunchConfiguration, getReplicationConfiguration, initializeService, listTagsForResource, markAsArchived, retryDataReplication, shutdown, startCutover, startReplication, startTest, tagResource, terminateTargetInstances, untagResource, updateLaunchConfiguration, updateLaunchConfigurationTemplate, updateReplicationConfiguration, updateReplicationConfigurationTemplate, updateSourceServerReplicationType
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeServerLifeCycleState, createLaunchConfigurationTemplate, createReplicationConfigurationTemplate, deleteJob, deleteLaunchConfigurationTemplate, deleteReplicationConfigurationTemplate, deleteSourceServer, deleteVcenterClient, describeJobLogItems, describeJobs, describeLaunchConfigurationTemplates, describeReplicationConfigurationTemplates, describeSourceServers, describeVcenterClients, disconnectFromService, finalizeCutover, getCachedResponseMetadata, getLaunchConfiguration, getReplicationConfiguration, initializeService, listTagsForResource, markAsArchived, retryDataReplication, shutdown, startCutover, startReplication, startTest, tagResource, terminateTargetInstances, untagResource, updateLaunchConfiguration, updateLaunchConfigurationTemplate, updateReplicationConfiguration, updateReplicationConfigurationTemplate, updateSourceServerReplicationType
public Future<ChangeServerLifeCycleStateResult> changeServerLifeCycleStateAsync(ChangeServerLifeCycleStateRequest request)
AWSmgnAsync
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.)
changeServerLifeCycleStateAsync
in interface AWSmgnAsync
public Future<ChangeServerLifeCycleStateResult> changeServerLifeCycleStateAsync(ChangeServerLifeCycleStateRequest request, AsyncHandler<ChangeServerLifeCycleStateRequest,ChangeServerLifeCycleStateResult> asyncHandler)
AWSmgnAsync
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.)
changeServerLifeCycleStateAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateLaunchConfigurationTemplateResult> createLaunchConfigurationTemplateAsync(CreateLaunchConfigurationTemplateRequest request)
AWSmgnAsync
Creates a new ReplicationConfigurationTemplate.
createLaunchConfigurationTemplateAsync
in interface AWSmgnAsync
public Future<CreateLaunchConfigurationTemplateResult> createLaunchConfigurationTemplateAsync(CreateLaunchConfigurationTemplateRequest request, AsyncHandler<CreateLaunchConfigurationTemplateRequest,CreateLaunchConfigurationTemplateResult> asyncHandler)
AWSmgnAsync
Creates a new ReplicationConfigurationTemplate.
createLaunchConfigurationTemplateAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateReplicationConfigurationTemplateResult> createReplicationConfigurationTemplateAsync(CreateReplicationConfigurationTemplateRequest request)
AWSmgnAsync
Creates a new ReplicationConfigurationTemplate.
createReplicationConfigurationTemplateAsync
in interface AWSmgnAsync
public Future<CreateReplicationConfigurationTemplateResult> createReplicationConfigurationTemplateAsync(CreateReplicationConfigurationTemplateRequest request, AsyncHandler<CreateReplicationConfigurationTemplateRequest,CreateReplicationConfigurationTemplateResult> asyncHandler)
AWSmgnAsync
Creates a new ReplicationConfigurationTemplate.
createReplicationConfigurationTemplateAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteJobResult> deleteJobAsync(DeleteJobRequest request)
AWSmgnAsync
Deletes a single Job by ID.
deleteJobAsync
in interface AWSmgnAsync
public Future<DeleteJobResult> deleteJobAsync(DeleteJobRequest request, AsyncHandler<DeleteJobRequest,DeleteJobResult> asyncHandler)
AWSmgnAsync
Deletes a single Job by ID.
deleteJobAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteLaunchConfigurationTemplateResult> deleteLaunchConfigurationTemplateAsync(DeleteLaunchConfigurationTemplateRequest request)
AWSmgnAsync
Creates a new ReplicationConfigurationTemplate.
deleteLaunchConfigurationTemplateAsync
in interface AWSmgnAsync
public Future<DeleteLaunchConfigurationTemplateResult> deleteLaunchConfigurationTemplateAsync(DeleteLaunchConfigurationTemplateRequest request, AsyncHandler<DeleteLaunchConfigurationTemplateRequest,DeleteLaunchConfigurationTemplateResult> asyncHandler)
AWSmgnAsync
Creates a new ReplicationConfigurationTemplate.
deleteLaunchConfigurationTemplateAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteReplicationConfigurationTemplateResult> deleteReplicationConfigurationTemplateAsync(DeleteReplicationConfigurationTemplateRequest request)
AWSmgnAsync
Deletes a single Replication Configuration Template by ID
deleteReplicationConfigurationTemplateAsync
in interface AWSmgnAsync
public Future<DeleteReplicationConfigurationTemplateResult> deleteReplicationConfigurationTemplateAsync(DeleteReplicationConfigurationTemplateRequest request, AsyncHandler<DeleteReplicationConfigurationTemplateRequest,DeleteReplicationConfigurationTemplateResult> asyncHandler)
AWSmgnAsync
Deletes a single Replication Configuration Template by ID
deleteReplicationConfigurationTemplateAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteSourceServerResult> deleteSourceServerAsync(DeleteSourceServerRequest request)
AWSmgnAsync
Deletes a single source server by ID.
deleteSourceServerAsync
in interface AWSmgnAsync
public Future<DeleteSourceServerResult> deleteSourceServerAsync(DeleteSourceServerRequest request, AsyncHandler<DeleteSourceServerRequest,DeleteSourceServerResult> asyncHandler)
AWSmgnAsync
Deletes a single source server by ID.
deleteSourceServerAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteVcenterClientResult> deleteVcenterClientAsync(DeleteVcenterClientRequest request)
AWSmgnAsync
Deletes a given vCenter client by ID.
deleteVcenterClientAsync
in interface AWSmgnAsync
public Future<DeleteVcenterClientResult> deleteVcenterClientAsync(DeleteVcenterClientRequest request, AsyncHandler<DeleteVcenterClientRequest,DeleteVcenterClientResult> asyncHandler)
AWSmgnAsync
Deletes a given vCenter client by ID.
deleteVcenterClientAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeJobLogItemsResult> describeJobLogItemsAsync(DescribeJobLogItemsRequest request)
AWSmgnAsync
Retrieves detailed job log items with paging.
describeJobLogItemsAsync
in interface AWSmgnAsync
public Future<DescribeJobLogItemsResult> describeJobLogItemsAsync(DescribeJobLogItemsRequest request, AsyncHandler<DescribeJobLogItemsRequest,DescribeJobLogItemsResult> asyncHandler)
AWSmgnAsync
Retrieves detailed job log items with paging.
describeJobLogItemsAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeJobsResult> describeJobsAsync(DescribeJobsRequest request)
AWSmgnAsync
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 normally 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.
describeJobsAsync
in interface AWSmgnAsync
public Future<DescribeJobsResult> describeJobsAsync(DescribeJobsRequest request, AsyncHandler<DescribeJobsRequest,DescribeJobsResult> asyncHandler)
AWSmgnAsync
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 normally 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.
describeJobsAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeLaunchConfigurationTemplatesResult> describeLaunchConfigurationTemplatesAsync(DescribeLaunchConfigurationTemplatesRequest request)
AWSmgnAsync
Creates a new ReplicationConfigurationTemplate.
describeLaunchConfigurationTemplatesAsync
in interface AWSmgnAsync
public Future<DescribeLaunchConfigurationTemplatesResult> describeLaunchConfigurationTemplatesAsync(DescribeLaunchConfigurationTemplatesRequest request, AsyncHandler<DescribeLaunchConfigurationTemplatesRequest,DescribeLaunchConfigurationTemplatesResult> asyncHandler)
AWSmgnAsync
Creates a new ReplicationConfigurationTemplate.
describeLaunchConfigurationTemplatesAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeReplicationConfigurationTemplatesResult> describeReplicationConfigurationTemplatesAsync(DescribeReplicationConfigurationTemplatesRequest request)
AWSmgnAsync
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
describeReplicationConfigurationTemplatesAsync
in interface AWSmgnAsync
public Future<DescribeReplicationConfigurationTemplatesResult> describeReplicationConfigurationTemplatesAsync(DescribeReplicationConfigurationTemplatesRequest request, AsyncHandler<DescribeReplicationConfigurationTemplatesRequest,DescribeReplicationConfigurationTemplatesResult> asyncHandler)
AWSmgnAsync
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
describeReplicationConfigurationTemplatesAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeSourceServersResult> describeSourceServersAsync(DescribeSourceServersRequest request)
AWSmgnAsync
Retrieves all SourceServers or multiple SourceServers by ID.
describeSourceServersAsync
in interface AWSmgnAsync
public Future<DescribeSourceServersResult> describeSourceServersAsync(DescribeSourceServersRequest request, AsyncHandler<DescribeSourceServersRequest,DescribeSourceServersResult> asyncHandler)
AWSmgnAsync
Retrieves all SourceServers or multiple SourceServers by ID.
describeSourceServersAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeVcenterClientsResult> describeVcenterClientsAsync(DescribeVcenterClientsRequest request)
AWSmgnAsync
Returns a list of the installed vCenter clients.
describeVcenterClientsAsync
in interface AWSmgnAsync
public Future<DescribeVcenterClientsResult> describeVcenterClientsAsync(DescribeVcenterClientsRequest request, AsyncHandler<DescribeVcenterClientsRequest,DescribeVcenterClientsResult> asyncHandler)
AWSmgnAsync
Returns a list of the installed vCenter clients.
describeVcenterClientsAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DisconnectFromServiceResult> disconnectFromServiceAsync(DisconnectFromServiceRequest request)
AWSmgnAsync
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 communicating 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.lagDuration will be nullified.
disconnectFromServiceAsync
in interface AWSmgnAsync
public Future<DisconnectFromServiceResult> disconnectFromServiceAsync(DisconnectFromServiceRequest request, AsyncHandler<DisconnectFromServiceRequest,DisconnectFromServiceResult> asyncHandler)
AWSmgnAsync
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 communicating 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.lagDuration will be nullified.
disconnectFromServiceAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<FinalizeCutoverResult> finalizeCutoverAsync(FinalizeCutoverRequest request)
AWSmgnAsync
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 changed 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.lagDuration will be nullified.
finalizeCutoverAsync
in interface AWSmgnAsync
public Future<FinalizeCutoverResult> finalizeCutoverAsync(FinalizeCutoverRequest request, AsyncHandler<FinalizeCutoverRequest,FinalizeCutoverResult> asyncHandler)
AWSmgnAsync
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 changed 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.lagDuration will be nullified.
finalizeCutoverAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetLaunchConfigurationResult> getLaunchConfigurationAsync(GetLaunchConfigurationRequest request)
AWSmgnAsync
Lists all LaunchConfigurations available, filtered by Source Server IDs.
getLaunchConfigurationAsync
in interface AWSmgnAsync
public Future<GetLaunchConfigurationResult> getLaunchConfigurationAsync(GetLaunchConfigurationRequest request, AsyncHandler<GetLaunchConfigurationRequest,GetLaunchConfigurationResult> asyncHandler)
AWSmgnAsync
Lists all LaunchConfigurations available, filtered by Source Server IDs.
getLaunchConfigurationAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetReplicationConfigurationResult> getReplicationConfigurationAsync(GetReplicationConfigurationRequest request)
AWSmgnAsync
Lists all ReplicationConfigurations, filtered by Source Server ID.
getReplicationConfigurationAsync
in interface AWSmgnAsync
public Future<GetReplicationConfigurationResult> getReplicationConfigurationAsync(GetReplicationConfigurationRequest request, AsyncHandler<GetReplicationConfigurationRequest,GetReplicationConfigurationResult> asyncHandler)
AWSmgnAsync
Lists all ReplicationConfigurations, filtered by Source Server ID.
getReplicationConfigurationAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<InitializeServiceResult> initializeServiceAsync(InitializeServiceRequest request)
AWSmgnAsync
Initialize Application Migration Service.
initializeServiceAsync
in interface AWSmgnAsync
public Future<InitializeServiceResult> initializeServiceAsync(InitializeServiceRequest request, AsyncHandler<InitializeServiceRequest,InitializeServiceResult> asyncHandler)
AWSmgnAsync
Initialize Application Migration Service.
initializeServiceAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSmgnAsync
List all tags for your Application Migration Service resources.
listTagsForResourceAsync
in interface AWSmgnAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSmgnAsync
List all tags for your Application Migration Service resources.
listTagsForResourceAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<MarkAsArchivedResult> markAsArchivedAsync(MarkAsArchivedRequest request)
AWSmgnAsync
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.
markAsArchivedAsync
in interface AWSmgnAsync
public Future<MarkAsArchivedResult> markAsArchivedAsync(MarkAsArchivedRequest request, AsyncHandler<MarkAsArchivedRequest,MarkAsArchivedResult> asyncHandler)
AWSmgnAsync
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.
markAsArchivedAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RetryDataReplicationResult> retryDataReplicationAsync(RetryDataReplicationRequest request)
AWSmgnAsync
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.
retryDataReplicationAsync
in interface AWSmgnAsync
public Future<RetryDataReplicationResult> retryDataReplicationAsync(RetryDataReplicationRequest request, AsyncHandler<RetryDataReplicationRequest,RetryDataReplicationResult> asyncHandler)
AWSmgnAsync
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.
retryDataReplicationAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartCutoverResult> startCutoverAsync(StartCutoverRequest request)
AWSmgnAsync
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.
startCutoverAsync
in interface AWSmgnAsync
public Future<StartCutoverResult> startCutoverAsync(StartCutoverRequest request, AsyncHandler<StartCutoverRequest,StartCutoverResult> asyncHandler)
AWSmgnAsync
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.
startCutoverAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartReplicationResult> startReplicationAsync(StartReplicationRequest request)
AWSmgnAsync
Starts replication for SNAPSHOT_SHIPPING agents.
startReplicationAsync
in interface AWSmgnAsync
public Future<StartReplicationResult> startReplicationAsync(StartReplicationRequest request, AsyncHandler<StartReplicationRequest,StartReplicationResult> asyncHandler)
AWSmgnAsync
Starts replication for SNAPSHOT_SHIPPING agents.
startReplicationAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartTestResult> startTestAsync(StartTestRequest request)
AWSmgnAsync
Launches 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.
startTestAsync
in interface AWSmgnAsync
public Future<StartTestResult> startTestAsync(StartTestRequest request, AsyncHandler<StartTestRequest,StartTestResult> asyncHandler)
AWSmgnAsync
Launches 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.
startTestAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSmgnAsync
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.
tagResourceAsync
in interface AWSmgnAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSmgnAsync
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.
tagResourceAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TerminateTargetInstancesResult> terminateTargetInstancesAsync(TerminateTargetInstancesRequest request)
AWSmgnAsync
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.
terminateTargetInstancesAsync
in interface AWSmgnAsync
public Future<TerminateTargetInstancesResult> terminateTargetInstancesAsync(TerminateTargetInstancesRequest request, AsyncHandler<TerminateTargetInstancesRequest,TerminateTargetInstancesResult> asyncHandler)
AWSmgnAsync
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.
terminateTargetInstancesAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSmgnAsync
Deletes the specified set of tags from the specified set of Application Migration Service resources.
untagResourceAsync
in interface AWSmgnAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSmgnAsync
Deletes the specified set of tags from the specified set of Application Migration Service resources.
untagResourceAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateLaunchConfigurationResult> updateLaunchConfigurationAsync(UpdateLaunchConfigurationRequest request)
AWSmgnAsync
Updates multiple LaunchConfigurations by Source Server ID.
updateLaunchConfigurationAsync
in interface AWSmgnAsync
public Future<UpdateLaunchConfigurationResult> updateLaunchConfigurationAsync(UpdateLaunchConfigurationRequest request, AsyncHandler<UpdateLaunchConfigurationRequest,UpdateLaunchConfigurationResult> asyncHandler)
AWSmgnAsync
Updates multiple LaunchConfigurations by Source Server ID.
updateLaunchConfigurationAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateLaunchConfigurationTemplateResult> updateLaunchConfigurationTemplateAsync(UpdateLaunchConfigurationTemplateRequest request)
AWSmgnAsync
Creates a new ReplicationConfigurationTemplate.
updateLaunchConfigurationTemplateAsync
in interface AWSmgnAsync
public Future<UpdateLaunchConfigurationTemplateResult> updateLaunchConfigurationTemplateAsync(UpdateLaunchConfigurationTemplateRequest request, AsyncHandler<UpdateLaunchConfigurationTemplateRequest,UpdateLaunchConfigurationTemplateResult> asyncHandler)
AWSmgnAsync
Creates a new ReplicationConfigurationTemplate.
updateLaunchConfigurationTemplateAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateReplicationConfigurationResult> updateReplicationConfigurationAsync(UpdateReplicationConfigurationRequest request)
AWSmgnAsync
Allows you to update multiple ReplicationConfigurations by Source Server ID.
updateReplicationConfigurationAsync
in interface AWSmgnAsync
public Future<UpdateReplicationConfigurationResult> updateReplicationConfigurationAsync(UpdateReplicationConfigurationRequest request, AsyncHandler<UpdateReplicationConfigurationRequest,UpdateReplicationConfigurationResult> asyncHandler)
AWSmgnAsync
Allows you to update multiple ReplicationConfigurations by Source Server ID.
updateReplicationConfigurationAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateReplicationConfigurationTemplateResult> updateReplicationConfigurationTemplateAsync(UpdateReplicationConfigurationTemplateRequest request)
AWSmgnAsync
Updates multiple ReplicationConfigurationTemplates by ID.
updateReplicationConfigurationTemplateAsync
in interface AWSmgnAsync
public Future<UpdateReplicationConfigurationTemplateResult> updateReplicationConfigurationTemplateAsync(UpdateReplicationConfigurationTemplateRequest request, AsyncHandler<UpdateReplicationConfigurationTemplateRequest,UpdateReplicationConfigurationTemplateResult> asyncHandler)
AWSmgnAsync
Updates multiple ReplicationConfigurationTemplates by ID.
updateReplicationConfigurationTemplateAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateSourceServerReplicationTypeResult> updateSourceServerReplicationTypeAsync(UpdateSourceServerReplicationTypeRequest request)
AWSmgnAsync
Allows you to change between the AGENT_BASED replication type and the SNAPSHOT_SHIPPING replication type.
updateSourceServerReplicationTypeAsync
in interface AWSmgnAsync
public Future<UpdateSourceServerReplicationTypeResult> updateSourceServerReplicationTypeAsync(UpdateSourceServerReplicationTypeRequest request, AsyncHandler<UpdateSourceServerReplicationTypeRequest,UpdateSourceServerReplicationTypeResult> asyncHandler)
AWSmgnAsync
Allows you to change between the AGENT_BASED replication type and the SNAPSHOT_SHIPPING replication type.
updateSourceServerReplicationTypeAsync
in interface AWSmgnAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.