@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSServerMigrationClient extends AmazonWebServiceClient implements AWSServerMigration
Amazon Server Migration Service automates the process of migrating servers to EC2.
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() |
CreateReplicationJobResult |
createReplicationJob(CreateReplicationJobRequest request)
The CreateReplicationJob API is used to create a ReplicationJob to replicate a server on AWS.
|
DeleteReplicationJobResult |
deleteReplicationJob(DeleteReplicationJobRequest request)
The DeleteReplicationJob API is used to delete a ReplicationJob, resulting in no further ReplicationRuns.
|
DeleteServerCatalogResult |
deleteServerCatalog(DeleteServerCatalogRequest request)
The DeleteServerCatalog API clears all servers from your server catalog.
|
DisassociateConnectorResult |
disassociateConnector(DisassociateConnectorRequest request)
The DisassociateConnector API will disassociate a connector from the Server Migration Service, rendering it
unavailable to support replication jobs.
|
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)
The GetConnectors API returns a list of connectors that are registered with the Server Migration Service.
|
GetReplicationJobsResult |
getReplicationJobs(GetReplicationJobsRequest request)
The GetReplicationJobs API will return all of your ReplicationJobs and their details.
|
GetReplicationRunsResult |
getReplicationRuns(GetReplicationRunsRequest request)
The GetReplicationRuns API will return all ReplicationRuns for a given ReplicationJob.
|
GetServersResult |
getServers(GetServersRequest request)
The GetServers API returns a list of all servers in your server catalog.
|
ImportServerCatalogResult |
importServerCatalog(ImportServerCatalogRequest request)
The ImportServerCatalog API is used to gather the complete list of on-premises servers on your premises.
|
StartOnDemandReplicationRunResult |
startOnDemandReplicationRun(StartOnDemandReplicationRunRequest request)
The StartOnDemandReplicationRun API is used to start a ReplicationRun on demand (in addition to those that are
scheduled based on your frequency).
|
UpdateReplicationJobResult |
updateReplicationJob(UpdateReplicationJobRequest request)
The UpdateReplicationJob API is used to change the settings of your existing ReplicationJob created using
CreateReplicationJob.
|
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setEndpoint, setRegion, shutdown
@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 CreateReplicationJobResult createReplicationJob(CreateReplicationJobRequest request)
createReplicationJob
in interface AWSServerMigration
createReplicationJobRequest
- InvalidParameterException
- A parameter specified in the request is not valid, is unsupported, or cannot be used.MissingRequiredParameterException
- The request is missing a required parameter. Ensure that you have supplied all the required parameters
for the request.UnauthorizedOperationException
- This user does not have permissions to perform this operation.OperationNotPermittedException
- The specified operation is not allowed. This error can occur for a number of reasons; for example, you
might be trying to start a Replication Run before seed Replication Run.ServerCannotBeReplicatedException
- The provided server cannot be replicated.ReplicationJobAlreadyExistsException
- An active Replication Job already exists for the specified server.NoConnectorsAvailableException
- No connectors are available to handle this request. Please associate connector(s) and verify any existing
connectors are healthy and can respond to requests.InternalErrorException
- An internal error has occured.public DeleteReplicationJobResult deleteReplicationJob(DeleteReplicationJobRequest request)
deleteReplicationJob
in interface AWSServerMigration
deleteReplicationJobRequest
- InvalidParameterException
- A parameter specified in the request is not valid, is unsupported, or cannot be used.MissingRequiredParameterException
- The request is missing a required parameter. Ensure that you have supplied all the required parameters
for the request.UnauthorizedOperationException
- This user does not have permissions to perform this operation.OperationNotPermittedException
- The specified operation is not allowed. This error can occur for a number of reasons; for example, you
might be trying to start a Replication Run before seed Replication Run.ReplicationJobNotFoundException
- The specified Replication Job cannot be found.public DeleteServerCatalogResult deleteServerCatalog(DeleteServerCatalogRequest request)
deleteServerCatalog
in interface AWSServerMigration
deleteServerCatalogRequest
- UnauthorizedOperationException
- This user does not have permissions to perform this operation.OperationNotPermittedException
- The specified operation is not allowed. This error can occur for a number of reasons; for example, you
might be trying to start a Replication Run before seed Replication Run.InvalidParameterException
- A parameter specified in the request is not valid, is unsupported, or cannot be used.MissingRequiredParameterException
- The request is missing a required parameter. Ensure that you have supplied all the required parameters
for the request.public DisassociateConnectorResult disassociateConnector(DisassociateConnectorRequest request)
disassociateConnector
in interface AWSServerMigration
disassociateConnectorRequest
- MissingRequiredParameterException
- The request is missing a required parameter. Ensure that you have supplied all the required parameters
for the request.UnauthorizedOperationException
- This user does not have permissions to perform this operation.OperationNotPermittedException
- The specified operation is not allowed. This error can occur for a number of reasons; for example, you
might be trying to start a Replication Run before seed Replication Run.InvalidParameterException
- A parameter specified in the request is not valid, is unsupported, or cannot be used.public GetConnectorsResult getConnectors(GetConnectorsRequest request)
getConnectors
in interface AWSServerMigration
getConnectorsRequest
- UnauthorizedOperationException
- This user does not have permissions to perform this operation.public GetReplicationJobsResult getReplicationJobs(GetReplicationJobsRequest request)
getReplicationJobs
in interface AWSServerMigration
getReplicationJobsRequest
- InvalidParameterException
- A parameter specified in the request is not valid, is unsupported, or cannot be used.MissingRequiredParameterException
- The request is missing a required parameter. Ensure that you have supplied all the required parameters
for the request.UnauthorizedOperationException
- This user does not have permissions to perform this operation.public GetReplicationRunsResult getReplicationRuns(GetReplicationRunsRequest request)
getReplicationRuns
in interface AWSServerMigration
getReplicationRunsRequest
- InvalidParameterException
- A parameter specified in the request is not valid, is unsupported, or cannot be used.MissingRequiredParameterException
- The request is missing a required parameter. Ensure that you have supplied all the required parameters
for the request.UnauthorizedOperationException
- This user does not have permissions to perform this operation.public GetServersResult getServers(GetServersRequest request)
getServers
in interface AWSServerMigration
getServersRequest
- UnauthorizedOperationException
- This user does not have permissions to perform this operation.public ImportServerCatalogResult importServerCatalog(ImportServerCatalogRequest request)
importServerCatalog
in interface AWSServerMigration
importServerCatalogRequest
- UnauthorizedOperationException
- This user does not have permissions to perform this operation.OperationNotPermittedException
- The specified operation is not allowed. This error can occur for a number of reasons; for example, you
might be trying to start a Replication Run before seed Replication Run.InvalidParameterException
- A parameter specified in the request is not valid, is unsupported, or cannot be used.MissingRequiredParameterException
- The request is missing a required parameter. Ensure that you have supplied all the required parameters
for the request.NoConnectorsAvailableException
- No connectors are available to handle this request. Please associate connector(s) and verify any existing
connectors are healthy and can respond to requests.public StartOnDemandReplicationRunResult startOnDemandReplicationRun(StartOnDemandReplicationRunRequest request)
startOnDemandReplicationRun
in interface AWSServerMigration
startOnDemandReplicationRunRequest
- InvalidParameterException
- A parameter specified in the request is not valid, is unsupported, or cannot be used.MissingRequiredParameterException
- The request is missing a required parameter. Ensure that you have supplied all the required parameters
for the request.UnauthorizedOperationException
- This user does not have permissions to perform this operation.OperationNotPermittedException
- The specified operation is not allowed. This error can occur for a number of reasons; for example, you
might be trying to start a Replication Run before seed Replication Run.ReplicationRunLimitExceededException
- This user has exceeded the maximum allowed Replication Run limit.public UpdateReplicationJobResult updateReplicationJob(UpdateReplicationJobRequest request)
updateReplicationJob
in interface AWSServerMigration
updateReplicationJobRequest
- InvalidParameterException
- A parameter specified in the request is not valid, is unsupported, or cannot be used.MissingRequiredParameterException
- The request is missing a required parameter. Ensure that you have supplied all the required parameters
for the request.OperationNotPermittedException
- The specified operation is not allowed. This error can occur for a number of reasons; for example, you
might be trying to start a Replication Run before seed Replication Run.UnauthorizedOperationException
- This user does not have permissions to perform this operation.ServerCannotBeReplicatedException
- The provided server cannot be replicated.ReplicationJobNotFoundException
- The specified Replication Job cannot be found.InternalErrorException
- An internal error has occured.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 requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.