All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.databasemigration.DatabaseMigrationAsyncClient Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Database Migration Service module holds the client classes that are used for communicating with AWS Database Migration Service.

There is a newer version: 2.0.0-preview-11
Show newest version
/*
 * Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */

package software.amazon.awssdk.services.databasemigration;

import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import javax.annotation.Generated;
import software.amazon.awssdk.services.databasemigration.model.AddTagsToResourceRequest;
import software.amazon.awssdk.services.databasemigration.model.AddTagsToResourceResponse;
import software.amazon.awssdk.services.databasemigration.model.CreateEndpointRequest;
import software.amazon.awssdk.services.databasemigration.model.CreateEndpointResponse;
import software.amazon.awssdk.services.databasemigration.model.CreateEventSubscriptionRequest;
import software.amazon.awssdk.services.databasemigration.model.CreateEventSubscriptionResponse;
import software.amazon.awssdk.services.databasemigration.model.CreateReplicationInstanceRequest;
import software.amazon.awssdk.services.databasemigration.model.CreateReplicationInstanceResponse;
import software.amazon.awssdk.services.databasemigration.model.CreateReplicationSubnetGroupRequest;
import software.amazon.awssdk.services.databasemigration.model.CreateReplicationSubnetGroupResponse;
import software.amazon.awssdk.services.databasemigration.model.CreateReplicationTaskRequest;
import software.amazon.awssdk.services.databasemigration.model.CreateReplicationTaskResponse;
import software.amazon.awssdk.services.databasemigration.model.DeleteCertificateRequest;
import software.amazon.awssdk.services.databasemigration.model.DeleteCertificateResponse;
import software.amazon.awssdk.services.databasemigration.model.DeleteEndpointRequest;
import software.amazon.awssdk.services.databasemigration.model.DeleteEndpointResponse;
import software.amazon.awssdk.services.databasemigration.model.DeleteEventSubscriptionRequest;
import software.amazon.awssdk.services.databasemigration.model.DeleteEventSubscriptionResponse;
import software.amazon.awssdk.services.databasemigration.model.DeleteReplicationInstanceRequest;
import software.amazon.awssdk.services.databasemigration.model.DeleteReplicationInstanceResponse;
import software.amazon.awssdk.services.databasemigration.model.DeleteReplicationSubnetGroupRequest;
import software.amazon.awssdk.services.databasemigration.model.DeleteReplicationSubnetGroupResponse;
import software.amazon.awssdk.services.databasemigration.model.DeleteReplicationTaskRequest;
import software.amazon.awssdk.services.databasemigration.model.DeleteReplicationTaskResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeAccountAttributesRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeAccountAttributesResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeEventCategoriesRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeEventCategoriesResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeEventsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeEventsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeRefreshSchemasStatusRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeRefreshSchemasStatusResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentResultsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTaskAssessmentResultsResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeSchemasRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeSchemasResponse;
import software.amazon.awssdk.services.databasemigration.model.DescribeTableStatisticsRequest;
import software.amazon.awssdk.services.databasemigration.model.DescribeTableStatisticsResponse;
import software.amazon.awssdk.services.databasemigration.model.ImportCertificateRequest;
import software.amazon.awssdk.services.databasemigration.model.ImportCertificateResponse;
import software.amazon.awssdk.services.databasemigration.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.databasemigration.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.databasemigration.model.ModifyEndpointRequest;
import software.amazon.awssdk.services.databasemigration.model.ModifyEndpointResponse;
import software.amazon.awssdk.services.databasemigration.model.ModifyEventSubscriptionRequest;
import software.amazon.awssdk.services.databasemigration.model.ModifyEventSubscriptionResponse;
import software.amazon.awssdk.services.databasemigration.model.ModifyReplicationInstanceRequest;
import software.amazon.awssdk.services.databasemigration.model.ModifyReplicationInstanceResponse;
import software.amazon.awssdk.services.databasemigration.model.ModifyReplicationSubnetGroupRequest;
import software.amazon.awssdk.services.databasemigration.model.ModifyReplicationSubnetGroupResponse;
import software.amazon.awssdk.services.databasemigration.model.ModifyReplicationTaskRequest;
import software.amazon.awssdk.services.databasemigration.model.ModifyReplicationTaskResponse;
import software.amazon.awssdk.services.databasemigration.model.RefreshSchemasRequest;
import software.amazon.awssdk.services.databasemigration.model.RefreshSchemasResponse;
import software.amazon.awssdk.services.databasemigration.model.ReloadTablesRequest;
import software.amazon.awssdk.services.databasemigration.model.ReloadTablesResponse;
import software.amazon.awssdk.services.databasemigration.model.RemoveTagsFromResourceRequest;
import software.amazon.awssdk.services.databasemigration.model.RemoveTagsFromResourceResponse;
import software.amazon.awssdk.services.databasemigration.model.StartReplicationTaskAssessmentRequest;
import software.amazon.awssdk.services.databasemigration.model.StartReplicationTaskAssessmentResponse;
import software.amazon.awssdk.services.databasemigration.model.StartReplicationTaskRequest;
import software.amazon.awssdk.services.databasemigration.model.StartReplicationTaskResponse;
import software.amazon.awssdk.services.databasemigration.model.StopReplicationTaskRequest;
import software.amazon.awssdk.services.databasemigration.model.StopReplicationTaskResponse;
import software.amazon.awssdk.services.databasemigration.model.TestConnectionRequest;
import software.amazon.awssdk.services.databasemigration.model.TestConnectionResponse;
import software.amazon.awssdk.utils.SdkAutoCloseable;

