@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSDatabaseMigrationServiceAsyncClient extends AWSDatabaseMigrationServiceClient implements AWSDatabaseMigrationServiceAsync
AsyncHandler
can be used to
receive notification when an asynchronous operation completes.
AWS Database Migration Service (AWS DMS) can migrate your data to and from the most widely used commercial and open-source databases such as Oracle, PostgreSQL, Microsoft SQL Server, Amazon Redshift, MariaDB, Amazon Aurora, MySQL, and SAP Adaptive Server Enterprise (ASE). The service supports homogeneous migrations such as Oracle to Oracle, as well as heterogeneous migrations between different database platforms, such as Oracle to MySQL or SQL Server to PostgreSQL.
For more information about AWS DMS, see the AWS DMS user guide at What Is AWS Database Migration Service?
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
addTagsToResource, builder, createEndpoint, createEventSubscription, createReplicationInstance, createReplicationSubnetGroup, createReplicationTask, deleteCertificate, deleteEndpoint, deleteEventSubscription, deleteReplicationInstance, deleteReplicationSubnetGroup, deleteReplicationTask, describeAccountAttributes, describeCertificates, describeConnections, describeEndpoints, describeEndpointTypes, describeEventCategories, describeEvents, describeEventSubscriptions, describeOrderableReplicationInstances, describeRefreshSchemasStatus, describeReplicationInstances, describeReplicationSubnetGroups, describeReplicationTasks, describeSchemas, describeTableStatistics, getCachedResponseMetadata, importCertificate, listTagsForResource, modifyEndpoint, modifyEventSubscription, modifyReplicationInstance, modifyReplicationSubnetGroup, modifyReplicationTask, refreshSchemas, reloadTables, removeTagsFromResource, startReplicationTask, stopReplicationTask, testConnection
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addTagsToResource, createEndpoint, createEventSubscription, createReplicationInstance, createReplicationSubnetGroup, createReplicationTask, deleteCertificate, deleteEndpoint, deleteEventSubscription, deleteReplicationInstance, deleteReplicationSubnetGroup, deleteReplicationTask, describeAccountAttributes, describeCertificates, describeConnections, describeEndpoints, describeEndpointTypes, describeEventCategories, describeEvents, describeEventSubscriptions, describeOrderableReplicationInstances, describeRefreshSchemasStatus, describeReplicationInstances, describeReplicationSubnetGroups, describeReplicationTasks, describeSchemas, describeTableStatistics, getCachedResponseMetadata, importCertificate, listTagsForResource, modifyEndpoint, modifyEventSubscription, modifyReplicationInstance, modifyReplicationSubnetGroup, modifyReplicationTask, refreshSchemas, reloadTables, removeTagsFromResource, setEndpoint, setRegion, startReplicationTask, stopReplicationTask, testConnection
@Deprecated public AWSDatabaseMigrationServiceAsyncClient()
AWSDatabaseMigrationServiceAsyncClientBuilder.defaultClient()
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).
@Deprecated public AWSDatabaseMigrationServiceAsyncClient(ClientConfiguration clientConfiguration)
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections()
.
clientConfiguration
- The client configuration options controlling how this client connects to AWS Database Migration Service
(ex: proxy settings, retry counts, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
@Deprecated public AWSDatabaseMigrationServiceAsyncClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.Executors.newFixedThreadPool(int)
@Deprecated public AWSDatabaseMigrationServiceAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
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.@Deprecated public AWSDatabaseMigrationServiceAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
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.@Deprecated public AWSDatabaseMigrationServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.Executors.newFixedThreadPool(int)
@Deprecated public AWSDatabaseMigrationServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the
maximum number of concurrent connections configured via ClientConfiguration.getMaxConnections()
.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
@Deprecated public AWSDatabaseMigrationServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
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.@Deprecated public AWSDatabaseMigrationServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
and
AwsAsyncClientBuilder.withExecutorFactory(com.amazonaws.client.builder.ExecutorFactory)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings, etc).executorService
- The executor service by which all asynchronous requests will be executed.public static AWSDatabaseMigrationServiceAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AddTagsToResourceResult> addTagsToResourceAsync(AddTagsToResourceRequest request)
AWSDatabaseMigrationServiceAsync
Adds metadata tags to a DMS resource, including replication instance, endpoint, security group, and migration task. These tags can also be used with cost allocation reporting to track cost associated with DMS resources, or used in a Condition statement in an IAM policy for DMS.
addTagsToResourceAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<AddTagsToResourceResult> addTagsToResourceAsync(AddTagsToResourceRequest request, AsyncHandler<AddTagsToResourceRequest,AddTagsToResourceResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Adds metadata tags to a DMS resource, including replication instance, endpoint, security group, and migration task. These tags can also be used with cost allocation reporting to track cost associated with DMS resources, or used in a Condition statement in an IAM policy for DMS.
addTagsToResourceAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateEndpointResult> createEndpointAsync(CreateEndpointRequest request)
AWSDatabaseMigrationServiceAsync
Creates an endpoint using the provided settings.
createEndpointAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<CreateEndpointResult> createEndpointAsync(CreateEndpointRequest request, AsyncHandler<CreateEndpointRequest,CreateEndpointResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Creates an endpoint using the provided settings.
createEndpointAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateEventSubscriptionResult> createEventSubscriptionAsync(CreateEventSubscriptionRequest request)
AWSDatabaseMigrationServiceAsync
Creates an AWS DMS event notification subscription.
You can specify the type of source (SourceType
) you want to be notified of, provide a list of AWS
DMS source IDs (SourceIds
) that triggers the events, and provide a list of event categories (
EventCategories
) for events you want to be notified of. If you specify both the
SourceType
and SourceIds
, such as SourceType = replication-instance
and
SourceIdentifier = my-replinstance
, you will be notified of all the replication instance events for
the specified source. If you specify a SourceType
but don't specify a SourceIdentifier
,
you receive notice of the events for that source type for all your AWS DMS sources. If you don't specify either
SourceType
nor SourceIdentifier
, you will be notified of events generated from all AWS
DMS sources belonging to your customer account.
For more information about AWS DMS events, see Working with Events and Notifications in the AWS Database MIgration Service User Guide.
createEventSubscriptionAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<CreateEventSubscriptionResult> createEventSubscriptionAsync(CreateEventSubscriptionRequest request, AsyncHandler<CreateEventSubscriptionRequest,CreateEventSubscriptionResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Creates an AWS DMS event notification subscription.
You can specify the type of source (SourceType
) you want to be notified of, provide a list of AWS
DMS source IDs (SourceIds
) that triggers the events, and provide a list of event categories (
EventCategories
) for events you want to be notified of. If you specify both the
SourceType
and SourceIds
, such as SourceType = replication-instance
and
SourceIdentifier = my-replinstance
, you will be notified of all the replication instance events for
the specified source. If you specify a SourceType
but don't specify a SourceIdentifier
,
you receive notice of the events for that source type for all your AWS DMS sources. If you don't specify either
SourceType
nor SourceIdentifier
, you will be notified of events generated from all AWS
DMS sources belonging to your customer account.
For more information about AWS DMS events, see Working with Events and Notifications in the AWS Database MIgration Service User Guide.
createEventSubscriptionAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateReplicationInstanceResult> createReplicationInstanceAsync(CreateReplicationInstanceRequest request)
AWSDatabaseMigrationServiceAsync
Creates the replication instance using the specified parameters.
createReplicationInstanceAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<CreateReplicationInstanceResult> createReplicationInstanceAsync(CreateReplicationInstanceRequest request, AsyncHandler<CreateReplicationInstanceRequest,CreateReplicationInstanceResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Creates the replication instance using the specified parameters.
createReplicationInstanceAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateReplicationSubnetGroupResult> createReplicationSubnetGroupAsync(CreateReplicationSubnetGroupRequest request)
AWSDatabaseMigrationServiceAsync
Creates a replication subnet group given a list of the subnet IDs in a VPC.
createReplicationSubnetGroupAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<CreateReplicationSubnetGroupResult> createReplicationSubnetGroupAsync(CreateReplicationSubnetGroupRequest request, AsyncHandler<CreateReplicationSubnetGroupRequest,CreateReplicationSubnetGroupResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Creates a replication subnet group given a list of the subnet IDs in a VPC.
createReplicationSubnetGroupAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateReplicationTaskResult> createReplicationTaskAsync(CreateReplicationTaskRequest request)
AWSDatabaseMigrationServiceAsync
Creates a replication task using the specified parameters.
createReplicationTaskAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<CreateReplicationTaskResult> createReplicationTaskAsync(CreateReplicationTaskRequest request, AsyncHandler<CreateReplicationTaskRequest,CreateReplicationTaskResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Creates a replication task using the specified parameters.
createReplicationTaskAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteCertificateResult> deleteCertificateAsync(DeleteCertificateRequest request)
AWSDatabaseMigrationServiceAsync
Deletes the specified certificate.
deleteCertificateAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<DeleteCertificateResult> deleteCertificateAsync(DeleteCertificateRequest request, AsyncHandler<DeleteCertificateRequest,DeleteCertificateResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Deletes the specified certificate.
deleteCertificateAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteEndpointResult> deleteEndpointAsync(DeleteEndpointRequest request)
AWSDatabaseMigrationServiceAsync
Deletes the specified endpoint.
All tasks associated with the endpoint must be deleted before you can delete the endpoint.
deleteEndpointAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<DeleteEndpointResult> deleteEndpointAsync(DeleteEndpointRequest request, AsyncHandler<DeleteEndpointRequest,DeleteEndpointResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Deletes the specified endpoint.
All tasks associated with the endpoint must be deleted before you can delete the endpoint.
deleteEndpointAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteEventSubscriptionResult> deleteEventSubscriptionAsync(DeleteEventSubscriptionRequest request)
AWSDatabaseMigrationServiceAsync
Deletes an AWS DMS event subscription.
deleteEventSubscriptionAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<DeleteEventSubscriptionResult> deleteEventSubscriptionAsync(DeleteEventSubscriptionRequest request, AsyncHandler<DeleteEventSubscriptionRequest,DeleteEventSubscriptionResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Deletes an AWS DMS event subscription.
deleteEventSubscriptionAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteReplicationInstanceResult> deleteReplicationInstanceAsync(DeleteReplicationInstanceRequest request)
AWSDatabaseMigrationServiceAsync
Deletes the specified replication instance.
You must delete any migration tasks that are associated with the replication instance before you can delete it.
deleteReplicationInstanceAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<DeleteReplicationInstanceResult> deleteReplicationInstanceAsync(DeleteReplicationInstanceRequest request, AsyncHandler<DeleteReplicationInstanceRequest,DeleteReplicationInstanceResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Deletes the specified replication instance.
You must delete any migration tasks that are associated with the replication instance before you can delete it.
deleteReplicationInstanceAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteReplicationSubnetGroupResult> deleteReplicationSubnetGroupAsync(DeleteReplicationSubnetGroupRequest request)
AWSDatabaseMigrationServiceAsync
Deletes a subnet group.
deleteReplicationSubnetGroupAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<DeleteReplicationSubnetGroupResult> deleteReplicationSubnetGroupAsync(DeleteReplicationSubnetGroupRequest request, AsyncHandler<DeleteReplicationSubnetGroupRequest,DeleteReplicationSubnetGroupResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Deletes a subnet group.
deleteReplicationSubnetGroupAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteReplicationTaskResult> deleteReplicationTaskAsync(DeleteReplicationTaskRequest request)
AWSDatabaseMigrationServiceAsync
Deletes the specified replication task.
deleteReplicationTaskAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<DeleteReplicationTaskResult> deleteReplicationTaskAsync(DeleteReplicationTaskRequest request, AsyncHandler<DeleteReplicationTaskRequest,DeleteReplicationTaskResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Deletes the specified replication task.
deleteReplicationTaskAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeAccountAttributesResult> describeAccountAttributesAsync(DescribeAccountAttributesRequest request)
AWSDatabaseMigrationServiceAsync
Lists all of the AWS DMS attributes for a customer account. The attributes include AWS DMS quotas for the account, such as the number of replication instances allowed. The description for a quota includes the quota name, current usage toward that quota, and the quota's maximum value.
This command does not take any parameters.
describeAccountAttributesAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<DescribeAccountAttributesResult> describeAccountAttributesAsync(DescribeAccountAttributesRequest request, AsyncHandler<DescribeAccountAttributesRequest,DescribeAccountAttributesResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Lists all of the AWS DMS attributes for a customer account. The attributes include AWS DMS quotas for the account, such as the number of replication instances allowed. The description for a quota includes the quota name, current usage toward that quota, and the quota's maximum value.
This command does not take any parameters.
describeAccountAttributesAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeCertificatesResult> describeCertificatesAsync(DescribeCertificatesRequest request)
AWSDatabaseMigrationServiceAsync
Provides a description of the certificate.
describeCertificatesAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<DescribeCertificatesResult> describeCertificatesAsync(DescribeCertificatesRequest request, AsyncHandler<DescribeCertificatesRequest,DescribeCertificatesResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Provides a description of the certificate.
describeCertificatesAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeConnectionsResult> describeConnectionsAsync(DescribeConnectionsRequest request)
AWSDatabaseMigrationServiceAsync
Describes the status of the connections that have been made between the replication instance and an endpoint. Connections are created when you test an endpoint.
describeConnectionsAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<DescribeConnectionsResult> describeConnectionsAsync(DescribeConnectionsRequest request, AsyncHandler<DescribeConnectionsRequest,DescribeConnectionsResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Describes the status of the connections that have been made between the replication instance and an endpoint. Connections are created when you test an endpoint.
describeConnectionsAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeEndpointTypesResult> describeEndpointTypesAsync(DescribeEndpointTypesRequest request)
AWSDatabaseMigrationServiceAsync
Returns information about the type of endpoints available.
describeEndpointTypesAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<DescribeEndpointTypesResult> describeEndpointTypesAsync(DescribeEndpointTypesRequest request, AsyncHandler<DescribeEndpointTypesRequest,DescribeEndpointTypesResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Returns information about the type of endpoints available.
describeEndpointTypesAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeEndpointsResult> describeEndpointsAsync(DescribeEndpointsRequest request)
AWSDatabaseMigrationServiceAsync
Returns information about the endpoints for your account in the current region.
describeEndpointsAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<DescribeEndpointsResult> describeEndpointsAsync(DescribeEndpointsRequest request, AsyncHandler<DescribeEndpointsRequest,DescribeEndpointsResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Returns information about the endpoints for your account in the current region.
describeEndpointsAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeEventCategoriesResult> describeEventCategoriesAsync(DescribeEventCategoriesRequest request)
AWSDatabaseMigrationServiceAsync
Lists categories for all event source types, or, if specified, for a specified source type. You can see a list of the event categories and source types in Working with Events and Notifications in the AWS Database Migration Service User Guide.
describeEventCategoriesAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<DescribeEventCategoriesResult> describeEventCategoriesAsync(DescribeEventCategoriesRequest request, AsyncHandler<DescribeEventCategoriesRequest,DescribeEventCategoriesResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Lists categories for all event source types, or, if specified, for a specified source type. You can see a list of the event categories and source types in Working with Events and Notifications in the AWS Database Migration Service User Guide.
describeEventCategoriesAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeEventSubscriptionsResult> describeEventSubscriptionsAsync(DescribeEventSubscriptionsRequest request)
AWSDatabaseMigrationServiceAsync
Lists all the event subscriptions for a customer account. The description of a subscription includes
SubscriptionName
, SNSTopicARN
, CustomerID
, SourceType
,
SourceID
, CreationTime
, and Status
.
If you specify SubscriptionName
, this action lists the description for that subscription.
describeEventSubscriptionsAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<DescribeEventSubscriptionsResult> describeEventSubscriptionsAsync(DescribeEventSubscriptionsRequest request, AsyncHandler<DescribeEventSubscriptionsRequest,DescribeEventSubscriptionsResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Lists all the event subscriptions for a customer account. The description of a subscription includes
SubscriptionName
, SNSTopicARN
, CustomerID
, SourceType
,
SourceID
, CreationTime
, and Status
.
If you specify SubscriptionName
, this action lists the description for that subscription.
describeEventSubscriptionsAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest request)
AWSDatabaseMigrationServiceAsync
Lists events for a given source identifier and source type. You can also specify a start and end time. For more information on AWS DMS events, see Working with Events and Notifications .
describeEventsAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest request, AsyncHandler<DescribeEventsRequest,DescribeEventsResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Lists events for a given source identifier and source type. You can also specify a start and end time. For more information on AWS DMS events, see Working with Events and Notifications .
describeEventsAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeOrderableReplicationInstancesResult> describeOrderableReplicationInstancesAsync(DescribeOrderableReplicationInstancesRequest request)
AWSDatabaseMigrationServiceAsync
Returns information about the replication instance types that can be created in the specified region.
describeOrderableReplicationInstancesAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<DescribeOrderableReplicationInstancesResult> describeOrderableReplicationInstancesAsync(DescribeOrderableReplicationInstancesRequest request, AsyncHandler<DescribeOrderableReplicationInstancesRequest,DescribeOrderableReplicationInstancesResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Returns information about the replication instance types that can be created in the specified region.
describeOrderableReplicationInstancesAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeRefreshSchemasStatusResult> describeRefreshSchemasStatusAsync(DescribeRefreshSchemasStatusRequest request)
AWSDatabaseMigrationServiceAsync
Returns the status of the RefreshSchemas operation.
describeRefreshSchemasStatusAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<DescribeRefreshSchemasStatusResult> describeRefreshSchemasStatusAsync(DescribeRefreshSchemasStatusRequest request, AsyncHandler<DescribeRefreshSchemasStatusRequest,DescribeRefreshSchemasStatusResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Returns the status of the RefreshSchemas operation.
describeRefreshSchemasStatusAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeReplicationInstancesResult> describeReplicationInstancesAsync(DescribeReplicationInstancesRequest request)
AWSDatabaseMigrationServiceAsync
Returns information about replication instances for your account in the current region.
describeReplicationInstancesAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<DescribeReplicationInstancesResult> describeReplicationInstancesAsync(DescribeReplicationInstancesRequest request, AsyncHandler<DescribeReplicationInstancesRequest,DescribeReplicationInstancesResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Returns information about replication instances for your account in the current region.
describeReplicationInstancesAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeReplicationSubnetGroupsResult> describeReplicationSubnetGroupsAsync(DescribeReplicationSubnetGroupsRequest request)
AWSDatabaseMigrationServiceAsync
Returns information about the replication subnet groups.
describeReplicationSubnetGroupsAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<DescribeReplicationSubnetGroupsResult> describeReplicationSubnetGroupsAsync(DescribeReplicationSubnetGroupsRequest request, AsyncHandler<DescribeReplicationSubnetGroupsRequest,DescribeReplicationSubnetGroupsResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Returns information about the replication subnet groups.
describeReplicationSubnetGroupsAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeReplicationTasksResult> describeReplicationTasksAsync(DescribeReplicationTasksRequest request)
AWSDatabaseMigrationServiceAsync
Returns information about replication tasks for your account in the current region.
describeReplicationTasksAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<DescribeReplicationTasksResult> describeReplicationTasksAsync(DescribeReplicationTasksRequest request, AsyncHandler<DescribeReplicationTasksRequest,DescribeReplicationTasksResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Returns information about replication tasks for your account in the current region.
describeReplicationTasksAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeSchemasResult> describeSchemasAsync(DescribeSchemasRequest request)
AWSDatabaseMigrationServiceAsync
Returns information about the schema for the specified endpoint.
describeSchemasAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<DescribeSchemasResult> describeSchemasAsync(DescribeSchemasRequest request, AsyncHandler<DescribeSchemasRequest,DescribeSchemasResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Returns information about the schema for the specified endpoint.
describeSchemasAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeTableStatisticsResult> describeTableStatisticsAsync(DescribeTableStatisticsRequest request)
AWSDatabaseMigrationServiceAsync
Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted.
Note that the "last updated" column the DMS console only indicates the time that AWS DMS last updated the table statistics record for a table. It does not indicate the time of the last update to the table.
describeTableStatisticsAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<DescribeTableStatisticsResult> describeTableStatisticsAsync(DescribeTableStatisticsRequest request, AsyncHandler<DescribeTableStatisticsRequest,DescribeTableStatisticsResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted.
Note that the "last updated" column the DMS console only indicates the time that AWS DMS last updated the table statistics record for a table. It does not indicate the time of the last update to the table.
describeTableStatisticsAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ImportCertificateResult> importCertificateAsync(ImportCertificateRequest request)
AWSDatabaseMigrationServiceAsync
Uploads the specified certificate.
importCertificateAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<ImportCertificateResult> importCertificateAsync(ImportCertificateRequest request, AsyncHandler<ImportCertificateRequest,ImportCertificateResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Uploads the specified certificate.
importCertificateAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSDatabaseMigrationServiceAsync
Lists all tags for an AWS DMS resource.
listTagsForResourceAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Lists all tags for an AWS DMS resource.
listTagsForResourceAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ModifyEndpointResult> modifyEndpointAsync(ModifyEndpointRequest request)
AWSDatabaseMigrationServiceAsync
Modifies the specified endpoint.
modifyEndpointAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<ModifyEndpointResult> modifyEndpointAsync(ModifyEndpointRequest request, AsyncHandler<ModifyEndpointRequest,ModifyEndpointResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Modifies the specified endpoint.
modifyEndpointAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ModifyEventSubscriptionResult> modifyEventSubscriptionAsync(ModifyEventSubscriptionRequest request)
AWSDatabaseMigrationServiceAsync
Modifies an existing AWS DMS event notification subscription.
modifyEventSubscriptionAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<ModifyEventSubscriptionResult> modifyEventSubscriptionAsync(ModifyEventSubscriptionRequest request, AsyncHandler<ModifyEventSubscriptionRequest,ModifyEventSubscriptionResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Modifies an existing AWS DMS event notification subscription.
modifyEventSubscriptionAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ModifyReplicationInstanceResult> modifyReplicationInstanceAsync(ModifyReplicationInstanceRequest request)
AWSDatabaseMigrationServiceAsync
Modifies the replication instance to apply new settings. You can change one or more parameters by specifying these parameters and the new values in the request.
Some settings are applied during the maintenance window.
modifyReplicationInstanceAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<ModifyReplicationInstanceResult> modifyReplicationInstanceAsync(ModifyReplicationInstanceRequest request, AsyncHandler<ModifyReplicationInstanceRequest,ModifyReplicationInstanceResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Modifies the replication instance to apply new settings. You can change one or more parameters by specifying these parameters and the new values in the request.
Some settings are applied during the maintenance window.
modifyReplicationInstanceAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ModifyReplicationSubnetGroupResult> modifyReplicationSubnetGroupAsync(ModifyReplicationSubnetGroupRequest request)
AWSDatabaseMigrationServiceAsync
Modifies the settings for the specified replication subnet group.
modifyReplicationSubnetGroupAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<ModifyReplicationSubnetGroupResult> modifyReplicationSubnetGroupAsync(ModifyReplicationSubnetGroupRequest request, AsyncHandler<ModifyReplicationSubnetGroupRequest,ModifyReplicationSubnetGroupResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Modifies the settings for the specified replication subnet group.
modifyReplicationSubnetGroupAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ModifyReplicationTaskResult> modifyReplicationTaskAsync(ModifyReplicationTaskRequest request)
AWSDatabaseMigrationServiceAsync
Modifies the specified replication task.
You can't modify the task endpoints. The task must be stopped before you can modify it.
For more information about AWS DMS tasks, see the AWS DMS user guide at Working with Migration Tasks
modifyReplicationTaskAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<ModifyReplicationTaskResult> modifyReplicationTaskAsync(ModifyReplicationTaskRequest request, AsyncHandler<ModifyReplicationTaskRequest,ModifyReplicationTaskResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Modifies the specified replication task.
You can't modify the task endpoints. The task must be stopped before you can modify it.
For more information about AWS DMS tasks, see the AWS DMS user guide at Working with Migration Tasks
modifyReplicationTaskAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RefreshSchemasResult> refreshSchemasAsync(RefreshSchemasRequest request)
AWSDatabaseMigrationServiceAsync
Populates the schema for the specified endpoint. This is an asynchronous operation and can take several minutes. You can check the status of this operation by calling the DescribeRefreshSchemasStatus operation.
refreshSchemasAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<RefreshSchemasResult> refreshSchemasAsync(RefreshSchemasRequest request, AsyncHandler<RefreshSchemasRequest,RefreshSchemasResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Populates the schema for the specified endpoint. This is an asynchronous operation and can take several minutes. You can check the status of this operation by calling the DescribeRefreshSchemasStatus operation.
refreshSchemasAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ReloadTablesResult> reloadTablesAsync(ReloadTablesRequest request)
AWSDatabaseMigrationServiceAsync
Reloads the target database table with the source data.
reloadTablesAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<ReloadTablesResult> reloadTablesAsync(ReloadTablesRequest request, AsyncHandler<ReloadTablesRequest,ReloadTablesResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Reloads the target database table with the source data.
reloadTablesAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RemoveTagsFromResourceResult> removeTagsFromResourceAsync(RemoveTagsFromResourceRequest request)
AWSDatabaseMigrationServiceAsync
Removes metadata tags from a DMS resource.
removeTagsFromResourceAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<RemoveTagsFromResourceResult> removeTagsFromResourceAsync(RemoveTagsFromResourceRequest request, AsyncHandler<RemoveTagsFromResourceRequest,RemoveTagsFromResourceResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Removes metadata tags from a DMS resource.
removeTagsFromResourceAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartReplicationTaskResult> startReplicationTaskAsync(StartReplicationTaskRequest request)
AWSDatabaseMigrationServiceAsync
Starts the replication task.
For more information about AWS DMS tasks, see the AWS DMS user guide at Working with Migration Tasks
startReplicationTaskAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<StartReplicationTaskResult> startReplicationTaskAsync(StartReplicationTaskRequest request, AsyncHandler<StartReplicationTaskRequest,StartReplicationTaskResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Starts the replication task.
For more information about AWS DMS tasks, see the AWS DMS user guide at Working with Migration Tasks
startReplicationTaskAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopReplicationTaskResult> stopReplicationTaskAsync(StopReplicationTaskRequest request)
AWSDatabaseMigrationServiceAsync
Stops the replication task.
stopReplicationTaskAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<StopReplicationTaskResult> stopReplicationTaskAsync(StopReplicationTaskRequest request, AsyncHandler<StopReplicationTaskRequest,StopReplicationTaskResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Stops the replication task.
stopReplicationTaskAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TestConnectionResult> testConnectionAsync(TestConnectionRequest request)
AWSDatabaseMigrationServiceAsync
Tests the connection between the replication instance and the endpoint.
testConnectionAsync
in interface AWSDatabaseMigrationServiceAsync
public Future<TestConnectionResult> testConnectionAsync(TestConnectionRequest request, AsyncHandler<TestConnectionRequest,TestConnectionResult> asyncHandler)
AWSDatabaseMigrationServiceAsync
Tests the connection between the replication instance and the endpoint.
testConnectionAsync
in interface AWSDatabaseMigrationServiceAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSDatabaseMigrationService
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.