@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSServerMigrationAsyncClient extends AWSServerMigrationClient implements AWSServerMigrationAsync
AsyncHandler can be used to receive notification when an
asynchronous operation completes.
Product update
We recommend Amazon Web Services Application Migration
Service (Amazon Web Services MGN) as the primary migration service for lift-and-shift migrations. If Amazon Web
Services MGN is unavailable in a specific Amazon Web Services Region, you can use the Server Migration Service APIs
through March 2023.
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:
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Constructor and Description |
|---|
AWSServerMigrationAsyncClient()
Deprecated.
|
AWSServerMigrationAsyncClient(AWSCredentials awsCredentials)
Deprecated.
|
AWSServerMigrationAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AWSServerMigrationAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
|
AWSServerMigrationAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated.
|
AWSServerMigrationAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
|
AWSServerMigrationAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
|
AWSServerMigrationAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
|
AWSServerMigrationAsyncClient(ClientConfiguration clientConfiguration)
Deprecated.
|
builder, createApp, createReplicationJob, deleteApp, deleteAppLaunchConfiguration, deleteAppReplicationConfiguration, deleteAppValidationConfiguration, deleteReplicationJob, deleteServerCatalog, disassociateConnector, generateChangeSet, generateTemplate, getApp, getAppLaunchConfiguration, getAppReplicationConfiguration, getAppValidationConfiguration, getAppValidationOutput, getCachedResponseMetadata, getConnectors, getReplicationJobs, getReplicationRuns, getServers, importAppCatalog, importServerCatalog, launchApp, listApps, notifyAppValidationOutput, putAppLaunchConfiguration, putAppReplicationConfiguration, putAppValidationConfiguration, startAppReplication, startOnDemandAppReplication, startOnDemandReplicationRun, stopAppReplication, terminateApp, updateApp, updateReplicationJobaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateApp, createReplicationJob, deleteApp, deleteAppLaunchConfiguration, deleteAppReplicationConfiguration, deleteAppValidationConfiguration, deleteReplicationJob, deleteServerCatalog, disassociateConnector, generateChangeSet, generateTemplate, getApp, getAppLaunchConfiguration, getAppReplicationConfiguration, getAppValidationConfiguration, getAppValidationOutput, getCachedResponseMetadata, getConnectors, getReplicationJobs, getReplicationRuns, getServers, importAppCatalog, importServerCatalog, launchApp, listApps, notifyAppValidationOutput, putAppLaunchConfiguration, putAppReplicationConfiguration, putAppValidationConfiguration, setEndpoint, setRegion, startAppReplication, startOnDemandAppReplication, startOnDemandReplicationRun, stopAppReplication, terminateApp, updateApp, updateReplicationJob@Deprecated public AWSServerMigrationAsyncClient()
AWSServerMigrationAsyncClientBuilder.defaultClient()Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
@Deprecated public AWSServerMigrationAsyncClient(ClientConfiguration clientConfiguration)
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections().
clientConfiguration - The client configuration options controlling how this client connects to SMS (ex: proxy settings, retry
counts, etc).DefaultAWSCredentialsProviderChain,
Executors.newFixedThreadPool(int)@Deprecated public AWSServerMigrationAsyncClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.Executors.newFixedThreadPool(int)@Deprecated public AWSServerMigrationAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.executorService - The executor service by which all asynchronous requests will be executed.@Deprecated public AWSServerMigrationAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration) and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy settings, etc).executorService - The executor service by which all asynchronous requests will be executed.@Deprecated public AWSServerMigrationAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.Executors.newFixedThreadPool(int)@Deprecated public AWSServerMigrationAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections().
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy settings, etc).DefaultAWSCredentialsProviderChain,
Executors.newFixedThreadPool(int)@Deprecated public AWSServerMigrationAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.executorService - The executor service by which all asynchronous requests will be executed.@Deprecated public AWSServerMigrationAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration) and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy settings, etc).executorService - The executor service by which all asynchronous requests will be executed.public static AWSServerMigrationAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateAppResult> createAppAsync(CreateAppRequest request)
AWSServerMigrationAsyncCreates an application. An application consists of one or more server groups. Each server group contain one or more servers.
createAppAsync in interface AWSServerMigrationAsyncpublic Future<CreateAppResult> createAppAsync(CreateAppRequest request, AsyncHandler<CreateAppRequest,CreateAppResult> asyncHandler)
AWSServerMigrationAsyncCreates an application. An application consists of one or more server groups. Each server group contain one or more servers.
createAppAsync in interface AWSServerMigrationAsyncasyncHandler - 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<CreateReplicationJobResult> createReplicationJobAsync(CreateReplicationJobRequest request)
AWSServerMigrationAsyncCreates 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).
createReplicationJobAsync in interface AWSServerMigrationAsyncpublic Future<CreateReplicationJobResult> createReplicationJobAsync(CreateReplicationJobRequest request, AsyncHandler<CreateReplicationJobRequest,CreateReplicationJobResult> asyncHandler)
AWSServerMigrationAsyncCreates 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).
createReplicationJobAsync in interface AWSServerMigrationAsyncasyncHandler - 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<DeleteAppResult> deleteAppAsync(DeleteAppRequest request)
AWSServerMigrationAsyncDeletes the specified application. Optionally deletes the launched stack associated with the application and all Server Migration Service replication jobs for servers in the application.
deleteAppAsync in interface AWSServerMigrationAsyncpublic Future<DeleteAppResult> deleteAppAsync(DeleteAppRequest request, AsyncHandler<DeleteAppRequest,DeleteAppResult> asyncHandler)
AWSServerMigrationAsyncDeletes the specified application. Optionally deletes the launched stack associated with the application and all Server Migration Service replication jobs for servers in the application.
deleteAppAsync in interface AWSServerMigrationAsyncasyncHandler - 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<DeleteAppLaunchConfigurationResult> deleteAppLaunchConfigurationAsync(DeleteAppLaunchConfigurationRequest request)
AWSServerMigrationAsyncDeletes the launch configuration for the specified application.
deleteAppLaunchConfigurationAsync in interface AWSServerMigrationAsyncpublic Future<DeleteAppLaunchConfigurationResult> deleteAppLaunchConfigurationAsync(DeleteAppLaunchConfigurationRequest request, AsyncHandler<DeleteAppLaunchConfigurationRequest,DeleteAppLaunchConfigurationResult> asyncHandler)
AWSServerMigrationAsyncDeletes the launch configuration for the specified application.
deleteAppLaunchConfigurationAsync in interface AWSServerMigrationAsyncasyncHandler - 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<DeleteAppReplicationConfigurationResult> deleteAppReplicationConfigurationAsync(DeleteAppReplicationConfigurationRequest request)
AWSServerMigrationAsyncDeletes the replication configuration for the specified application.
deleteAppReplicationConfigurationAsync in interface AWSServerMigrationAsyncpublic Future<DeleteAppReplicationConfigurationResult> deleteAppReplicationConfigurationAsync(DeleteAppReplicationConfigurationRequest request, AsyncHandler<DeleteAppReplicationConfigurationRequest,DeleteAppReplicationConfigurationResult> asyncHandler)
AWSServerMigrationAsyncDeletes the replication configuration for the specified application.
deleteAppReplicationConfigurationAsync in interface AWSServerMigrationAsyncasyncHandler - 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<DeleteAppValidationConfigurationResult> deleteAppValidationConfigurationAsync(DeleteAppValidationConfigurationRequest request)
AWSServerMigrationAsyncDeletes the validation configuration for the specified application.
deleteAppValidationConfigurationAsync in interface AWSServerMigrationAsyncpublic Future<DeleteAppValidationConfigurationResult> deleteAppValidationConfigurationAsync(DeleteAppValidationConfigurationRequest request, AsyncHandler<DeleteAppValidationConfigurationRequest,DeleteAppValidationConfigurationResult> asyncHandler)
AWSServerMigrationAsyncDeletes the validation configuration for the specified application.
deleteAppValidationConfigurationAsync in interface AWSServerMigrationAsyncasyncHandler - 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<DeleteReplicationJobResult> deleteReplicationJobAsync(DeleteReplicationJobRequest request)
AWSServerMigrationAsyncDeletes the specified replication job.
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.
deleteReplicationJobAsync in interface AWSServerMigrationAsyncpublic Future<DeleteReplicationJobResult> deleteReplicationJobAsync(DeleteReplicationJobRequest request, AsyncHandler<DeleteReplicationJobRequest,DeleteReplicationJobResult> asyncHandler)
AWSServerMigrationAsyncDeletes the specified replication job.
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.
deleteReplicationJobAsync in interface AWSServerMigrationAsyncasyncHandler - 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<DeleteServerCatalogResult> deleteServerCatalogAsync(DeleteServerCatalogRequest request)
AWSServerMigrationAsyncDeletes all servers from your server catalog.
deleteServerCatalogAsync in interface AWSServerMigrationAsyncpublic Future<DeleteServerCatalogResult> deleteServerCatalogAsync(DeleteServerCatalogRequest request, AsyncHandler<DeleteServerCatalogRequest,DeleteServerCatalogResult> asyncHandler)
AWSServerMigrationAsyncDeletes all servers from your server catalog.
deleteServerCatalogAsync in interface AWSServerMigrationAsyncasyncHandler - 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<DisassociateConnectorResult> disassociateConnectorAsync(DisassociateConnectorRequest request)
AWSServerMigrationAsyncDisassociates the specified connector from Server Migration Service.
After you disassociate a connector, it is no longer available to support replication jobs.
disassociateConnectorAsync in interface AWSServerMigrationAsyncpublic Future<DisassociateConnectorResult> disassociateConnectorAsync(DisassociateConnectorRequest request, AsyncHandler<DisassociateConnectorRequest,DisassociateConnectorResult> asyncHandler)
AWSServerMigrationAsyncDisassociates the specified connector from Server Migration Service.
After you disassociate a connector, it is no longer available to support replication jobs.
disassociateConnectorAsync in interface AWSServerMigrationAsyncasyncHandler - 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<GenerateChangeSetResult> generateChangeSetAsync(GenerateChangeSetRequest request)
AWSServerMigrationAsyncGenerates a target change set for a currently launched stack and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
generateChangeSetAsync in interface AWSServerMigrationAsyncpublic Future<GenerateChangeSetResult> generateChangeSetAsync(GenerateChangeSetRequest request, AsyncHandler<GenerateChangeSetRequest,GenerateChangeSetResult> asyncHandler)
AWSServerMigrationAsyncGenerates a target change set for a currently launched stack and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
generateChangeSetAsync in interface AWSServerMigrationAsyncasyncHandler - 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<GenerateTemplateResult> generateTemplateAsync(GenerateTemplateRequest request)
AWSServerMigrationAsyncGenerates an CloudFormation template based on the current launch configuration and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
generateTemplateAsync in interface AWSServerMigrationAsyncpublic Future<GenerateTemplateResult> generateTemplateAsync(GenerateTemplateRequest request, AsyncHandler<GenerateTemplateRequest,GenerateTemplateResult> asyncHandler)
AWSServerMigrationAsyncGenerates an CloudFormation template based on the current launch configuration and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
generateTemplateAsync in interface AWSServerMigrationAsyncasyncHandler - 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<GetAppResult> getAppAsync(GetAppRequest request)
AWSServerMigrationAsyncRetrieve information about the specified application.
getAppAsync in interface AWSServerMigrationAsyncpublic Future<GetAppResult> getAppAsync(GetAppRequest request, AsyncHandler<GetAppRequest,GetAppResult> asyncHandler)
AWSServerMigrationAsyncRetrieve information about the specified application.
getAppAsync in interface AWSServerMigrationAsyncasyncHandler - 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<GetAppLaunchConfigurationResult> getAppLaunchConfigurationAsync(GetAppLaunchConfigurationRequest request)
AWSServerMigrationAsyncRetrieves the application launch configuration associated with the specified application.
getAppLaunchConfigurationAsync in interface AWSServerMigrationAsyncpublic Future<GetAppLaunchConfigurationResult> getAppLaunchConfigurationAsync(GetAppLaunchConfigurationRequest request, AsyncHandler<GetAppLaunchConfigurationRequest,GetAppLaunchConfigurationResult> asyncHandler)
AWSServerMigrationAsyncRetrieves the application launch configuration associated with the specified application.
getAppLaunchConfigurationAsync in interface AWSServerMigrationAsyncasyncHandler - 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<GetAppReplicationConfigurationResult> getAppReplicationConfigurationAsync(GetAppReplicationConfigurationRequest request)
AWSServerMigrationAsyncRetrieves the application replication configuration associated with the specified application.
getAppReplicationConfigurationAsync in interface AWSServerMigrationAsyncpublic Future<GetAppReplicationConfigurationResult> getAppReplicationConfigurationAsync(GetAppReplicationConfigurationRequest request, AsyncHandler<GetAppReplicationConfigurationRequest,GetAppReplicationConfigurationResult> asyncHandler)
AWSServerMigrationAsyncRetrieves the application replication configuration associated with the specified application.
getAppReplicationConfigurationAsync in interface AWSServerMigrationAsyncasyncHandler - 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<GetAppValidationConfigurationResult> getAppValidationConfigurationAsync(GetAppValidationConfigurationRequest request)
AWSServerMigrationAsyncRetrieves information about a configuration for validating an application.
getAppValidationConfigurationAsync in interface AWSServerMigrationAsyncpublic Future<GetAppValidationConfigurationResult> getAppValidationConfigurationAsync(GetAppValidationConfigurationRequest request, AsyncHandler<GetAppValidationConfigurationRequest,GetAppValidationConfigurationResult> asyncHandler)
AWSServerMigrationAsyncRetrieves information about a configuration for validating an application.
getAppValidationConfigurationAsync in interface AWSServerMigrationAsyncasyncHandler - 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<GetAppValidationOutputResult> getAppValidationOutputAsync(GetAppValidationOutputRequest request)
AWSServerMigrationAsyncRetrieves output from validating an application.
getAppValidationOutputAsync in interface AWSServerMigrationAsyncpublic Future<GetAppValidationOutputResult> getAppValidationOutputAsync(GetAppValidationOutputRequest request, AsyncHandler<GetAppValidationOutputRequest,GetAppValidationOutputResult> asyncHandler)
AWSServerMigrationAsyncRetrieves output from validating an application.
getAppValidationOutputAsync in interface AWSServerMigrationAsyncasyncHandler - 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<GetConnectorsResult> getConnectorsAsync(GetConnectorsRequest request)
AWSServerMigrationAsyncDescribes the connectors registered with the Server Migration Service.
getConnectorsAsync in interface AWSServerMigrationAsyncpublic Future<GetConnectorsResult> getConnectorsAsync(GetConnectorsRequest request, AsyncHandler<GetConnectorsRequest,GetConnectorsResult> asyncHandler)
AWSServerMigrationAsyncDescribes the connectors registered with the Server Migration Service.
getConnectorsAsync in interface AWSServerMigrationAsyncasyncHandler - 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<GetReplicationJobsResult> getReplicationJobsAsync(GetReplicationJobsRequest request)
AWSServerMigrationAsyncDescribes the specified replication job or all of your replication jobs.
getReplicationJobsAsync in interface AWSServerMigrationAsyncpublic Future<GetReplicationJobsResult> getReplicationJobsAsync(GetReplicationJobsRequest request, AsyncHandler<GetReplicationJobsRequest,GetReplicationJobsResult> asyncHandler)
AWSServerMigrationAsyncDescribes the specified replication job or all of your replication jobs.
getReplicationJobsAsync in interface AWSServerMigrationAsyncasyncHandler - 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<GetReplicationRunsResult> getReplicationRunsAsync(GetReplicationRunsRequest request)
AWSServerMigrationAsyncDescribes the replication runs for the specified replication job.
getReplicationRunsAsync in interface AWSServerMigrationAsyncpublic Future<GetReplicationRunsResult> getReplicationRunsAsync(GetReplicationRunsRequest request, AsyncHandler<GetReplicationRunsRequest,GetReplicationRunsResult> asyncHandler)
AWSServerMigrationAsyncDescribes the replication runs for the specified replication job.
getReplicationRunsAsync in interface AWSServerMigrationAsyncasyncHandler - 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<GetServersResult> getServersAsync(GetServersRequest request)
AWSServerMigrationAsyncDescribes the servers in your server catalog.
Before you can describe your servers, you must import them using ImportServerCatalog.
getServersAsync in interface AWSServerMigrationAsyncpublic Future<GetServersResult> getServersAsync(GetServersRequest request, AsyncHandler<GetServersRequest,GetServersResult> asyncHandler)
AWSServerMigrationAsyncDescribes the servers in your server catalog.
Before you can describe your servers, you must import them using ImportServerCatalog.
getServersAsync in interface AWSServerMigrationAsyncasyncHandler - 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<ImportAppCatalogResult> importAppCatalogAsync(ImportAppCatalogRequest request)
AWSServerMigrationAsyncAllows application import from Migration Hub.
importAppCatalogAsync in interface AWSServerMigrationAsyncpublic Future<ImportAppCatalogResult> importAppCatalogAsync(ImportAppCatalogRequest request, AsyncHandler<ImportAppCatalogRequest,ImportAppCatalogResult> asyncHandler)
AWSServerMigrationAsyncAllows application import from Migration Hub.
importAppCatalogAsync in interface AWSServerMigrationAsyncasyncHandler - 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<ImportServerCatalogResult> importServerCatalogAsync(ImportServerCatalogRequest request)
AWSServerMigrationAsyncGathers a complete list of on-premises servers. Connectors must be installed and monitoring all servers to import.
This call returns immediately, but might take additional time to retrieve all the servers.
importServerCatalogAsync in interface AWSServerMigrationAsyncpublic Future<ImportServerCatalogResult> importServerCatalogAsync(ImportServerCatalogRequest request, AsyncHandler<ImportServerCatalogRequest,ImportServerCatalogResult> asyncHandler)
AWSServerMigrationAsyncGathers a complete list of on-premises servers. Connectors must be installed and monitoring all servers to import.
This call returns immediately, but might take additional time to retrieve all the servers.
importServerCatalogAsync in interface AWSServerMigrationAsyncasyncHandler - 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<LaunchAppResult> launchAppAsync(LaunchAppRequest request)
AWSServerMigrationAsyncLaunches the specified application as a stack in CloudFormation.
launchAppAsync in interface AWSServerMigrationAsyncpublic Future<LaunchAppResult> launchAppAsync(LaunchAppRequest request, AsyncHandler<LaunchAppRequest,LaunchAppResult> asyncHandler)
AWSServerMigrationAsyncLaunches the specified application as a stack in CloudFormation.
launchAppAsync in interface AWSServerMigrationAsyncasyncHandler - 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<ListAppsResult> listAppsAsync(ListAppsRequest request)
AWSServerMigrationAsyncRetrieves summaries for all applications.
listAppsAsync in interface AWSServerMigrationAsyncpublic Future<ListAppsResult> listAppsAsync(ListAppsRequest request, AsyncHandler<ListAppsRequest,ListAppsResult> asyncHandler)
AWSServerMigrationAsyncRetrieves summaries for all applications.
listAppsAsync in interface AWSServerMigrationAsyncasyncHandler - 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<NotifyAppValidationOutputResult> notifyAppValidationOutputAsync(NotifyAppValidationOutputRequest request)
AWSServerMigrationAsyncProvides information to Server Migration Service about whether application validation is successful.
notifyAppValidationOutputAsync in interface AWSServerMigrationAsyncpublic Future<NotifyAppValidationOutputResult> notifyAppValidationOutputAsync(NotifyAppValidationOutputRequest request, AsyncHandler<NotifyAppValidationOutputRequest,NotifyAppValidationOutputResult> asyncHandler)
AWSServerMigrationAsyncProvides information to Server Migration Service about whether application validation is successful.
notifyAppValidationOutputAsync in interface AWSServerMigrationAsyncasyncHandler - 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<PutAppLaunchConfigurationResult> putAppLaunchConfigurationAsync(PutAppLaunchConfigurationRequest request)
AWSServerMigrationAsyncCreates or updates the launch configuration for the specified application.
putAppLaunchConfigurationAsync in interface AWSServerMigrationAsyncpublic Future<PutAppLaunchConfigurationResult> putAppLaunchConfigurationAsync(PutAppLaunchConfigurationRequest request, AsyncHandler<PutAppLaunchConfigurationRequest,PutAppLaunchConfigurationResult> asyncHandler)
AWSServerMigrationAsyncCreates or updates the launch configuration for the specified application.
putAppLaunchConfigurationAsync in interface AWSServerMigrationAsyncasyncHandler - 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<PutAppReplicationConfigurationResult> putAppReplicationConfigurationAsync(PutAppReplicationConfigurationRequest request)
AWSServerMigrationAsyncCreates or updates the replication configuration for the specified application.
putAppReplicationConfigurationAsync in interface AWSServerMigrationAsyncpublic Future<PutAppReplicationConfigurationResult> putAppReplicationConfigurationAsync(PutAppReplicationConfigurationRequest request, AsyncHandler<PutAppReplicationConfigurationRequest,PutAppReplicationConfigurationResult> asyncHandler)
AWSServerMigrationAsyncCreates or updates the replication configuration for the specified application.
putAppReplicationConfigurationAsync in interface AWSServerMigrationAsyncasyncHandler - 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<PutAppValidationConfigurationResult> putAppValidationConfigurationAsync(PutAppValidationConfigurationRequest request)
AWSServerMigrationAsyncCreates or updates a validation configuration for the specified application.
putAppValidationConfigurationAsync in interface AWSServerMigrationAsyncpublic Future<PutAppValidationConfigurationResult> putAppValidationConfigurationAsync(PutAppValidationConfigurationRequest request, AsyncHandler<PutAppValidationConfigurationRequest,PutAppValidationConfigurationResult> asyncHandler)
AWSServerMigrationAsyncCreates or updates a validation configuration for the specified application.
putAppValidationConfigurationAsync in interface AWSServerMigrationAsyncasyncHandler - 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<StartAppReplicationResult> startAppReplicationAsync(StartAppReplicationRequest request)
AWSServerMigrationAsyncStarts replicating the specified application by creating replication jobs for each server in the application.
startAppReplicationAsync in interface AWSServerMigrationAsyncpublic Future<StartAppReplicationResult> startAppReplicationAsync(StartAppReplicationRequest request, AsyncHandler<StartAppReplicationRequest,StartAppReplicationResult> asyncHandler)
AWSServerMigrationAsyncStarts replicating the specified application by creating replication jobs for each server in the application.
startAppReplicationAsync in interface AWSServerMigrationAsyncasyncHandler - 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<StartOnDemandAppReplicationResult> startOnDemandAppReplicationAsync(StartOnDemandAppReplicationRequest request)
AWSServerMigrationAsyncStarts an on-demand replication run for the specified application.
startOnDemandAppReplicationAsync in interface AWSServerMigrationAsyncpublic Future<StartOnDemandAppReplicationResult> startOnDemandAppReplicationAsync(StartOnDemandAppReplicationRequest request, AsyncHandler<StartOnDemandAppReplicationRequest,StartOnDemandAppReplicationResult> asyncHandler)
AWSServerMigrationAsyncStarts an on-demand replication run for the specified application.
startOnDemandAppReplicationAsync in interface AWSServerMigrationAsyncasyncHandler - 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<StartOnDemandReplicationRunResult> startOnDemandReplicationRunAsync(StartOnDemandReplicationRunRequest request)
AWSServerMigrationAsyncStarts 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.
There is a limit on the number of on-demand replications runs that you can request in a 24-hour period.
startOnDemandReplicationRunAsync in interface AWSServerMigrationAsyncpublic Future<StartOnDemandReplicationRunResult> startOnDemandReplicationRunAsync(StartOnDemandReplicationRunRequest request, AsyncHandler<StartOnDemandReplicationRunRequest,StartOnDemandReplicationRunResult> asyncHandler)
AWSServerMigrationAsyncStarts 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.
There is a limit on the number of on-demand replications runs that you can request in a 24-hour period.
startOnDemandReplicationRunAsync in interface AWSServerMigrationAsyncasyncHandler - 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<StopAppReplicationResult> stopAppReplicationAsync(StopAppReplicationRequest request)
AWSServerMigrationAsyncStops replicating the specified application by deleting the replication job for each server in the application.
stopAppReplicationAsync in interface AWSServerMigrationAsyncpublic Future<StopAppReplicationResult> stopAppReplicationAsync(StopAppReplicationRequest request, AsyncHandler<StopAppReplicationRequest,StopAppReplicationResult> asyncHandler)
AWSServerMigrationAsyncStops replicating the specified application by deleting the replication job for each server in the application.
stopAppReplicationAsync in interface AWSServerMigrationAsyncasyncHandler - 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<TerminateAppResult> terminateAppAsync(TerminateAppRequest request)
AWSServerMigrationAsyncTerminates the stack for the specified application.
terminateAppAsync in interface AWSServerMigrationAsyncpublic Future<TerminateAppResult> terminateAppAsync(TerminateAppRequest request, AsyncHandler<TerminateAppRequest,TerminateAppResult> asyncHandler)
AWSServerMigrationAsyncTerminates the stack for the specified application.
terminateAppAsync in interface AWSServerMigrationAsyncasyncHandler - 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<UpdateAppResult> updateAppAsync(UpdateAppRequest request)
AWSServerMigrationAsyncUpdates the specified application.
updateAppAsync in interface AWSServerMigrationAsyncpublic Future<UpdateAppResult> updateAppAsync(UpdateAppRequest request, AsyncHandler<UpdateAppRequest,UpdateAppResult> asyncHandler)
AWSServerMigrationAsyncUpdates the specified application.
updateAppAsync in interface AWSServerMigrationAsyncasyncHandler - 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<UpdateReplicationJobResult> updateReplicationJobAsync(UpdateReplicationJobRequest request)
AWSServerMigrationAsyncUpdates the specified settings for the specified replication job.
updateReplicationJobAsync in interface AWSServerMigrationAsyncpublic Future<UpdateReplicationJobResult> updateReplicationJobAsync(UpdateReplicationJobRequest request, AsyncHandler<UpdateReplicationJobRequest,UpdateReplicationJobResult> asyncHandler)
AWSServerMigrationAsyncUpdates the specified settings for the specified replication job.
updateReplicationJobAsync in interface AWSServerMigrationAsyncasyncHandler - 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 void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AWSServerMigrationshutdown in class AWSServerMigrationClient