SmsClient

interface SmsClient : SdkClient

Deprecated

No longer recommended for use. See AWS API documentation for more details.

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:

Properties

Link copied to clipboard
abstract override val config: SmsClient.Config

SmsClient's configuration

Functions

Link copied to clipboard
abstract suspend fun createApp(input: CreateAppRequest = CreateAppRequest { }): CreateAppResponse

Creates an application. An application consists of one or more server groups. Each server group contain one or more servers.

Link copied to clipboard

Creates a replication job. The replication job schedules periodic replication runs to replicate your server to Amazon Web Services. Each replication run creates an Amazon Machine Image (AMI).

Link copied to clipboard
abstract suspend fun deleteApp(input: DeleteAppRequest = DeleteAppRequest { }): DeleteAppResponse

Deletes the specified application. Optionally deletes the launched stack associated with the application and all Server Migration Service replication jobs for servers in the application.

Link copied to clipboard
abstract suspend fun deleteAppLaunchConfiguration(input: DeleteAppLaunchConfigurationRequest = DeleteAppLaunchConfigurationRequest { }): DeleteAppLaunchConfigurationResponse

Deletes the launch configuration for the specified application.

Link copied to clipboard
abstract suspend fun deleteAppReplicationConfiguration(input: DeleteAppReplicationConfigurationRequest = DeleteAppReplicationConfigurationRequest { }): DeleteAppReplicationConfigurationResponse

Deletes the replication configuration for the specified application.

Link copied to clipboard

Deletes the validation configuration for the specified application.

Link copied to clipboard

Deletes the specified replication job.

Link copied to clipboard
abstract suspend fun deleteServerCatalog(input: DeleteServerCatalogRequest = DeleteServerCatalogRequest { }): DeleteServerCatalogResponse

Deletes all servers from your server catalog.

Link copied to clipboard

Disassociates the specified connector from Server Migration Service.

Link copied to clipboard
abstract suspend fun generateChangeSet(input: GenerateChangeSetRequest = GenerateChangeSetRequest { }): GenerateChangeSetResponse

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.

Link copied to clipboard
abstract suspend fun generateTemplate(input: GenerateTemplateRequest = GenerateTemplateRequest { }): GenerateTemplateResponse

Generates an CloudFormation template based on the current launch configuration and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.

Link copied to clipboard
abstract suspend fun getApp(input: GetAppRequest = GetAppRequest { }): GetAppResponse

Retrieve information about the specified application.

Link copied to clipboard
abstract suspend fun getAppLaunchConfiguration(input: GetAppLaunchConfigurationRequest = GetAppLaunchConfigurationRequest { }): GetAppLaunchConfigurationResponse

Retrieves the application launch configuration associated with the specified application.

Link copied to clipboard
abstract suspend fun getAppReplicationConfiguration(input: GetAppReplicationConfigurationRequest = GetAppReplicationConfigurationRequest { }): GetAppReplicationConfigurationResponse

Retrieves the application replication configuration associated with the specified application.

Link copied to clipboard

Retrieves information about a configuration for validating an application.

Link copied to clipboard

Retrieves output from validating an application.

Link copied to clipboard
abstract suspend fun getConnectors(input: GetConnectorsRequest = GetConnectorsRequest { }): GetConnectorsResponse

Describes the connectors registered with the Server Migration Service.

Link copied to clipboard
abstract suspend fun getReplicationJobs(input: GetReplicationJobsRequest = GetReplicationJobsRequest { }): GetReplicationJobsResponse

Describes the specified replication job or all of your replication jobs.

Link copied to clipboard

Describes the replication runs for the specified replication job.

Link copied to clipboard
abstract suspend fun getServers(input: GetServersRequest = GetServersRequest { }): GetServersResponse

Describes the servers in your server catalog.

Link copied to clipboard
abstract suspend fun importAppCatalog(input: ImportAppCatalogRequest = ImportAppCatalogRequest { }): ImportAppCatalogResponse

Allows application import from Migration Hub.

Link copied to clipboard
abstract suspend fun importServerCatalog(input: ImportServerCatalogRequest = ImportServerCatalogRequest { }): ImportServerCatalogResponse

Gathers a complete list of on-premises servers. Connectors must be installed and monitoring all servers to import.

Link copied to clipboard
abstract suspend fun launchApp(input: LaunchAppRequest = LaunchAppRequest { }): LaunchAppResponse

Launches the specified application as a stack in CloudFormation.

Link copied to clipboard
abstract suspend fun listApps(input: ListAppsRequest = ListAppsRequest { }): ListAppsResponse

Retrieves summaries for all applications.

Link copied to clipboard

Provides information to Server Migration Service about whether application validation is successful.

Link copied to clipboard
abstract suspend fun putAppLaunchConfiguration(input: PutAppLaunchConfigurationRequest = PutAppLaunchConfigurationRequest { }): PutAppLaunchConfigurationResponse

Creates or updates the launch configuration for the specified application.

Link copied to clipboard
abstract suspend fun putAppReplicationConfiguration(input: PutAppReplicationConfigurationRequest = PutAppReplicationConfigurationRequest { }): PutAppReplicationConfigurationResponse

Creates or updates the replication configuration for the specified application.

