@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.
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,
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,
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,
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,
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
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).
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, 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, 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, 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, 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 ExecutorService getExecutorService()
public 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 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 Future<CreateEndpointResult> createEndpointAsync(CreateEndpointRequest request)
AWSDatabaseMigrationServiceAsync
Creates an endpoint using the provided settings.
createEndpointAsync
in interface AWSDatabaseMigrationServiceAsync
public 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 Future<CreateReplicationInstanceResult> createReplicationInstanceAsync(CreateReplicationInstanceRequest request)
AWSDatabaseMigrationServiceAsync
Creates the replication instance using the specified parameters.
createReplicationInstanceAsync
in interface AWSDatabaseMigrationServiceAsync
public 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 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 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 Future<CreateReplicationTaskResult> createReplicationTaskAsync(CreateReplicationTaskRequest request)
AWSDatabaseMigrationServiceAsync
Creates a replication task using the specified parameters.
createReplicationTaskAsync
in interface AWSDatabaseMigrationServiceAsync
public 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 Future<DeleteEndpointResult> deleteEndpointAsync(DeleteEndpointRequest request)
AWSDatabaseMigrationServiceAsync
Deletes the specified endpoint.
deleteEndpointAsync
in interface AWSDatabaseMigrationServiceAsync
public 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 Future<DeleteReplicationInstanceResult> deleteReplicationInstanceAsync(DeleteReplicationInstanceRequest request)
AWSDatabaseMigrationServiceAsync
Deletes the specified replication instance.
deleteReplicationInstanceAsync
in interface AWSDatabaseMigrationServiceAsync
public 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 Future<DeleteReplicationSubnetGroupResult> deleteReplicationSubnetGroupAsync(DeleteReplicationSubnetGroupRequest request)
AWSDatabaseMigrationServiceAsync
Deletes a subnet group.
deleteReplicationSubnetGroupAsync
in interface AWSDatabaseMigrationServiceAsync
public 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 Future<DeleteReplicationTaskResult> deleteReplicationTaskAsync(DeleteReplicationTaskRequest request)
AWSDatabaseMigrationServiceAsync
Deletes the specified replication task.
deleteReplicationTaskAsync
in interface AWSDatabaseMigrationServiceAsync
public 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 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 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 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 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 Future<DescribeEndpointTypesResult> describeEndpointTypesAsync(DescribeEndpointTypesRequest request)
AWSDatabaseMigrationServiceAsync
Returns information about the type of endpoints available.
describeEndpointTypesAsync
in interface AWSDatabaseMigrationServiceAsync
public 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 Future<DescribeEndpointsResult> describeEndpointsAsync(DescribeEndpointsRequest request)
AWSDatabaseMigrationServiceAsync
Returns information about the endpoints for your account in the current region.
describeEndpointsAsync
in interface AWSDatabaseMigrationServiceAsync
public 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 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 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 Future<DescribeRefreshSchemasStatusResult> describeRefreshSchemasStatusAsync(DescribeRefreshSchemasStatusRequest request)
AWSDatabaseMigrationServiceAsync
Returns the status of the RefreshSchemas operation.
describeRefreshSchemasStatusAsync
in interface AWSDatabaseMigrationServiceAsync
public 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 Future<DescribeReplicationInstancesResult> describeReplicationInstancesAsync(DescribeReplicationInstancesRequest request)
AWSDatabaseMigrationServiceAsync
Returns information about replication instances for your account in the current region.
describeReplicationInstancesAsync
in interface AWSDatabaseMigrationServiceAsync
public 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 Future<DescribeReplicationSubnetGroupsResult> describeReplicationSubnetGroupsAsync(DescribeReplicationSubnetGroupsRequest request)
AWSDatabaseMigrationServiceAsync
Returns information about the replication subnet groups.
describeReplicationSubnetGroupsAsync
in interface AWSDatabaseMigrationServiceAsync
public 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 Future<DescribeReplicationTasksResult> describeReplicationTasksAsync(DescribeReplicationTasksRequest request)
AWSDatabaseMigrationServiceAsync
Returns information about replication tasks for your account in the current region.
describeReplicationTasksAsync
in interface AWSDatabaseMigrationServiceAsync
public 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 Future<DescribeSchemasResult> describeSchemasAsync(DescribeSchemasRequest request)
AWSDatabaseMigrationServiceAsync
Returns information about the schema for the specified endpoint.
describeSchemasAsync
in interface AWSDatabaseMigrationServiceAsync
public 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 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 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 Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSDatabaseMigrationServiceAsync
Lists all tags for an AWS DMS resource.
listTagsForResourceAsync
in interface AWSDatabaseMigrationServiceAsync
public 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 Future<ModifyEndpointResult> modifyEndpointAsync(ModifyEndpointRequest request)
AWSDatabaseMigrationServiceAsync
Modifies the specified endpoint.
modifyEndpointAsync
in interface AWSDatabaseMigrationServiceAsync
public 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 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 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 Future<ModifyReplicationSubnetGroupResult> modifyReplicationSubnetGroupAsync(ModifyReplicationSubnetGroupRequest request)
AWSDatabaseMigrationServiceAsync
Modifies the settings for the specified replication subnet group.
modifyReplicationSubnetGroupAsync
in interface AWSDatabaseMigrationServiceAsync
public 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 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 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 Future<RemoveTagsFromResourceResult> removeTagsFromResourceAsync(RemoveTagsFromResourceRequest request)
AWSDatabaseMigrationServiceAsync
Removes metadata tags from a DMS resource.
removeTagsFromResourceAsync
in interface AWSDatabaseMigrationServiceAsync
public 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 Future<StartReplicationTaskResult> startReplicationTaskAsync(StartReplicationTaskRequest request)
AWSDatabaseMigrationServiceAsync
Starts the replication task.
startReplicationTaskAsync
in interface AWSDatabaseMigrationServiceAsync
public 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 Future<StopReplicationTaskResult> stopReplicationTaskAsync(StopReplicationTaskRequest request)
AWSDatabaseMigrationServiceAsync
Stops the replication task.
stopReplicationTaskAsync
in interface AWSDatabaseMigrationServiceAsync
public 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 Future<TestConnectionResult> testConnectionAsync(TestConnectionRequest request)
AWSDatabaseMigrationServiceAsync
Tests the connection between the replication instance and the endpoint.
testConnectionAsync
in interface AWSDatabaseMigrationServiceAsync
public 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
Copyright © 2018. All rights reserved.