@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSServerMigrationClient extends AmazonWebServiceClient implements AWSServerMigration
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:
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Constructor and Description |
---|
AWSServerMigrationClient()
Deprecated.
|
AWSServerMigrationClient(AWSCredentials awsCredentials)
Deprecated.
use
AwsClientBuilder.withCredentials(AWSCredentialsProvider) for example:
AWSServerMigrationClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(awsCredentials)).build(); |
AWSServerMigrationClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
|
AWSServerMigrationClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated.
|
AWSServerMigrationClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
|
AWSServerMigrationClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector)
|
AWSServerMigrationClient(ClientConfiguration clientConfiguration)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AWSServerMigrationClientBuilder |
builder() |
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 |
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.
|
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
setEndpoint, setRegion
@Deprecated public AWSServerMigrationClient()
AWSServerMigrationClientBuilder.defaultClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain
@Deprecated public AWSServerMigrationClient(ClientConfiguration clientConfiguration)
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration
- The client configuration options controlling how this client connects to SMS (ex: proxy settings, retry
counts, etc.).DefaultAWSCredentialsProviderChain
@Deprecated public AWSServerMigrationClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
for example:
AWSServerMigrationClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(awsCredentials)).build();
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.@Deprecated public AWSServerMigrationClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration
- The client configuration options controlling how this client connects to SMS (ex: proxy settings, retry
counts, etc.).@Deprecated public AWSServerMigrationClient(AWSCredentialsProvider awsCredentialsProvider)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.@Deprecated public AWSServerMigrationClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- The client configuration options controlling how this client connects to SMS (ex: proxy settings, retry
counts, etc.).@Deprecated public AWSServerMigrationClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, RequestMetricCollector requestMetricCollector)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
and
AwsClientBuilder.withMetricsCollector(RequestMetricCollector)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- The client configuration options controlling how this client connects to SMS (ex: proxy settings, retry
counts, etc.).requestMetricCollector
- optional request metric collectorpublic static AWSServerMigrationClientBuilder builder()
public CreateAppResult createApp(CreateAppRequest request)
Creates an application. An application consists of one or more server groups. Each server group contain one or more servers.
createApp
in interface AWSServerMigration
createAppRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.InternalErrorException
- An internal error occurred.OperationNotPermittedException
- This operation is not allowed.public CreateReplicationJobResult createReplicationJob(CreateReplicationJobRequest request)
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
createReplicationJobRequest
- InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.OperationNotPermittedException
- This operation is not allowed.ServerCannotBeReplicatedException
- The specified server cannot be replicated.ReplicationJobAlreadyExistsException
- The specified replication job already exists.NoConnectorsAvailableException
- There are no connectors available.InternalErrorException
- An internal error occurred.TemporarilyUnavailableException
- The service is temporarily unavailable.public DeleteAppResult deleteApp(DeleteAppRequest request)
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
deleteAppRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.InternalErrorException
- An internal error occurred.OperationNotPermittedException
- This operation is not allowed.public DeleteAppLaunchConfigurationResult deleteAppLaunchConfiguration(DeleteAppLaunchConfigurationRequest request)
Deletes the launch configuration for the specified application.
deleteAppLaunchConfiguration
in interface AWSServerMigration
deleteAppLaunchConfigurationRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.InternalErrorException
- An internal error occurred.OperationNotPermittedException
- This operation is not allowed.public DeleteAppReplicationConfigurationResult deleteAppReplicationConfiguration(DeleteAppReplicationConfigurationRequest request)
Deletes the replication configuration for the specified application.
deleteAppReplicationConfiguration
in interface AWSServerMigration
deleteAppReplicationConfigurationRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.InternalErrorException
- An internal error occurred.OperationNotPermittedException
- This operation is not allowed.public DeleteAppValidationConfigurationResult deleteAppValidationConfiguration(DeleteAppValidationConfigurationRequest request)
Deletes the validation configuration for the specified application.
deleteAppValidationConfiguration
in interface AWSServerMigration
deleteAppValidationConfigurationRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.InternalErrorException
- An internal error occurred.OperationNotPermittedException
- This operation is not allowed.public DeleteReplicationJobResult deleteReplicationJob(DeleteReplicationJobRequest request)
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
deleteReplicationJobRequest
- InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.OperationNotPermittedException
- This operation is not allowed.ReplicationJobNotFoundException
- The specified replication job does not exist.public DeleteServerCatalogResult deleteServerCatalog(DeleteServerCatalogRequest request)
Deletes all servers from your server catalog.
deleteServerCatalog
in interface AWSServerMigration
deleteServerCatalogRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.OperationNotPermittedException
- This operation is not allowed.InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.public DisassociateConnectorResult disassociateConnector(DisassociateConnectorRequest request)
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
disassociateConnectorRequest
- MissingRequiredParameterException
- A required parameter is missing.UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.OperationNotPermittedException
- This operation is not allowed.InvalidParameterException
- A specified parameter is not valid.public 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.
generateChangeSet
in interface AWSServerMigration
generateChangeSetRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.InternalErrorException
- An internal error occurred.OperationNotPermittedException
- This operation is not allowed.public 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.
generateTemplate
in interface AWSServerMigration
generateTemplateRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.InternalErrorException
- An internal error occurred.OperationNotPermittedException
- This operation is not allowed.public GetAppResult getApp(GetAppRequest request)
Retrieve information about the specified application.
getApp
in interface AWSServerMigration
getAppRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.InternalErrorException
- An internal error occurred.OperationNotPermittedException
- This operation is not allowed.public GetAppLaunchConfigurationResult getAppLaunchConfiguration(GetAppLaunchConfigurationRequest request)
Retrieves the application launch configuration associated with the specified application.
getAppLaunchConfiguration
in interface AWSServerMigration
getAppLaunchConfigurationRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.InternalErrorException
- An internal error occurred.OperationNotPermittedException
- This operation is not allowed.public GetAppReplicationConfigurationResult getAppReplicationConfiguration(GetAppReplicationConfigurationRequest request)
Retrieves the application replication configuration associated with the specified application.
getAppReplicationConfiguration
in interface AWSServerMigration
getAppReplicationConfigurationRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.InternalErrorException
- An internal error occurred.OperationNotPermittedException
- This operation is not allowed.public GetAppValidationConfigurationResult getAppValidationConfiguration(GetAppValidationConfigurationRequest request)
Retrieves information about a configuration for validating an application.
getAppValidationConfiguration
in interface AWSServerMigration
getAppValidationConfigurationRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.InternalErrorException
- An internal error occurred.OperationNotPermittedException
- This operation is not allowed.public GetAppValidationOutputResult getAppValidationOutput(GetAppValidationOutputRequest request)
Retrieves output from validating an application.
getAppValidationOutput
in interface AWSServerMigration
getAppValidationOutputRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.InternalErrorException
- An internal error occurred.OperationNotPermittedException
- This operation is not allowed.public GetConnectorsResult getConnectors(GetConnectorsRequest request)
Describes the connectors registered with the Server Migration Service.
getConnectors
in interface AWSServerMigration
getConnectorsRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.public GetReplicationJobsResult getReplicationJobs(GetReplicationJobsRequest request)
Describes the specified replication job or all of your replication jobs.
getReplicationJobs
in interface AWSServerMigration
getReplicationJobsRequest
- InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.public GetReplicationRunsResult getReplicationRuns(GetReplicationRunsRequest request)
Describes the replication runs for the specified replication job.
getReplicationRuns
in interface AWSServerMigration
getReplicationRunsRequest
- InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.public GetServersResult getServers(GetServersRequest request)
Describes the servers in your server catalog.
Before you can describe your servers, you must import them using ImportServerCatalog.
getServers
in interface AWSServerMigration
getServersRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.InternalErrorException
- An internal error occurred.public ImportAppCatalogResult importAppCatalog(ImportAppCatalogRequest request)
Allows application import from Migration Hub.
importAppCatalog
in interface AWSServerMigration
importAppCatalogRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.InternalErrorException
- An internal error occurred.OperationNotPermittedException
- This operation is not allowed.public ImportServerCatalogResult importServerCatalog(ImportServerCatalogRequest request)
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
importServerCatalogRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.OperationNotPermittedException
- This operation is not allowed.InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.NoConnectorsAvailableException
- There are no connectors available.public LaunchAppResult launchApp(LaunchAppRequest request)
Launches the specified application as a stack in CloudFormation.
launchApp
in interface AWSServerMigration
launchAppRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.InternalErrorException
- An internal error occurred.OperationNotPermittedException
- This operation is not allowed.public ListAppsResult listApps(ListAppsRequest request)
Retrieves summaries for all applications.
listApps
in interface AWSServerMigration
listAppsRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.InternalErrorException
- An internal error occurred.OperationNotPermittedException
- This operation is not allowed.public NotifyAppValidationOutputResult notifyAppValidationOutput(NotifyAppValidationOutputRequest request)
Provides information to Server Migration Service about whether application validation is successful.
notifyAppValidationOutput
in interface AWSServerMigration
notifyAppValidationOutputRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.InternalErrorException
- An internal error occurred.OperationNotPermittedException
- This operation is not allowed.public PutAppLaunchConfigurationResult putAppLaunchConfiguration(PutAppLaunchConfigurationRequest request)
Creates or updates the launch configuration for the specified application.
putAppLaunchConfiguration
in interface AWSServerMigration
putAppLaunchConfigurationRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.InternalErrorException
- An internal error occurred.OperationNotPermittedException
- This operation is not allowed.public PutAppReplicationConfigurationResult putAppReplicationConfiguration(PutAppReplicationConfigurationRequest request)
Creates or updates the replication configuration for the specified application.
putAppReplicationConfiguration
in interface AWSServerMigration
putAppReplicationConfigurationRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.InternalErrorException
- An internal error occurred.OperationNotPermittedException
- This operation is not allowed.public PutAppValidationConfigurationResult putAppValidationConfiguration(PutAppValidationConfigurationRequest request)
Creates or updates a validation configuration for the specified application.
putAppValidationConfiguration
in interface AWSServerMigration
putAppValidationConfigurationRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.InternalErrorException
- An internal error occurred.OperationNotPermittedException
- This operation is not allowed.public StartAppReplicationResult startAppReplication(StartAppReplicationRequest request)
Starts replicating the specified application by creating replication jobs for each server in the application.
startAppReplication
in interface AWSServerMigration
startAppReplicationRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.InternalErrorException
- An internal error occurred.OperationNotPermittedException
- This operation is not allowed.public StartOnDemandAppReplicationResult startOnDemandAppReplication(StartOnDemandAppReplicationRequest request)
Starts an on-demand replication run for the specified application.
startOnDemandAppReplication
in interface AWSServerMigration
startOnDemandAppReplicationRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.InternalErrorException
- An internal error occurred.OperationNotPermittedException
- This operation is not allowed.public StartOnDemandReplicationRunResult startOnDemandReplicationRun(StartOnDemandReplicationRunRequest request)
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
startOnDemandReplicationRunRequest
- InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.OperationNotPermittedException
- This operation is not allowed.ReplicationRunLimitExceededException
- You have exceeded the number of on-demand replication runs you can request in a 24-hour period.DryRunOperationException
- The user has the required permissions, so the request would have succeeded, but a dry run was performed.public StopAppReplicationResult stopAppReplication(StopAppReplicationRequest request)
Stops replicating the specified application by deleting the replication job for each server in the application.
stopAppReplication
in interface AWSServerMigration
stopAppReplicationRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.InternalErrorException
- An internal error occurred.OperationNotPermittedException
- This operation is not allowed.public TerminateAppResult terminateApp(TerminateAppRequest request)
Terminates the stack for the specified application.
terminateApp
in interface AWSServerMigration
terminateAppRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.InternalErrorException
- An internal error occurred.OperationNotPermittedException
- This operation is not allowed.public UpdateAppResult updateApp(UpdateAppRequest request)
Updates the specified application.
updateApp
in interface AWSServerMigration
updateAppRequest
- UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.InternalErrorException
- An internal error occurred.OperationNotPermittedException
- This operation is not allowed.public UpdateReplicationJobResult updateReplicationJob(UpdateReplicationJobRequest request)
Updates the specified settings for the specified replication job.
updateReplicationJob
in interface AWSServerMigration
updateReplicationJobRequest
- InvalidParameterException
- A specified parameter is not valid.MissingRequiredParameterException
- A required parameter is missing.OperationNotPermittedException
- This operation is not allowed.UnauthorizedOperationException
- You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are
using the correct access keys.ServerCannotBeReplicatedException
- The specified server cannot be replicated.ReplicationJobNotFoundException
- The specified replication job does not exist.InternalErrorException
- An internal error occurred.TemporarilyUnavailableException
- The service is temporarily unavailable.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
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 the request.
getCachedResponseMetadata
in interface AWSServerMigration
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AWSServerMigration
shutdown
in class AmazonWebServiceClient