@Generated(value="software.amazon.awssdk:codegen") public interface SmsClient extends SdkClient
builder()
method.
Amazon Server Migration Service automates the process of migrating servers to EC2.Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
static SmsClientBuilder |
builder()
Create a builder that can be used to configure and create a
SmsClient . |
static SmsClient |
create()
Create a
SmsClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CreateReplicationJobResponse |
createReplicationJob(Consumer<CreateReplicationJobRequest.Builder> createReplicationJobRequest)
The CreateReplicationJob API is used to create a ReplicationJob to replicate a server on AWS.
|
default CreateReplicationJobResponse |
createReplicationJob(CreateReplicationJobRequest createReplicationJobRequest)
The CreateReplicationJob API is used to create a ReplicationJob to replicate a server on AWS.
|
default DeleteReplicationJobResponse |
deleteReplicationJob(Consumer<DeleteReplicationJobRequest.Builder> deleteReplicationJobRequest)
The DeleteReplicationJob API is used to delete a ReplicationJob, resulting in no further ReplicationRuns.
|
default DeleteReplicationJobResponse |
deleteReplicationJob(DeleteReplicationJobRequest deleteReplicationJobRequest)
The DeleteReplicationJob API is used to delete a ReplicationJob, resulting in no further ReplicationRuns.
|
default DeleteServerCatalogResponse |
deleteServerCatalog()
The DeleteServerCatalog API clears all servers from your server catalog.
|
default DeleteServerCatalogResponse |
deleteServerCatalog(Consumer<DeleteServerCatalogRequest.Builder> deleteServerCatalogRequest)
The DeleteServerCatalog API clears all servers from your server catalog.
|
default DeleteServerCatalogResponse |
deleteServerCatalog(DeleteServerCatalogRequest deleteServerCatalogRequest)
The DeleteServerCatalog API clears all servers from your server catalog.
|
default DisassociateConnectorResponse |
disassociateConnector(Consumer<DisassociateConnectorRequest.Builder> disassociateConnectorRequest)
The DisassociateConnector API will disassociate a connector from the Server Migration Service, rendering it
unavailable to support replication jobs.
|
default DisassociateConnectorResponse |
disassociateConnector(DisassociateConnectorRequest disassociateConnectorRequest)
The DisassociateConnector API will disassociate a connector from the Server Migration Service, rendering it
unavailable to support replication jobs.
|
default GetConnectorsResponse |
getConnectors()
The GetConnectors API returns a list of connectors that are registered with the Server Migration Service.
|
default GetConnectorsResponse |
getConnectors(Consumer<GetConnectorsRequest.Builder> getConnectorsRequest)
The GetConnectors API returns a list of connectors that are registered with the Server Migration Service.
|
default GetConnectorsResponse |
getConnectors(GetConnectorsRequest getConnectorsRequest)
The GetConnectors API returns a list of connectors that are registered with the Server Migration Service.
|
default GetReplicationJobsResponse |
getReplicationJobs()
The GetReplicationJobs API will return all of your ReplicationJobs and their details.
|
default GetReplicationJobsResponse |
getReplicationJobs(Consumer<GetReplicationJobsRequest.Builder> getReplicationJobsRequest)
The GetReplicationJobs API will return all of your ReplicationJobs and their details.
|
default GetReplicationJobsResponse |
getReplicationJobs(GetReplicationJobsRequest getReplicationJobsRequest)
The GetReplicationJobs API will return all of your ReplicationJobs and their details.
|
default GetReplicationRunsResponse |
getReplicationRuns(Consumer<GetReplicationRunsRequest.Builder> getReplicationRunsRequest)
The GetReplicationRuns API will return all ReplicationRuns for a given ReplicationJob.
|
default GetReplicationRunsResponse |
getReplicationRuns(GetReplicationRunsRequest getReplicationRunsRequest)
The GetReplicationRuns API will return all ReplicationRuns for a given ReplicationJob.
|
default GetServersResponse |
getServers()
The GetServers API returns a list of all servers in your server catalog.
|
default GetServersResponse |
getServers(Consumer<GetServersRequest.Builder> getServersRequest)
The GetServers API returns a list of all servers in your server catalog.
|
default GetServersResponse |
getServers(GetServersRequest getServersRequest)
The GetServers API returns a list of all servers in your server catalog.
|
default ImportServerCatalogResponse |
importServerCatalog()
The ImportServerCatalog API is used to gather the complete list of on-premises servers on your premises.
|
default ImportServerCatalogResponse |
importServerCatalog(Consumer<ImportServerCatalogRequest.Builder> importServerCatalogRequest)
The ImportServerCatalog API is used to gather the complete list of on-premises servers on your premises.
|
default ImportServerCatalogResponse |
importServerCatalog(ImportServerCatalogRequest importServerCatalogRequest)
The ImportServerCatalog API is used to gather the complete list of on-premises servers on your premises.
|
static ServiceMetadata |
serviceMetadata() |
default StartOnDemandReplicationRunResponse |
startOnDemandReplicationRun(Consumer<StartOnDemandReplicationRunRequest.Builder> startOnDemandReplicationRunRequest)
The StartOnDemandReplicationRun API is used to start a ReplicationRun on demand (in addition to those that are
scheduled based on your frequency).
|
default StartOnDemandReplicationRunResponse |
startOnDemandReplicationRun(StartOnDemandReplicationRunRequest startOnDemandReplicationRunRequest)
The StartOnDemandReplicationRun API is used to start a ReplicationRun on demand (in addition to those that are
scheduled based on your frequency).
|
default UpdateReplicationJobResponse |
updateReplicationJob(Consumer<UpdateReplicationJobRequest.Builder> updateReplicationJobRequest)
The UpdateReplicationJob API is used to change the settings of your existing ReplicationJob created using
CreateReplicationJob.
|
default UpdateReplicationJobResponse |
updateReplicationJob(UpdateReplicationJobRequest updateReplicationJobRequest)
The UpdateReplicationJob API is used to change the settings of your existing ReplicationJob created using
CreateReplicationJob.
|
serviceName
close
static final String SERVICE_NAME
static SmsClient create()
SmsClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static SmsClientBuilder builder()
SmsClient
.default CreateReplicationJobResponse createReplicationJob(CreateReplicationJobRequest createReplicationJobRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, ServerCannotBeReplicatedException, ReplicationJobAlreadyExistsException, NoConnectorsAvailableException, InternalErrorException, AwsServiceException, SdkClientException, SmsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SmsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateReplicationJobResponse createReplicationJob(Consumer<CreateReplicationJobRequest.Builder> createReplicationJobRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, ServerCannotBeReplicatedException, ReplicationJobAlreadyExistsException, NoConnectorsAvailableException, InternalErrorException, AwsServiceException, SdkClientException, SmsException
This is a convenience which creates an instance of the CreateReplicationJobRequest.Builder
avoiding the
need to create one manually via CreateReplicationJobRequest.builder()
createReplicationJobRequest
- A Consumer
that will call methods on CreateReplicationJobRequest.Builder
to create a
request.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SmsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteReplicationJobResponse deleteReplicationJob(DeleteReplicationJobRequest deleteReplicationJobRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, ReplicationJobNotFoundException, AwsServiceException, SdkClientException, SmsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SmsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteReplicationJobResponse deleteReplicationJob(Consumer<DeleteReplicationJobRequest.Builder> deleteReplicationJobRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, ReplicationJobNotFoundException, AwsServiceException, SdkClientException, SmsException
This is a convenience which creates an instance of the DeleteReplicationJobRequest.Builder
avoiding the
need to create one manually via DeleteReplicationJobRequest.builder()
deleteReplicationJobRequest
- A Consumer
that will call methods on DeleteReplicationJobRequest.Builder
to create a
request.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SmsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteServerCatalogResponse deleteServerCatalog() throws UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, MissingRequiredParameterException, AwsServiceException, SdkClientException, SmsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SmsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
deleteServerCatalog(DeleteServerCatalogRequest)
,
AWS API
Documentationdefault DeleteServerCatalogResponse deleteServerCatalog(DeleteServerCatalogRequest deleteServerCatalogRequest) throws UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, MissingRequiredParameterException, AwsServiceException, SdkClientException, SmsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SmsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteServerCatalogResponse deleteServerCatalog(Consumer<DeleteServerCatalogRequest.Builder> deleteServerCatalogRequest) throws UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, MissingRequiredParameterException, AwsServiceException, SdkClientException, SmsException
This is a convenience which creates an instance of the DeleteServerCatalogRequest.Builder
avoiding the
need to create one manually via DeleteServerCatalogRequest.builder()
deleteServerCatalogRequest
- A Consumer
that will call methods on DeleteServerCatalogRequest.Builder
to create a
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.MissingRequiredParameterException
- The request is missing a required parameter. Ensure that you have supplied all the required parameters
for the request.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SmsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DisassociateConnectorResponse disassociateConnector(DisassociateConnectorRequest disassociateConnectorRequest) throws MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, AwsServiceException, SdkClientException, SmsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SmsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DisassociateConnectorResponse disassociateConnector(Consumer<DisassociateConnectorRequest.Builder> disassociateConnectorRequest) throws MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, AwsServiceException, SdkClientException, SmsException
This is a convenience which creates an instance of the DisassociateConnectorRequest.Builder
avoiding the
need to create one manually via DisassociateConnectorRequest.builder()
disassociateConnectorRequest
- A Consumer
that will call methods on DisassociateConnectorRequest.Builder
to create a
request.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SmsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetConnectorsResponse getConnectors() throws UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException
UnauthorizedOperationException
- This user does not have permissions to perform this operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SmsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
getConnectors(GetConnectorsRequest)
,
AWS API
Documentationdefault GetConnectorsResponse getConnectors(GetConnectorsRequest getConnectorsRequest) throws UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException
getConnectorsRequest
- UnauthorizedOperationException
- This user does not have permissions to perform this operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SmsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetConnectorsResponse getConnectors(Consumer<GetConnectorsRequest.Builder> getConnectorsRequest) throws UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException
This is a convenience which creates an instance of the GetConnectorsRequest.Builder
avoiding the need to
create one manually via GetConnectorsRequest.builder()
getConnectorsRequest
- A Consumer
that will call methods on GetConnectorsRequest.Builder
to create a request.UnauthorizedOperationException
- This user does not have permissions to perform this operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SmsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetReplicationJobsResponse getReplicationJobs() throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SmsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
getReplicationJobs(GetReplicationJobsRequest)
,
AWS API
Documentationdefault GetReplicationJobsResponse getReplicationJobs(GetReplicationJobsRequest getReplicationJobsRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SmsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetReplicationJobsResponse getReplicationJobs(Consumer<GetReplicationJobsRequest.Builder> getReplicationJobsRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException
This is a convenience which creates an instance of the GetReplicationJobsRequest.Builder
avoiding the
need to create one manually via GetReplicationJobsRequest.builder()
getReplicationJobsRequest
- A Consumer
that will call methods on GetReplicationJobsRequest.Builder
to create a
request.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SmsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetReplicationRunsResponse getReplicationRuns(GetReplicationRunsRequest getReplicationRunsRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SmsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetReplicationRunsResponse getReplicationRuns(Consumer<GetReplicationRunsRequest.Builder> getReplicationRunsRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException
This is a convenience which creates an instance of the GetReplicationRunsRequest.Builder
avoiding the
need to create one manually via GetReplicationRunsRequest.builder()
getReplicationRunsRequest
- A Consumer
that will call methods on GetReplicationRunsRequest.Builder
to create a
request.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SmsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetServersResponse getServers() throws UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException
UnauthorizedOperationException
- This user does not have permissions to perform this operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SmsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
getServers(GetServersRequest)
,
AWS API
Documentationdefault GetServersResponse getServers(GetServersRequest getServersRequest) throws UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException
getServersRequest
- UnauthorizedOperationException
- This user does not have permissions to perform this operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SmsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetServersResponse getServers(Consumer<GetServersRequest.Builder> getServersRequest) throws UnauthorizedOperationException, AwsServiceException, SdkClientException, SmsException
This is a convenience which creates an instance of the GetServersRequest.Builder
avoiding the need to
create one manually via GetServersRequest.builder()
getServersRequest
- A Consumer
that will call methods on GetServersRequest.Builder
to create a request.UnauthorizedOperationException
- This user does not have permissions to perform this operation.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SmsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ImportServerCatalogResponse importServerCatalog() throws UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, MissingRequiredParameterException, NoConnectorsAvailableException, AwsServiceException, SdkClientException, SmsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SmsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
importServerCatalog(ImportServerCatalogRequest)
,
AWS API
Documentationdefault ImportServerCatalogResponse importServerCatalog(ImportServerCatalogRequest importServerCatalogRequest) throws UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, MissingRequiredParameterException, NoConnectorsAvailableException, AwsServiceException, SdkClientException, SmsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SmsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ImportServerCatalogResponse importServerCatalog(Consumer<ImportServerCatalogRequest.Builder> importServerCatalogRequest) throws UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, MissingRequiredParameterException, NoConnectorsAvailableException, AwsServiceException, SdkClientException, SmsException
This is a convenience which creates an instance of the ImportServerCatalogRequest.Builder
avoiding the
need to create one manually via ImportServerCatalogRequest.builder()
importServerCatalogRequest
- A Consumer
that will call methods on ImportServerCatalogRequest.Builder
to create a
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.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SmsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default StartOnDemandReplicationRunResponse startOnDemandReplicationRun(StartOnDemandReplicationRunRequest startOnDemandReplicationRunRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, ReplicationRunLimitExceededException, AwsServiceException, SdkClientException, SmsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SmsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default StartOnDemandReplicationRunResponse startOnDemandReplicationRun(Consumer<StartOnDemandReplicationRunRequest.Builder> startOnDemandReplicationRunRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, ReplicationRunLimitExceededException, AwsServiceException, SdkClientException, SmsException
This is a convenience which creates an instance of the StartOnDemandReplicationRunRequest.Builder
avoiding the need to create one manually via StartOnDemandReplicationRunRequest.builder()
startOnDemandReplicationRunRequest
- A Consumer
that will call methods on StartOnDemandReplicationRunRequest.Builder
to create
a request.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SmsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateReplicationJobResponse updateReplicationJob(UpdateReplicationJobRequest updateReplicationJobRequest) throws InvalidParameterException, MissingRequiredParameterException, OperationNotPermittedException, UnauthorizedOperationException, ServerCannotBeReplicatedException, ReplicationJobNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, SmsException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SmsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateReplicationJobResponse updateReplicationJob(Consumer<UpdateReplicationJobRequest.Builder> updateReplicationJobRequest) throws InvalidParameterException, MissingRequiredParameterException, OperationNotPermittedException, UnauthorizedOperationException, ServerCannotBeReplicatedException, ReplicationJobNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, SmsException
This is a convenience which creates an instance of the UpdateReplicationJobRequest.Builder
avoiding the
need to create one manually via UpdateReplicationJobRequest.builder()
updateReplicationJobRequest
- A Consumer
that will call methods on UpdateReplicationJobRequest.Builder
to create a
request.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.SmsException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
static ServiceMetadata serviceMetadata()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.