@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 an existing application.
|
DeleteAppLaunchConfigurationResult |
deleteAppLaunchConfiguration(DeleteAppLaunchConfigurationRequest request)
Deletes existing launch configuration for an application.
|
DeleteAppReplicationConfigurationResult |
deleteAppReplicationConfiguration(DeleteAppReplicationConfigurationRequest request)
Deletes existing replication configuration for an 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 AWS SMS.
|
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 Amazon 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 an application.
|
GetAppLaunchConfigurationResult |
getAppLaunchConfiguration(GetAppLaunchConfigurationRequest request)
Retrieves the application launch configuration associated with an application.
|
GetAppReplicationConfigurationResult |
getAppReplicationConfiguration(GetAppReplicationConfigurationRequest request)
Retrieves an application replication configuration associatd with 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 AWS SMS.
|
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.
|
ImportServerCatalogResult |
importServerCatalog(ImportServerCatalogRequest request)
Gathers a complete list of on-premises servers.
|
LaunchAppResult |
launchApp(LaunchAppRequest request)
Launches an application stack.
|
ListAppsResult |
listApps(ListAppsRequest request)
Returns a list of summaries for all applications.
|
PutAppLaunchConfigurationResult |
putAppLaunchConfiguration(PutAppLaunchConfigurationRequest request)
Creates a launch configuration for an application.
|
PutAppReplicationConfigurationResult |
putAppReplicationConfiguration(PutAppReplicationConfigurationRequest request)
Creates or updates a replication configuration for an 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 an application.
|
StartOnDemandReplicationRunResult |
startOnDemandReplicationRun(StartOnDemandReplicationRunRequest request)
Starts an on-demand replication run for the specified replication job.
|
StopAppReplicationResult |
stopAppReplication(StopAppReplicationRequest request)
Stops replicating an application.
|
TerminateAppResult |
terminateApp(TerminateAppRequest request)
Terminates the stack for an application.
|
UpdateAppResult |
updateApp(UpdateAppRequest request)
Updates an 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 AWS. Each replication run creates an Amazon Machine Image (AMI).
createReplicationJob in interface AWSServerMigrationpublic DeleteAppResult deleteApp(DeleteAppRequest request)
AWSServerMigrationDeletes an existing application. Optionally deletes the launched stack associated with the application and all AWS SMS replication jobs for servers in the application.
deleteApp in interface AWSServerMigrationpublic DeleteAppLaunchConfigurationResult deleteAppLaunchConfiguration(DeleteAppLaunchConfigurationRequest request)
AWSServerMigrationDeletes existing launch configuration for an application.
deleteAppLaunchConfiguration in interface AWSServerMigrationpublic DeleteAppReplicationConfigurationResult deleteAppReplicationConfiguration(DeleteAppReplicationConfigurationRequest request)
AWSServerMigrationDeletes existing replication configuration for an application.
deleteAppReplicationConfiguration in interface AWSServerMigrationpublic DeleteReplicationJobResult deleteReplicationJob(DeleteReplicationJobRequest request)
AWSServerMigrationDeletes 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.
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 AWS SMS.
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 Amazon 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 an application.
getApp in interface AWSServerMigrationpublic GetAppLaunchConfigurationResult getAppLaunchConfiguration(GetAppLaunchConfigurationRequest request)
AWSServerMigrationRetrieves the application launch configuration associated with an application.
getAppLaunchConfiguration in interface AWSServerMigrationpublic GetAppReplicationConfigurationResult getAppReplicationConfiguration(GetAppReplicationConfigurationRequest request)
AWSServerMigrationRetrieves an application replication configuration associatd with an application.
getAppReplicationConfiguration in interface AWSServerMigrationpublic GetConnectorsResult getConnectors(GetConnectorsRequest request)
AWSServerMigrationDescribes the connectors registered with the AWS SMS.
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 ImportServerCatalogResult importServerCatalog(ImportServerCatalogRequest request)
AWSServerMigrationGathers a complete list of on-premises servers. Connectors must be installed and monitoring all servers that you want 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 an application stack.
launchApp in interface AWSServerMigrationpublic ListAppsResult listApps(ListAppsRequest request)
AWSServerMigrationReturns a list of summaries for all applications.
listApps in interface AWSServerMigrationpublic PutAppLaunchConfigurationResult putAppLaunchConfiguration(PutAppLaunchConfigurationRequest request)
AWSServerMigrationCreates a launch configuration for an application.
putAppLaunchConfiguration in interface AWSServerMigrationpublic PutAppReplicationConfigurationResult putAppReplicationConfiguration(PutAppReplicationConfigurationRequest request)
AWSServerMigrationCreates or updates a replication configuration for an application.
putAppReplicationConfiguration in interface AWSServerMigrationpublic StartAppReplicationResult startAppReplication(StartAppReplicationRequest request)
AWSServerMigrationStarts replicating an application.
startAppReplication 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 you can request in a 24-hour period.
startOnDemandReplicationRun in interface AWSServerMigrationpublic StopAppReplicationResult stopAppReplication(StopAppReplicationRequest request)
AWSServerMigrationStops replicating an application.
stopAppReplication in interface AWSServerMigrationpublic TerminateAppResult terminateApp(TerminateAppRequest request)
AWSServerMigrationTerminates the stack for an application.
terminateApp in interface AWSServerMigrationpublic UpdateAppResult updateApp(UpdateAppRequest request)
AWSServerMigrationUpdates an 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.