@ThreadSafe public class AWSDatabaseMigrationServiceAsyncClient extends AWSDatabaseMigrationServiceClient implements AWSDatabaseMigrationServiceAsync
AsyncHandler
can be
used to receive notification when an asynchronous operation completes.
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, MariaDB, Amazon Aurora, and MySQL. 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 |
---|---|
private static int |
DEFAULT_THREAD_POOL_SIZE |
private java.util.concurrent.ExecutorService |
executorService |
configFactory
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
Constructor and Description |
---|
AWSDatabaseMigrationServiceAsyncClient()
Constructs a new asynchronous client to invoke service methods on AWS
Database Migration Service.
|
AWSDatabaseMigrationServiceAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on AWS
Database Migration Service using the specified AWS account credentials.
|
AWSDatabaseMigrationServiceAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWS
Database Migration Service using the specified AWS account credentials,
executor service, and client configuration options.
|
AWSDatabaseMigrationServiceAsyncClient(AWSCredentials awsCredentials,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWS
Database Migration Service using the specified AWS account credentials
and executor service.
|
AWSDatabaseMigrationServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on AWS
Database Migration Service using the specified AWS account credentials
provider.
|
AWSDatabaseMigrationServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AWS
Database Migration Service using the provided AWS account credentials
provider and client configuration options.
|
AWSDatabaseMigrationServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWS
Database Migration Service using the specified AWS account credentials
provider, executor service, and client configuration options.
|
AWSDatabaseMigrationServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWS
Database Migration Service using the specified AWS account credentials
provider and executor service.
|
AWSDatabaseMigrationServiceAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AWS
Database Migration Service.
|
addTagsToResource, createEndpoint, createReplicationInstance, createReplicationSubnetGroup, createReplicationTask, deleteEndpoint, deleteReplicationInstance, deleteReplicationSubnetGroup, deleteReplicationTask, describeAccountAttributes, describeConnections, describeEndpoints, describeEndpointTypes, describeOrderableReplicationInstances, describeRefreshSchemasStatus, describeReplicationInstances, describeReplicationSubnetGroups, describeReplicationTasks, describeSchemas, describeTableStatistics, getCachedResponseMetadata, listTagsForResource, modifyEndpoint, modifyReplicationInstance, modifyReplicationSubnetGroup, refreshSchemas, removeTagsFromResource, startReplicationTask, stopReplicationTask, testConnection
addRequestHandler, addRequestHandler, beforeMarshalling, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getEndpointPrefix, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addTagsToResource, createEndpoint, createReplicationInstance, createReplicationSubnetGroup, createReplicationTask, deleteEndpoint, deleteReplicationInstance, deleteReplicationSubnetGroup, deleteReplicationTask, describeAccountAttributes, describeConnections, describeEndpoints, describeEndpointTypes, describeOrderableReplicationInstances, describeRefreshSchemasStatus, describeReplicationInstances, describeReplicationSubnetGroups, describeReplicationTasks, describeSchemas, describeTableStatistics, getCachedResponseMetadata, listTagsForResource, modifyEndpoint, modifyReplicationInstance, modifyReplicationSubnetGroup, refreshSchemas, removeTagsFromResource, setEndpoint, setRegion, startReplicationTask, stopReplicationTask, testConnection
private static final int DEFAULT_THREAD_POOL_SIZE
private final java.util.concurrent.ExecutorService executorService
public AWSDatabaseMigrationServiceAsyncClient()
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AWSDatabaseMigrationServiceAsyncClient(ClientConfiguration clientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing
a number of threads equal to the maximum number of concurrent connections
configured via ClientConfiguration.getMaxConnections()
.
clientConfiguration
- The client configuration options controlling how this client
connects to AWS Database Migration Service (ex: proxy settings,
retry counts, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AWSDatabaseMigrationServiceAsyncClient(AWSCredentials awsCredentials)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.Executors.newFixedThreadPool(int)
public AWSDatabaseMigrationServiceAsyncClient(AWSCredentials awsCredentials, java.util.concurrent.ExecutorService executorService)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.executorService
- The executor service by which all asynchronous requests will be
executed.public AWSDatabaseMigrationServiceAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings,
etc).executorService
- The executor service by which all asynchronous requests will be
executed.public AWSDatabaseMigrationServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.Executors.newFixedThreadPool(int)
public AWSDatabaseMigrationServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing
a number of threads equal to the maximum number of concurrent connections
configured via ClientConfiguration.getMaxConnections()
.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings,
etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AWSDatabaseMigrationServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider, java.util.concurrent.ExecutorService executorService)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.executorService
- The executor service by which all asynchronous requests will be
executed.public AWSDatabaseMigrationServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings,
etc).executorService
- The executor service by which all asynchronous requests will be
executed.public java.util.concurrent.ExecutorService getExecutorService()
public java.util.concurrent.Future<AddTagsToResourceResult> addTagsToResourceAsync(AddTagsToResourceRequest request)
AWSDatabaseMigrationServiceAsync
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.
addTagsToResourceAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<AddTagsToResourceResult> addTagsToResourceAsync(AddTagsToResourceRequest request, AsyncHandler<AddTagsToResourceRequest,AddTagsToResourceResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
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.
addTagsToResourceAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<CreateEndpointResult> createEndpointAsync(CreateEndpointRequest request)
AWSDatabaseMigrationServiceAsync
Creates an endpoint using the provided settings.
createEndpointAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<CreateEndpointResult> createEndpointAsync(CreateEndpointRequest request, AsyncHandler<CreateEndpointRequest,CreateEndpointResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Creates an endpoint using the provided settings.
createEndpointAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<CreateReplicationInstanceResult> createReplicationInstanceAsync(CreateReplicationInstanceRequest request)
AWSDatabaseMigrationServiceAsync
Creates the replication instance using the specified parameters.
createReplicationInstanceAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<CreateReplicationInstanceResult> createReplicationInstanceAsync(CreateReplicationInstanceRequest request, AsyncHandler<CreateReplicationInstanceRequest,CreateReplicationInstanceResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Creates the replication instance using the specified parameters.
createReplicationInstanceAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<CreateReplicationSubnetGroupResult> createReplicationSubnetGroupAsync(CreateReplicationSubnetGroupRequest request)
AWSDatabaseMigrationServiceAsync
Creates a replication subnet group given a list of the subnet IDs in a VPC.
createReplicationSubnetGroupAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<CreateReplicationSubnetGroupResult> createReplicationSubnetGroupAsync(CreateReplicationSubnetGroupRequest request, AsyncHandler<CreateReplicationSubnetGroupRequest,CreateReplicationSubnetGroupResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Creates a replication subnet group given a list of the subnet IDs in a VPC.
createReplicationSubnetGroupAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<CreateReplicationTaskResult> createReplicationTaskAsync(CreateReplicationTaskRequest request)
AWSDatabaseMigrationServiceAsync
Creates a replication task using the specified parameters.
createReplicationTaskAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<CreateReplicationTaskResult> createReplicationTaskAsync(CreateReplicationTaskRequest request, AsyncHandler<CreateReplicationTaskRequest,CreateReplicationTaskResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Creates a replication task using the specified parameters.
createReplicationTaskAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DeleteEndpointResult> deleteEndpointAsync(DeleteEndpointRequest request)
AWSDatabaseMigrationServiceAsync
Deletes the specified endpoint.
deleteEndpointAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<DeleteEndpointResult> deleteEndpointAsync(DeleteEndpointRequest request, AsyncHandler<DeleteEndpointRequest,DeleteEndpointResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Deletes the specified endpoint.
deleteEndpointAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DeleteReplicationInstanceResult> deleteReplicationInstanceAsync(DeleteReplicationInstanceRequest request)
AWSDatabaseMigrationServiceAsync
Deletes the specified replication instance.
deleteReplicationInstanceAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<DeleteReplicationInstanceResult> deleteReplicationInstanceAsync(DeleteReplicationInstanceRequest request, AsyncHandler<DeleteReplicationInstanceRequest,DeleteReplicationInstanceResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Deletes the specified replication instance.
deleteReplicationInstanceAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DeleteReplicationSubnetGroupResult> deleteReplicationSubnetGroupAsync(DeleteReplicationSubnetGroupRequest request)
AWSDatabaseMigrationServiceAsync
Deletes a subnet group.
deleteReplicationSubnetGroupAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<DeleteReplicationSubnetGroupResult> deleteReplicationSubnetGroupAsync(DeleteReplicationSubnetGroupRequest request, AsyncHandler<DeleteReplicationSubnetGroupRequest,DeleteReplicationSubnetGroupResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Deletes a subnet group.
deleteReplicationSubnetGroupAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DeleteReplicationTaskResult> deleteReplicationTaskAsync(DeleteReplicationTaskRequest request)
AWSDatabaseMigrationServiceAsync
Deletes the specified replication task.
deleteReplicationTaskAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<DeleteReplicationTaskResult> deleteReplicationTaskAsync(DeleteReplicationTaskRequest request, AsyncHandler<DeleteReplicationTaskRequest,DeleteReplicationTaskResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Deletes the specified replication task.
deleteReplicationTaskAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DescribeAccountAttributesResult> describeAccountAttributesAsync(DescribeAccountAttributesRequest request)
AWSDatabaseMigrationServiceAsync
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.
describeAccountAttributesAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<DescribeAccountAttributesResult> describeAccountAttributesAsync(DescribeAccountAttributesRequest request, AsyncHandler<DescribeAccountAttributesRequest,DescribeAccountAttributesResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
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.
describeAccountAttributesAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DescribeConnectionsResult> describeConnectionsAsync(DescribeConnectionsRequest request)
AWSDatabaseMigrationServiceAsync
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.
describeConnectionsAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<DescribeConnectionsResult> describeConnectionsAsync(DescribeConnectionsRequest request, AsyncHandler<DescribeConnectionsRequest,DescribeConnectionsResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
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.
describeConnectionsAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DescribeEndpointTypesResult> describeEndpointTypesAsync(DescribeEndpointTypesRequest request)
AWSDatabaseMigrationServiceAsync
Returns information about the type of endpoints available.
describeEndpointTypesAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<DescribeEndpointTypesResult> describeEndpointTypesAsync(DescribeEndpointTypesRequest request, AsyncHandler<DescribeEndpointTypesRequest,DescribeEndpointTypesResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Returns information about the type of endpoints available.
describeEndpointTypesAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DescribeEndpointsResult> describeEndpointsAsync(DescribeEndpointsRequest request)
AWSDatabaseMigrationServiceAsync
Returns information about the endpoints for your account in the current region.
describeEndpointsAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<DescribeEndpointsResult> describeEndpointsAsync(DescribeEndpointsRequest request, AsyncHandler<DescribeEndpointsRequest,DescribeEndpointsResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Returns information about the endpoints for your account in the current region.
describeEndpointsAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DescribeOrderableReplicationInstancesResult> describeOrderableReplicationInstancesAsync(DescribeOrderableReplicationInstancesRequest request)
AWSDatabaseMigrationServiceAsync
Returns information about the replication instance types that can be created in the specified region.
describeOrderableReplicationInstancesAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<DescribeOrderableReplicationInstancesResult> describeOrderableReplicationInstancesAsync(DescribeOrderableReplicationInstancesRequest request, AsyncHandler<DescribeOrderableReplicationInstancesRequest,DescribeOrderableReplicationInstancesResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Returns information about the replication instance types that can be created in the specified region.
describeOrderableReplicationInstancesAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DescribeRefreshSchemasStatusResult> describeRefreshSchemasStatusAsync(DescribeRefreshSchemasStatusRequest request)
AWSDatabaseMigrationServiceAsync
Returns the status of the RefreshSchemas operation.
describeRefreshSchemasStatusAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<DescribeRefreshSchemasStatusResult> describeRefreshSchemasStatusAsync(DescribeRefreshSchemasStatusRequest request, AsyncHandler<DescribeRefreshSchemasStatusRequest,DescribeRefreshSchemasStatusResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Returns the status of the RefreshSchemas operation.
describeRefreshSchemasStatusAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DescribeReplicationInstancesResult> describeReplicationInstancesAsync(DescribeReplicationInstancesRequest request)
AWSDatabaseMigrationServiceAsync
Returns information about replication instances for your account in the current region.
describeReplicationInstancesAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<DescribeReplicationInstancesResult> describeReplicationInstancesAsync(DescribeReplicationInstancesRequest request, AsyncHandler<DescribeReplicationInstancesRequest,DescribeReplicationInstancesResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Returns information about replication instances for your account in the current region.
describeReplicationInstancesAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DescribeReplicationSubnetGroupsResult> describeReplicationSubnetGroupsAsync(DescribeReplicationSubnetGroupsRequest request)
AWSDatabaseMigrationServiceAsync
Returns information about the replication subnet groups.
describeReplicationSubnetGroupsAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<DescribeReplicationSubnetGroupsResult> describeReplicationSubnetGroupsAsync(DescribeReplicationSubnetGroupsRequest request, AsyncHandler<DescribeReplicationSubnetGroupsRequest,DescribeReplicationSubnetGroupsResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Returns information about the replication subnet groups.
describeReplicationSubnetGroupsAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DescribeReplicationTasksResult> describeReplicationTasksAsync(DescribeReplicationTasksRequest request)
AWSDatabaseMigrationServiceAsync
Returns information about replication tasks for your account in the current region.
describeReplicationTasksAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<DescribeReplicationTasksResult> describeReplicationTasksAsync(DescribeReplicationTasksRequest request, AsyncHandler<DescribeReplicationTasksRequest,DescribeReplicationTasksResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Returns information about replication tasks for your account in the current region.
describeReplicationTasksAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DescribeSchemasResult> describeSchemasAsync(DescribeSchemasRequest request)
AWSDatabaseMigrationServiceAsync
Returns information about the schema for the specified endpoint.
describeSchemasAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<DescribeSchemasResult> describeSchemasAsync(DescribeSchemasRequest request, AsyncHandler<DescribeSchemasRequest,DescribeSchemasResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Returns information about the schema for the specified endpoint.
describeSchemasAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DescribeTableStatisticsResult> describeTableStatisticsAsync(DescribeTableStatisticsRequest request)
AWSDatabaseMigrationServiceAsync
Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted.
describeTableStatisticsAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<DescribeTableStatisticsResult> describeTableStatisticsAsync(DescribeTableStatisticsRequest request, AsyncHandler<DescribeTableStatisticsRequest,DescribeTableStatisticsResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted.
describeTableStatisticsAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSDatabaseMigrationServiceAsync
Lists all tags for an AWS DMS resource.
listTagsForResourceAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Lists all tags for an AWS DMS resource.
listTagsForResourceAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<ModifyEndpointResult> modifyEndpointAsync(ModifyEndpointRequest request)
AWSDatabaseMigrationServiceAsync
Modifies the specified endpoint.
modifyEndpointAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<ModifyEndpointResult> modifyEndpointAsync(ModifyEndpointRequest request, AsyncHandler<ModifyEndpointRequest,ModifyEndpointResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Modifies the specified endpoint.
modifyEndpointAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<ModifyReplicationInstanceResult> modifyReplicationInstanceAsync(ModifyReplicationInstanceRequest request)
AWSDatabaseMigrationServiceAsync
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.
modifyReplicationInstanceAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<ModifyReplicationInstanceResult> modifyReplicationInstanceAsync(ModifyReplicationInstanceRequest request, AsyncHandler<ModifyReplicationInstanceRequest,ModifyReplicationInstanceResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
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.
modifyReplicationInstanceAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<ModifyReplicationSubnetGroupResult> modifyReplicationSubnetGroupAsync(ModifyReplicationSubnetGroupRequest request)
AWSDatabaseMigrationServiceAsync
Modifies the settings for the specified replication subnet group.
modifyReplicationSubnetGroupAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<ModifyReplicationSubnetGroupResult> modifyReplicationSubnetGroupAsync(ModifyReplicationSubnetGroupRequest request, AsyncHandler<ModifyReplicationSubnetGroupRequest,ModifyReplicationSubnetGroupResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Modifies the settings for the specified replication subnet group.
modifyReplicationSubnetGroupAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<RefreshSchemasResult> refreshSchemasAsync(RefreshSchemasRequest request)
AWSDatabaseMigrationServiceAsync
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.
refreshSchemasAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<RefreshSchemasResult> refreshSchemasAsync(RefreshSchemasRequest request, AsyncHandler<RefreshSchemasRequest,RefreshSchemasResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
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.
refreshSchemasAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<RemoveTagsFromResourceResult> removeTagsFromResourceAsync(RemoveTagsFromResourceRequest request)
AWSDatabaseMigrationServiceAsync
Removes metadata tags from a DMS resource.
removeTagsFromResourceAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<RemoveTagsFromResourceResult> removeTagsFromResourceAsync(RemoveTagsFromResourceRequest request, AsyncHandler<RemoveTagsFromResourceRequest,RemoveTagsFromResourceResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Removes metadata tags from a DMS resource.
removeTagsFromResourceAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<StartReplicationTaskResult> startReplicationTaskAsync(StartReplicationTaskRequest request)
AWSDatabaseMigrationServiceAsync
Starts the replication task.
startReplicationTaskAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<StartReplicationTaskResult> startReplicationTaskAsync(StartReplicationTaskRequest request, AsyncHandler<StartReplicationTaskRequest,StartReplicationTaskResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Starts the replication task.
startReplicationTaskAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<StopReplicationTaskResult> stopReplicationTaskAsync(StopReplicationTaskRequest request)
AWSDatabaseMigrationServiceAsync
Stops the replication task.
stopReplicationTaskAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<StopReplicationTaskResult> stopReplicationTaskAsync(StopReplicationTaskRequest request, AsyncHandler<StopReplicationTaskRequest,StopReplicationTaskResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Stops the replication task.
stopReplicationTaskAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<TestConnectionResult> testConnectionAsync(TestConnectionRequest request)
AWSDatabaseMigrationServiceAsync
Tests the connection between the replication instance and the endpoint.
testConnectionAsync
in interface AWSDatabaseMigrationServiceAsync
public java.util.concurrent.Future<TestConnectionResult> testConnectionAsync(TestConnectionRequest request, AsyncHandler<TestConnectionRequest,TestConnectionResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Tests the connection between the replication instance and the endpoint.
testConnectionAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by
getExecutorService().awaitTermination()
prior to calling this
method.shutdown
in interface AWSDatabaseMigrationService
shutdown
in class AmazonWebServiceClient