@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 AWSServerMigration
endpoint
- 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)
AWSServerMigration
AWSServerMigration.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 AWSServerMigration
region
- 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)
AWSServerMigration
Creates an application. An application consists of one or more server groups. Each server group contain one or more servers.
createApp
in interface AWSServerMigration
public CreateReplicationJobResult createReplicationJob(CreateReplicationJobRequest request)
AWSServerMigration
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).
createReplicationJob
in interface AWSServerMigration
public DeleteAppResult deleteApp(DeleteAppRequest request)
AWSServerMigration
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.
deleteApp
in interface AWSServerMigration
public DeleteAppLaunchConfigurationResult deleteAppLaunchConfiguration(DeleteAppLaunchConfigurationRequest request)
AWSServerMigration
Deletes the launch configuration for the specified application.
deleteAppLaunchConfiguration
in interface AWSServerMigration
public DeleteAppReplicationConfigurationResult deleteAppReplicationConfiguration(DeleteAppReplicationConfigurationRequest request)
AWSServerMigration
Deletes the replication configuration for the specified application.
deleteAppReplicationConfiguration
in interface AWSServerMigration
public DeleteAppValidationConfigurationResult deleteAppValidationConfiguration(DeleteAppValidationConfigurationRequest request)
AWSServerMigration
Deletes the validation configuration for the specified application.
deleteAppValidationConfiguration
in interface AWSServerMigration
public DeleteReplicationJobResult deleteReplicationJob(DeleteReplicationJobRequest request)
AWSServerMigration
Deletes 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 AWSServerMigration
public DeleteServerCatalogResult deleteServerCatalog(DeleteServerCatalogRequest request)
AWSServerMigration
Deletes all servers from your server catalog.
deleteServerCatalog
in interface AWSServerMigration
public DisassociateConnectorResult disassociateConnector(DisassociateConnectorRequest request)
AWSServerMigration
Disassociates the specified connector from Server Migration Service.
After you disassociate a connector, it is no longer available to support replication jobs.
disassociateConnector
in interface AWSServerMigration
public GenerateChangeSetResult generateChangeSet(GenerateChangeSetRequest request)
AWSServerMigration
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.
generateChangeSet
in interface AWSServerMigration
public GenerateTemplateResult generateTemplate(GenerateTemplateRequest request)
AWSServerMigration
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.
generateTemplate
in interface AWSServerMigration
public GetAppResult getApp(GetAppRequest request)
AWSServerMigration
Retrieve information about the specified application.
getApp
in interface AWSServerMigration
public GetAppLaunchConfigurationResult getAppLaunchConfiguration(GetAppLaunchConfigurationRequest request)
AWSServerMigration
Retrieves the application launch configuration associated with the specified application.
getAppLaunchConfiguration
in interface AWSServerMigration
public GetAppReplicationConfigurationResult getAppReplicationConfiguration(GetAppReplicationConfigurationRequest request)
AWSServerMigration
Retrieves the application replication configuration associated with the specified application.
getAppReplicationConfiguration
in interface AWSServerMigration
public GetAppValidationConfigurationResult getAppValidationConfiguration(GetAppValidationConfigurationRequest request)
AWSServerMigration
Retrieves information about a configuration for validating an application.
getAppValidationConfiguration
in interface AWSServerMigration
public GetAppValidationOutputResult getAppValidationOutput(GetAppValidationOutputRequest request)
AWSServerMigration
Retrieves output from validating an application.
getAppValidationOutput
in interface AWSServerMigration
public GetConnectorsResult getConnectors(GetConnectorsRequest request)
AWSServerMigration
Describes the connectors registered with the Server Migration Service.
getConnectors
in interface AWSServerMigration
public GetReplicationJobsResult getReplicationJobs(GetReplicationJobsRequest request)
AWSServerMigration
Describes the specified replication job or all of your replication jobs.
getReplicationJobs
in interface AWSServerMigration
public GetReplicationRunsResult getReplicationRuns(GetReplicationRunsRequest request)
AWSServerMigration
Describes the replication runs for the specified replication job.
getReplicationRuns
in interface AWSServerMigration
public GetServersResult getServers(GetServersRequest request)
AWSServerMigration
Describes the servers in your server catalog.
Before you can describe your servers, you must import them using ImportServerCatalog.
getServers
in interface AWSServerMigration
public ImportAppCatalogResult importAppCatalog(ImportAppCatalogRequest request)
AWSServerMigration
Allows application import from Migration Hub.
importAppCatalog
in interface AWSServerMigration
public ImportServerCatalogResult importServerCatalog(ImportServerCatalogRequest request)
AWSServerMigration
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.
importServerCatalog
in interface AWSServerMigration
public LaunchAppResult launchApp(LaunchAppRequest request)
AWSServerMigration
Launches the specified application as a stack in CloudFormation.
launchApp
in interface AWSServerMigration
public ListAppsResult listApps(ListAppsRequest request)
AWSServerMigration
Retrieves summaries for all applications.
listApps
in interface AWSServerMigration
public NotifyAppValidationOutputResult notifyAppValidationOutput(NotifyAppValidationOutputRequest request)
AWSServerMigration
Provides information to Server Migration Service about whether application validation is successful.
notifyAppValidationOutput
in interface AWSServerMigration
public PutAppLaunchConfigurationResult putAppLaunchConfiguration(PutAppLaunchConfigurationRequest request)
AWSServerMigration
Creates or updates the launch configuration for the specified application.
putAppLaunchConfiguration
in interface AWSServerMigration
public PutAppReplicationConfigurationResult putAppReplicationConfiguration(PutAppReplicationConfigurationRequest request)
AWSServerMigration
Creates or updates the replication configuration for the specified application.
putAppReplicationConfiguration
in interface AWSServerMigration
public PutAppValidationConfigurationResult putAppValidationConfiguration(PutAppValidationConfigurationRequest request)
AWSServerMigration
Creates or updates a validation configuration for the specified application.
putAppValidationConfiguration
in interface AWSServerMigration
public StartAppReplicationResult startAppReplication(StartAppReplicationRequest request)
AWSServerMigration
Starts replicating the specified application by creating replication jobs for each server in the application.
startAppReplication
in interface AWSServerMigration
public StartOnDemandAppReplicationResult startOnDemandAppReplication(StartOnDemandAppReplicationRequest request)
AWSServerMigration
Starts an on-demand replication run for the specified application.
startOnDemandAppReplication
in interface AWSServerMigration
public StartOnDemandReplicationRunResult startOnDemandReplicationRun(StartOnDemandReplicationRunRequest request)
AWSServerMigration
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.
startOnDemandReplicationRun
in interface AWSServerMigration
public StopAppReplicationResult stopAppReplication(StopAppReplicationRequest request)
AWSServerMigration
Stops replicating the specified application by deleting the replication job for each server in the application.
stopAppReplication
in interface AWSServerMigration
public TerminateAppResult terminateApp(TerminateAppRequest request)
AWSServerMigration
Terminates the stack for the specified application.
terminateApp
in interface AWSServerMigration
public UpdateAppResult updateApp(UpdateAppRequest request)
AWSServerMigration
Updates the specified application.
updateApp
in interface AWSServerMigration
public UpdateReplicationJobResult updateReplicationJob(UpdateReplicationJobRequest request)
AWSServerMigration
Updates the specified settings for the specified replication job.
updateReplicationJob
in interface AWSServerMigration
public void shutdown()
AWSServerMigration
shutdown
in interface AWSServerMigration
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSServerMigration
Response 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 AWSServerMigration
request
- The originally executed request.