software.amazon.awssdk.services.databasemigration.DatabaseMigrationClient Maven / Gradle / Ivy
Show all versions of dms Show documentation
/*
* 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 javax.annotation.Generated;
import software.amazon.awssdk.core.SdkBaseException;
import software.amazon.awssdk.core.SdkClientException;
import software.amazon.awssdk.core.regions.ServiceMetadata;
import software.amazon.awssdk.services.databasemigration.model.AccessDeniedException;
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.DatabaseMigrationException;
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.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.InsufficientResourceCapacityException;
import software.amazon.awssdk.services.databasemigration.model.InvalidCertificateException;
import software.amazon.awssdk.services.databasemigration.model.InvalidResourceStateException;
import software.amazon.awssdk.services.databasemigration.model.InvalidSubnetException;
import software.amazon.awssdk.services.databasemigration.model.KMSKeyNotAccessibleException;
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.ReplicationSubnetGroupDoesNotCoverEnoughAZsException;
import software.amazon.awssdk.services.databasemigration.model.ResourceAlreadyExistsException;
import software.amazon.awssdk.services.databasemigration.model.ResourceNotFoundException;
import software.amazon.awssdk.services.databasemigration.model.ResourceQuotaExceededException;
import software.amazon.awssdk.services.databasemigration.model.SNSInvalidTopicException;
import software.amazon.awssdk.services.databasemigration.model.SNSNoAuthorizationException;
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.StorageQuotaExceededException;
import software.amazon.awssdk.services.databasemigration.model.SubnetAlreadyInUseException;
import software.amazon.awssdk.services.databasemigration.model.TestConnectionRequest;
import software.amazon.awssdk.services.databasemigration.model.TestConnectionResponse;
import software.amazon.awssdk.services.databasemigration.model.UpgradeDependencyFailureException;
import software.amazon.awssdk.utils.SdkAutoCloseable;
/**
* Service client for accessing null. 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 DatabaseMigrationClient extends SdkAutoCloseable {
String SERVICE_NAME = "dms";
/**
* Create a {@link DatabaseMigrationClient} 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 DatabaseMigrationClient create() {
return builder().build();
}
/**
* Create a builder that can be used to configure and create a {@link DatabaseMigrationClient}.
*/
static DatabaseMigrationClientBuilder builder() {
return new DefaultDatabaseMigrationClientBuilder();
}
/**
*
* 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 Result of the AddTagsToResource operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.AddTagsToResource
* @see AWS API
* Documentation
*/
default AddTagsToResourceResponse addTagsToResource(AddTagsToResourceRequest addTagsToResourceRequest)
throws ResourceNotFoundException, SdkBaseException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Creates an endpoint using the provided settings.
*
*
* @param createEndpointRequest
* @return Result of the CreateEndpoint operation returned by the service.
* @throws KMSKeyNotAccessibleException
* AWS DMS cannot access the KMS key.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws AccessDeniedException
* AWS DMS was denied access to the endpoint.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CreateEndpoint
* @see AWS API
* Documentation
*/
default CreateEndpointResponse createEndpoint(CreateEndpointRequest createEndpointRequest)
throws KMSKeyNotAccessibleException, ResourceAlreadyExistsException, ResourceQuotaExceededException,
InvalidResourceStateException, ResourceNotFoundException, AccessDeniedException, SdkBaseException,
SdkClientException, DatabaseMigrationException {
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.
*
*
* @param createEventSubscriptionRequest
* @return Result of the CreateEventSubscription operation returned by the service.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws SNSInvalidTopicException
* The SNS topic is invalid.
* @throws SNSNoAuthorizationException
* You are not authorized for the SNS subscription.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CreateEventSubscription
* @see AWS
* API Documentation
*/
default CreateEventSubscriptionResponse createEventSubscription(CreateEventSubscriptionRequest createEventSubscriptionRequest)
throws ResourceQuotaExceededException, ResourceAlreadyExistsException, SNSInvalidTopicException,
SNSNoAuthorizationException, ResourceNotFoundException, SdkBaseException, SdkClientException,
DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Creates the replication instance using the specified parameters.
*
*
* @param createReplicationInstanceRequest
* @return Result of the CreateReplicationInstance operation returned by the service.
* @throws AccessDeniedException
* AWS DMS was denied access to the endpoint.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws InsufficientResourceCapacityException
* There are not enough resources allocated to the database migration.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws StorageQuotaExceededException
* The storage quota has been exceeded.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws ReplicationSubnetGroupDoesNotCoverEnoughAZsException
* The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet
* group and add more AZs.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws InvalidSubnetException
* The subnet provided is invalid.
* @throws KMSKeyNotAccessibleException
* AWS DMS cannot access the KMS key.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CreateReplicationInstance
* @see AWS
* API Documentation
*/
default CreateReplicationInstanceResponse createReplicationInstance(
CreateReplicationInstanceRequest createReplicationInstanceRequest) throws AccessDeniedException,
ResourceAlreadyExistsException, InsufficientResourceCapacityException, ResourceQuotaExceededException,
StorageQuotaExceededException, ResourceNotFoundException, ReplicationSubnetGroupDoesNotCoverEnoughAZsException,
InvalidResourceStateException, InvalidSubnetException, KMSKeyNotAccessibleException, SdkBaseException,
SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a replication subnet group given a list of the subnet IDs in a VPC.
*
*
* @param createReplicationSubnetGroupRequest
* @return Result of the CreateReplicationSubnetGroup operation returned by the service.
* @throws AccessDeniedException
* AWS DMS was denied access to the endpoint.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws ReplicationSubnetGroupDoesNotCoverEnoughAZsException
* The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet
* group and add more AZs.
* @throws InvalidSubnetException
* The subnet provided is invalid.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CreateReplicationSubnetGroup
* @see AWS API Documentation
*/
default CreateReplicationSubnetGroupResponse createReplicationSubnetGroup(
CreateReplicationSubnetGroupRequest createReplicationSubnetGroupRequest) throws AccessDeniedException,
ResourceAlreadyExistsException, ResourceNotFoundException, ResourceQuotaExceededException,
ReplicationSubnetGroupDoesNotCoverEnoughAZsException, InvalidSubnetException, SdkBaseException, SdkClientException,
DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a replication task using the specified parameters.
*
*
* @param createReplicationTaskRequest
* @return Result of the CreateReplicationTask operation returned by the service.
* @throws AccessDeniedException
* AWS DMS was denied access to the endpoint.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws KMSKeyNotAccessibleException
* AWS DMS cannot access the KMS key.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.CreateReplicationTask
* @see AWS API
* Documentation
*/
default CreateReplicationTaskResponse createReplicationTask(CreateReplicationTaskRequest createReplicationTaskRequest)
throws AccessDeniedException, InvalidResourceStateException, ResourceAlreadyExistsException,
ResourceNotFoundException, KMSKeyNotAccessibleException, ResourceQuotaExceededException, SdkBaseException,
SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the specified certificate.
*
*
* @param deleteCertificateRequest
* @return Result of the DeleteCertificate operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteCertificate
* @see AWS API
* Documentation
*/
default DeleteCertificateResponse deleteCertificate(DeleteCertificateRequest deleteCertificateRequest)
throws ResourceNotFoundException, InvalidResourceStateException, SdkBaseException, SdkClientException,
DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the specified endpoint.
*
*
*
* All tasks associated with the endpoint must be deleted before you can delete the endpoint.
*
*
*
*
* @param deleteEndpointRequest
* @return Result of the DeleteEndpoint operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteEndpoint
* @see AWS API
* Documentation
*/
default DeleteEndpointResponse deleteEndpoint(DeleteEndpointRequest deleteEndpointRequest) throws ResourceNotFoundException,
InvalidResourceStateException, SdkBaseException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an AWS DMS event subscription.
*
*
* @param deleteEventSubscriptionRequest
* @return Result of the DeleteEventSubscription operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteEventSubscription
* @see AWS
* API Documentation
*/
default DeleteEventSubscriptionResponse deleteEventSubscription(DeleteEventSubscriptionRequest deleteEventSubscriptionRequest)
throws ResourceNotFoundException, InvalidResourceStateException, SdkBaseException, SdkClientException,
DatabaseMigrationException {
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.
*
*
*
*
* @param deleteReplicationInstanceRequest
* @return Result of the DeleteReplicationInstance operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteReplicationInstance
* @see AWS
* API Documentation
*/
default DeleteReplicationInstanceResponse deleteReplicationInstance(
DeleteReplicationInstanceRequest deleteReplicationInstanceRequest) throws InvalidResourceStateException,
ResourceNotFoundException, SdkBaseException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a subnet group.
*
*
* @param deleteReplicationSubnetGroupRequest
* @return Result of the DeleteReplicationSubnetGroup operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteReplicationSubnetGroup
* @see AWS API Documentation
*/
default DeleteReplicationSubnetGroupResponse deleteReplicationSubnetGroup(
DeleteReplicationSubnetGroupRequest deleteReplicationSubnetGroupRequest) throws InvalidResourceStateException,
ResourceNotFoundException, SdkBaseException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the specified replication task.
*
*
* @param deleteReplicationTaskRequest
* @return Result of the DeleteReplicationTask operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DeleteReplicationTask
* @see AWS API
* Documentation
*/
default DeleteReplicationTaskResponse deleteReplicationTask(DeleteReplicationTaskRequest deleteReplicationTaskRequest)
throws ResourceNotFoundException, InvalidResourceStateException, SdkBaseException, SdkClientException,
DatabaseMigrationException {
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 Result of the DescribeAccountAttributes operation returned by the service.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeAccountAttributes
* @see #describeAccountAttributes(DescribeAccountAttributesRequest)
* @see AWS
* API Documentation
*/
default DescribeAccountAttributesResponse describeAccountAttributes() throws SdkBaseException, SdkClientException,
DatabaseMigrationException {
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.
*
*
* @param describeAccountAttributesRequest
* @return Result of the DescribeAccountAttributes operation returned by the service.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeAccountAttributes
* @see AWS
* API Documentation
*/
default DescribeAccountAttributesResponse describeAccountAttributes(
DescribeAccountAttributesRequest describeAccountAttributesRequest) throws SdkBaseException, SdkClientException,
DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Provides a description of the certificate.
*
*
* @return Result of the DescribeCertificates operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeCertificates
* @see #describeCertificates(DescribeCertificatesRequest)
* @see AWS API
* Documentation
*/
default DescribeCertificatesResponse describeCertificates() throws ResourceNotFoundException, SdkBaseException,
SdkClientException, DatabaseMigrationException {
return describeCertificates(DescribeCertificatesRequest.builder().build());
}
/**
*
* Provides a description of the certificate.
*
*
* @param describeCertificatesRequest
* @return Result of the DescribeCertificates operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeCertificates
* @see AWS API
* Documentation
*/
default DescribeCertificatesResponse describeCertificates(DescribeCertificatesRequest describeCertificatesRequest)
throws ResourceNotFoundException, SdkBaseException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeConnections operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeConnections
* @see #describeConnections(DescribeConnectionsRequest)
* @see AWS API
* Documentation
*/
default DescribeConnectionsResponse describeConnections() throws ResourceNotFoundException, SdkBaseException,
SdkClientException, DatabaseMigrationException {
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.
*
*
* @param describeConnectionsRequest
* @return Result of the DescribeConnections operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeConnections
* @see AWS API
* Documentation
*/
default DescribeConnectionsResponse describeConnections(DescribeConnectionsRequest describeConnectionsRequest)
throws ResourceNotFoundException, SdkBaseException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about the type of endpoints available.
*
*
* @return Result of the DescribeEndpointTypes operation returned by the service.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEndpointTypes
* @see #describeEndpointTypes(DescribeEndpointTypesRequest)
* @see AWS API
* Documentation
*/
default DescribeEndpointTypesResponse describeEndpointTypes() throws SdkBaseException, SdkClientException,
DatabaseMigrationException {
return describeEndpointTypes(DescribeEndpointTypesRequest.builder().build());
}
/**
*
* Returns information about the type of endpoints available.
*
*
* @param describeEndpointTypesRequest
* @return Result of the DescribeEndpointTypes operation returned by the service.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEndpointTypes
* @see AWS API
* Documentation
*/
default DescribeEndpointTypesResponse describeEndpointTypes(DescribeEndpointTypesRequest describeEndpointTypesRequest)
throws SdkBaseException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about the endpoints for your account in the current region.
*
*
* @return Result of the DescribeEndpoints operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEndpoints
* @see #describeEndpoints(DescribeEndpointsRequest)
* @see AWS API
* Documentation
*/
default DescribeEndpointsResponse describeEndpoints() throws ResourceNotFoundException, SdkBaseException, SdkClientException,
DatabaseMigrationException {
return describeEndpoints(DescribeEndpointsRequest.builder().build());
}
/**
*
* Returns information about the endpoints for your account in the current region.
*
*
* @param describeEndpointsRequest
* @return Result of the DescribeEndpoints operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEndpoints
* @see AWS API
* Documentation
*/
default DescribeEndpointsResponse describeEndpoints(DescribeEndpointsRequest describeEndpointsRequest)
throws ResourceNotFoundException, SdkBaseException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeEventCategories operation returned by the service.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEventCategories
* @see #describeEventCategories(DescribeEventCategoriesRequest)
* @see AWS
* API Documentation
*/
default DescribeEventCategoriesResponse describeEventCategories() throws SdkBaseException, SdkClientException,
DatabaseMigrationException {
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.
*
*
* @param describeEventCategoriesRequest
* @return Result of the DescribeEventCategories operation returned by the service.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEventCategories
* @see AWS
* API Documentation
*/
default DescribeEventCategoriesResponse describeEventCategories(DescribeEventCategoriesRequest describeEventCategoriesRequest)
throws SdkBaseException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeEventSubscriptions operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEventSubscriptions
* @see #describeEventSubscriptions(DescribeEventSubscriptionsRequest)
* @see AWS
* API Documentation
*/
default DescribeEventSubscriptionsResponse describeEventSubscriptions() throws ResourceNotFoundException, SdkBaseException,
SdkClientException, DatabaseMigrationException {
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.
*
*
* @param describeEventSubscriptionsRequest
* @return Result of the DescribeEventSubscriptions operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEventSubscriptions
* @see AWS
* API Documentation
*/
default DescribeEventSubscriptionsResponse describeEventSubscriptions(
DescribeEventSubscriptionsRequest describeEventSubscriptionsRequest) throws ResourceNotFoundException,
SdkBaseException, SdkClientException, DatabaseMigrationException {
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 Result of the DescribeEvents operation returned by the service.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEvents
* @see #describeEvents(DescribeEventsRequest)
* @see AWS API
* Documentation
*/
default DescribeEventsResponse describeEvents() throws SdkBaseException, SdkClientException, DatabaseMigrationException {
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 .
*
*
* @param describeEventsRequest
* @return Result of the DescribeEvents operation returned by the service.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeEvents
* @see AWS API
* Documentation
*/
default DescribeEventsResponse describeEvents(DescribeEventsRequest describeEventsRequest) throws SdkBaseException,
SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about the replication instance types that can be created in the specified region.
*
*
* @return Result of the DescribeOrderableReplicationInstances operation returned by the service.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeOrderableReplicationInstances
* @see #describeOrderableReplicationInstances(DescribeOrderableReplicationInstancesRequest)
* @see AWS API Documentation
*/
default DescribeOrderableReplicationInstancesResponse describeOrderableReplicationInstances() throws SdkBaseException,
SdkClientException, DatabaseMigrationException {
return describeOrderableReplicationInstances(DescribeOrderableReplicationInstancesRequest.builder().build());
}
/**
*
* Returns information about the replication instance types that can be created in the specified region.
*
*
* @param describeOrderableReplicationInstancesRequest
* @return Result of the DescribeOrderableReplicationInstances operation returned by the service.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeOrderableReplicationInstances
* @see AWS API Documentation
*/
default DescribeOrderableReplicationInstancesResponse describeOrderableReplicationInstances(
DescribeOrderableReplicationInstancesRequest describeOrderableReplicationInstancesRequest) throws SdkBaseException,
SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Returns the status of the RefreshSchemas operation.
*
*
* @param describeRefreshSchemasStatusRequest
* @return Result of the DescribeRefreshSchemasStatus operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeRefreshSchemasStatus
* @see AWS API Documentation
*/
default DescribeRefreshSchemasStatusResponse describeRefreshSchemasStatus(
DescribeRefreshSchemasStatusRequest describeRefreshSchemasStatusRequest) throws InvalidResourceStateException,
ResourceNotFoundException, SdkBaseException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about replication instances for your account in the current region.
*
*
* @return Result of the DescribeReplicationInstances operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationInstances
* @see #describeReplicationInstances(DescribeReplicationInstancesRequest)
* @see AWS API Documentation
*/
default DescribeReplicationInstancesResponse describeReplicationInstances() throws ResourceNotFoundException,
SdkBaseException, SdkClientException, DatabaseMigrationException {
return describeReplicationInstances(DescribeReplicationInstancesRequest.builder().build());
}
/**
*
* Returns information about replication instances for your account in the current region.
*
*
* @param describeReplicationInstancesRequest
* @return Result of the DescribeReplicationInstances operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationInstances
* @see AWS API Documentation
*/
default DescribeReplicationInstancesResponse describeReplicationInstances(
DescribeReplicationInstancesRequest describeReplicationInstancesRequest) throws ResourceNotFoundException,
SdkBaseException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about the replication subnet groups.
*
*
* @return Result of the DescribeReplicationSubnetGroups operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationSubnetGroups
* @see #describeReplicationSubnetGroups(DescribeReplicationSubnetGroupsRequest)
* @see AWS API Documentation
*/
default DescribeReplicationSubnetGroupsResponse describeReplicationSubnetGroups() throws ResourceNotFoundException,
SdkBaseException, SdkClientException, DatabaseMigrationException {
return describeReplicationSubnetGroups(DescribeReplicationSubnetGroupsRequest.builder().build());
}
/**
*
* Returns information about the replication subnet groups.
*
*
* @param describeReplicationSubnetGroupsRequest
* @return Result of the DescribeReplicationSubnetGroups operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationSubnetGroups
* @see AWS API Documentation
*/
default DescribeReplicationSubnetGroupsResponse describeReplicationSubnetGroups(
DescribeReplicationSubnetGroupsRequest describeReplicationSubnetGroupsRequest) throws ResourceNotFoundException,
SdkBaseException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about replication tasks for your account in the current region.
*
*
* @return Result of the DescribeReplicationTasks operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationTasks
* @see #describeReplicationTasks(DescribeReplicationTasksRequest)
* @see AWS
* API Documentation
*/
default DescribeReplicationTasksResponse describeReplicationTasks() throws ResourceNotFoundException, SdkBaseException,
SdkClientException, DatabaseMigrationException {
return describeReplicationTasks(DescribeReplicationTasksRequest.builder().build());
}
/**
*
* Returns information about replication tasks for your account in the current region.
*
*
* @param describeReplicationTasksRequest
* @return Result of the DescribeReplicationTasks operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeReplicationTasks
* @see AWS
* API Documentation
*/
default DescribeReplicationTasksResponse describeReplicationTasks(
DescribeReplicationTasksRequest describeReplicationTasksRequest) throws ResourceNotFoundException, SdkBaseException,
SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about the schema for the specified endpoint.
*
*
*
* @param describeSchemasRequest
* @return Result of the DescribeSchemas operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeSchemas
* @see AWS API
* Documentation
*/
default DescribeSchemasResponse describeSchemas(DescribeSchemasRequest describeSchemasRequest)
throws InvalidResourceStateException, ResourceNotFoundException, SdkBaseException, SdkClientException,
DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and
* rows deleted.
*
*
* @param describeTableStatisticsRequest
* @return Result of the DescribeTableStatistics operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.DescribeTableStatistics
* @see AWS
* API Documentation
*/
default DescribeTableStatisticsResponse describeTableStatistics(DescribeTableStatisticsRequest describeTableStatisticsRequest)
throws ResourceNotFoundException, InvalidResourceStateException, SdkBaseException, SdkClientException,
DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Uploads the specified certificate.
*
*
* @param importCertificateRequest
* @return Result of the ImportCertificate operation returned by the service.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws InvalidCertificateException
* The certificate was not valid.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ImportCertificate
* @see AWS API
* Documentation
*/
default ImportCertificateResponse importCertificate(ImportCertificateRequest importCertificateRequest)
throws ResourceAlreadyExistsException, InvalidCertificateException, SdkBaseException, SdkClientException,
DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Lists all tags for an AWS DMS resource.
*
*
* @param listTagsForResourceRequest
* @return Result of the ListTagsForResource operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ListTagsForResource
* @see AWS API
* Documentation
*/
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
throws ResourceNotFoundException, SdkBaseException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Modifies the specified endpoint.
*
*
* @param modifyEndpointRequest
* @return Result of the ModifyEndpoint operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws KMSKeyNotAccessibleException
* AWS DMS cannot access the KMS key.
* @throws AccessDeniedException
* AWS DMS was denied access to the endpoint.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ModifyEndpoint
* @see AWS API
* Documentation
*/
default ModifyEndpointResponse modifyEndpoint(ModifyEndpointRequest modifyEndpointRequest)
throws InvalidResourceStateException, ResourceNotFoundException, ResourceAlreadyExistsException,
KMSKeyNotAccessibleException, AccessDeniedException, SdkBaseException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Modifies an existing AWS DMS event notification subscription.
*
*
* @param modifyEventSubscriptionRequest
* @return Result of the ModifyEventSubscription operation returned by the service.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SNSInvalidTopicException
* The SNS topic is invalid.
* @throws SNSNoAuthorizationException
* You are not authorized for the SNS subscription.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ModifyEventSubscription
* @see AWS
* API Documentation
*/
default ModifyEventSubscriptionResponse modifyEventSubscription(ModifyEventSubscriptionRequest modifyEventSubscriptionRequest)
throws ResourceQuotaExceededException, ResourceNotFoundException, SNSInvalidTopicException,
SNSNoAuthorizationException, SdkBaseException, SdkClientException, DatabaseMigrationException {
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.
*
*
*
* @param modifyReplicationInstanceRequest
* @return Result of the ModifyReplicationInstance operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InsufficientResourceCapacityException
* There are not enough resources allocated to the database migration.
* @throws StorageQuotaExceededException
* The storage quota has been exceeded.
* @throws UpgradeDependencyFailureException
* An upgrade dependency is preventing the database migration.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ModifyReplicationInstance
* @see AWS
* API Documentation
*/
default ModifyReplicationInstanceResponse modifyReplicationInstance(
ModifyReplicationInstanceRequest modifyReplicationInstanceRequest) throws InvalidResourceStateException,
ResourceAlreadyExistsException, ResourceNotFoundException, InsufficientResourceCapacityException,
StorageQuotaExceededException, UpgradeDependencyFailureException, SdkBaseException, SdkClientException,
DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Modifies the settings for the specified replication subnet group.
*
*
* @param modifyReplicationSubnetGroupRequest
* @return Result of the ModifyReplicationSubnetGroup operation returned by the service.
* @throws AccessDeniedException
* AWS DMS was denied access to the endpoint.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws SubnetAlreadyInUseException
* The specified subnet is already in use.
* @throws ReplicationSubnetGroupDoesNotCoverEnoughAZsException
* The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet
* group and add more AZs.
* @throws InvalidSubnetException
* The subnet provided is invalid.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ModifyReplicationSubnetGroup
* @see AWS API Documentation
*/
default ModifyReplicationSubnetGroupResponse modifyReplicationSubnetGroup(
ModifyReplicationSubnetGroupRequest modifyReplicationSubnetGroupRequest) throws AccessDeniedException,
ResourceNotFoundException, ResourceQuotaExceededException, SubnetAlreadyInUseException,
ReplicationSubnetGroupDoesNotCoverEnoughAZsException, InvalidSubnetException, SdkBaseException, SdkClientException,
DatabaseMigrationException {
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
*
*
* @param modifyReplicationTaskRequest
* @return Result of the ModifyReplicationTask operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws ResourceAlreadyExistsException
* The resource you are attempting to create already exists.
* @throws KMSKeyNotAccessibleException
* AWS DMS cannot access the KMS key.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ModifyReplicationTask
* @see AWS API
* Documentation
*/
default ModifyReplicationTaskResponse modifyReplicationTask(ModifyReplicationTaskRequest modifyReplicationTaskRequest)
throws InvalidResourceStateException, ResourceNotFoundException, ResourceAlreadyExistsException,
KMSKeyNotAccessibleException, SdkBaseException, SdkClientException, DatabaseMigrationException {
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.
*
*
* @param refreshSchemasRequest
* @return Result of the RefreshSchemas operation returned by the service.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws KMSKeyNotAccessibleException
* AWS DMS cannot access the KMS key.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.RefreshSchemas
* @see AWS API
* Documentation
*/
default RefreshSchemasResponse refreshSchemas(RefreshSchemasRequest refreshSchemasRequest)
throws InvalidResourceStateException, ResourceNotFoundException, KMSKeyNotAccessibleException,
ResourceQuotaExceededException, SdkBaseException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Reloads the target database table with the source data.
*
*
* @param reloadTablesRequest
* @return Result of the ReloadTables operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.ReloadTables
* @see AWS API
* Documentation
*/
default ReloadTablesResponse reloadTables(ReloadTablesRequest reloadTablesRequest) throws ResourceNotFoundException,
InvalidResourceStateException, SdkBaseException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Removes metadata tags from a DMS resource.
*
*
* @param removeTagsFromResourceRequest
* @return Result of the RemoveTagsFromResource operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.RemoveTagsFromResource
* @see AWS API
* Documentation
*/
default RemoveTagsFromResourceResponse removeTagsFromResource(RemoveTagsFromResourceRequest removeTagsFromResourceRequest)
throws ResourceNotFoundException, SdkBaseException, SdkClientException, DatabaseMigrationException {
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
*
*
* @param startReplicationTaskRequest
* @return Result of the StartReplicationTask operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StartReplicationTask
* @see AWS API
* Documentation
*/
default StartReplicationTaskResponse startReplicationTask(StartReplicationTaskRequest startReplicationTaskRequest)
throws ResourceNotFoundException, InvalidResourceStateException, SdkBaseException, SdkClientException,
DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Stops the replication task.
*
*
*
* @param stopReplicationTaskRequest
* @return Result of the StopReplicationTask operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.StopReplicationTask
* @see AWS API
* Documentation
*/
default StopReplicationTaskResponse stopReplicationTask(StopReplicationTaskRequest stopReplicationTaskRequest)
throws ResourceNotFoundException, InvalidResourceStateException, SdkBaseException, SdkClientException,
DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Tests the connection between the replication instance and the endpoint.
*
*
* @param testConnectionRequest
* @return Result of the TestConnection operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws InvalidResourceStateException
* The resource is in a state that prevents it from being used for database migration.
* @throws KMSKeyNotAccessibleException
* AWS DMS cannot access the KMS key.
* @throws ResourceQuotaExceededException
* The quota for this resource quota has been exceeded.
* @throws SdkBaseException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws DatabaseMigrationException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample DatabaseMigrationClient.TestConnection
* @see AWS API
* Documentation
*/
default TestConnectionResponse testConnection(TestConnectionRequest testConnectionRequest) throws ResourceNotFoundException,
InvalidResourceStateException, KMSKeyNotAccessibleException, ResourceQuotaExceededException, SdkBaseException,
SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
static ServiceMetadata serviceMetadata() {
return ServiceMetadata.of("dms");
}
}