Class AWSDatabaseMigrationServiceAsyncClient
- All Implemented Interfaces:
AWSDatabaseMigrationService
,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.
-
Field Summary
Fields inherited from class com.amazonaws.services.databasemigrationservice.AWSDatabaseMigrationServiceClient
configFactory
Fields inherited from class com.amazonaws.AmazonWebServiceClient
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs 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
(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
(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
(ClientConfiguration clientConfiguration) Constructs a new asynchronous client to invoke service methods on AWS Database Migration Service. -
Method Summary
Modifier and TypeMethodDescriptionAdds metadata tags to a DMS resource, including replication instance, endpoint, security group, and migration task.addTagsToResourceAsync
(AddTagsToResourceRequest request, AsyncHandler<AddTagsToResourceRequest, AddTagsToResourceResult> asyncHandler) Adds metadata tags to a DMS resource, including replication instance, endpoint, security group, and migration task.createEndpointAsync
(CreateEndpointRequest request) Creates an endpoint using the provided settings.createEndpointAsync
(CreateEndpointRequest request, AsyncHandler<CreateEndpointRequest, CreateEndpointResult> asyncHandler) Creates an endpoint using the provided settings.Creates the replication instance using the specified parameters.createReplicationInstanceAsync
(CreateReplicationInstanceRequest request, AsyncHandler<CreateReplicationInstanceRequest, CreateReplicationInstanceResult> asyncHandler) Creates the replication instance using the specified parameters.Creates a replication subnet group given a list of the subnet IDs in a VPC.createReplicationSubnetGroupAsync
(CreateReplicationSubnetGroupRequest request, AsyncHandler<CreateReplicationSubnetGroupRequest, CreateReplicationSubnetGroupResult> asyncHandler) Creates a replication subnet group given a list of the subnet IDs in a VPC.Creates a replication task using the specified parameters.createReplicationTaskAsync
(CreateReplicationTaskRequest request, AsyncHandler<CreateReplicationTaskRequest, CreateReplicationTaskResult> asyncHandler) Creates a replication task using the specified parameters.deleteEndpointAsync
(DeleteEndpointRequest request) Deletes the specified endpoint.deleteEndpointAsync
(DeleteEndpointRequest request, AsyncHandler<DeleteEndpointRequest, DeleteEndpointResult> asyncHandler) Deletes the specified endpoint.Deletes the specified replication instance.deleteReplicationInstanceAsync
(DeleteReplicationInstanceRequest request, AsyncHandler<DeleteReplicationInstanceRequest, DeleteReplicationInstanceResult> asyncHandler) Deletes the specified replication instance.Deletes a subnet group.deleteReplicationSubnetGroupAsync
(DeleteReplicationSubnetGroupRequest request, AsyncHandler<DeleteReplicationSubnetGroupRequest, DeleteReplicationSubnetGroupResult> asyncHandler) Deletes a subnet group.Deletes the specified replication task.deleteReplicationTaskAsync
(DeleteReplicationTaskRequest request, AsyncHandler<DeleteReplicationTaskRequest, DeleteReplicationTaskResult> asyncHandler) Deletes the specified replication task.Lists all of the AWS DMS attributes for a customer account.describeAccountAttributesAsync
(DescribeAccountAttributesRequest request, AsyncHandler<DescribeAccountAttributesRequest, DescribeAccountAttributesResult> asyncHandler) Lists all of the AWS DMS attributes for a customer account.Describes the status of the connections that have been made between the replication instance and an endpoint.describeConnectionsAsync
(DescribeConnectionsRequest request, AsyncHandler<DescribeConnectionsRequest, DescribeConnectionsResult> asyncHandler) Describes the status of the connections that have been made between the replication instance and an endpoint.Returns information about the endpoints for your account in the current region.describeEndpointsAsync
(DescribeEndpointsRequest request, AsyncHandler<DescribeEndpointsRequest, DescribeEndpointsResult> asyncHandler) Returns information about the endpoints for your account in the current region.Returns information about the type of endpoints available.describeEndpointTypesAsync
(DescribeEndpointTypesRequest request, AsyncHandler<DescribeEndpointTypesRequest, DescribeEndpointTypesResult> asyncHandler) Returns information about the type of endpoints available.Returns information about the replication instance types that can be created in the specified region.describeOrderableReplicationInstancesAsync
(DescribeOrderableReplicationInstancesRequest request, AsyncHandler<DescribeOrderableReplicationInstancesRequest, DescribeOrderableReplicationInstancesResult> asyncHandler) Returns information about the replication instance types that can be created in the specified region.Returns the status of the RefreshSchemas operation.describeRefreshSchemasStatusAsync
(DescribeRefreshSchemasStatusRequest request, AsyncHandler<DescribeRefreshSchemasStatusRequest, DescribeRefreshSchemasStatusResult> asyncHandler) Returns the status of the RefreshSchemas operation.Returns information about replication instances for your account in the current region.describeReplicationInstancesAsync
(DescribeReplicationInstancesRequest request, AsyncHandler<DescribeReplicationInstancesRequest, DescribeReplicationInstancesResult> asyncHandler) Returns information about replication instances for your account in the current region.Returns information about the replication subnet groups.describeReplicationSubnetGroupsAsync
(DescribeReplicationSubnetGroupsRequest request, AsyncHandler<DescribeReplicationSubnetGroupsRequest, DescribeReplicationSubnetGroupsResult> asyncHandler) Returns information about the replication subnet groups.Returns information about replication tasks for your account in the current region.describeReplicationTasksAsync
(DescribeReplicationTasksRequest request, AsyncHandler<DescribeReplicationTasksRequest, DescribeReplicationTasksResult> asyncHandler) Returns information about replication tasks for your account in the current region.Returns information about the schema for the specified endpoint.describeSchemasAsync
(DescribeSchemasRequest request, AsyncHandler<DescribeSchemasRequest, DescribeSchemasResult> asyncHandler) Returns information about the schema for the specified endpoint.Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted.describeTableStatisticsAsync
(DescribeTableStatisticsRequest request, AsyncHandler<DescribeTableStatisticsRequest, DescribeTableStatisticsResult> asyncHandler) Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted.Returns the executor service used by this client to execute async requests.Lists all tags for an AWS DMS resource.listTagsForResourceAsync
(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest, ListTagsForResourceResult> asyncHandler) Lists all tags for an AWS DMS resource.modifyEndpointAsync
(ModifyEndpointRequest request) Modifies the specified endpoint.modifyEndpointAsync
(ModifyEndpointRequest request, AsyncHandler<ModifyEndpointRequest, ModifyEndpointResult> asyncHandler) Modifies the specified endpoint.Modifies the replication instance to apply new settings.modifyReplicationInstanceAsync
(ModifyReplicationInstanceRequest request, AsyncHandler<ModifyReplicationInstanceRequest, ModifyReplicationInstanceResult> asyncHandler) Modifies the replication instance to apply new settings.Modifies the settings for the specified replication subnet group.modifyReplicationSubnetGroupAsync
(ModifyReplicationSubnetGroupRequest request, AsyncHandler<ModifyReplicationSubnetGroupRequest, ModifyReplicationSubnetGroupResult> asyncHandler) Modifies the settings for the specified replication subnet group.refreshSchemasAsync
(RefreshSchemasRequest request) Populates the schema for the specified endpoint.refreshSchemasAsync
(RefreshSchemasRequest request, AsyncHandler<RefreshSchemasRequest, RefreshSchemasResult> asyncHandler) Populates the schema for the specified endpoint.Removes metadata tags from a DMS resource.removeTagsFromResourceAsync
(RemoveTagsFromResourceRequest request, AsyncHandler<RemoveTagsFromResourceRequest, RemoveTagsFromResourceResult> asyncHandler) Removes metadata tags from a DMS resource.void
shutdown()
Shuts down the client, releasing all managed resources.Starts the replication task.startReplicationTaskAsync
(StartReplicationTaskRequest request, AsyncHandler<StartReplicationTaskRequest, StartReplicationTaskResult> asyncHandler) Starts the replication task.Stops the replication task.stopReplicationTaskAsync
(StopReplicationTaskRequest request, AsyncHandler<StopReplicationTaskRequest, StopReplicationTaskResult> asyncHandler) Stops the replication task.testConnectionAsync
(TestConnectionRequest request) Tests the connection between the replication instance and the endpoint.testConnectionAsync
(TestConnectionRequest request, AsyncHandler<TestConnectionRequest, TestConnectionResult> asyncHandler) Tests the connection between the replication instance and the endpoint.Methods inherited from class com.amazonaws.services.databasemigrationservice.AWSDatabaseMigrationServiceClient
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
Methods inherited from class com.amazonaws.AmazonWebServiceClient
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.amazonaws.services.databasemigrationservice.AWSDatabaseMigrationService
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
-
Constructor Details
-
AWSDatabaseMigrationServiceAsyncClient
public AWSDatabaseMigrationServiceAsyncClient()Constructs a new asynchronous client to invoke service methods on AWS Database Migration Service. A credentials provider chain will be used that searches for credentials in this order:- Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
- Java System Properties - aws.accessKeyId and aws.secretKey
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
- Instance profile credentials delivered through the Amazon EC2 metadata service
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).
-
AWSDatabaseMigrationServiceAsyncClient
Constructs a new asynchronous client to invoke service methods on AWS Database Migration Service. A credentials provider chain will be used that searches for credentials in this order:- Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
- Java System Properties - aws.accessKeyId and aws.secretKey
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
- Instance profile credentials delivered through the Amazon EC2 metadata service
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()
.- Parameters:
clientConfiguration
- The client configuration options controlling how this client connects to AWS Database Migration Service (ex: proxy settings, retry counts, etc).- See Also:
-
AWSDatabaseMigrationServiceAsyncClient
Constructs a new asynchronous client to invoke service methods on AWS Database Migration Service using the specified AWS account credentials.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).
- Parameters:
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.- See Also:
-
AWSDatabaseMigrationServiceAsyncClient
public 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. Default client settings will be used.- Parameters:
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.
-
AWSDatabaseMigrationServiceAsyncClient
public 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.- Parameters:
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.
-
AWSDatabaseMigrationServiceAsyncClient
Constructs a new asynchronous client to invoke service methods on AWS Database Migration Service using the specified AWS account credentials provider. Default client settings will be used.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).
- Parameters:
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.- See Also:
-
AWSDatabaseMigrationServiceAsyncClient
public 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.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()
.- Parameters:
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).- See Also:
-
AWSDatabaseMigrationServiceAsyncClient
public 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. Default client settings will be used.- Parameters:
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.
-
AWSDatabaseMigrationServiceAsyncClient
public 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.- Parameters:
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.
-
-
Method Details
-
getExecutorService
Returns the executor service used by this client to execute async requests.- Returns:
- The executor service used by this client to execute async requests.
-
addTagsToResourceAsync
Description copied from interface: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.
- Specified by:
addTagsToResourceAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the AddTagsToResource operation returned by the service.
-
addTagsToResourceAsync
public Future<AddTagsToResourceResult> addTagsToResourceAsync(AddTagsToResourceRequest request, AsyncHandler<AddTagsToResourceRequest, AddTagsToResourceResult> asyncHandler) Description copied from interface: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.
- Specified by:
addTagsToResourceAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the AddTagsToResource operation returned by the service.
-
createEndpointAsync
Description copied from interface:AWSDatabaseMigrationServiceAsync
Creates an endpoint using the provided settings.
- Specified by:
createEndpointAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the CreateEndpoint operation returned by the service.
-
createEndpointAsync
public Future<CreateEndpointResult> createEndpointAsync(CreateEndpointRequest request, AsyncHandler<CreateEndpointRequest, CreateEndpointResult> asyncHandler) Description copied from interface:AWSDatabaseMigrationServiceAsync
Creates an endpoint using the provided settings.
- Specified by:
createEndpointAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the CreateEndpoint operation returned by the service.
-
createReplicationInstanceAsync
public Future<CreateReplicationInstanceResult> createReplicationInstanceAsync(CreateReplicationInstanceRequest request) Description copied from interface:AWSDatabaseMigrationServiceAsync
Creates the replication instance using the specified parameters.
- Specified by:
createReplicationInstanceAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the CreateReplicationInstance operation returned by the service.
-
createReplicationInstanceAsync
public Future<CreateReplicationInstanceResult> createReplicationInstanceAsync(CreateReplicationInstanceRequest request, AsyncHandler<CreateReplicationInstanceRequest, CreateReplicationInstanceResult> asyncHandler) Description copied from interface:AWSDatabaseMigrationServiceAsync
Creates the replication instance using the specified parameters.
- Specified by:
createReplicationInstanceAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the CreateReplicationInstance operation returned by the service.
-
createReplicationSubnetGroupAsync
public Future<CreateReplicationSubnetGroupResult> createReplicationSubnetGroupAsync(CreateReplicationSubnetGroupRequest request) Description copied from interface:AWSDatabaseMigrationServiceAsync
Creates a replication subnet group given a list of the subnet IDs in a VPC.
- Specified by:
createReplicationSubnetGroupAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the CreateReplicationSubnetGroup operation returned by the service.
-
createReplicationSubnetGroupAsync
public Future<CreateReplicationSubnetGroupResult> createReplicationSubnetGroupAsync(CreateReplicationSubnetGroupRequest request, AsyncHandler<CreateReplicationSubnetGroupRequest, CreateReplicationSubnetGroupResult> asyncHandler) Description copied from interface:AWSDatabaseMigrationServiceAsync
Creates a replication subnet group given a list of the subnet IDs in a VPC.
- Specified by:
createReplicationSubnetGroupAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the CreateReplicationSubnetGroup operation returned by the service.
-
createReplicationTaskAsync
public Future<CreateReplicationTaskResult> createReplicationTaskAsync(CreateReplicationTaskRequest request) Description copied from interface:AWSDatabaseMigrationServiceAsync
Creates a replication task using the specified parameters.
- Specified by:
createReplicationTaskAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the CreateReplicationTask operation returned by the service.
-
createReplicationTaskAsync
public Future<CreateReplicationTaskResult> createReplicationTaskAsync(CreateReplicationTaskRequest request, AsyncHandler<CreateReplicationTaskRequest, CreateReplicationTaskResult> asyncHandler) Description copied from interface:AWSDatabaseMigrationServiceAsync
Creates a replication task using the specified parameters.
- Specified by:
createReplicationTaskAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the CreateReplicationTask operation returned by the service.
-
deleteEndpointAsync
Description copied from interface:AWSDatabaseMigrationServiceAsync
Deletes the specified endpoint.
All tasks associated with the endpoint must be deleted before you can delete the endpoint. - Specified by:
deleteEndpointAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the DeleteEndpoint operation returned by the service.
-
deleteEndpointAsync
public Future<DeleteEndpointResult> deleteEndpointAsync(DeleteEndpointRequest request, AsyncHandler<DeleteEndpointRequest, DeleteEndpointResult> asyncHandler) Description copied from interface:AWSDatabaseMigrationServiceAsync
Deletes the specified endpoint.
All tasks associated with the endpoint must be deleted before you can delete the endpoint. - Specified by:
deleteEndpointAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the DeleteEndpoint operation returned by the service.
-
deleteReplicationInstanceAsync
public Future<DeleteReplicationInstanceResult> deleteReplicationInstanceAsync(DeleteReplicationInstanceRequest request) Description copied from interface:AWSDatabaseMigrationServiceAsync
Deletes the specified replication instance.
You must delete any migration tasks that are associated with the replication instance before you can delete it. - Specified by:
deleteReplicationInstanceAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the DeleteReplicationInstance operation returned by the service.
-
deleteReplicationInstanceAsync
public Future<DeleteReplicationInstanceResult> deleteReplicationInstanceAsync(DeleteReplicationInstanceRequest request, AsyncHandler<DeleteReplicationInstanceRequest, DeleteReplicationInstanceResult> asyncHandler) Description copied from interface:AWSDatabaseMigrationServiceAsync
Deletes the specified replication instance.
You must delete any migration tasks that are associated with the replication instance before you can delete it. - Specified by:
deleteReplicationInstanceAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the DeleteReplicationInstance operation returned by the service.
-
deleteReplicationSubnetGroupAsync
public Future<DeleteReplicationSubnetGroupResult> deleteReplicationSubnetGroupAsync(DeleteReplicationSubnetGroupRequest request) Description copied from interface:AWSDatabaseMigrationServiceAsync
Deletes a subnet group.
- Specified by:
deleteReplicationSubnetGroupAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the DeleteReplicationSubnetGroup operation returned by the service.
-
deleteReplicationSubnetGroupAsync
public Future<DeleteReplicationSubnetGroupResult> deleteReplicationSubnetGroupAsync(DeleteReplicationSubnetGroupRequest request, AsyncHandler<DeleteReplicationSubnetGroupRequest, DeleteReplicationSubnetGroupResult> asyncHandler) Description copied from interface:AWSDatabaseMigrationServiceAsync
Deletes a subnet group.
- Specified by:
deleteReplicationSubnetGroupAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the DeleteReplicationSubnetGroup operation returned by the service.
-
deleteReplicationTaskAsync
public Future<DeleteReplicationTaskResult> deleteReplicationTaskAsync(DeleteReplicationTaskRequest request) Description copied from interface:AWSDatabaseMigrationServiceAsync
Deletes the specified replication task.
- Specified by:
deleteReplicationTaskAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the DeleteReplicationTask operation returned by the service.
-
deleteReplicationTaskAsync
public Future<DeleteReplicationTaskResult> deleteReplicationTaskAsync(DeleteReplicationTaskRequest request, AsyncHandler<DeleteReplicationTaskRequest, DeleteReplicationTaskResult> asyncHandler) Description copied from interface:AWSDatabaseMigrationServiceAsync
Deletes the specified replication task.
- Specified by:
deleteReplicationTaskAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the DeleteReplicationTask operation returned by the service.
-
describeAccountAttributesAsync
public Future<DescribeAccountAttributesResult> describeAccountAttributesAsync(DescribeAccountAttributesRequest request) Description copied from interface: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.
- Specified by:
describeAccountAttributesAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the DescribeAccountAttributes operation returned by the service.
-
describeAccountAttributesAsync
public Future<DescribeAccountAttributesResult> describeAccountAttributesAsync(DescribeAccountAttributesRequest request, AsyncHandler<DescribeAccountAttributesRequest, DescribeAccountAttributesResult> asyncHandler) Description copied from interface: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.
- Specified by:
describeAccountAttributesAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the DescribeAccountAttributes operation returned by the service.
-
describeConnectionsAsync
public Future<DescribeConnectionsResult> describeConnectionsAsync(DescribeConnectionsRequest request) Description copied from interface: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.
- Specified by:
describeConnectionsAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the DescribeConnections operation returned by the service.
-
describeConnectionsAsync
public Future<DescribeConnectionsResult> describeConnectionsAsync(DescribeConnectionsRequest request, AsyncHandler<DescribeConnectionsRequest, DescribeConnectionsResult> asyncHandler) Description copied from interface: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.
- Specified by:
describeConnectionsAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the DescribeConnections operation returned by the service.
-
describeEndpointTypesAsync
public Future<DescribeEndpointTypesResult> describeEndpointTypesAsync(DescribeEndpointTypesRequest request) Description copied from interface:AWSDatabaseMigrationServiceAsync
Returns information about the type of endpoints available.
- Specified by:
describeEndpointTypesAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the DescribeEndpointTypes operation returned by the service.
-
describeEndpointTypesAsync
public Future<DescribeEndpointTypesResult> describeEndpointTypesAsync(DescribeEndpointTypesRequest request, AsyncHandler<DescribeEndpointTypesRequest, DescribeEndpointTypesResult> asyncHandler) Description copied from interface:AWSDatabaseMigrationServiceAsync
Returns information about the type of endpoints available.
- Specified by:
describeEndpointTypesAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the DescribeEndpointTypes operation returned by the service.
-
describeEndpointsAsync
Description copied from interface:AWSDatabaseMigrationServiceAsync
Returns information about the endpoints for your account in the current region.
- Specified by:
describeEndpointsAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the DescribeEndpoints operation returned by the service.
-
describeEndpointsAsync
public Future<DescribeEndpointsResult> describeEndpointsAsync(DescribeEndpointsRequest request, AsyncHandler<DescribeEndpointsRequest, DescribeEndpointsResult> asyncHandler) Description copied from interface:AWSDatabaseMigrationServiceAsync
Returns information about the endpoints for your account in the current region.
- Specified by:
describeEndpointsAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the DescribeEndpoints operation returned by the service.
-
describeOrderableReplicationInstancesAsync
public Future<DescribeOrderableReplicationInstancesResult> describeOrderableReplicationInstancesAsync(DescribeOrderableReplicationInstancesRequest request) Description copied from interface:AWSDatabaseMigrationServiceAsync
Returns information about the replication instance types that can be created in the specified region.
- Specified by:
describeOrderableReplicationInstancesAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the DescribeOrderableReplicationInstances operation returned by the service.
-
describeOrderableReplicationInstancesAsync
public Future<DescribeOrderableReplicationInstancesResult> describeOrderableReplicationInstancesAsync(DescribeOrderableReplicationInstancesRequest request, AsyncHandler<DescribeOrderableReplicationInstancesRequest, DescribeOrderableReplicationInstancesResult> asyncHandler) Description copied from interface:AWSDatabaseMigrationServiceAsync
Returns information about the replication instance types that can be created in the specified region.
- Specified by:
describeOrderableReplicationInstancesAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the DescribeOrderableReplicationInstances operation returned by the service.
-
describeRefreshSchemasStatusAsync
public Future<DescribeRefreshSchemasStatusResult> describeRefreshSchemasStatusAsync(DescribeRefreshSchemasStatusRequest request) Description copied from interface:AWSDatabaseMigrationServiceAsync
Returns the status of the RefreshSchemas operation.
- Specified by:
describeRefreshSchemasStatusAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the DescribeRefreshSchemasStatus operation returned by the service.
-
describeRefreshSchemasStatusAsync
public Future<DescribeRefreshSchemasStatusResult> describeRefreshSchemasStatusAsync(DescribeRefreshSchemasStatusRequest request, AsyncHandler<DescribeRefreshSchemasStatusRequest, DescribeRefreshSchemasStatusResult> asyncHandler) Description copied from interface:AWSDatabaseMigrationServiceAsync
Returns the status of the RefreshSchemas operation.
- Specified by:
describeRefreshSchemasStatusAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the DescribeRefreshSchemasStatus operation returned by the service.
-
describeReplicationInstancesAsync
public Future<DescribeReplicationInstancesResult> describeReplicationInstancesAsync(DescribeReplicationInstancesRequest request) Description copied from interface:AWSDatabaseMigrationServiceAsync
Returns information about replication instances for your account in the current region.
- Specified by:
describeReplicationInstancesAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the DescribeReplicationInstances operation returned by the service.
-
describeReplicationInstancesAsync
public Future<DescribeReplicationInstancesResult> describeReplicationInstancesAsync(DescribeReplicationInstancesRequest request, AsyncHandler<DescribeReplicationInstancesRequest, DescribeReplicationInstancesResult> asyncHandler) Description copied from interface:AWSDatabaseMigrationServiceAsync
Returns information about replication instances for your account in the current region.
- Specified by:
describeReplicationInstancesAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the DescribeReplicationInstances operation returned by the service.
-
describeReplicationSubnetGroupsAsync
public Future<DescribeReplicationSubnetGroupsResult> describeReplicationSubnetGroupsAsync(DescribeReplicationSubnetGroupsRequest request) Description copied from interface:AWSDatabaseMigrationServiceAsync
Returns information about the replication subnet groups.
- Specified by:
describeReplicationSubnetGroupsAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the DescribeReplicationSubnetGroups operation returned by the service.
-
describeReplicationSubnetGroupsAsync
public Future<DescribeReplicationSubnetGroupsResult> describeReplicationSubnetGroupsAsync(DescribeReplicationSubnetGroupsRequest request, AsyncHandler<DescribeReplicationSubnetGroupsRequest, DescribeReplicationSubnetGroupsResult> asyncHandler) Description copied from interface:AWSDatabaseMigrationServiceAsync
Returns information about the replication subnet groups.
- Specified by:
describeReplicationSubnetGroupsAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the DescribeReplicationSubnetGroups operation returned by the service.
-
describeReplicationTasksAsync
public Future<DescribeReplicationTasksResult> describeReplicationTasksAsync(DescribeReplicationTasksRequest request) Description copied from interface:AWSDatabaseMigrationServiceAsync
Returns information about replication tasks for your account in the current region.
- Specified by:
describeReplicationTasksAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the DescribeReplicationTasks operation returned by the service.
-
describeReplicationTasksAsync
public Future<DescribeReplicationTasksResult> describeReplicationTasksAsync(DescribeReplicationTasksRequest request, AsyncHandler<DescribeReplicationTasksRequest, DescribeReplicationTasksResult> asyncHandler) Description copied from interface:AWSDatabaseMigrationServiceAsync
Returns information about replication tasks for your account in the current region.
- Specified by:
describeReplicationTasksAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the DescribeReplicationTasks operation returned by the service.
-
describeSchemasAsync
Description copied from interface:AWSDatabaseMigrationServiceAsync
Returns information about the schema for the specified endpoint.
- Specified by:
describeSchemasAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the DescribeSchemas operation returned by the service.
-
describeSchemasAsync
public Future<DescribeSchemasResult> describeSchemasAsync(DescribeSchemasRequest request, AsyncHandler<DescribeSchemasRequest, DescribeSchemasResult> asyncHandler) Description copied from interface:AWSDatabaseMigrationServiceAsync
Returns information about the schema for the specified endpoint.
- Specified by:
describeSchemasAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the DescribeSchemas operation returned by the service.
-
describeTableStatisticsAsync
public Future<DescribeTableStatisticsResult> describeTableStatisticsAsync(DescribeTableStatisticsRequest request) Description copied from interface:AWSDatabaseMigrationServiceAsync
Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted.
- Specified by:
describeTableStatisticsAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the DescribeTableStatistics operation returned by the service.
-
describeTableStatisticsAsync
public Future<DescribeTableStatisticsResult> describeTableStatisticsAsync(DescribeTableStatisticsRequest request, AsyncHandler<DescribeTableStatisticsRequest, DescribeTableStatisticsResult> asyncHandler) Description copied from interface:AWSDatabaseMigrationServiceAsync
Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted.
- Specified by:
describeTableStatisticsAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the DescribeTableStatistics operation returned by the service.
-
listTagsForResourceAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request) Description copied from interface:AWSDatabaseMigrationServiceAsync
Lists all tags for an AWS DMS resource.
- Specified by:
listTagsForResourceAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
-
listTagsForResourceAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest, ListTagsForResourceResult> asyncHandler) Description copied from interface:AWSDatabaseMigrationServiceAsync
Lists all tags for an AWS DMS resource.
- Specified by:
listTagsForResourceAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
-
modifyEndpointAsync
Description copied from interface:AWSDatabaseMigrationServiceAsync
Modifies the specified endpoint.
- Specified by:
modifyEndpointAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the ModifyEndpoint operation returned by the service.
-
modifyEndpointAsync
public Future<ModifyEndpointResult> modifyEndpointAsync(ModifyEndpointRequest request, AsyncHandler<ModifyEndpointRequest, ModifyEndpointResult> asyncHandler) Description copied from interface:AWSDatabaseMigrationServiceAsync
Modifies the specified endpoint.
- Specified by:
modifyEndpointAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the ModifyEndpoint operation returned by the service.
-
modifyReplicationInstanceAsync
public Future<ModifyReplicationInstanceResult> modifyReplicationInstanceAsync(ModifyReplicationInstanceRequest request) Description copied from interface: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.
Some settings are applied during the maintenance window. - Specified by:
modifyReplicationInstanceAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the ModifyReplicationInstance operation returned by the service.
-
modifyReplicationInstanceAsync
public Future<ModifyReplicationInstanceResult> modifyReplicationInstanceAsync(ModifyReplicationInstanceRequest request, AsyncHandler<ModifyReplicationInstanceRequest, ModifyReplicationInstanceResult> asyncHandler) Description copied from interface: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.
Some settings are applied during the maintenance window. - Specified by:
modifyReplicationInstanceAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the ModifyReplicationInstance operation returned by the service.
-
modifyReplicationSubnetGroupAsync
public Future<ModifyReplicationSubnetGroupResult> modifyReplicationSubnetGroupAsync(ModifyReplicationSubnetGroupRequest request) Description copied from interface:AWSDatabaseMigrationServiceAsync
Modifies the settings for the specified replication subnet group.
- Specified by:
modifyReplicationSubnetGroupAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the ModifyReplicationSubnetGroup operation returned by the service.
-
modifyReplicationSubnetGroupAsync
public Future<ModifyReplicationSubnetGroupResult> modifyReplicationSubnetGroupAsync(ModifyReplicationSubnetGroupRequest request, AsyncHandler<ModifyReplicationSubnetGroupRequest, ModifyReplicationSubnetGroupResult> asyncHandler) Description copied from interface:AWSDatabaseMigrationServiceAsync
Modifies the settings for the specified replication subnet group.
- Specified by:
modifyReplicationSubnetGroupAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the ModifyReplicationSubnetGroup operation returned by the service.
-
refreshSchemasAsync
Description copied from interface: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.
- Specified by:
refreshSchemasAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the RefreshSchemas operation returned by the service.
-
refreshSchemasAsync
public Future<RefreshSchemasResult> refreshSchemasAsync(RefreshSchemasRequest request, AsyncHandler<RefreshSchemasRequest, RefreshSchemasResult> asyncHandler) Description copied from interface: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.
- Specified by:
refreshSchemasAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the RefreshSchemas operation returned by the service.
-
removeTagsFromResourceAsync
public Future<RemoveTagsFromResourceResult> removeTagsFromResourceAsync(RemoveTagsFromResourceRequest request) Description copied from interface:AWSDatabaseMigrationServiceAsync
Removes metadata tags from a DMS resource.
- Specified by:
removeTagsFromResourceAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the RemoveTagsFromResource operation returned by the service.
-
removeTagsFromResourceAsync
public Future<RemoveTagsFromResourceResult> removeTagsFromResourceAsync(RemoveTagsFromResourceRequest request, AsyncHandler<RemoveTagsFromResourceRequest, RemoveTagsFromResourceResult> asyncHandler) Description copied from interface:AWSDatabaseMigrationServiceAsync
Removes metadata tags from a DMS resource.
- Specified by:
removeTagsFromResourceAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the RemoveTagsFromResource operation returned by the service.
-
startReplicationTaskAsync
public Future<StartReplicationTaskResult> startReplicationTaskAsync(StartReplicationTaskRequest request) Description copied from interface:AWSDatabaseMigrationServiceAsync
Starts the replication task.
- Specified by:
startReplicationTaskAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the StartReplicationTask operation returned by the service.
-
startReplicationTaskAsync
public Future<StartReplicationTaskResult> startReplicationTaskAsync(StartReplicationTaskRequest request, AsyncHandler<StartReplicationTaskRequest, StartReplicationTaskResult> asyncHandler) Description copied from interface:AWSDatabaseMigrationServiceAsync
Starts the replication task.
- Specified by:
startReplicationTaskAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the StartReplicationTask operation returned by the service.
-
stopReplicationTaskAsync
public Future<StopReplicationTaskResult> stopReplicationTaskAsync(StopReplicationTaskRequest request) Description copied from interface:AWSDatabaseMigrationServiceAsync
Stops the replication task.
- Specified by:
stopReplicationTaskAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the StopReplicationTask operation returned by the service.
-
stopReplicationTaskAsync
public Future<StopReplicationTaskResult> stopReplicationTaskAsync(StopReplicationTaskRequest request, AsyncHandler<StopReplicationTaskRequest, StopReplicationTaskResult> asyncHandler) Description copied from interface:AWSDatabaseMigrationServiceAsync
Stops the replication task.
- Specified by:
stopReplicationTaskAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the StopReplicationTask operation returned by the service.
-
testConnectionAsync
Description copied from interface:AWSDatabaseMigrationServiceAsync
Tests the connection between the replication instance and the endpoint.
- Specified by:
testConnectionAsync
in interfaceAWSDatabaseMigrationServiceAsync
- Returns:
- A Java Future containing the result of the TestConnection operation returned by the service.
-
testConnectionAsync
public Future<TestConnectionResult> testConnectionAsync(TestConnectionRequest request, AsyncHandler<TestConnectionRequest, TestConnectionResult> asyncHandler) Description copied from interface:AWSDatabaseMigrationServiceAsync
Tests the connection between the replication instance and the endpoint.
- Specified by:
testConnectionAsync
in interfaceAWSDatabaseMigrationServiceAsync
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.- Returns:
- A Java Future containing the result of the TestConnection operation returned by the service.
-
shutdown
public void shutdown()Shuts down the client, releasing all managed resources. This includes forcibly terminating all pending asynchronous service calls. Clients who wish to give pending asynchronous service calls time to complete should callgetExecutorService().shutdown()
followed bygetExecutorService().awaitTermination()
prior to calling this method.- Specified by:
shutdown
in interfaceAWSDatabaseMigrationService
- Overrides:
shutdown
in classAmazonWebServiceClient
-