@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSDatabaseMigrationServiceClient extends AmazonWebServiceClient implements AWSDatabaseMigrationService
AWS Database Migration Service (AWS DMS) can migrate your data to and from the most widely used commercial and open-source databases such as Oracle, PostgreSQL, Microsoft SQL Server, Amazon Redshift, MariaDB, Amazon Aurora, MySQL, and SAP Adaptive Server Enterprise (ASE). The service supports homogeneous migrations such as Oracle to Oracle, as well as heterogeneous migrations between different database platforms, such as Oracle to MySQL or SQL Server to PostgreSQL.
| Modifier and Type | Field and Description |
|---|---|
protected static ClientConfigurationFactory |
configFactory
Client configuration factory providing ClientConfigurations tailored to this client
|
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIX| Constructor and Description |
|---|
AWSDatabaseMigrationServiceClient()
Deprecated.
|
AWSDatabaseMigrationServiceClient(AWSCredentials awsCredentials)
Deprecated.
use
AwsClientBuilder.withCredentials(AWSCredentialsProvider) for
example:
AWSDatabaseMigrationServiceClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(awsCredentials)).build(); |
AWSDatabaseMigrationServiceClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
|
AWSDatabaseMigrationServiceClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated.
|
AWSDatabaseMigrationServiceClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
|
AWSDatabaseMigrationServiceClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector)
|
AWSDatabaseMigrationServiceClient(ClientConfiguration clientConfiguration)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
AddTagsToResourceResult |
addTagsToResource(AddTagsToResourceRequest addTagsToResourceRequest)
Adds metadata tags to a DMS resource, including replication instance, endpoint, security group, and migration
task.
|
static AWSDatabaseMigrationServiceClientBuilder |
builder() |
CreateEndpointResult |
createEndpoint(CreateEndpointRequest createEndpointRequest)
Creates an endpoint using the provided settings.
|
CreateReplicationInstanceResult |
createReplicationInstance(CreateReplicationInstanceRequest createReplicationInstanceRequest)
Creates the replication instance using the specified parameters.
|
CreateReplicationSubnetGroupResult |
createReplicationSubnetGroup(CreateReplicationSubnetGroupRequest createReplicationSubnetGroupRequest)
Creates a replication subnet group given a list of the subnet IDs in a VPC.
|
CreateReplicationTaskResult |
createReplicationTask(CreateReplicationTaskRequest createReplicationTaskRequest)
Creates a replication task using the specified parameters.
|
DeleteCertificateResult |
deleteCertificate(DeleteCertificateRequest deleteCertificateRequest)
Deletes the specified certificate.
|
DeleteEndpointResult |
deleteEndpoint(DeleteEndpointRequest deleteEndpointRequest)
Deletes the specified endpoint.
|
DeleteReplicationInstanceResult |
deleteReplicationInstance(DeleteReplicationInstanceRequest deleteReplicationInstanceRequest)
Deletes the specified replication instance.
|
DeleteReplicationSubnetGroupResult |
deleteReplicationSubnetGroup(DeleteReplicationSubnetGroupRequest deleteReplicationSubnetGroupRequest)
Deletes a subnet group.
|
DeleteReplicationTaskResult |
deleteReplicationTask(DeleteReplicationTaskRequest deleteReplicationTaskRequest)
Deletes the specified replication task.
|
DescribeAccountAttributesResult |
describeAccountAttributes(DescribeAccountAttributesRequest describeAccountAttributesRequest)
Lists all of the AWS DMS attributes for a customer account.
|
DescribeCertificatesResult |
describeCertificates(DescribeCertificatesRequest describeCertificatesRequest)
Provides a description of the certificate.
|
DescribeConnectionsResult |
describeConnections(DescribeConnectionsRequest describeConnectionsRequest)
Describes the status of the connections that have been made between the replication instance and an endpoint.
|
DescribeEndpointsResult |
describeEndpoints(DescribeEndpointsRequest describeEndpointsRequest)
Returns information about the endpoints for your account in the current region.
|
DescribeEndpointTypesResult |
describeEndpointTypes(DescribeEndpointTypesRequest describeEndpointTypesRequest)
Returns information about the type of endpoints available.
|
DescribeOrderableReplicationInstancesResult |
describeOrderableReplicationInstances(DescribeOrderableReplicationInstancesRequest describeOrderableReplicationInstancesRequest)
Returns information about the replication instance types that can be created in the specified region.
|
DescribeRefreshSchemasStatusResult |
describeRefreshSchemasStatus(DescribeRefreshSchemasStatusRequest describeRefreshSchemasStatusRequest)
Returns the status of the RefreshSchemas operation.
|
DescribeReplicationInstancesResult |
describeReplicationInstances(DescribeReplicationInstancesRequest describeReplicationInstancesRequest)
Returns information about replication instances for your account in the current region.
|
DescribeReplicationSubnetGroupsResult |
describeReplicationSubnetGroups(DescribeReplicationSubnetGroupsRequest describeReplicationSubnetGroupsRequest)
Returns information about the replication subnet groups.
|
DescribeReplicationTasksResult |
describeReplicationTasks(DescribeReplicationTasksRequest describeReplicationTasksRequest)
Returns information about replication tasks for your account in the current region.
|
DescribeSchemasResult |
describeSchemas(DescribeSchemasRequest describeSchemasRequest)
Returns information about the schema for the specified endpoint.
|
DescribeTableStatisticsResult |
describeTableStatistics(DescribeTableStatisticsRequest describeTableStatisticsRequest)
Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and
rows deleted.
|
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.
|
ImportCertificateResult |
importCertificate(ImportCertificateRequest importCertificateRequest)
Uploads the specified certificate.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all tags for an AWS DMS resource.
|
ModifyEndpointResult |
modifyEndpoint(ModifyEndpointRequest modifyEndpointRequest)
Modifies the specified endpoint.
|
ModifyReplicationInstanceResult |
modifyReplicationInstance(ModifyReplicationInstanceRequest modifyReplicationInstanceRequest)
Modifies the replication instance to apply new settings.
|
ModifyReplicationSubnetGroupResult |
modifyReplicationSubnetGroup(ModifyReplicationSubnetGroupRequest modifyReplicationSubnetGroupRequest)
Modifies the settings for the specified replication subnet group.
|
ModifyReplicationTaskResult |
modifyReplicationTask(ModifyReplicationTaskRequest modifyReplicationTaskRequest)
Modifies the specified replication task.
|
RefreshSchemasResult |
refreshSchemas(RefreshSchemasRequest refreshSchemasRequest)
Populates the schema for the specified endpoint.
|
RemoveTagsFromResourceResult |
removeTagsFromResource(RemoveTagsFromResourceRequest removeTagsFromResourceRequest)
Removes metadata tags from a DMS resource.
|
StartReplicationTaskResult |
startReplicationTask(StartReplicationTaskRequest startReplicationTaskRequest)
Starts the replication task.
|
StopReplicationTaskResult |
stopReplicationTask(StopReplicationTaskRequest stopReplicationTaskRequest)
Stops the replication task.
|
TestConnectionResult |
testConnection(TestConnectionRequest testConnectionRequest)
Tests the connection between the replication instance and the endpoint.
|
addRequestHandler, addRequestHandler, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getEndpointPrefix, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerProvider, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetEndpoint, setRegion, shutdownprotected static final ClientConfigurationFactory configFactory
@Deprecated public AWSDatabaseMigrationServiceClient()
AWSDatabaseMigrationServiceClientBuilder.defaultClient()All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain@Deprecated public AWSDatabaseMigrationServiceClient(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 AWS Database Migration Service
(ex: proxy settings, retry counts, etc.).DefaultAWSCredentialsProviderChain@Deprecated public AWSDatabaseMigrationServiceClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) for
example:
AWSDatabaseMigrationServiceClientBuilder.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 AWSDatabaseMigrationServiceClient(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 AWS Database Migration Service
(ex: proxy settings, retry counts, etc.).@Deprecated public AWSDatabaseMigrationServiceClient(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 AWSDatabaseMigrationServiceClient(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 AWS Database Migration Service
(ex: proxy settings, retry counts, etc.).@Deprecated public AWSDatabaseMigrationServiceClient(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 AWS Database Migration Service
(ex: proxy settings, retry counts, etc.).requestMetricCollector - optional request metric collectorpublic static AWSDatabaseMigrationServiceClientBuilder builder()
public AddTagsToResourceResult addTagsToResource(AddTagsToResourceRequest addTagsToResourceRequest)
Adds metadata tags to a DMS resource, including replication instance, endpoint, security group, and migration task. These tags can also be used with cost allocation reporting to track cost associated with DMS resources, or used in a Condition statement in an IAM policy for DMS.
addTagsToResource in interface AWSDatabaseMigrationServiceaddTagsToResourceRequest - ResourceNotFoundException - The resource could not be found.public CreateEndpointResult createEndpoint(CreateEndpointRequest createEndpointRequest)
Creates an endpoint using the provided settings.
createEndpoint in interface AWSDatabaseMigrationServicecreateEndpointRequest - KMSKeyNotAccessibleException - AWS DMS cannot access the KMS key.ResourceAlreadyExistsException - The resource you are attempting to create already exists.ResourceQuotaExceededException - The quota for this resource quota has been exceeded.InvalidResourceStateException - The resource is in a state that prevents it from being used for database migration.ResourceNotFoundException - The resource could not be found.AccessDeniedException - AWS DMS was denied access to the endpoint.public CreateReplicationInstanceResult createReplicationInstance(CreateReplicationInstanceRequest createReplicationInstanceRequest)
Creates the replication instance using the specified parameters.
createReplicationInstance in interface AWSDatabaseMigrationServicecreateReplicationInstanceRequest - AccessDeniedException - AWS DMS was denied access to the endpoint.ResourceAlreadyExistsException - The resource you are attempting to create already exists.InsufficientResourceCapacityException - There are not enough resources allocated to the database migration.ResourceQuotaExceededException - The quota for this resource quota has been exceeded.StorageQuotaExceededException - The storage quota has been exceeded.ResourceNotFoundException - The resource could not be found.ReplicationSubnetGroupDoesNotCoverEnoughAZsException - The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet
group and add more AZs.InvalidResourceStateException - The resource is in a state that prevents it from being used for database migration.InvalidSubnetException - The subnet provided is invalid.KMSKeyNotAccessibleException - AWS DMS cannot access the KMS key.public CreateReplicationSubnetGroupResult createReplicationSubnetGroup(CreateReplicationSubnetGroupRequest createReplicationSubnetGroupRequest)
Creates a replication subnet group given a list of the subnet IDs in a VPC.
createReplicationSubnetGroup in interface AWSDatabaseMigrationServicecreateReplicationSubnetGroupRequest - AccessDeniedException - AWS DMS was denied access to the endpoint.ResourceAlreadyExistsException - The resource you are attempting to create already exists.ResourceNotFoundException - The resource could not be found.ResourceQuotaExceededException - The quota for this resource quota has been exceeded.ReplicationSubnetGroupDoesNotCoverEnoughAZsException - The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet
group and add more AZs.InvalidSubnetException - The subnet provided is invalid.public CreateReplicationTaskResult createReplicationTask(CreateReplicationTaskRequest createReplicationTaskRequest)
Creates a replication task using the specified parameters.
createReplicationTask in interface AWSDatabaseMigrationServicecreateReplicationTaskRequest - InvalidResourceStateException - The resource is in a state that prevents it from being used for database migration.ResourceAlreadyExistsException - The resource you are attempting to create already exists.ResourceNotFoundException - The resource could not be found.KMSKeyNotAccessibleException - AWS DMS cannot access the KMS key.ResourceQuotaExceededException - The quota for this resource quota has been exceeded.public DeleteCertificateResult deleteCertificate(DeleteCertificateRequest deleteCertificateRequest)
Deletes the specified certificate.
deleteCertificate in interface AWSDatabaseMigrationServicedeleteCertificateRequest - ResourceNotFoundException - The resource could not be found.InvalidResourceStateException - The resource is in a state that prevents it from being used for database migration.public DeleteEndpointResult deleteEndpoint(DeleteEndpointRequest deleteEndpointRequest)
Deletes the specified endpoint.
All tasks associated with the endpoint must be deleted before you can delete the endpoint.
deleteEndpoint in interface AWSDatabaseMigrationServicedeleteEndpointRequest - ResourceNotFoundException - The resource could not be found.InvalidResourceStateException - The resource is in a state that prevents it from being used for database migration.public DeleteReplicationInstanceResult deleteReplicationInstance(DeleteReplicationInstanceRequest deleteReplicationInstanceRequest)
Deletes the specified replication instance.
You must delete any migration tasks that are associated with the replication instance before you can delete it.
deleteReplicationInstance in interface AWSDatabaseMigrationServicedeleteReplicationInstanceRequest - InvalidResourceStateException - The resource is in a state that prevents it from being used for database migration.ResourceNotFoundException - The resource could not be found.public DeleteReplicationSubnetGroupResult deleteReplicationSubnetGroup(DeleteReplicationSubnetGroupRequest deleteReplicationSubnetGroupRequest)
Deletes a subnet group.
deleteReplicationSubnetGroup in interface AWSDatabaseMigrationServicedeleteReplicationSubnetGroupRequest - InvalidResourceStateException - The resource is in a state that prevents it from being used for database migration.ResourceNotFoundException - The resource could not be found.public DeleteReplicationTaskResult deleteReplicationTask(DeleteReplicationTaskRequest deleteReplicationTaskRequest)
Deletes the specified replication task.
deleteReplicationTask in interface AWSDatabaseMigrationServicedeleteReplicationTaskRequest - ResourceNotFoundException - The resource could not be found.InvalidResourceStateException - The resource is in a state that prevents it from being used for database migration.public DescribeAccountAttributesResult describeAccountAttributes(DescribeAccountAttributesRequest describeAccountAttributesRequest)
Lists all of the AWS DMS attributes for a customer account. The attributes include AWS DMS quotas for the account, such as the number of replication instances allowed. The description for a quota includes the quota name, current usage toward that quota, and the quota's maximum value.
This command does not take any parameters.
describeAccountAttributes in interface AWSDatabaseMigrationServicedescribeAccountAttributesRequest - public DescribeCertificatesResult describeCertificates(DescribeCertificatesRequest describeCertificatesRequest)
Provides a description of the certificate.
describeCertificates in interface AWSDatabaseMigrationServicedescribeCertificatesRequest - ResourceNotFoundException - The resource could not be found.public DescribeConnectionsResult describeConnections(DescribeConnectionsRequest describeConnectionsRequest)
Describes the status of the connections that have been made between the replication instance and an endpoint. Connections are created when you test an endpoint.
describeConnections in interface AWSDatabaseMigrationServicedescribeConnectionsRequest - ResourceNotFoundException - The resource could not be found.public DescribeEndpointTypesResult describeEndpointTypes(DescribeEndpointTypesRequest describeEndpointTypesRequest)
Returns information about the type of endpoints available.
describeEndpointTypes in interface AWSDatabaseMigrationServicedescribeEndpointTypesRequest - public DescribeEndpointsResult describeEndpoints(DescribeEndpointsRequest describeEndpointsRequest)
Returns information about the endpoints for your account in the current region.
describeEndpoints in interface AWSDatabaseMigrationServicedescribeEndpointsRequest - ResourceNotFoundException - The resource could not be found.public DescribeOrderableReplicationInstancesResult describeOrderableReplicationInstances(DescribeOrderableReplicationInstancesRequest describeOrderableReplicationInstancesRequest)
Returns information about the replication instance types that can be created in the specified region.
describeOrderableReplicationInstances in interface AWSDatabaseMigrationServicedescribeOrderableReplicationInstancesRequest - public DescribeRefreshSchemasStatusResult describeRefreshSchemasStatus(DescribeRefreshSchemasStatusRequest describeRefreshSchemasStatusRequest)
Returns the status of the RefreshSchemas operation.
describeRefreshSchemasStatus in interface AWSDatabaseMigrationServicedescribeRefreshSchemasStatusRequest - InvalidResourceStateException - The resource is in a state that prevents it from being used for database migration.ResourceNotFoundException - The resource could not be found.public DescribeReplicationInstancesResult describeReplicationInstances(DescribeReplicationInstancesRequest describeReplicationInstancesRequest)
Returns information about replication instances for your account in the current region.
describeReplicationInstances in interface AWSDatabaseMigrationServicedescribeReplicationInstancesRequest - ResourceNotFoundException - The resource could not be found.public DescribeReplicationSubnetGroupsResult describeReplicationSubnetGroups(DescribeReplicationSubnetGroupsRequest describeReplicationSubnetGroupsRequest)
Returns information about the replication subnet groups.
describeReplicationSubnetGroups in interface AWSDatabaseMigrationServicedescribeReplicationSubnetGroupsRequest - ResourceNotFoundException - The resource could not be found.public DescribeReplicationTasksResult describeReplicationTasks(DescribeReplicationTasksRequest describeReplicationTasksRequest)
Returns information about replication tasks for your account in the current region.
describeReplicationTasks in interface AWSDatabaseMigrationServicedescribeReplicationTasksRequest - ResourceNotFoundException - The resource could not be found.public DescribeSchemasResult describeSchemas(DescribeSchemasRequest describeSchemasRequest)
Returns information about the schema for the specified endpoint.
describeSchemas in interface AWSDatabaseMigrationServicedescribeSchemasRequest - InvalidResourceStateException - The resource is in a state that prevents it from being used for database migration.ResourceNotFoundException - The resource could not be found.public DescribeTableStatisticsResult describeTableStatistics(DescribeTableStatisticsRequest describeTableStatisticsRequest)
Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted.
describeTableStatistics in interface AWSDatabaseMigrationServicedescribeTableStatisticsRequest - ResourceNotFoundException - The resource could not be found.InvalidResourceStateException - The resource is in a state that prevents it from being used for database migration.public ImportCertificateResult importCertificate(ImportCertificateRequest importCertificateRequest)
Uploads the specified certificate.
importCertificate in interface AWSDatabaseMigrationServiceimportCertificateRequest - ResourceAlreadyExistsException - The resource you are attempting to create already exists.InvalidCertificateException - The certificate was not valid.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all tags for an AWS DMS resource.
listTagsForResource in interface AWSDatabaseMigrationServicelistTagsForResourceRequest - ResourceNotFoundException - The resource could not be found.public ModifyEndpointResult modifyEndpoint(ModifyEndpointRequest modifyEndpointRequest)
Modifies the specified endpoint.
modifyEndpoint in interface AWSDatabaseMigrationServicemodifyEndpointRequest - InvalidResourceStateException - The resource is in a state that prevents it from being used for database migration.ResourceNotFoundException - The resource could not be found.ResourceAlreadyExistsException - The resource you are attempting to create already exists.KMSKeyNotAccessibleException - AWS DMS cannot access the KMS key.public ModifyReplicationInstanceResult modifyReplicationInstance(ModifyReplicationInstanceRequest modifyReplicationInstanceRequest)
Modifies the replication instance to apply new settings. You can change one or more parameters by specifying these parameters and the new values in the request.
Some settings are applied during the maintenance window.
modifyReplicationInstance in interface AWSDatabaseMigrationServicemodifyReplicationInstanceRequest - InvalidResourceStateException - The resource is in a state that prevents it from being used for database migration.ResourceAlreadyExistsException - The resource you are attempting to create already exists.ResourceNotFoundException - The resource could not be found.InsufficientResourceCapacityException - There are not enough resources allocated to the database migration.StorageQuotaExceededException - The storage quota has been exceeded.UpgradeDependencyFailureException - An upgrade dependency is preventing the database migration.public ModifyReplicationSubnetGroupResult modifyReplicationSubnetGroup(ModifyReplicationSubnetGroupRequest modifyReplicationSubnetGroupRequest)
Modifies the settings for the specified replication subnet group.
modifyReplicationSubnetGroup in interface AWSDatabaseMigrationServicemodifyReplicationSubnetGroupRequest - AccessDeniedException - AWS DMS was denied access to the endpoint.ResourceNotFoundException - The resource could not be found.ResourceQuotaExceededException - The quota for this resource quota has been exceeded.SubnetAlreadyInUseException - The specified subnet is already in use.ReplicationSubnetGroupDoesNotCoverEnoughAZsException - The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet
group and add more AZs.InvalidSubnetException - The subnet provided is invalid.public ModifyReplicationTaskResult modifyReplicationTask(ModifyReplicationTaskRequest modifyReplicationTaskRequest)
Modifies the specified replication task.
You can't modify the task endpoints. The task must be stopped before you can modify it.
modifyReplicationTask in interface AWSDatabaseMigrationServicemodifyReplicationTaskRequest - InvalidResourceStateException - The resource is in a state that prevents it from being used for database migration.ResourceNotFoundException - The resource could not be found.ResourceAlreadyExistsException - The resource you are attempting to create already exists.KMSKeyNotAccessibleException - AWS DMS cannot access the KMS key.public RefreshSchemasResult refreshSchemas(RefreshSchemasRequest refreshSchemasRequest)
Populates the schema for the specified endpoint. This is an asynchronous operation and can take several minutes. You can check the status of this operation by calling the DescribeRefreshSchemasStatus operation.
refreshSchemas in interface AWSDatabaseMigrationServicerefreshSchemasRequest - InvalidResourceStateException - The resource is in a state that prevents it from being used for database migration.ResourceNotFoundException - The resource could not be found.KMSKeyNotAccessibleException - AWS DMS cannot access the KMS key.ResourceQuotaExceededException - The quota for this resource quota has been exceeded.public RemoveTagsFromResourceResult removeTagsFromResource(RemoveTagsFromResourceRequest removeTagsFromResourceRequest)
Removes metadata tags from a DMS resource.
removeTagsFromResource in interface AWSDatabaseMigrationServiceremoveTagsFromResourceRequest - ResourceNotFoundException - The resource could not be found.public StartReplicationTaskResult startReplicationTask(StartReplicationTaskRequest startReplicationTaskRequest)
Starts the replication task.
startReplicationTask in interface AWSDatabaseMigrationServicestartReplicationTaskRequest - ResourceNotFoundException - The resource could not be found.InvalidResourceStateException - The resource is in a state that prevents it from being used for database migration.public StopReplicationTaskResult stopReplicationTask(StopReplicationTaskRequest stopReplicationTaskRequest)
Stops the replication task.
stopReplicationTask in interface AWSDatabaseMigrationServicestopReplicationTaskRequest - ResourceNotFoundException - The resource could not be found.InvalidResourceStateException - The resource is in a state that prevents it from being used for database migration.public TestConnectionResult testConnection(TestConnectionRequest testConnectionRequest)
Tests the connection between the replication instance and the endpoint.
testConnection in interface AWSDatabaseMigrationServicetestConnectionRequest - ResourceNotFoundException - The resource could not be found.InvalidResourceStateException - The resource is in a state that prevents it from being used for database migration.KMSKeyNotAccessibleException - AWS DMS cannot access the KMS key.ResourceQuotaExceededException - The quota for this resource quota has been exceeded.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 AWSDatabaseMigrationServicerequest - The originally executed requestCopyright © 2017. All rights reserved.