@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSServerMigration extends Object implements AWSServerMigration
AWSServerMigration. Convenient method forms pass through to the corresponding
overload that takes a request object, which throws an UnsupportedOperationException.ENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
CreateAppResult |
createApp(CreateAppRequest request)
Creates an application.
|
CreateReplicationJobResult |
createReplicationJob(CreateReplicationJobRequest request)
Creates a replication job.
|
DeleteAppResult |
deleteApp(DeleteAppRequest request)
Deletes the specified application.
|
DeleteAppLaunchConfigurationResult |
deleteAppLaunchConfiguration(DeleteAppLaunchConfigurationRequest request)
Deletes the launch configuration for the specified application.
|
DeleteAppReplicationConfigurationResult |
deleteAppReplicationConfiguration(DeleteAppReplicationConfigurationRequest request)
Deletes the replication configuration for the specified application.
|
DeleteAppValidationConfigurationResult |
deleteAppValidationConfiguration(DeleteAppValidationConfigurationRequest request)
Deletes the validation configuration for the specified application.
|
DeleteReplicationJobResult |
deleteReplicationJob(DeleteReplicationJobRequest request)
Deletes the specified replication job.
|
DeleteServerCatalogResult |
deleteServerCatalog(DeleteServerCatalogRequest request)
Deletes all servers from your server catalog.
|
DisassociateConnectorResult |
disassociateConnector(DisassociateConnectorRequest request)
Disassociates the specified connector from Server Migration Service.
|
GenerateChangeSetResult |
generateChangeSet(GenerateChangeSetRequest request)
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.
|
GenerateTemplateResult |
generateTemplate(GenerateTemplateRequest request)
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.
|
GetAppResult |
getApp(GetAppRequest request)
Retrieve information about the specified application.
|
GetAppLaunchConfigurationResult |
getAppLaunchConfiguration(GetAppLaunchConfigurationRequest request)
Retrieves the application launch configuration associated with the specified application.
|
GetAppReplicationConfigurationResult |
getAppReplicationConfiguration(GetAppReplicationConfigurationRequest request)
Retrieves the application replication configuration associated with the specified application.
|
GetAppValidationConfigurationResult |
getAppValidationConfiguration(GetAppValidationConfigurationRequest request)
Retrieves information about a configuration for validating an application.
|
GetAppValidationOutputResult |
getAppValidationOutput(GetAppValidationOutputRequest request)
Retrieves output from validating an application.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetConnectorsResult |
getConnectors(GetConnectorsRequest request)
Describes the connectors registered with the Server Migration Service.
|
GetReplicationJobsResult |
getReplicationJobs(GetReplicationJobsRequest request)
Describes the specified replication job or all of your replication jobs.
|
GetReplicationRunsResult |
getReplicationRuns(GetReplicationRunsRequest request)
Describes the replication runs for the specified replication job.
|
GetServersResult |
getServers(GetServersRequest request)
Describes the servers in your server catalog.
|
ImportAppCatalogResult |
importAppCatalog(ImportAppCatalogRequest request)
Allows application import from Migration Hub.
|
ImportServerCatalogResult |
importServerCatalog(ImportServerCatalogRequest request)
Gathers a complete list of on-premises servers.
|
LaunchAppResult |
launchApp(LaunchAppRequest request)
Launches the specified application as a stack in CloudFormation.
|
ListAppsResult |
listApps(ListAppsRequest request)
Retrieves summaries for all applications.
|
NotifyAppValidationOutputResult |
notifyAppValidationOutput(NotifyAppValidationOutputRequest request)
Provides information to Server Migration Service about whether application validation is successful.
|
PutAppLaunchConfigurationResult |
putAppLaunchConfiguration(PutAppLaunchConfigurationRequest request)
Creates or updates the launch configuration for the specified application.
|
PutAppReplicationConfigurationResult |
putAppReplicationConfiguration(PutAppReplicationConfigurationRequest request)
Creates or updates the replication configuration for the specified application.
|
PutAppValidationConfigurationResult |
putAppValidationConfiguration(PutAppValidationConfigurationRequest request)
Creates or updates a validation configuration for the specified application.
|
void |
setEndpoint(String endpoint)
Overrides the default endpoint for this client ("sms.us-east-1.amazonaws.com").
|
void |
setRegion(Region region)
An alternative to
AWSServerMigration.setEndpoint(String), sets the regional endpoint for this client's
service calls. |
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartAppReplicationResult |
startAppReplication(StartAppReplicationRequest request)
Starts replicating the specified application by creating replication jobs for each server in the application.
|
StartOnDemandAppReplicationResult |
startOnDemandAppReplication(StartOnDemandAppReplicationRequest request)
Starts an on-demand replication run for the specified application.
|
StartOnDemandReplicationRunResult |
startOnDemandReplicationRun(StartOnDemandReplicationRunRequest request)
Starts an on-demand replication run for the specified replication job.
|
StopAppReplicationResult |
stopAppReplication(StopAppReplicationRequest request)
Stops replicating the specified application by deleting the replication job for each server in the application.
|
TerminateAppResult |
terminateApp(TerminateAppRequest request)
Terminates the stack for the specified application.
|
UpdateAppResult |
updateApp(UpdateAppRequest request)
Updates the specified application.
|
UpdateReplicationJobResult |
updateReplicationJob(UpdateReplicationJobRequest request)
Updates the specified settings for the specified replication job.
|
public void setEndpoint(String endpoint)
AWSServerMigration
Callers can pass in just the endpoint (ex: "sms.us-east-1.amazonaws.com") or a full URL, including the protocol
(ex: "sms.us-east-1.amazonaws.com"). If the protocol is not specified here, the default protocol from this
client's ClientConfiguration will be used, which by default is HTTPS.
For more information on using AWS regions with the AWS SDK for Java, and a complete list of all available endpoints for all AWS services, see: https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/java-dg-region-selection.html#region-selection- choose-endpoint
This method is not threadsafe. An endpoint should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
setEndpoint in interface AWSServerMigrationendpoint - The endpoint (ex: "sms.us-east-1.amazonaws.com") or a full URL, including the protocol (ex:
"sms.us-east-1.amazonaws.com") of the region specific AWS endpoint this client will communicate with.public void setRegion(Region region)
AWSServerMigrationAWSServerMigration.setEndpoint(String), sets the regional endpoint for this client's
service calls. Callers can use this method to control which AWS region they want to work with.
By default, all service endpoints in all regions use the https protocol. To use http instead, specify it in the
ClientConfiguration supplied at construction.
This method is not threadsafe. A region should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
setRegion in interface AWSServerMigrationregion - The region this client will communicate with. See Region.getRegion(com.amazonaws.regions.Regions)
for accessing a given region. Must not be null and must be a region where the service is available.Region.getRegion(com.amazonaws.regions.Regions),
Region.createClient(Class, com.amazonaws.auth.AWSCredentialsProvider, ClientConfiguration),
Region.isServiceSupported(String)public CreateAppResult createApp(CreateAppRequest request)
AWSServerMigrationCreates an application. An application consists of one or more server groups. Each server group contain one or more servers.
createApp in interface AWSServerMigrationpublic CreateReplicationJobResult createReplicationJob(CreateReplicationJobRequest request)
AWSServerMigrationCreates 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).
createReplicationJob in interface AWSServerMigrationpublic DeleteAppResult deleteApp(DeleteAppRequest request)
AWSServerMigrationDeletes the specified application. Optionally deletes the launched stack associated with the application and all Server Migration Service replication jobs for servers in the application.
deleteApp in interface AWSServerMigrationpublic DeleteAppLaunchConfigurationResult deleteAppLaunchConfiguration(DeleteAppLaunchConfigurationRequest request)
AWSServerMigrationDeletes the launch configuration for the specified application.
deleteAppLaunchConfiguration in interface AWSServerMigrationpublic DeleteAppReplicationConfigurationResult deleteAppReplicationConfiguration(DeleteAppReplicationConfigurationRequest request)
AWSServerMigrationDeletes the replication configuration for the specified application.
deleteAppReplicationConfiguration in interface AWSServerMigrationpublic DeleteAppValidationConfigurationResult deleteAppValidationConfiguration(DeleteAppValidationConfigurationRequest request)
AWSServerMigrationDeletes the validation configuration for the specified application.
deleteAppValidationConfiguration in interface AWSServerMigrationpublic DeleteReplicationJobResult deleteReplicationJob(DeleteReplicationJobRequest request)
AWSServerMigrationDeletes 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.
deleteReplicationJob in interface AWSServerMigrationpublic DeleteServerCatalogResult deleteServerCatalog(DeleteServerCatalogRequest request)
AWSServerMigrationDeletes all servers from your server catalog.
deleteServerCatalog in interface AWSServerMigrationpublic DisassociateConnectorResult disassociateConnector(DisassociateConnectorRequest request)
AWSServerMigrationDisassociates the specified connector from Server Migration Service.
After you disassociate a connector, it is no longer available to support replication jobs.
disassociateConnector in interface AWSServerMigrationpublic GenerateChangeSetResult generateChangeSet(GenerateChangeSetRequest request)
AWSServerMigrationGenerates a target change set for a currently launched stack and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
generateChangeSet in interface AWSServerMigrationpublic GenerateTemplateResult generateTemplate(GenerateTemplateRequest request)
AWSServerMigrationGenerates an CloudFormation template based on the current launch configuration and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
generateTemplate in interface AWSServerMigrationpublic GetAppResult getApp(GetAppRequest request)
AWSServerMigrationRetrieve information about the specified application.
getApp in interface AWSServerMigrationpublic GetAppLaunchConfigurationResult getAppLaunchConfiguration(GetAppLaunchConfigurationRequest request)
AWSServerMigrationRetrieves the application launch configuration associated with the specified application.
getAppLaunchConfiguration in interface AWSServerMigrationpublic GetAppReplicationConfigurationResult getAppReplicationConfiguration(GetAppReplicationConfigurationRequest request)
AWSServerMigrationRetrieves the application replication configuration associated with the specified application.
getAppReplicationConfiguration in interface AWSServerMigrationpublic GetAppValidationConfigurationResult getAppValidationConfiguration(GetAppValidationConfigurationRequest request)
AWSServerMigrationRetrieves information about a configuration for validating an application.
getAppValidationConfiguration in interface AWSServerMigrationpublic GetAppValidationOutputResult getAppValidationOutput(GetAppValidationOutputRequest request)
AWSServerMigrationRetrieves output from validating an application.
getAppValidationOutput in interface AWSServerMigrationpublic GetConnectorsResult getConnectors(GetConnectorsRequest request)
AWSServerMigrationDescribes the connectors registered with the Server Migration Service.
getConnectors in interface AWSServerMigrationpublic GetReplicationJobsResult getReplicationJobs(GetReplicationJobsRequest request)
AWSServerMigrationDescribes the specified replication job or all of your replication jobs.
getReplicationJobs in interface AWSServerMigrationpublic GetReplicationRunsResult getReplicationRuns(GetReplicationRunsRequest request)
AWSServerMigrationDescribes the replication runs for the specified replication job.
getReplicationRuns in interface AWSServerMigrationpublic GetServersResult getServers(GetServersRequest request)
AWSServerMigrationDescribes the servers in your server catalog.
Before you can describe your servers, you must import them using ImportServerCatalog.
getServers in interface AWSServerMigrationpublic ImportAppCatalogResult importAppCatalog(ImportAppCatalogRequest request)
AWSServerMigrationAllows application import from Migration Hub.
importAppCatalog in interface AWSServerMigrationpublic ImportServerCatalogResult importServerCatalog(ImportServerCatalogRequest request)
AWSServerMigrationGathers 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.
importServerCatalog in interface AWSServerMigrationpublic LaunchAppResult launchApp(LaunchAppRequest request)
AWSServerMigrationLaunches the specified application as a stack in CloudFormation.
launchApp in interface AWSServerMigrationpublic ListAppsResult listApps(ListAppsRequest request)
AWSServerMigrationRetrieves summaries for all applications.
listApps in interface AWSServerMigrationpublic NotifyAppValidationOutputResult notifyAppValidationOutput(NotifyAppValidationOutputRequest request)
AWSServerMigrationProvides information to Server Migration Service about whether application validation is successful.
notifyAppValidationOutput in interface AWSServerMigrationpublic PutAppLaunchConfigurationResult putAppLaunchConfiguration(PutAppLaunchConfigurationRequest request)
AWSServerMigrationCreates or updates the launch configuration for the specified application.
putAppLaunchConfiguration in interface AWSServerMigrationpublic PutAppReplicationConfigurationResult putAppReplicationConfiguration(PutAppReplicationConfigurationRequest request)
AWSServerMigrationCreates or updates the replication configuration for the specified application.
putAppReplicationConfiguration in interface AWSServerMigrationpublic PutAppValidationConfigurationResult putAppValidationConfiguration(PutAppValidationConfigurationRequest request)
AWSServerMigrationCreates or updates a validation configuration for the specified application.
putAppValidationConfiguration in interface AWSServerMigrationpublic StartAppReplicationResult startAppReplication(StartAppReplicationRequest request)
AWSServerMigrationStarts replicating the specified application by creating replication jobs for each server in the application.
startAppReplication in interface AWSServerMigrationpublic StartOnDemandAppReplicationResult startOnDemandAppReplication(StartOnDemandAppReplicationRequest request)
AWSServerMigrationStarts an on-demand replication run for the specified application.
startOnDemandAppReplication in interface AWSServerMigrationpublic StartOnDemandReplicationRunResult startOnDemandReplicationRun(StartOnDemandReplicationRunRequest request)
AWSServerMigrationStarts 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.
startOnDemandReplicationRun in interface AWSServerMigrationpublic StopAppReplicationResult stopAppReplication(StopAppReplicationRequest request)
AWSServerMigrationStops replicating the specified application by deleting the replication job for each server in the application.
stopAppReplication in interface AWSServerMigrationpublic TerminateAppResult terminateApp(TerminateAppRequest request)
AWSServerMigrationTerminates the stack for the specified application.
terminateApp in interface AWSServerMigrationpublic UpdateAppResult updateApp(UpdateAppRequest request)
AWSServerMigrationUpdates the specified application.
updateApp in interface AWSServerMigrationpublic UpdateReplicationJobResult updateReplicationJob(UpdateReplicationJobRequest request)
AWSServerMigrationUpdates the specified settings for the specified replication job.
updateReplicationJob in interface AWSServerMigrationpublic void shutdown()
AWSServerMigrationshutdown in interface AWSServerMigrationpublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSServerMigrationResponse metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata in interface AWSServerMigrationrequest - The originally executed request.