@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.
AWS Server Migration Service (AWS SMS) makes it easier and faster for you to migrate your on-premises workloads to AWS. To learn more about AWS SMS, see the following resources:
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_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, updateReplicationJob
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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, 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)
AWSServerMigrationAsync
Creates an application. An application consists of one or more server groups. Each server group contain one or more servers.
createAppAsync
in interface AWSServerMigrationAsync
public Future<CreateAppResult> createAppAsync(CreateAppRequest request, AsyncHandler<CreateAppRequest,CreateAppResult> asyncHandler)
AWSServerMigrationAsync
Creates an application. An application consists of one or more server groups. Each server group contain one or more servers.
createAppAsync
in interface AWSServerMigrationAsync
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<CreateReplicationJobResult> createReplicationJobAsync(CreateReplicationJobRequest request)
AWSServerMigrationAsync
Creates a replication job. The replication job schedules periodic replication runs to replicate your server to AWS. Each replication run creates an Amazon Machine Image (AMI).
createReplicationJobAsync
in interface AWSServerMigrationAsync
public Future<CreateReplicationJobResult> createReplicationJobAsync(CreateReplicationJobRequest request, AsyncHandler<CreateReplicationJobRequest,CreateReplicationJobResult> asyncHandler)
AWSServerMigrationAsync
Creates a replication job. The replication job schedules periodic replication runs to replicate your server to AWS. Each replication run creates an Amazon Machine Image (AMI).
createReplicationJobAsync
in interface AWSServerMigrationAsync
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<DeleteAppResult> deleteAppAsync(DeleteAppRequest request)
AWSServerMigrationAsync
Deletes the specified application. Optionally deletes the launched stack associated with the application and all AWS SMS replication jobs for servers in the application.
deleteAppAsync
in interface AWSServerMigrationAsync
public Future<DeleteAppResult> deleteAppAsync(DeleteAppRequest request, AsyncHandler<DeleteAppRequest,DeleteAppResult> asyncHandler)
AWSServerMigrationAsync
Deletes the specified application. Optionally deletes the launched stack associated with the application and all AWS SMS replication jobs for servers in the application.
deleteAppAsync
in interface AWSServerMigrationAsync
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<DeleteAppLaunchConfigurationResult> deleteAppLaunchConfigurationAsync(DeleteAppLaunchConfigurationRequest request)
AWSServerMigrationAsync
Deletes the launch configuration for the specified application.
deleteAppLaunchConfigurationAsync
in interface AWSServerMigrationAsync
public Future<DeleteAppLaunchConfigurationResult> deleteAppLaunchConfigurationAsync(DeleteAppLaunchConfigurationRequest request, AsyncHandler<DeleteAppLaunchConfigurationRequest,DeleteAppLaunchConfigurationResult> asyncHandler)
AWSServerMigrationAsync
Deletes the launch configuration for the specified application.
deleteAppLaunchConfigurationAsync
in interface AWSServerMigrationAsync
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<DeleteAppReplicationConfigurationResult> deleteAppReplicationConfigurationAsync(DeleteAppReplicationConfigurationRequest request)
AWSServerMigrationAsync
Deletes the replication configuration for the specified application.
deleteAppReplicationConfigurationAsync
in interface AWSServerMigrationAsync
public Future<DeleteAppReplicationConfigurationResult> deleteAppReplicationConfigurationAsync(DeleteAppReplicationConfigurationRequest request, AsyncHandler<DeleteAppReplicationConfigurationRequest,DeleteAppReplicationConfigurationResult> asyncHandler)
AWSServerMigrationAsync
Deletes the replication configuration for the specified application.
deleteAppReplicationConfigurationAsync
in interface AWSServerMigrationAsync
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<DeleteAppValidationConfigurationResult> deleteAppValidationConfigurationAsync(DeleteAppValidationConfigurationRequest request)
AWSServerMigrationAsync
Deletes the validation configuration for the specified application.
deleteAppValidationConfigurationAsync
in interface AWSServerMigrationAsync
public Future<DeleteAppValidationConfigurationResult> deleteAppValidationConfigurationAsync(DeleteAppValidationConfigurationRequest request, AsyncHandler<DeleteAppValidationConfigurationRequest,DeleteAppValidationConfigurationResult> asyncHandler)
AWSServerMigrationAsync
Deletes the validation configuration for the specified application.
deleteAppValidationConfigurationAsync
in interface AWSServerMigrationAsync
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<DeleteReplicationJobResult> deleteReplicationJobAsync(DeleteReplicationJobRequest request)
AWSServerMigrationAsync
Deletes the specified replication job.
After you delete a replication job, there are no further replication runs. AWS deletes the contents of the Amazon S3 bucket used to store AWS SMS artifacts. The AMIs created by the replication runs are not deleted.
deleteReplicationJobAsync
in interface AWSServerMigrationAsync
public Future<DeleteReplicationJobResult> deleteReplicationJobAsync(DeleteReplicationJobRequest request, AsyncHandler<DeleteReplicationJobRequest,DeleteReplicationJobResult> asyncHandler)
AWSServerMigrationAsync
Deletes the specified replication job.
After you delete a replication job, there are no further replication runs. AWS deletes the contents of the Amazon S3 bucket used to store AWS SMS artifacts. The AMIs created by the replication runs are not deleted.
deleteReplicationJobAsync
in interface AWSServerMigrationAsync
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<DeleteServerCatalogResult> deleteServerCatalogAsync(DeleteServerCatalogRequest request)
AWSServerMigrationAsync
Deletes all servers from your server catalog.
deleteServerCatalogAsync
in interface AWSServerMigrationAsync
public Future<DeleteServerCatalogResult> deleteServerCatalogAsync(DeleteServerCatalogRequest request, AsyncHandler<DeleteServerCatalogRequest,DeleteServerCatalogResult> asyncHandler)
AWSServerMigrationAsync
Deletes all servers from your server catalog.
deleteServerCatalogAsync
in interface AWSServerMigrationAsync
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<DisassociateConnectorResult> disassociateConnectorAsync(DisassociateConnectorRequest request)
AWSServerMigrationAsync
Disassociates the specified connector from AWS SMS.
After you disassociate a connector, it is no longer available to support replication jobs.
disassociateConnectorAsync
in interface AWSServerMigrationAsync
public Future<DisassociateConnectorResult> disassociateConnectorAsync(DisassociateConnectorRequest request, AsyncHandler<DisassociateConnectorRequest,DisassociateConnectorResult> asyncHandler)
AWSServerMigrationAsync
Disassociates the specified connector from AWS SMS.
After you disassociate a connector, it is no longer available to support replication jobs.
disassociateConnectorAsync
in interface AWSServerMigrationAsync
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<GenerateChangeSetResult> generateChangeSetAsync(GenerateChangeSetRequest request)
AWSServerMigrationAsync
Generates a target change set for a currently launched stack and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
generateChangeSetAsync
in interface AWSServerMigrationAsync
public Future<GenerateChangeSetResult> generateChangeSetAsync(GenerateChangeSetRequest request, AsyncHandler<GenerateChangeSetRequest,GenerateChangeSetResult> asyncHandler)
AWSServerMigrationAsync
Generates a target change set for a currently launched stack and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
generateChangeSetAsync
in interface AWSServerMigrationAsync
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<GenerateTemplateResult> generateTemplateAsync(GenerateTemplateRequest request)
AWSServerMigrationAsync
Generates an AWS 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 AWSServerMigrationAsync
public Future<GenerateTemplateResult> generateTemplateAsync(GenerateTemplateRequest request, AsyncHandler<GenerateTemplateRequest,GenerateTemplateResult> asyncHandler)
AWSServerMigrationAsync
Generates an AWS 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 AWSServerMigrationAsync
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<GetAppResult> getAppAsync(GetAppRequest request)
AWSServerMigrationAsync
Retrieve information about the specified application.
getAppAsync
in interface AWSServerMigrationAsync
public Future<GetAppResult> getAppAsync(GetAppRequest request, AsyncHandler<GetAppRequest,GetAppResult> asyncHandler)
AWSServerMigrationAsync
Retrieve information about the specified application.
getAppAsync
in interface AWSServerMigrationAsync
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<GetAppLaunchConfigurationResult> getAppLaunchConfigurationAsync(GetAppLaunchConfigurationRequest request)
AWSServerMigrationAsync
Retrieves the application launch configuration associated with the specified application.
getAppLaunchConfigurationAsync
in interface AWSServerMigrationAsync
public Future<GetAppLaunchConfigurationResult> getAppLaunchConfigurationAsync(GetAppLaunchConfigurationRequest request, AsyncHandler<GetAppLaunchConfigurationRequest,GetAppLaunchConfigurationResult> asyncHandler)
AWSServerMigrationAsync
Retrieves the application launch configuration associated with the specified application.
getAppLaunchConfigurationAsync
in interface AWSServerMigrationAsync
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<GetAppReplicationConfigurationResult> getAppReplicationConfigurationAsync(GetAppReplicationConfigurationRequest request)
AWSServerMigrationAsync
Retrieves the application replication configuration associated with the specified application.
getAppReplicationConfigurationAsync
in interface AWSServerMigrationAsync
public Future<GetAppReplicationConfigurationResult> getAppReplicationConfigurationAsync(GetAppReplicationConfigurationRequest request, AsyncHandler<GetAppReplicationConfigurationRequest,GetAppReplicationConfigurationResult> asyncHandler)
AWSServerMigrationAsync
Retrieves the application replication configuration associated with the specified application.
getAppReplicationConfigurationAsync
in interface AWSServerMigrationAsync
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<GetAppValidationConfigurationResult> getAppValidationConfigurationAsync(GetAppValidationConfigurationRequest request)
AWSServerMigrationAsync
Retrieves information about a configuration for validating an application.
getAppValidationConfigurationAsync
in interface AWSServerMigrationAsync
public Future<GetAppValidationConfigurationResult> getAppValidationConfigurationAsync(GetAppValidationConfigurationRequest request, AsyncHandler<GetAppValidationConfigurationRequest,GetAppValidationConfigurationResult> asyncHandler)
AWSServerMigrationAsync
Retrieves information about a configuration for validating an application.
getAppValidationConfigurationAsync
in interface AWSServerMigrationAsync
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<GetAppValidationOutputResult> getAppValidationOutputAsync(GetAppValidationOutputRequest request)
AWSServerMigrationAsync
Retrieves output from validating an application.
getAppValidationOutputAsync
in interface AWSServerMigrationAsync
public Future<GetAppValidationOutputResult> getAppValidationOutputAsync(GetAppValidationOutputRequest request, AsyncHandler<GetAppValidationOutputRequest,GetAppValidationOutputResult> asyncHandler)
AWSServerMigrationAsync
Retrieves output from validating an application.
getAppValidationOutputAsync
in interface AWSServerMigrationAsync
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<GetConnectorsResult> getConnectorsAsync(GetConnectorsRequest request)
AWSServerMigrationAsync
Describes the connectors registered with the AWS SMS.
getConnectorsAsync
in interface AWSServerMigrationAsync
public Future<GetConnectorsResult> getConnectorsAsync(GetConnectorsRequest request, AsyncHandler<GetConnectorsRequest,GetConnectorsResult> asyncHandler)
AWSServerMigrationAsync
Describes the connectors registered with the AWS SMS.
getConnectorsAsync
in interface AWSServerMigrationAsync
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<GetReplicationJobsResult> getReplicationJobsAsync(GetReplicationJobsRequest request)
AWSServerMigrationAsync
Describes the specified replication job or all of your replication jobs.
getReplicationJobsAsync
in interface AWSServerMigrationAsync
public Future<GetReplicationJobsResult> getReplicationJobsAsync(GetReplicationJobsRequest request, AsyncHandler<GetReplicationJobsRequest,GetReplicationJobsResult> asyncHandler)
AWSServerMigrationAsync
Describes the specified replication job or all of your replication jobs.
getReplicationJobsAsync
in interface AWSServerMigrationAsync
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<GetReplicationRunsResult> getReplicationRunsAsync(GetReplicationRunsRequest request)
AWSServerMigrationAsync
Describes the replication runs for the specified replication job.
getReplicationRunsAsync
in interface AWSServerMigrationAsync
public Future<GetReplicationRunsResult> getReplicationRunsAsync(GetReplicationRunsRequest request, AsyncHandler<GetReplicationRunsRequest,GetReplicationRunsResult> asyncHandler)
AWSServerMigrationAsync
Describes the replication runs for the specified replication job.
getReplicationRunsAsync
in interface AWSServerMigrationAsync
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<GetServersResult> getServersAsync(GetServersRequest request)
AWSServerMigrationAsync
Describes the servers in your server catalog.
Before you can describe your servers, you must import them using ImportServerCatalog.
getServersAsync
in interface AWSServerMigrationAsync
public Future<GetServersResult> getServersAsync(GetServersRequest request, AsyncHandler<GetServersRequest,GetServersResult> asyncHandler)
AWSServerMigrationAsync
Describes the servers in your server catalog.
Before you can describe your servers, you must import them using ImportServerCatalog.
getServersAsync
in interface AWSServerMigrationAsync
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<ImportAppCatalogResult> importAppCatalogAsync(ImportAppCatalogRequest request)
AWSServerMigrationAsync
Allows application import from AWS Migration Hub.
importAppCatalogAsync
in interface AWSServerMigrationAsync
public Future<ImportAppCatalogResult> importAppCatalogAsync(ImportAppCatalogRequest request, AsyncHandler<ImportAppCatalogRequest,ImportAppCatalogResult> asyncHandler)
AWSServerMigrationAsync
Allows application import from AWS Migration Hub.
importAppCatalogAsync
in interface AWSServerMigrationAsync
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<ImportServerCatalogResult> importServerCatalogAsync(ImportServerCatalogRequest request)
AWSServerMigrationAsync
Gathers 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 AWSServerMigrationAsync
public Future<ImportServerCatalogResult> importServerCatalogAsync(ImportServerCatalogRequest request, AsyncHandler<ImportServerCatalogRequest,ImportServerCatalogResult> asyncHandler)
AWSServerMigrationAsync
Gathers 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 AWSServerMigrationAsync
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<LaunchAppResult> launchAppAsync(LaunchAppRequest request)
AWSServerMigrationAsync
Launches the specified application as a stack in AWS CloudFormation.
launchAppAsync
in interface AWSServerMigrationAsync
public Future<LaunchAppResult> launchAppAsync(LaunchAppRequest request, AsyncHandler<LaunchAppRequest,LaunchAppResult> asyncHandler)
AWSServerMigrationAsync
Launches the specified application as a stack in AWS CloudFormation.
launchAppAsync
in interface AWSServerMigrationAsync
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<ListAppsResult> listAppsAsync(ListAppsRequest request)
AWSServerMigrationAsync
Retrieves summaries for all applications.
listAppsAsync
in interface AWSServerMigrationAsync
public Future<ListAppsResult> listAppsAsync(ListAppsRequest request, AsyncHandler<ListAppsRequest,ListAppsResult> asyncHandler)
AWSServerMigrationAsync
Retrieves summaries for all applications.
listAppsAsync
in interface AWSServerMigrationAsync
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<NotifyAppValidationOutputResult> notifyAppValidationOutputAsync(NotifyAppValidationOutputRequest request)
AWSServerMigrationAsync
Provides information to AWS SMS about whether application validation is successful.
notifyAppValidationOutputAsync
in interface AWSServerMigrationAsync
public Future<NotifyAppValidationOutputResult> notifyAppValidationOutputAsync(NotifyAppValidationOutputRequest request, AsyncHandler<NotifyAppValidationOutputRequest,NotifyAppValidationOutputResult> asyncHandler)
AWSServerMigrationAsync
Provides information to AWS SMS about whether application validation is successful.
notifyAppValidationOutputAsync
in interface AWSServerMigrationAsync
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<PutAppLaunchConfigurationResult> putAppLaunchConfigurationAsync(PutAppLaunchConfigurationRequest request)
AWSServerMigrationAsync
Creates or updates the launch configuration for the specified application.
putAppLaunchConfigurationAsync
in interface AWSServerMigrationAsync
public Future<PutAppLaunchConfigurationResult> putAppLaunchConfigurationAsync(PutAppLaunchConfigurationRequest request, AsyncHandler<PutAppLaunchConfigurationRequest,PutAppLaunchConfigurationResult> asyncHandler)
AWSServerMigrationAsync
Creates or updates the launch configuration for the specified application.
putAppLaunchConfigurationAsync
in interface AWSServerMigrationAsync
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<PutAppReplicationConfigurationResult> putAppReplicationConfigurationAsync(PutAppReplicationConfigurationRequest request)
AWSServerMigrationAsync
Creates or updates the replication configuration for the specified application.
putAppReplicationConfigurationAsync
in interface AWSServerMigrationAsync
public Future<PutAppReplicationConfigurationResult> putAppReplicationConfigurationAsync(PutAppReplicationConfigurationRequest request, AsyncHandler<PutAppReplicationConfigurationRequest,PutAppReplicationConfigurationResult> asyncHandler)
AWSServerMigrationAsync
Creates or updates the replication configuration for the specified application.
putAppReplicationConfigurationAsync
in interface AWSServerMigrationAsync
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<PutAppValidationConfigurationResult> putAppValidationConfigurationAsync(PutAppValidationConfigurationRequest request)
AWSServerMigrationAsync
Creates or updates a validation configuration for the specified application.
putAppValidationConfigurationAsync
in interface AWSServerMigrationAsync
public Future<PutAppValidationConfigurationResult> putAppValidationConfigurationAsync(PutAppValidationConfigurationRequest request, AsyncHandler<PutAppValidationConfigurationRequest,PutAppValidationConfigurationResult> asyncHandler)
AWSServerMigrationAsync
Creates or updates a validation configuration for the specified application.
putAppValidationConfigurationAsync
in interface AWSServerMigrationAsync
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<StartAppReplicationResult> startAppReplicationAsync(StartAppReplicationRequest request)
AWSServerMigrationAsync
Starts replicating the specified application by creating replication jobs for each server in the application.
startAppReplicationAsync
in interface AWSServerMigrationAsync
public Future<StartAppReplicationResult> startAppReplicationAsync(StartAppReplicationRequest request, AsyncHandler<StartAppReplicationRequest,StartAppReplicationResult> asyncHandler)
AWSServerMigrationAsync
Starts replicating the specified application by creating replication jobs for each server in the application.
startAppReplicationAsync
in interface AWSServerMigrationAsync
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<StartOnDemandAppReplicationResult> startOnDemandAppReplicationAsync(StartOnDemandAppReplicationRequest request)
AWSServerMigrationAsync
Starts an on-demand replication run for the specified application.
startOnDemandAppReplicationAsync
in interface AWSServerMigrationAsync
public Future<StartOnDemandAppReplicationResult> startOnDemandAppReplicationAsync(StartOnDemandAppReplicationRequest request, AsyncHandler<StartOnDemandAppReplicationRequest,StartOnDemandAppReplicationResult> asyncHandler)
AWSServerMigrationAsync
Starts an on-demand replication run for the specified application.
startOnDemandAppReplicationAsync
in interface AWSServerMigrationAsync
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<StartOnDemandReplicationRunResult> startOnDemandReplicationRunAsync(StartOnDemandReplicationRunRequest request)
AWSServerMigrationAsync
Starts an on-demand replication run for the specified replication job. This replication run starts immediately. This replication run is in addition to the ones already scheduled.
There is a limit on the number of on-demand replications runs that you can request in a 24-hour period.
startOnDemandReplicationRunAsync
in interface AWSServerMigrationAsync
public Future<StartOnDemandReplicationRunResult> startOnDemandReplicationRunAsync(StartOnDemandReplicationRunRequest request, AsyncHandler<StartOnDemandReplicationRunRequest,StartOnDemandReplicationRunResult> asyncHandler)
AWSServerMigrationAsync
Starts an on-demand replication run for the specified replication job. This replication run starts immediately. This replication run is in addition to the ones already scheduled.
There is a limit on the number of on-demand replications runs that you can request in a 24-hour period.
startOnDemandReplicationRunAsync
in interface AWSServerMigrationAsync
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<StopAppReplicationResult> stopAppReplicationAsync(StopAppReplicationRequest request)
AWSServerMigrationAsync
Stops replicating the specified application by deleting the replication job for each server in the application.
stopAppReplicationAsync
in interface AWSServerMigrationAsync
public Future<StopAppReplicationResult> stopAppReplicationAsync(StopAppReplicationRequest request, AsyncHandler<StopAppReplicationRequest,StopAppReplicationResult> asyncHandler)
AWSServerMigrationAsync
Stops replicating the specified application by deleting the replication job for each server in the application.
stopAppReplicationAsync
in interface AWSServerMigrationAsync
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<TerminateAppResult> terminateAppAsync(TerminateAppRequest request)
AWSServerMigrationAsync
Terminates the stack for the specified application.
terminateAppAsync
in interface AWSServerMigrationAsync
public Future<TerminateAppResult> terminateAppAsync(TerminateAppRequest request, AsyncHandler<TerminateAppRequest,TerminateAppResult> asyncHandler)
AWSServerMigrationAsync
Terminates the stack for the specified application.
terminateAppAsync
in interface AWSServerMigrationAsync
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<UpdateAppResult> updateAppAsync(UpdateAppRequest request)
AWSServerMigrationAsync
Updates the specified application.
updateAppAsync
in interface AWSServerMigrationAsync
public Future<UpdateAppResult> updateAppAsync(UpdateAppRequest request, AsyncHandler<UpdateAppRequest,UpdateAppResult> asyncHandler)
AWSServerMigrationAsync
Updates the specified application.
updateAppAsync
in interface AWSServerMigrationAsync
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<UpdateReplicationJobResult> updateReplicationJobAsync(UpdateReplicationJobRequest request)
AWSServerMigrationAsync
Updates the specified settings for the specified replication job.
updateReplicationJobAsync
in interface AWSServerMigrationAsync
public Future<UpdateReplicationJobResult> updateReplicationJobAsync(UpdateReplicationJobRequest request, AsyncHandler<UpdateReplicationJobRequest,UpdateReplicationJobResult> asyncHandler)
AWSServerMigrationAsync
Updates the specified settings for the specified replication job.
updateReplicationJobAsync
in interface AWSServerMigrationAsync
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 void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSServerMigration
shutdown
in class AmazonWebServiceClient