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 AWSDatabaseMigrationServiceClient
configFactoryFields inherited from class 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.voidshutdown()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 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, testConnectionMethods inherited from class 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, withTimeOffsetMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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).
- See Also:
-
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:AWSDatabaseMigrationServiceAsyncAdds 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:
addTagsToResourceAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncAdds 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:
addTagsToResourceAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncCreates an endpoint using the provided settings.
- Specified by:
createEndpointAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncCreates an endpoint using the provided settings.
- Specified by:
createEndpointAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncCreates the replication instance using the specified parameters.
- Specified by:
createReplicationInstanceAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncCreates the replication instance using the specified parameters.
- Specified by:
createReplicationInstanceAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncCreates a replication subnet group given a list of the subnet IDs in a VPC.
- Specified by:
createReplicationSubnetGroupAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncCreates a replication subnet group given a list of the subnet IDs in a VPC.
- Specified by:
createReplicationSubnetGroupAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncCreates a replication task using the specified parameters.
- Specified by:
createReplicationTaskAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncCreates a replication task using the specified parameters.
- Specified by:
createReplicationTaskAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncDeletes the specified endpoint.
All tasks associated with the endpoint must be deleted before you can delete the endpoint. - Specified by:
deleteEndpointAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncDeletes the specified endpoint.
All tasks associated with the endpoint must be deleted before you can delete the endpoint. - Specified by:
deleteEndpointAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncDeletes the specified replication instance.
You must delete any migration tasks that are associated with the replication instance before you can delete it. - Specified by:
deleteReplicationInstanceAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncDeletes the specified replication instance.
You must delete any migration tasks that are associated with the replication instance before you can delete it. - Specified by:
deleteReplicationInstanceAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncDeletes a subnet group.
- Specified by:
deleteReplicationSubnetGroupAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncDeletes a subnet group.
- Specified by:
deleteReplicationSubnetGroupAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncDeletes the specified replication task.
- Specified by:
deleteReplicationTaskAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncDeletes the specified replication task.
- Specified by:
deleteReplicationTaskAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncLists 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:
describeAccountAttributesAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncLists 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:
describeAccountAttributesAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncDescribes 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:
describeConnectionsAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncDescribes 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:
describeConnectionsAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncReturns information about the type of endpoints available.
- Specified by:
describeEndpointTypesAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncReturns information about the type of endpoints available.
- Specified by:
describeEndpointTypesAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncReturns information about the endpoints for your account in the current region.
- Specified by:
describeEndpointsAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncReturns information about the endpoints for your account in the current region.
- Specified by:
describeEndpointsAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncReturns information about the replication instance types that can be created in the specified region.
- Specified by:
describeOrderableReplicationInstancesAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncReturns information about the replication instance types that can be created in the specified region.
- Specified by:
describeOrderableReplicationInstancesAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncReturns the status of the RefreshSchemas operation.
- Specified by:
describeRefreshSchemasStatusAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncReturns the status of the RefreshSchemas operation.
- Specified by:
describeRefreshSchemasStatusAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncReturns information about replication instances for your account in the current region.
- Specified by:
describeReplicationInstancesAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncReturns information about replication instances for your account in the current region.
- Specified by:
describeReplicationInstancesAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncReturns information about the replication subnet groups.
- Specified by:
describeReplicationSubnetGroupsAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncReturns information about the replication subnet groups.
- Specified by:
describeReplicationSubnetGroupsAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncReturns information about replication tasks for your account in the current region.
- Specified by:
describeReplicationTasksAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncReturns information about replication tasks for your account in the current region.
- Specified by:
describeReplicationTasksAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncReturns information about the schema for the specified endpoint.
- Specified by:
describeSchemasAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncReturns information about the schema for the specified endpoint.
- Specified by:
describeSchemasAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncReturns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted.
- Specified by:
describeTableStatisticsAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncReturns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted.
- Specified by:
describeTableStatisticsAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncLists all tags for an AWS DMS resource.
- Specified by:
listTagsForResourceAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncLists all tags for an AWS DMS resource.
- Specified by:
listTagsForResourceAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncModifies the specified endpoint.
- Specified by:
modifyEndpointAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncModifies the specified endpoint.
- Specified by:
modifyEndpointAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncModifies 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:
modifyReplicationInstanceAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncModifies 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:
modifyReplicationInstanceAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncModifies the settings for the specified replication subnet group.
- Specified by:
modifyReplicationSubnetGroupAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncModifies the settings for the specified replication subnet group.
- Specified by:
modifyReplicationSubnetGroupAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncPopulates 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:
refreshSchemasAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncPopulates 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:
refreshSchemasAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncRemoves metadata tags from a DMS resource.
- Specified by:
removeTagsFromResourceAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncRemoves metadata tags from a DMS resource.
- Specified by:
removeTagsFromResourceAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncStarts the replication task.
- Specified by:
startReplicationTaskAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncStarts the replication task.
- Specified by:
startReplicationTaskAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncStops the replication task.
- Specified by:
stopReplicationTaskAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncStops the replication task.
- Specified by:
stopReplicationTaskAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:AWSDatabaseMigrationServiceAsyncTests the connection between the replication instance and the endpoint.
- Specified by:
testConnectionAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-- 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:AWSDatabaseMigrationServiceAsyncTests the connection between the replication instance and the endpoint.
- Specified by:
testConnectionAsyncin interfaceAWSDatabaseMigrationServiceAsync- Parameters:
request-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:
shutdownin interfaceAWSDatabaseMigrationService- Overrides:
shutdownin classAmazonWebServiceClient
-