/**
 * Service client for accessing null asynchronously. This can be created using the static {@link #builder()} method.
 *
 * AWS Database Migration Service
 * 

* 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? *

*/ @Generated("software.amazon.awssdk:codegen") public interface DatabaseMigrationAsyncClient extends SdkAutoCloseable { /** * Create a {@link DatabaseMigrationAsyncClient} with the region loaded from the * {@link software.amazon.awssdk.core.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from * the {@link software.amazon.awssdk.core.auth.DefaultCredentialsProvider}. */ static DatabaseMigrationAsyncClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link DatabaseMigrationAsyncClient}. */ static DatabaseMigrationAsyncClientBuilder builder() { return new DefaultDatabaseMigrationAsyncClientBuilder(); } /** *

* 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. *

* * @param addTagsToResourceRequest * @return A Java Future containing the result of the AddTagsToResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.AddTagsToResource * @see AWS API * Documentation */ default CompletableFuture addTagsToResource(AddTagsToResourceRequest addTagsToResourceRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
* This is a convenience which creates an instance of the {@link AddTagsToResourceRequest.Builder} avoiding the need * to create one manually via {@link AddTagsToResourceRequest#builder()} * * @param addTagsToResourceRequest * a {@link Consumer} that will call methods on {@link AddTagsToResourceMessage.Builder}. * @return A Java Future containing the result of the AddTagsToResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.AddTagsToResource * @see AWS API * Documentation */ default CompletableFuture addTagsToResource( Consumer addTagsToResourceRequest) { return addTagsToResource(AddTagsToResourceRequest.builder().apply(addTagsToResourceRequest).build()); } /** *

* Creates an endpoint using the provided settings. *

* * @param createEndpointRequest * @return A Java Future containing the result of the CreateEndpoint operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • KMSKeyNotAccessibleException AWS DMS cannot access the KMS key.
  • *
  • ResourceAlreadyExistsException The resource you are attempting to create already exists.
  • *
  • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
  • *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • ResourceNotFoundException The resource could not be found.
  • *
  • AccessDeniedException AWS DMS was denied access to the endpoint.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.CreateEndpoint * @see AWS API * Documentation */ default CompletableFuture createEndpoint(CreateEndpointRequest createEndpointRequest) { throw new UnsupportedOperationException(); } /** *

* Creates an endpoint using the provided settings. *

*
* This is a convenience which creates an instance of the {@link CreateEndpointRequest.Builder} avoiding the need to * create one manually via {@link CreateEndpointRequest#builder()} * * @param createEndpointRequest * a {@link Consumer} that will call methods on {@link CreateEndpointMessage.Builder}. * @return A Java Future containing the result of the CreateEndpoint operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • KMSKeyNotAccessibleException AWS DMS cannot access the KMS key.
  • *
  • ResourceAlreadyExistsException The resource you are attempting to create already exists.
  • *
  • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
  • *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • ResourceNotFoundException The resource could not be found.
  • *
  • AccessDeniedException AWS DMS was denied access to the endpoint.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.CreateEndpoint * @see AWS API * Documentation */ default CompletableFuture createEndpoint(Consumer createEndpointRequest) { return createEndpoint(CreateEndpointRequest.builder().apply(createEndpointRequest).build()); } /** *

* 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. *

* * @param createEventSubscriptionRequest * @return A Java Future containing the result of the CreateEventSubscription operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
  • *
  • ResourceAlreadyExistsException The resource you are attempting to create already exists.
  • *
  • SNSInvalidTopicException The SNS topic is invalid.
  • *
  • SNSNoAuthorizationException You are not authorized for the SNS subscription.
  • *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.CreateEventSubscription * @see AWS * API Documentation */ default CompletableFuture createEventSubscription( CreateEventSubscriptionRequest createEventSubscriptionRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
* This is a convenience which creates an instance of the {@link CreateEventSubscriptionRequest.Builder} avoiding * the need to create one manually via {@link CreateEventSubscriptionRequest#builder()} * * @param createEventSubscriptionRequest * a {@link Consumer} that will call methods on {@link CreateEventSubscriptionMessage.Builder}. * @return A Java Future containing the result of the CreateEventSubscription operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
  • *
  • ResourceAlreadyExistsException The resource you are attempting to create already exists.
  • *
  • SNSInvalidTopicException The SNS topic is invalid.
  • *
  • SNSNoAuthorizationException You are not authorized for the SNS subscription.
  • *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.CreateEventSubscription * @see AWS * API Documentation */ default CompletableFuture createEventSubscription( Consumer createEventSubscriptionRequest) { return createEventSubscription(CreateEventSubscriptionRequest.builder().apply(createEventSubscriptionRequest).build()); } /** *

* Creates the replication instance using the specified parameters. *

* * @param createReplicationInstanceRequest * @return A Java Future containing the result of the CreateReplicationInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • AccessDeniedException AWS DMS was denied access to the endpoint.
  • *
  • ResourceAlreadyExistsException The resource you are attempting to create already exists.
  • *
  • InsufficientResourceCapacityException There are not enough resources allocated to the database * migration.
  • *
  • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
  • *
  • StorageQuotaExceededException The storage quota has been exceeded.
  • *
  • ResourceNotFoundException The resource could not be found.
  • *
  • ReplicationSubnetGroupDoesNotCoverEnoughAZsException The replication subnet group does not cover * enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
  • *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • InvalidSubnetException The subnet provided is invalid.
  • *
  • KMSKeyNotAccessibleException AWS DMS cannot access the KMS key.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.CreateReplicationInstance * @see AWS * API Documentation */ default CompletableFuture createReplicationInstance( CreateReplicationInstanceRequest createReplicationInstanceRequest) { throw new UnsupportedOperationException(); } /** *

* Creates the replication instance using the specified parameters. *

*
* This is a convenience which creates an instance of the {@link CreateReplicationInstanceRequest.Builder} avoiding * the need to create one manually via {@link CreateReplicationInstanceRequest#builder()} * * @param createReplicationInstanceRequest * a {@link Consumer} that will call methods on {@link CreateReplicationInstanceMessage.Builder}. * @return A Java Future containing the result of the CreateReplicationInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • AccessDeniedException AWS DMS was denied access to the endpoint.
  • *
  • ResourceAlreadyExistsException The resource you are attempting to create already exists.
  • *
  • InsufficientResourceCapacityException There are not enough resources allocated to the database * migration.
  • *
  • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
  • *
  • StorageQuotaExceededException The storage quota has been exceeded.
  • *
  • ResourceNotFoundException The resource could not be found.
  • *
  • ReplicationSubnetGroupDoesNotCoverEnoughAZsException The replication subnet group does not cover * enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
  • *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • InvalidSubnetException The subnet provided is invalid.
  • *
  • KMSKeyNotAccessibleException AWS DMS cannot access the KMS key.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.CreateReplicationInstance * @see AWS * API Documentation */ default CompletableFuture createReplicationInstance( Consumer createReplicationInstanceRequest) { return createReplicationInstance(CreateReplicationInstanceRequest.builder().apply(createReplicationInstanceRequest) .build()); } /** *

* Creates a replication subnet group given a list of the subnet IDs in a VPC. *

* * @param createReplicationSubnetGroupRequest * @return A Java Future containing the result of the CreateReplicationSubnetGroup operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • AccessDeniedException AWS DMS was denied access to the endpoint.
  • *
  • ResourceAlreadyExistsException The resource you are attempting to create already exists.
  • *
  • ResourceNotFoundException The resource could not be found.
  • *
  • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
  • *
  • ReplicationSubnetGroupDoesNotCoverEnoughAZsException The replication subnet group does not cover * enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
  • *
  • InvalidSubnetException The subnet provided is invalid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.CreateReplicationSubnetGroup * @see AWS API Documentation */ default CompletableFuture createReplicationSubnetGroup( CreateReplicationSubnetGroupRequest createReplicationSubnetGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a replication subnet group given a list of the subnet IDs in a VPC. *

*
* This is a convenience which creates an instance of the {@link CreateReplicationSubnetGroupRequest.Builder} * avoiding the need to create one manually via {@link CreateReplicationSubnetGroupRequest#builder()} * * @param createReplicationSubnetGroupRequest * a {@link Consumer} that will call methods on {@link CreateReplicationSubnetGroupMessage.Builder}. * @return A Java Future containing the result of the CreateReplicationSubnetGroup operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • AccessDeniedException AWS DMS was denied access to the endpoint.
  • *
  • ResourceAlreadyExistsException The resource you are attempting to create already exists.
  • *
  • ResourceNotFoundException The resource could not be found.
  • *
  • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
  • *
  • ReplicationSubnetGroupDoesNotCoverEnoughAZsException The replication subnet group does not cover * enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
  • *
  • InvalidSubnetException The subnet provided is invalid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.CreateReplicationSubnetGroup * @see AWS API Documentation */ default CompletableFuture createReplicationSubnetGroup( Consumer createReplicationSubnetGroupRequest) { return createReplicationSubnetGroup(CreateReplicationSubnetGroupRequest.builder() .apply(createReplicationSubnetGroupRequest).build()); } /** *

* Creates a replication task using the specified parameters. *

* * @param createReplicationTaskRequest * @return A Java Future containing the result of the CreateReplicationTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • AccessDeniedException AWS DMS was denied access to the endpoint.
  • *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • ResourceAlreadyExistsException The resource you are attempting to create already exists.
  • *
  • ResourceNotFoundException The resource could not be found.
  • *
  • KMSKeyNotAccessibleException AWS DMS cannot access the KMS key.
  • *
  • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.CreateReplicationTask * @see AWS API * Documentation */ default CompletableFuture createReplicationTask( CreateReplicationTaskRequest createReplicationTaskRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a replication task using the specified parameters. *

*
* This is a convenience which creates an instance of the {@link CreateReplicationTaskRequest.Builder} avoiding the * need to create one manually via {@link CreateReplicationTaskRequest#builder()} * * @param createReplicationTaskRequest * a {@link Consumer} that will call methods on {@link CreateReplicationTaskMessage.Builder}. * @return A Java Future containing the result of the CreateReplicationTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • AccessDeniedException AWS DMS was denied access to the endpoint.
  • *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • ResourceAlreadyExistsException The resource you are attempting to create already exists.
  • *
  • ResourceNotFoundException The resource could not be found.
  • *
  • KMSKeyNotAccessibleException AWS DMS cannot access the KMS key.
  • *
  • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.CreateReplicationTask * @see AWS API * Documentation */ default CompletableFuture createReplicationTask( Consumer createReplicationTaskRequest) { return createReplicationTask(CreateReplicationTaskRequest.builder().apply(createReplicationTaskRequest).build()); } /** *

* Deletes the specified certificate. *

* * @param deleteCertificateRequest * @return A Java Future containing the result of the DeleteCertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DeleteCertificate * @see AWS API * Documentation */ default CompletableFuture deleteCertificate(DeleteCertificateRequest deleteCertificateRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the specified certificate. *

*
* This is a convenience which creates an instance of the {@link DeleteCertificateRequest.Builder} avoiding the need * to create one manually via {@link DeleteCertificateRequest#builder()} * * @param deleteCertificateRequest * a {@link Consumer} that will call methods on {@link DeleteCertificateMessage.Builder}. * @return A Java Future containing the result of the DeleteCertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DeleteCertificate * @see AWS API * Documentation */ default CompletableFuture deleteCertificate( Consumer deleteCertificateRequest) { return deleteCertificate(DeleteCertificateRequest.builder().apply(deleteCertificateRequest).build()); } /** *

* Deletes the specified endpoint. *

* *

* All tasks associated with the endpoint must be deleted before you can delete the endpoint. *

*
*

* * @param deleteEndpointRequest * @return A Java Future containing the result of the DeleteEndpoint operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *

    *
  • ResourceNotFoundException The resource could not be found.
  • InvalidResourceStateException The * resource is in a state that prevents it from being used for database migration.
  • SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios.
  • SdkClientException If any client side error occurs such as an IO related * failure, failure to get credentials, etc.
  • DatabaseMigrationException Base class for all service * exceptions. Unknown exceptions will be thrown as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DeleteEndpoint * @see AWS API * Documentation */ default CompletableFuture deleteEndpoint(DeleteEndpointRequest deleteEndpointRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the specified endpoint. *

* *

* All tasks associated with the endpoint must be deleted before you can delete the endpoint. *

*
*

*
* This is a convenience which creates an instance of the {@link DeleteEndpointRequest.Builder} avoiding the need to * create one manually via {@link DeleteEndpointRequest#builder()} * * @param deleteEndpointRequest * a {@link Consumer} that will call methods on {@link DeleteEndpointMessage.Builder}. * @return A Java Future containing the result of the DeleteEndpoint operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *

    *
  • ResourceNotFoundException The resource could not be found.
  • InvalidResourceStateException The * resource is in a state that prevents it from being used for database migration.
  • SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios.
  • SdkClientException If any client side error occurs such as an IO related * failure, failure to get credentials, etc.
  • DatabaseMigrationException Base class for all service * exceptions. Unknown exceptions will be thrown as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DeleteEndpoint * @see AWS API * Documentation */ default CompletableFuture deleteEndpoint(Consumer deleteEndpointRequest) { return deleteEndpoint(DeleteEndpointRequest.builder().apply(deleteEndpointRequest).build()); } /** *

* Deletes an AWS DMS event subscription. *

* * @param deleteEventSubscriptionRequest * @return A Java Future containing the result of the DeleteEventSubscription operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DeleteEventSubscription * @see AWS * API Documentation */ default CompletableFuture deleteEventSubscription( DeleteEventSubscriptionRequest deleteEventSubscriptionRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes an AWS DMS event subscription. *

*
* This is a convenience which creates an instance of the {@link DeleteEventSubscriptionRequest.Builder} avoiding * the need to create one manually via {@link DeleteEventSubscriptionRequest#builder()} * * @param deleteEventSubscriptionRequest * a {@link Consumer} that will call methods on {@link DeleteEventSubscriptionMessage.Builder}. * @return A Java Future containing the result of the DeleteEventSubscription operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DeleteEventSubscription * @see AWS * API Documentation */ default CompletableFuture deleteEventSubscription( Consumer deleteEventSubscriptionRequest) { return deleteEventSubscription(DeleteEventSubscriptionRequest.builder().apply(deleteEventSubscriptionRequest).build()); } /** *

* Deletes the specified replication instance. *

* *

* You must delete any migration tasks that are associated with the replication instance before you can delete it. *

*
*

* * @param deleteReplicationInstanceRequest * @return A Java Future containing the result of the DeleteReplicationInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *

    *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • ResourceNotFoundException The resource could not be found.
  • * SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can * be used for catch all scenarios.
  • SdkClientException If any client side error occurs such as an * IO related failure, failure to get credentials, etc.
  • DatabaseMigrationException Base class for * all service exceptions. Unknown exceptions will be thrown as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DeleteReplicationInstance * @see AWS * API Documentation */ default CompletableFuture deleteReplicationInstance( DeleteReplicationInstanceRequest deleteReplicationInstanceRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the specified replication instance. *

* *

* You must delete any migration tasks that are associated with the replication instance before you can delete it. *

*
*

*
* This is a convenience which creates an instance of the {@link DeleteReplicationInstanceRequest.Builder} avoiding * the need to create one manually via {@link DeleteReplicationInstanceRequest#builder()} * * @param deleteReplicationInstanceRequest * a {@link Consumer} that will call methods on {@link DeleteReplicationInstanceMessage.Builder}. * @return A Java Future containing the result of the DeleteReplicationInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *

    *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • ResourceNotFoundException The resource could not be found.
  • * SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can * be used for catch all scenarios.
  • SdkClientException If any client side error occurs such as an * IO related failure, failure to get credentials, etc.
  • DatabaseMigrationException Base class for * all service exceptions. Unknown exceptions will be thrown as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DeleteReplicationInstance * @see AWS * API Documentation */ default CompletableFuture deleteReplicationInstance( Consumer deleteReplicationInstanceRequest) { return deleteReplicationInstance(DeleteReplicationInstanceRequest.builder().apply(deleteReplicationInstanceRequest) .build()); } /** *

* Deletes a subnet group. *

* * @param deleteReplicationSubnetGroupRequest * @return A Java Future containing the result of the DeleteReplicationSubnetGroup operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DeleteReplicationSubnetGroup * @see AWS API Documentation */ default CompletableFuture deleteReplicationSubnetGroup( DeleteReplicationSubnetGroupRequest deleteReplicationSubnetGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a subnet group. *

*
* This is a convenience which creates an instance of the {@link DeleteReplicationSubnetGroupRequest.Builder} * avoiding the need to create one manually via {@link DeleteReplicationSubnetGroupRequest#builder()} * * @param deleteReplicationSubnetGroupRequest * a {@link Consumer} that will call methods on {@link DeleteReplicationSubnetGroupMessage.Builder}. * @return A Java Future containing the result of the DeleteReplicationSubnetGroup operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DeleteReplicationSubnetGroup * @see AWS API Documentation */ default CompletableFuture deleteReplicationSubnetGroup( Consumer deleteReplicationSubnetGroupRequest) { return deleteReplicationSubnetGroup(DeleteReplicationSubnetGroupRequest.builder() .apply(deleteReplicationSubnetGroupRequest).build()); } /** *

* Deletes the specified replication task. *

* * @param deleteReplicationTaskRequest * @return A Java Future containing the result of the DeleteReplicationTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DeleteReplicationTask * @see AWS API * Documentation */ default CompletableFuture deleteReplicationTask( DeleteReplicationTaskRequest deleteReplicationTaskRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the specified replication task. *

*
* This is a convenience which creates an instance of the {@link DeleteReplicationTaskRequest.Builder} avoiding the * need to create one manually via {@link DeleteReplicationTaskRequest#builder()} * * @param deleteReplicationTaskRequest * a {@link Consumer} that will call methods on {@link DeleteReplicationTaskMessage.Builder}. * @return A Java Future containing the result of the DeleteReplicationTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DeleteReplicationTask * @see AWS API * Documentation */ default CompletableFuture deleteReplicationTask( Consumer deleteReplicationTaskRequest) { return deleteReplicationTask(DeleteReplicationTaskRequest.builder().apply(deleteReplicationTaskRequest).build()); } /** *

* 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. *

* * @param describeAccountAttributesRequest * @return A Java Future containing the result of the DescribeAccountAttributes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeAccountAttributes * @see AWS * API Documentation */ default CompletableFuture describeAccountAttributes( DescribeAccountAttributesRequest describeAccountAttributesRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

* * @return A Java Future containing the result of the DescribeAccountAttributes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeAccountAttributes * @see AWS * API Documentation */ default CompletableFuture describeAccountAttributes() { return describeAccountAttributes(DescribeAccountAttributesRequest.builder().build()); } /** *

* 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. *

*
* This is a convenience which creates an instance of the {@link DescribeAccountAttributesRequest.Builder} avoiding * the need to create one manually via {@link DescribeAccountAttributesRequest#builder()} * * @param describeAccountAttributesRequest * a {@link Consumer} that will call methods on {@link DescribeAccountAttributesMessage.Builder}. * @return A Java Future containing the result of the DescribeAccountAttributes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeAccountAttributes * @see AWS * API Documentation */ default CompletableFuture describeAccountAttributes( Consumer describeAccountAttributesRequest) { return describeAccountAttributes(DescribeAccountAttributesRequest.builder().apply(describeAccountAttributesRequest) .build()); } /** *

* Provides a description of the certificate. *

* * @param describeCertificatesRequest * @return A Java Future containing the result of the DescribeCertificates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeCertificates * @see AWS API * Documentation */ default CompletableFuture describeCertificates( DescribeCertificatesRequest describeCertificatesRequest) { throw new UnsupportedOperationException(); } /** *

* Provides a description of the certificate. *

* * @return A Java Future containing the result of the DescribeCertificates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeCertificates * @see AWS API * Documentation */ default CompletableFuture describeCertificates() { return describeCertificates(DescribeCertificatesRequest.builder().build()); } /** *

* Provides a description of the certificate. *

*
* This is a convenience which creates an instance of the {@link DescribeCertificatesRequest.Builder} avoiding the * need to create one manually via {@link DescribeCertificatesRequest#builder()} * * @param describeCertificatesRequest * a {@link Consumer} that will call methods on {@link DescribeCertificatesMessage.Builder}. * @return A Java Future containing the result of the DescribeCertificates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeCertificates * @see AWS API * Documentation */ default CompletableFuture describeCertificates( Consumer describeCertificatesRequest) { return describeCertificates(DescribeCertificatesRequest.builder().apply(describeCertificatesRequest).build()); } /** *

* 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. *

* * @param describeConnectionsRequest * @return A Java Future containing the result of the DescribeConnections operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeConnections * @see AWS API * Documentation */ default CompletableFuture describeConnections( DescribeConnectionsRequest describeConnectionsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

* * @return A Java Future containing the result of the DescribeConnections operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeConnections * @see AWS API * Documentation */ default CompletableFuture describeConnections() { return describeConnections(DescribeConnectionsRequest.builder().build()); } /** *

* 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. *

*
* This is a convenience which creates an instance of the {@link DescribeConnectionsRequest.Builder} avoiding the * need to create one manually via {@link DescribeConnectionsRequest#builder()} * * @param describeConnectionsRequest * a {@link Consumer} that will call methods on {@link DescribeConnectionsMessage.Builder}. * @return A Java Future containing the result of the DescribeConnections operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeConnections * @see AWS API * Documentation */ default CompletableFuture describeConnections( Consumer describeConnectionsRequest) { return describeConnections(DescribeConnectionsRequest.builder().apply(describeConnectionsRequest).build()); } /** *

* Returns information about the type of endpoints available. *

* * @param describeEndpointTypesRequest * @return A Java Future containing the result of the DescribeEndpointTypes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeEndpointTypes * @see AWS API * Documentation */ default CompletableFuture describeEndpointTypes( DescribeEndpointTypesRequest describeEndpointTypesRequest) { throw new UnsupportedOperationException(); } /** *

* Returns information about the type of endpoints available. *

* * @return A Java Future containing the result of the DescribeEndpointTypes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeEndpointTypes * @see AWS API * Documentation */ default CompletableFuture describeEndpointTypes() { return describeEndpointTypes(DescribeEndpointTypesRequest.builder().build()); } /** *

* Returns information about the type of endpoints available. *

*
* This is a convenience which creates an instance of the {@link DescribeEndpointTypesRequest.Builder} avoiding the * need to create one manually via {@link DescribeEndpointTypesRequest#builder()} * * @param describeEndpointTypesRequest * a {@link Consumer} that will call methods on {@link DescribeEndpointTypesMessage.Builder}. * @return A Java Future containing the result of the DescribeEndpointTypes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeEndpointTypes * @see AWS API * Documentation */ default CompletableFuture describeEndpointTypes( Consumer describeEndpointTypesRequest) { return describeEndpointTypes(DescribeEndpointTypesRequest.builder().apply(describeEndpointTypesRequest).build()); } /** *

* Returns information about the endpoints for your account in the current region. *

* * @param describeEndpointsRequest * @return A Java Future containing the result of the DescribeEndpoints operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeEndpoints * @see AWS API * Documentation */ default CompletableFuture describeEndpoints(DescribeEndpointsRequest describeEndpointsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns information about the endpoints for your account in the current region. *

* * @return A Java Future containing the result of the DescribeEndpoints operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeEndpoints * @see AWS API * Documentation */ default CompletableFuture describeEndpoints() { return describeEndpoints(DescribeEndpointsRequest.builder().build()); } /** *

* Returns information about the endpoints for your account in the current region. *

*
* This is a convenience which creates an instance of the {@link DescribeEndpointsRequest.Builder} avoiding the need * to create one manually via {@link DescribeEndpointsRequest#builder()} * * @param describeEndpointsRequest * a {@link Consumer} that will call methods on {@link DescribeEndpointsMessage.Builder}. * @return A Java Future containing the result of the DescribeEndpoints operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeEndpoints * @see AWS API * Documentation */ default CompletableFuture describeEndpoints( Consumer describeEndpointsRequest) { return describeEndpoints(DescribeEndpointsRequest.builder().apply(describeEndpointsRequest).build()); } /** *

* 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. *

* * @param describeEventCategoriesRequest * @return A Java Future containing the result of the DescribeEventCategories operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeEventCategories * @see AWS * API Documentation */ default CompletableFuture describeEventCategories( DescribeEventCategoriesRequest describeEventCategoriesRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

* * @return A Java Future containing the result of the DescribeEventCategories operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeEventCategories * @see AWS * API Documentation */ default CompletableFuture describeEventCategories() { return describeEventCategories(DescribeEventCategoriesRequest.builder().build()); } /** *

* 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. *

*
* This is a convenience which creates an instance of the {@link DescribeEventCategoriesRequest.Builder} avoiding * the need to create one manually via {@link DescribeEventCategoriesRequest#builder()} * * @param describeEventCategoriesRequest * a {@link Consumer} that will call methods on {@link DescribeEventCategoriesMessage.Builder}. * @return A Java Future containing the result of the DescribeEventCategories operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeEventCategories * @see AWS * API Documentation */ default CompletableFuture describeEventCategories( Consumer describeEventCategoriesRequest) { return describeEventCategories(DescribeEventCategoriesRequest.builder().apply(describeEventCategoriesRequest).build()); } /** *

* 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. *

* * @param describeEventSubscriptionsRequest * @return A Java Future containing the result of the DescribeEventSubscriptions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeEventSubscriptions * @see AWS * API Documentation */ default CompletableFuture describeEventSubscriptions( DescribeEventSubscriptionsRequest describeEventSubscriptionsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

* * @return A Java Future containing the result of the DescribeEventSubscriptions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeEventSubscriptions * @see AWS * API Documentation */ default CompletableFuture describeEventSubscriptions() { return describeEventSubscriptions(DescribeEventSubscriptionsRequest.builder().build()); } /** *

* 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. *

*
* This is a convenience which creates an instance of the {@link DescribeEventSubscriptionsRequest.Builder} avoiding * the need to create one manually via {@link DescribeEventSubscriptionsRequest#builder()} * * @param describeEventSubscriptionsRequest * a {@link Consumer} that will call methods on {@link DescribeEventSubscriptionsMessage.Builder}. * @return A Java Future containing the result of the DescribeEventSubscriptions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeEventSubscriptions * @see AWS * API Documentation */ default CompletableFuture describeEventSubscriptions( Consumer describeEventSubscriptionsRequest) { return describeEventSubscriptions(DescribeEventSubscriptionsRequest.builder().apply(describeEventSubscriptionsRequest) .build()); } /** *

* 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 . *

* * @param describeEventsRequest * @return A Java Future containing the result of the DescribeEvents operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeEvents * @see AWS API * Documentation */ default CompletableFuture describeEvents(DescribeEventsRequest describeEventsRequest) { throw new UnsupportedOperationException(); } /** *

* 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 . *

* * @return A Java Future containing the result of the DescribeEvents operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeEvents * @see AWS API * Documentation */ default CompletableFuture describeEvents() { return describeEvents(DescribeEventsRequest.builder().build()); } /** *

* 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 . *

*
* This is a convenience which creates an instance of the {@link DescribeEventsRequest.Builder} avoiding the need to * create one manually via {@link DescribeEventsRequest#builder()} * * @param describeEventsRequest * a {@link Consumer} that will call methods on {@link DescribeEventsMessage.Builder}. * @return A Java Future containing the result of the DescribeEvents operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeEvents * @see AWS API * Documentation */ default CompletableFuture describeEvents(Consumer describeEventsRequest) { return describeEvents(DescribeEventsRequest.builder().apply(describeEventsRequest).build()); } /** *

* Returns information about the replication instance types that can be created in the specified region. *

* * @param describeOrderableReplicationInstancesRequest * @return A Java Future containing the result of the DescribeOrderableReplicationInstances operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeOrderableReplicationInstances * @see AWS API Documentation */ default CompletableFuture describeOrderableReplicationInstances( DescribeOrderableReplicationInstancesRequest describeOrderableReplicationInstancesRequest) { throw new UnsupportedOperationException(); } /** *

* Returns information about the replication instance types that can be created in the specified region. *

* * @return A Java Future containing the result of the DescribeOrderableReplicationInstances operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeOrderableReplicationInstances * @see AWS API Documentation */ default CompletableFuture describeOrderableReplicationInstances() { return describeOrderableReplicationInstances(DescribeOrderableReplicationInstancesRequest.builder().build()); } /** *

* Returns information about the replication instance types that can be created in the specified region. *

*
* This is a convenience which creates an instance of the * {@link DescribeOrderableReplicationInstancesRequest.Builder} avoiding the need to create one manually via * {@link DescribeOrderableReplicationInstancesRequest#builder()} * * @param describeOrderableReplicationInstancesRequest * a {@link Consumer} that will call methods on {@link DescribeOrderableReplicationInstancesMessage.Builder}. * @return A Java Future containing the result of the DescribeOrderableReplicationInstances operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeOrderableReplicationInstances * @see AWS API Documentation */ default CompletableFuture describeOrderableReplicationInstances( Consumer describeOrderableReplicationInstancesRequest) { return describeOrderableReplicationInstances(DescribeOrderableReplicationInstancesRequest.builder() .apply(describeOrderableReplicationInstancesRequest).build()); } /** *

* Returns the status of the RefreshSchemas operation. *

* * @param describeRefreshSchemasStatusRequest * @return A Java Future containing the result of the DescribeRefreshSchemasStatus operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeRefreshSchemasStatus * @see AWS API Documentation */ default CompletableFuture describeRefreshSchemasStatus( DescribeRefreshSchemasStatusRequest describeRefreshSchemasStatusRequest) { throw new UnsupportedOperationException(); } /** *

* Returns the status of the RefreshSchemas operation. *

*
* This is a convenience which creates an instance of the {@link DescribeRefreshSchemasStatusRequest.Builder} * avoiding the need to create one manually via {@link DescribeRefreshSchemasStatusRequest#builder()} * * @param describeRefreshSchemasStatusRequest * a {@link Consumer} that will call methods on {@link DescribeRefreshSchemasStatusMessage.Builder}. * @return A Java Future containing the result of the DescribeRefreshSchemasStatus operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeRefreshSchemasStatus * @see AWS API Documentation */ default CompletableFuture describeRefreshSchemasStatus( Consumer describeRefreshSchemasStatusRequest) { return describeRefreshSchemasStatus(DescribeRefreshSchemasStatusRequest.builder() .apply(describeRefreshSchemasStatusRequest).build()); } /** *

* Returns information about replication instances for your account in the current region. *

* * @param describeReplicationInstancesRequest * @return A Java Future containing the result of the DescribeReplicationInstances operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeReplicationInstances * @see AWS API Documentation */ default CompletableFuture describeReplicationInstances( DescribeReplicationInstancesRequest describeReplicationInstancesRequest) { throw new UnsupportedOperationException(); } /** *

* Returns information about replication instances for your account in the current region. *

* * @return A Java Future containing the result of the DescribeReplicationInstances operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeReplicationInstances * @see AWS API Documentation */ default CompletableFuture describeReplicationInstances() { return describeReplicationInstances(DescribeReplicationInstancesRequest.builder().build()); } /** *

* Returns information about replication instances for your account in the current region. *

*
* This is a convenience which creates an instance of the {@link DescribeReplicationInstancesRequest.Builder} * avoiding the need to create one manually via {@link DescribeReplicationInstancesRequest#builder()} * * @param describeReplicationInstancesRequest * a {@link Consumer} that will call methods on {@link DescribeReplicationInstancesMessage.Builder}. * @return A Java Future containing the result of the DescribeReplicationInstances operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeReplicationInstances * @see AWS API Documentation */ default CompletableFuture describeReplicationInstances( Consumer describeReplicationInstancesRequest) { return describeReplicationInstances(DescribeReplicationInstancesRequest.builder() .apply(describeReplicationInstancesRequest).build()); } /** *

* Returns information about the replication subnet groups. *

* * @param describeReplicationSubnetGroupsRequest * @return A Java Future containing the result of the DescribeReplicationSubnetGroups operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeReplicationSubnetGroups * @see AWS API Documentation */ default CompletableFuture describeReplicationSubnetGroups( DescribeReplicationSubnetGroupsRequest describeReplicationSubnetGroupsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns information about the replication subnet groups. *

* * @return A Java Future containing the result of the DescribeReplicationSubnetGroups operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeReplicationSubnetGroups * @see AWS API Documentation */ default CompletableFuture describeReplicationSubnetGroups() { return describeReplicationSubnetGroups(DescribeReplicationSubnetGroupsRequest.builder().build()); } /** *

* Returns information about the replication subnet groups. *

*
* This is a convenience which creates an instance of the {@link DescribeReplicationSubnetGroupsRequest.Builder} * avoiding the need to create one manually via {@link DescribeReplicationSubnetGroupsRequest#builder()} * * @param describeReplicationSubnetGroupsRequest * a {@link Consumer} that will call methods on {@link DescribeReplicationSubnetGroupsMessage.Builder}. * @return A Java Future containing the result of the DescribeReplicationSubnetGroups operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeReplicationSubnetGroups * @see AWS API Documentation */ default CompletableFuture describeReplicationSubnetGroups( Consumer describeReplicationSubnetGroupsRequest) { return describeReplicationSubnetGroups(DescribeReplicationSubnetGroupsRequest.builder() .apply(describeReplicationSubnetGroupsRequest).build()); } /** *

* Returns the task assessment results from Amazon S3. This action always returns the latest results. *

* * @param describeReplicationTaskAssessmentResultsRequest * @return A Java Future containing the result of the DescribeReplicationTaskAssessmentResults operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeReplicationTaskAssessmentResults * @see AWS API Documentation */ default CompletableFuture describeReplicationTaskAssessmentResults( DescribeReplicationTaskAssessmentResultsRequest describeReplicationTaskAssessmentResultsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns the task assessment results from Amazon S3. This action always returns the latest results. *

*
* This is a convenience which creates an instance of the * {@link DescribeReplicationTaskAssessmentResultsRequest.Builder} avoiding the need to create one manually via * {@link DescribeReplicationTaskAssessmentResultsRequest#builder()} * * @param describeReplicationTaskAssessmentResultsRequest * a {@link Consumer} that will call methods on * {@link DescribeReplicationTaskAssessmentResultsMessage.Builder}. * @return A Java Future containing the result of the DescribeReplicationTaskAssessmentResults operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeReplicationTaskAssessmentResults * @see AWS API Documentation */ default CompletableFuture describeReplicationTaskAssessmentResults( Consumer describeReplicationTaskAssessmentResultsRequest) { return describeReplicationTaskAssessmentResults(DescribeReplicationTaskAssessmentResultsRequest.builder() .apply(describeReplicationTaskAssessmentResultsRequest).build()); } /** *

* Returns information about replication tasks for your account in the current region. *

* * @param describeReplicationTasksRequest * @return A Java Future containing the result of the DescribeReplicationTasks operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeReplicationTasks * @see AWS * API Documentation */ default CompletableFuture describeReplicationTasks( DescribeReplicationTasksRequest describeReplicationTasksRequest) { throw new UnsupportedOperationException(); } /** *

* Returns information about replication tasks for your account in the current region. *

* * @return A Java Future containing the result of the DescribeReplicationTasks operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeReplicationTasks * @see AWS * API Documentation */ default CompletableFuture describeReplicationTasks() { return describeReplicationTasks(DescribeReplicationTasksRequest.builder().build()); } /** *

* Returns information about replication tasks for your account in the current region. *

*
* This is a convenience which creates an instance of the {@link DescribeReplicationTasksRequest.Builder} avoiding * the need to create one manually via {@link DescribeReplicationTasksRequest#builder()} * * @param describeReplicationTasksRequest * a {@link Consumer} that will call methods on {@link DescribeReplicationTasksMessage.Builder}. * @return A Java Future containing the result of the DescribeReplicationTasks operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeReplicationTasks * @see AWS * API Documentation */ default CompletableFuture describeReplicationTasks( Consumer describeReplicationTasksRequest) { return describeReplicationTasks(DescribeReplicationTasksRequest.builder().apply(describeReplicationTasksRequest).build()); } /** *

* Returns information about the schema for the specified endpoint. *

*

* * @param describeSchemasRequest * @return A Java Future containing the result of the DescribeSchemas operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *

    *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • ResourceNotFoundException The resource could not be found.
  • * SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can * be used for catch all scenarios.
  • SdkClientException If any client side error occurs such as an * IO related failure, failure to get credentials, etc.
  • DatabaseMigrationException Base class for * all service exceptions. Unknown exceptions will be thrown as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeSchemas * @see AWS API * Documentation */ default CompletableFuture describeSchemas(DescribeSchemasRequest describeSchemasRequest) { throw new UnsupportedOperationException(); } /** *

* Returns information about the schema for the specified endpoint. *

*

*
* This is a convenience which creates an instance of the {@link DescribeSchemasRequest.Builder} avoiding the need * to create one manually via {@link DescribeSchemasRequest#builder()} * * @param describeSchemasRequest * a {@link Consumer} that will call methods on {@link DescribeSchemasMessage.Builder}. * @return A Java Future containing the result of the DescribeSchemas operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *

    *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • ResourceNotFoundException The resource could not be found.
  • * SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can * be used for catch all scenarios.
  • SdkClientException If any client side error occurs such as an * IO related failure, failure to get credentials, etc.
  • DatabaseMigrationException Base class for * all service exceptions. Unknown exceptions will be thrown as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeSchemas * @see AWS API * Documentation */ default CompletableFuture describeSchemas( Consumer describeSchemasRequest) { return describeSchemas(DescribeSchemasRequest.builder().apply(describeSchemasRequest).build()); } /** *

* 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. *

* * @param describeTableStatisticsRequest * @return A Java Future containing the result of the DescribeTableStatistics operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeTableStatistics * @see AWS * API Documentation */ default CompletableFuture describeTableStatistics( DescribeTableStatisticsRequest describeTableStatisticsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
* This is a convenience which creates an instance of the {@link DescribeTableStatisticsRequest.Builder} avoiding * the need to create one manually via {@link DescribeTableStatisticsRequest#builder()} * * @param describeTableStatisticsRequest * a {@link Consumer} that will call methods on {@link DescribeTableStatisticsMessage.Builder}. * @return A Java Future containing the result of the DescribeTableStatistics operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.DescribeTableStatistics * @see AWS * API Documentation */ default CompletableFuture describeTableStatistics( Consumer describeTableStatisticsRequest) { return describeTableStatistics(DescribeTableStatisticsRequest.builder().apply(describeTableStatisticsRequest).build()); } /** *

* Uploads the specified certificate. *

* * @param importCertificateRequest * @return A Java Future containing the result of the ImportCertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceAlreadyExistsException The resource you are attempting to create already exists.
  • *
  • InvalidCertificateException The certificate was not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.ImportCertificate * @see AWS API * Documentation */ default CompletableFuture importCertificate(ImportCertificateRequest importCertificateRequest) { throw new UnsupportedOperationException(); } /** *

* Uploads the specified certificate. *

*
* This is a convenience which creates an instance of the {@link ImportCertificateRequest.Builder} avoiding the need * to create one manually via {@link ImportCertificateRequest#builder()} * * @param importCertificateRequest * a {@link Consumer} that will call methods on {@link ImportCertificateMessage.Builder}. * @return A Java Future containing the result of the ImportCertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceAlreadyExistsException The resource you are attempting to create already exists.
  • *
  • InvalidCertificateException The certificate was not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.ImportCertificate * @see AWS API * Documentation */ default CompletableFuture importCertificate( Consumer importCertificateRequest) { return importCertificate(ImportCertificateRequest.builder().apply(importCertificateRequest).build()); } /** *

* Lists all tags for an AWS DMS resource. *

* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.ListTagsForResource * @see AWS API * Documentation */ default CompletableFuture listTagsForResource( ListTagsForResourceRequest listTagsForResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Lists all tags for an AWS DMS resource. *

*
* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the * need to create one manually via {@link ListTagsForResourceRequest#builder()} * * @param listTagsForResourceRequest * a {@link Consumer} that will call methods on {@link ListTagsForResourceMessage.Builder}. * @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.ListTagsForResource * @see AWS API * Documentation */ default CompletableFuture listTagsForResource( Consumer listTagsForResourceRequest) { return listTagsForResource(ListTagsForResourceRequest.builder().apply(listTagsForResourceRequest).build()); } /** *

* Modifies the specified endpoint. *

* * @param modifyEndpointRequest * @return A Java Future containing the result of the ModifyEndpoint operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • ResourceNotFoundException The resource could not be found.
  • *
  • ResourceAlreadyExistsException The resource you are attempting to create already exists.
  • *
  • KMSKeyNotAccessibleException AWS DMS cannot access the KMS key.
  • *
  • AccessDeniedException AWS DMS was denied access to the endpoint.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.ModifyEndpoint * @see AWS API * Documentation */ default CompletableFuture modifyEndpoint(ModifyEndpointRequest modifyEndpointRequest) { throw new UnsupportedOperationException(); } /** *

* Modifies the specified endpoint. *

*
* This is a convenience which creates an instance of the {@link ModifyEndpointRequest.Builder} avoiding the need to * create one manually via {@link ModifyEndpointRequest#builder()} * * @param modifyEndpointRequest * a {@link Consumer} that will call methods on {@link ModifyEndpointMessage.Builder}. * @return A Java Future containing the result of the ModifyEndpoint operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • ResourceNotFoundException The resource could not be found.
  • *
  • ResourceAlreadyExistsException The resource you are attempting to create already exists.
  • *
  • KMSKeyNotAccessibleException AWS DMS cannot access the KMS key.
  • *
  • AccessDeniedException AWS DMS was denied access to the endpoint.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.ModifyEndpoint * @see AWS API * Documentation */ default CompletableFuture modifyEndpoint(Consumer modifyEndpointRequest) { return modifyEndpoint(ModifyEndpointRequest.builder().apply(modifyEndpointRequest).build()); } /** *

* Modifies an existing AWS DMS event notification subscription. *

* * @param modifyEventSubscriptionRequest * @return A Java Future containing the result of the ModifyEventSubscription operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
  • *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SNSInvalidTopicException The SNS topic is invalid.
  • *
  • SNSNoAuthorizationException You are not authorized for the SNS subscription.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.ModifyEventSubscription * @see AWS * API Documentation */ default CompletableFuture modifyEventSubscription( ModifyEventSubscriptionRequest modifyEventSubscriptionRequest) { throw new UnsupportedOperationException(); } /** *

* Modifies an existing AWS DMS event notification subscription. *

*
* This is a convenience which creates an instance of the {@link ModifyEventSubscriptionRequest.Builder} avoiding * the need to create one manually via {@link ModifyEventSubscriptionRequest#builder()} * * @param modifyEventSubscriptionRequest * a {@link Consumer} that will call methods on {@link ModifyEventSubscriptionMessage.Builder}. * @return A Java Future containing the result of the ModifyEventSubscription operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
  • *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SNSInvalidTopicException The SNS topic is invalid.
  • *
  • SNSNoAuthorizationException You are not authorized for the SNS subscription.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.ModifyEventSubscription * @see AWS * API Documentation */ default CompletableFuture modifyEventSubscription( Consumer modifyEventSubscriptionRequest) { return modifyEventSubscription(ModifyEventSubscriptionRequest.builder().apply(modifyEventSubscriptionRequest).build()); } /** *

* 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. *

*

* * @param modifyReplicationInstanceRequest * @return A Java Future containing the result of the ModifyReplicationInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *

    *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • ResourceAlreadyExistsException The resource you are attempting to create * already exists.
  • ResourceNotFoundException The resource could not be found.
  • * InsufficientResourceCapacityException There are not enough resources allocated to the database migration. *
  • StorageQuotaExceededException The storage quota has been exceeded.
  • * UpgradeDependencyFailureException An upgrade dependency is preventing the database migration.
  • * SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can * be used for catch all scenarios.
  • SdkClientException If any client side error occurs such as an * IO related failure, failure to get credentials, etc.
  • DatabaseMigrationException Base class for * all service exceptions. Unknown exceptions will be thrown as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.ModifyReplicationInstance * @see AWS * API Documentation */ default CompletableFuture modifyReplicationInstance( ModifyReplicationInstanceRequest modifyReplicationInstanceRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*

*
* This is a convenience which creates an instance of the {@link ModifyReplicationInstanceRequest.Builder} avoiding * the need to create one manually via {@link ModifyReplicationInstanceRequest#builder()} * * @param modifyReplicationInstanceRequest * a {@link Consumer} that will call methods on {@link ModifyReplicationInstanceMessage.Builder}. * @return A Java Future containing the result of the ModifyReplicationInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *

    *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • ResourceAlreadyExistsException The resource you are attempting to create * already exists.
  • ResourceNotFoundException The resource could not be found.
  • * InsufficientResourceCapacityException There are not enough resources allocated to the database migration. *
  • StorageQuotaExceededException The storage quota has been exceeded.
  • * UpgradeDependencyFailureException An upgrade dependency is preventing the database migration.
  • * SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can * be used for catch all scenarios.
  • SdkClientException If any client side error occurs such as an * IO related failure, failure to get credentials, etc.
  • DatabaseMigrationException Base class for * all service exceptions. Unknown exceptions will be thrown as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.ModifyReplicationInstance * @see AWS * API Documentation */ default CompletableFuture modifyReplicationInstance( Consumer modifyReplicationInstanceRequest) { return modifyReplicationInstance(ModifyReplicationInstanceRequest.builder().apply(modifyReplicationInstanceRequest) .build()); } /** *

* Modifies the settings for the specified replication subnet group. *

* * @param modifyReplicationSubnetGroupRequest * @return A Java Future containing the result of the ModifyReplicationSubnetGroup operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • AccessDeniedException AWS DMS was denied access to the endpoint.
  • *
  • ResourceNotFoundException The resource could not be found.
  • *
  • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
  • *
  • SubnetAlreadyInUseException The specified subnet is already in use.
  • *
  • ReplicationSubnetGroupDoesNotCoverEnoughAZsException The replication subnet group does not cover * enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
  • *
  • InvalidSubnetException The subnet provided is invalid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.ModifyReplicationSubnetGroup * @see AWS API Documentation */ default CompletableFuture modifyReplicationSubnetGroup( ModifyReplicationSubnetGroupRequest modifyReplicationSubnetGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Modifies the settings for the specified replication subnet group. *

*
* This is a convenience which creates an instance of the {@link ModifyReplicationSubnetGroupRequest.Builder} * avoiding the need to create one manually via {@link ModifyReplicationSubnetGroupRequest#builder()} * * @param modifyReplicationSubnetGroupRequest * a {@link Consumer} that will call methods on {@link ModifyReplicationSubnetGroupMessage.Builder}. * @return A Java Future containing the result of the ModifyReplicationSubnetGroup operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • AccessDeniedException AWS DMS was denied access to the endpoint.
  • *
  • ResourceNotFoundException The resource could not be found.
  • *
  • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
  • *
  • SubnetAlreadyInUseException The specified subnet is already in use.
  • *
  • ReplicationSubnetGroupDoesNotCoverEnoughAZsException The replication subnet group does not cover * enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
  • *
  • InvalidSubnetException The subnet provided is invalid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.ModifyReplicationSubnetGroup * @see AWS API Documentation */ default CompletableFuture modifyReplicationSubnetGroup( Consumer modifyReplicationSubnetGroupRequest) { return modifyReplicationSubnetGroup(ModifyReplicationSubnetGroupRequest.builder() .apply(modifyReplicationSubnetGroupRequest).build()); } /** *

* 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 *

* * @param modifyReplicationTaskRequest * @return A Java Future containing the result of the ModifyReplicationTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • ResourceNotFoundException The resource could not be found.
  • *
  • ResourceAlreadyExistsException The resource you are attempting to create already exists.
  • *
  • KMSKeyNotAccessibleException AWS DMS cannot access the KMS key.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.ModifyReplicationTask * @see AWS API * Documentation */ default CompletableFuture modifyReplicationTask( ModifyReplicationTaskRequest modifyReplicationTaskRequest) { throw new UnsupportedOperationException(); } /** *

* 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 *

*
* This is a convenience which creates an instance of the {@link ModifyReplicationTaskRequest.Builder} avoiding the * need to create one manually via {@link ModifyReplicationTaskRequest#builder()} * * @param modifyReplicationTaskRequest * a {@link Consumer} that will call methods on {@link ModifyReplicationTaskMessage.Builder}. * @return A Java Future containing the result of the ModifyReplicationTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • ResourceNotFoundException The resource could not be found.
  • *
  • ResourceAlreadyExistsException The resource you are attempting to create already exists.
  • *
  • KMSKeyNotAccessibleException AWS DMS cannot access the KMS key.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.ModifyReplicationTask * @see AWS API * Documentation */ default CompletableFuture modifyReplicationTask( Consumer modifyReplicationTaskRequest) { return modifyReplicationTask(ModifyReplicationTaskRequest.builder().apply(modifyReplicationTaskRequest).build()); } /** *

* 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. *

* * @param refreshSchemasRequest * @return A Java Future containing the result of the RefreshSchemas operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • ResourceNotFoundException The resource could not be found.
  • *
  • KMSKeyNotAccessibleException AWS DMS cannot access the KMS key.
  • *
  • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.RefreshSchemas * @see AWS API * Documentation */ default CompletableFuture refreshSchemas(RefreshSchemasRequest refreshSchemasRequest) { throw new UnsupportedOperationException(); } /** *

* 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. *

*
* This is a convenience which creates an instance of the {@link RefreshSchemasRequest.Builder} avoiding the need to * create one manually via {@link RefreshSchemasRequest#builder()} * * @param refreshSchemasRequest * a {@link Consumer} that will call methods on {@link RefreshSchemasMessage.Builder}. * @return A Java Future containing the result of the RefreshSchemas operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • ResourceNotFoundException The resource could not be found.
  • *
  • KMSKeyNotAccessibleException AWS DMS cannot access the KMS key.
  • *
  • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.RefreshSchemas * @see AWS API * Documentation */ default CompletableFuture refreshSchemas(Consumer refreshSchemasRequest) { return refreshSchemas(RefreshSchemasRequest.builder().apply(refreshSchemasRequest).build()); } /** *

* Reloads the target database table with the source data. *

* * @param reloadTablesRequest * @return A Java Future containing the result of the ReloadTables operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.ReloadTables * @see AWS API * Documentation */ default CompletableFuture reloadTables(ReloadTablesRequest reloadTablesRequest) { throw new UnsupportedOperationException(); } /** *

* Reloads the target database table with the source data. *

*
* This is a convenience which creates an instance of the {@link ReloadTablesRequest.Builder} avoiding the need to * create one manually via {@link ReloadTablesRequest#builder()} * * @param reloadTablesRequest * a {@link Consumer} that will call methods on {@link ReloadTablesMessage.Builder}. * @return A Java Future containing the result of the ReloadTables operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.ReloadTables * @see AWS API * Documentation */ default CompletableFuture reloadTables(Consumer reloadTablesRequest) { return reloadTables(ReloadTablesRequest.builder().apply(reloadTablesRequest).build()); } /** *

* Removes metadata tags from a DMS resource. *

* * @param removeTagsFromResourceRequest * @return A Java Future containing the result of the RemoveTagsFromResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.RemoveTagsFromResource * @see AWS API * Documentation */ default CompletableFuture removeTagsFromResource( RemoveTagsFromResourceRequest removeTagsFromResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Removes metadata tags from a DMS resource. *

*
* This is a convenience which creates an instance of the {@link RemoveTagsFromResourceRequest.Builder} avoiding the * need to create one manually via {@link RemoveTagsFromResourceRequest#builder()} * * @param removeTagsFromResourceRequest * a {@link Consumer} that will call methods on {@link RemoveTagsFromResourceMessage.Builder}. * @return A Java Future containing the result of the RemoveTagsFromResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.RemoveTagsFromResource * @see AWS API * Documentation */ default CompletableFuture removeTagsFromResource( Consumer removeTagsFromResourceRequest) { return removeTagsFromResource(RemoveTagsFromResourceRequest.builder().apply(removeTagsFromResourceRequest).build()); } /** *

* Starts the replication task. *

*

* For more information about AWS DMS tasks, see the AWS DMS user guide at Working with Migration Tasks *

* * @param startReplicationTaskRequest * @return A Java Future containing the result of the StartReplicationTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.StartReplicationTask * @see AWS API * Documentation */ default CompletableFuture startReplicationTask( StartReplicationTaskRequest startReplicationTaskRequest) { throw new UnsupportedOperationException(); } /** *

* Starts the replication task. *

*

* For more information about AWS DMS tasks, see the AWS DMS user guide at Working with Migration Tasks *

*
* This is a convenience which creates an instance of the {@link StartReplicationTaskRequest.Builder} avoiding the * need to create one manually via {@link StartReplicationTaskRequest#builder()} * * @param startReplicationTaskRequest * a {@link Consumer} that will call methods on {@link StartReplicationTaskMessage.Builder}. * @return A Java Future containing the result of the StartReplicationTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.StartReplicationTask * @see AWS API * Documentation */ default CompletableFuture startReplicationTask( Consumer startReplicationTaskRequest) { return startReplicationTask(StartReplicationTaskRequest.builder().apply(startReplicationTaskRequest).build()); } /** *

* Starts the replication task assessment for unsupported data types in the source database. *

* * @param startReplicationTaskAssessmentRequest * @return A Java Future containing the result of the StartReplicationTaskAssessment operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.StartReplicationTaskAssessment * @see AWS API Documentation */ default CompletableFuture startReplicationTaskAssessment( StartReplicationTaskAssessmentRequest startReplicationTaskAssessmentRequest) { throw new UnsupportedOperationException(); } /** *

* Starts the replication task assessment for unsupported data types in the source database. *

*
* This is a convenience which creates an instance of the {@link StartReplicationTaskAssessmentRequest.Builder} * avoiding the need to create one manually via {@link StartReplicationTaskAssessmentRequest#builder()} * * @param startReplicationTaskAssessmentRequest * a {@link Consumer} that will call methods on {@link StartReplicationTaskAssessmentMessage.Builder}. * @return A Java Future containing the result of the StartReplicationTaskAssessment operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • ResourceNotFoundException The resource could not be found.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.StartReplicationTaskAssessment * @see AWS API Documentation */ default CompletableFuture startReplicationTaskAssessment( Consumer startReplicationTaskAssessmentRequest) { return startReplicationTaskAssessment(StartReplicationTaskAssessmentRequest.builder() .apply(startReplicationTaskAssessmentRequest).build()); } /** *

* Stops the replication task. *

*

* * @param stopReplicationTaskRequest * @return A Java Future containing the result of the StopReplicationTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *

    *
  • ResourceNotFoundException The resource could not be found.
  • InvalidResourceStateException The * resource is in a state that prevents it from being used for database migration.
  • SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios.
  • SdkClientException If any client side error occurs such as an IO related * failure, failure to get credentials, etc.
  • DatabaseMigrationException Base class for all service * exceptions. Unknown exceptions will be thrown as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.StopReplicationTask * @see AWS API * Documentation */ default CompletableFuture stopReplicationTask( StopReplicationTaskRequest stopReplicationTaskRequest) { throw new UnsupportedOperationException(); } /** *

* Stops the replication task. *

*

*
* This is a convenience which creates an instance of the {@link StopReplicationTaskRequest.Builder} avoiding the * need to create one manually via {@link StopReplicationTaskRequest#builder()} * * @param stopReplicationTaskRequest * a {@link Consumer} that will call methods on {@link StopReplicationTaskMessage.Builder}. * @return A Java Future containing the result of the StopReplicationTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *

    *
  • ResourceNotFoundException The resource could not be found.
  • InvalidResourceStateException The * resource is in a state that prevents it from being used for database migration.
  • SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios.
  • SdkClientException If any client side error occurs such as an IO related * failure, failure to get credentials, etc.
  • DatabaseMigrationException Base class for all service * exceptions. Unknown exceptions will be thrown as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.StopReplicationTask * @see AWS API * Documentation */ default CompletableFuture stopReplicationTask( Consumer stopReplicationTaskRequest) { return stopReplicationTask(StopReplicationTaskRequest.builder().apply(stopReplicationTaskRequest).build()); } /** *

* Tests the connection between the replication instance and the endpoint. *

* * @param testConnectionRequest * @return A Java Future containing the result of the TestConnection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • KMSKeyNotAccessibleException AWS DMS cannot access the KMS key.
  • *
  • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.TestConnection * @see AWS API * Documentation */ default CompletableFuture testConnection(TestConnectionRequest testConnectionRequest) { throw new UnsupportedOperationException(); } /** *

* Tests the connection between the replication instance and the endpoint. *

*
* This is a convenience which creates an instance of the {@link TestConnectionRequest.Builder} avoiding the need to * create one manually via {@link TestConnectionRequest#builder()} * * @param testConnectionRequest * a {@link Consumer} that will call methods on {@link TestConnectionMessage.Builder}. * @return A Java Future containing the result of the TestConnection operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ResourceNotFoundException The resource could not be found.
  • *
  • InvalidResourceStateException The resource is in a state that prevents it from being used for * database migration.
  • *
  • KMSKeyNotAccessibleException AWS DMS cannot access the KMS key.
  • *
  • ResourceQuotaExceededException The quota for this resource quota has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DatabaseMigrationException Base class for all service exceptions. Unknown exceptions will be thrown * as an instance of this type.
  • *
* @sample DatabaseMigrationAsyncClient.TestConnection * @see AWS API * Documentation */ default CompletableFuture testConnection(Consumer testConnectionRequest) { return testConnection(TestConnectionRequest.builder().apply(testConnectionRequest).build()); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy