@Generated(value="software.amazon.awssdk:codegen") public interface SMSClient extends SdkClient, SdkAutoCloseable
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, SdkServiceException, 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.SdkServiceException
default CreateReplicationJobResponse createReplicationJob(Consumer<CreateReplicationJobRequest.Builder> createReplicationJobRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, ServerCannotBeReplicatedException, ReplicationJobAlreadyExistsException, NoConnectorsAvailableException, InternalErrorException, SdkServiceException, 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.SdkServiceException
default DeleteReplicationJobResponse deleteReplicationJob(DeleteReplicationJobRequest deleteReplicationJobRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, ReplicationJobNotFoundException, SdkServiceException, 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.SdkServiceException
default DeleteReplicationJobResponse deleteReplicationJob(Consumer<DeleteReplicationJobRequest.Builder> deleteReplicationJobRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, ReplicationJobNotFoundException, SdkServiceException, 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.SdkServiceException
default DeleteServerCatalogResponse deleteServerCatalog() throws UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, MissingRequiredParameterException, SdkServiceException, 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.SdkServiceException
deleteServerCatalog(DeleteServerCatalogRequest)
,
AWS API
Documentationdefault DeleteServerCatalogResponse deleteServerCatalog(DeleteServerCatalogRequest deleteServerCatalogRequest) throws UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, MissingRequiredParameterException, SdkServiceException, 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.SdkServiceException
default DeleteServerCatalogResponse deleteServerCatalog(Consumer<DeleteServerCatalogRequest.Builder> deleteServerCatalogRequest) throws UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, MissingRequiredParameterException, SdkServiceException, 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.SdkServiceException
default DisassociateConnectorResponse disassociateConnector(DisassociateConnectorRequest disassociateConnectorRequest) throws MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, SdkServiceException, 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.SdkServiceException
default DisassociateConnectorResponse disassociateConnector(Consumer<DisassociateConnectorRequest.Builder> disassociateConnectorRequest) throws MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, SdkServiceException, 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.SdkServiceException
default GetConnectorsResponse getConnectors() throws UnauthorizedOperationException, SdkServiceException, 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.SdkServiceException
getConnectors(GetConnectorsRequest)
,
AWS API
Documentationdefault GetConnectorsResponse getConnectors(GetConnectorsRequest getConnectorsRequest) throws UnauthorizedOperationException, SdkServiceException, 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.SdkServiceException
default GetConnectorsResponse getConnectors(Consumer<GetConnectorsRequest.Builder> getConnectorsRequest) throws UnauthorizedOperationException, SdkServiceException, 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.SdkServiceException
default GetReplicationJobsResponse getReplicationJobs() throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, SdkServiceException, 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.SdkServiceException
getReplicationJobs(GetReplicationJobsRequest)
,
AWS API
Documentationdefault GetReplicationJobsResponse getReplicationJobs(GetReplicationJobsRequest getReplicationJobsRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, SdkServiceException, 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.SdkServiceException
default GetReplicationJobsResponse getReplicationJobs(Consumer<GetReplicationJobsRequest.Builder> getReplicationJobsRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, SdkServiceException, 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.SdkServiceException
default GetReplicationRunsResponse getReplicationRuns(GetReplicationRunsRequest getReplicationRunsRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, SdkServiceException, 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.SdkServiceException
default GetReplicationRunsResponse getReplicationRuns(Consumer<GetReplicationRunsRequest.Builder> getReplicationRunsRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, SdkServiceException, 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.SdkServiceException
default GetServersResponse getServers() throws UnauthorizedOperationException, SdkServiceException, 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.SdkServiceException
getServers(GetServersRequest)
,
AWS API
Documentationdefault GetServersResponse getServers(GetServersRequest getServersRequest) throws UnauthorizedOperationException, SdkServiceException, 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.SdkServiceException
default GetServersResponse getServers(Consumer<GetServersRequest.Builder> getServersRequest) throws UnauthorizedOperationException, SdkServiceException, 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.SdkServiceException
default ImportServerCatalogResponse importServerCatalog() throws UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, MissingRequiredParameterException, NoConnectorsAvailableException, SdkServiceException, 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.SdkServiceException
importServerCatalog(ImportServerCatalogRequest)
,
AWS API
Documentationdefault ImportServerCatalogResponse importServerCatalog(ImportServerCatalogRequest importServerCatalogRequest) throws UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, MissingRequiredParameterException, NoConnectorsAvailableException, SdkServiceException, 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.SdkServiceException
default ImportServerCatalogResponse importServerCatalog(Consumer<ImportServerCatalogRequest.Builder> importServerCatalogRequest) throws UnauthorizedOperationException, OperationNotPermittedException, InvalidParameterException, MissingRequiredParameterException, NoConnectorsAvailableException, SdkServiceException, 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.SdkServiceException
default StartOnDemandReplicationRunResponse startOnDemandReplicationRun(StartOnDemandReplicationRunRequest startOnDemandReplicationRunRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, ReplicationRunLimitExceededException, SdkServiceException, 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.SdkServiceException
default StartOnDemandReplicationRunResponse startOnDemandReplicationRun(Consumer<StartOnDemandReplicationRunRequest.Builder> startOnDemandReplicationRunRequest) throws InvalidParameterException, MissingRequiredParameterException, UnauthorizedOperationException, OperationNotPermittedException, ReplicationRunLimitExceededException, SdkServiceException, 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.SdkServiceException
default UpdateReplicationJobResponse updateReplicationJob(UpdateReplicationJobRequest updateReplicationJobRequest) throws InvalidParameterException, MissingRequiredParameterException, OperationNotPermittedException, UnauthorizedOperationException, ServerCannotBeReplicatedException, ReplicationJobNotFoundException, InternalErrorException, SdkServiceException, 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.SdkServiceException
default UpdateReplicationJobResponse updateReplicationJob(Consumer<UpdateReplicationJobRequest.Builder> updateReplicationJobRequest) throws InvalidParameterException, MissingRequiredParameterException, OperationNotPermittedException, UnauthorizedOperationException, ServerCannotBeReplicatedException, ReplicationJobNotFoundException, InternalErrorException, SdkServiceException, 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.SdkServiceException
static ServiceMetadata serviceMetadata()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.