Link copied to clipboard

Creates or updates a validation configuration for the specified application.

Link copied to clipboard
abstract suspend fun startAppReplication(input: StartAppReplicationRequest = StartAppReplicationRequest { }): StartAppReplicationResponse

Starts replicating the specified application by creating replication jobs for each server in the application.

Link copied to clipboard

Starts an on-demand replication run for the specified application.

Link copied to clipboard

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.

Link copied to clipboard
abstract suspend fun stopAppReplication(input: StopAppReplicationRequest = StopAppReplicationRequest { }): StopAppReplicationResponse

Stops replicating the specified application by deleting the replication job for each server in the application.

Link copied to clipboard
abstract suspend fun terminateApp(input: TerminateAppRequest = TerminateAppRequest { }): TerminateAppResponse

Terminates the stack for the specified application.

Link copied to clipboard
abstract suspend fun updateApp(input: UpdateAppRequest = UpdateAppRequest { }): UpdateAppResponse

Updates the specified application.

Link copied to clipboard

Updates the specified settings for the specified replication job.

Inherited functions

Link copied to clipboard
expect abstract fun close()
Link copied to clipboard
inline suspend fun SmsClient.createApp(crossinline block: CreateAppRequest.Builder.() -> Unit): CreateAppResponse

Creates an application. An application consists of one or more server groups. Each server group contain one or more servers.

Link copied to clipboard

Creates a replication job. The replication job schedules periodic replication runs to replicate your server to Amazon Web Services. Each replication run creates an Amazon Machine Image (AMI).

Link copied to clipboard
inline suspend fun SmsClient.deleteApp(crossinline block: DeleteAppRequest.Builder.() -> Unit): DeleteAppResponse

Deletes the specified application. Optionally deletes the launched stack associated with the application and all Server Migration Service replication jobs for servers in the application.

Link copied to clipboard

Deletes the launch configuration for the specified application.

Link copied to clipboard

Deletes the replication configuration for the specified application.

Link copied to clipboard

Deletes the validation configuration for the specified application.

Link copied to clipboard

Deletes the specified replication job.

Link copied to clipboard

Deletes all servers from your server catalog.

Link copied to clipboard

Disassociates the specified connector from Server Migration Service.

Link copied to clipboard

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.

Link copied to clipboard

Generates an CloudFormation template based on the current launch configuration and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.

Link copied to clipboard
inline suspend fun SmsClient.getApp(crossinline block: GetAppRequest.Builder.() -> Unit): GetAppResponse

Retrieve information about the specified application.

Link copied to clipboard

Retrieves the application launch configuration associated with the specified application.

Link copied to clipboard

Retrieves the application replication configuration associated with the specified application.

Link copied to clipboard

Retrieves information about a configuration for validating an application.

Link copied to clipboard

Retrieves output from validating an application.

Link copied to clipboard
inline suspend fun SmsClient.getConnectors(crossinline block: GetConnectorsRequest.Builder.() -> Unit): GetConnectorsResponse

Describes the connectors registered with the Server Migration Service.

Link copied to clipboard
Link copied to clipboard

Describes the specified replication job or all of your replication jobs.

Link copied to clipboard

Describes the replication runs for the specified replication job.

Link copied to clipboard
inline suspend fun SmsClient.getServers(crossinline block: GetServersRequest.Builder.() -> Unit): GetServersResponse

Describes the servers in your server catalog.

Link copied to clipboard
fun SmsClient.getServersPaginated(initialRequest: GetServersRequest = GetServersRequest { }): Flow<GetServersResponse>

Paginate over GetServersResponse results.

Link copied to clipboard

Allows application import from Migration Hub.

Link copied to clipboard

Gathers a complete list of on-premises servers. Connectors must be installed and monitoring all servers to import.

Link copied to clipboard
inline suspend fun SmsClient.launchApp(crossinline block: LaunchAppRequest.Builder.() -> Unit): LaunchAppResponse

Launches the specified application as a stack in CloudFormation.

Link copied to clipboard
inline suspend fun SmsClient.listApps(crossinline block: ListAppsRequest.Builder.() -> Unit): ListAppsResponse

Retrieves summaries for all applications.

Link copied to clipboard

Provides information to Server Migration Service about whether application validation is successful.

Link copied to clipboard

Creates or updates the launch configuration for the specified application.

Link copied to clipboard

Creates or updates the replication configuration for the specified application.

Link copied to clipboard

Creates or updates a validation configuration for the specified application.

Link copied to clipboard

Starts replicating the specified application by creating replication jobs for each server in the application.

Link copied to clipboard

Starts an on-demand replication run for the specified application.

Link copied to clipboard

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.

Link copied to clipboard

Stops replicating the specified application by deleting the replication job for each server in the application.

Link copied to clipboard
inline suspend fun SmsClient.terminateApp(crossinline block: TerminateAppRequest.Builder.() -> Unit): TerminateAppResponse

Terminates the stack for the specified application.

Link copied to clipboard
inline suspend fun SmsClient.updateApp(crossinline block: UpdateAppRequest.Builder.() -> Unit): UpdateAppResponse

Updates the specified application.

Link copied to clipboard

Updates the specified settings for the specified replication job.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.