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 java.util.function.Consumer;
import javax.annotation.Generated;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.core.exception.SdkServiceException;
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.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.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.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.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.services.databasemigration.paginators.DescribeCertificatesPaginator;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsPaginator;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesPaginator;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsPaginator;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsPaginator;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeEventsPaginator;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesPaginator;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesPaginator;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsPaginator;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTasksPaginator;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeSchemasPaginator;
import software.amazon.awssdk.services.databasemigration.paginators.DescribeTableStatisticsPaginator;
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 SdkException
* 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, SdkServiceException, SdkClientException, DatabaseMigrationException {
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.
*
*
* @param addTagsToResourceRequest
* @return Result of the AddTagsToResource operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* 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(Consumer addTagsToResourceRequest)
throws ResourceNotFoundException, SdkServiceException, SdkClientException, DatabaseMigrationException {
return addTagsToResource(AddTagsToResourceRequest.builder().apply(addTagsToResourceRequest).build());
}
/**
*
* 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 SdkException
* 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, SdkServiceException,
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 SdkException
* 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(Consumer createEndpointRequest)
throws KMSKeyNotAccessibleException, ResourceAlreadyExistsException, ResourceQuotaExceededException,
InvalidResourceStateException, ResourceNotFoundException, AccessDeniedException, SdkServiceException,
SdkClientException, DatabaseMigrationException {
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 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 SdkException
* 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, SdkServiceException, 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 SdkException
* 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(
Consumer createEventSubscriptionRequest)
throws ResourceQuotaExceededException, ResourceAlreadyExistsException, SNSInvalidTopicException,
SNSNoAuthorizationException, ResourceNotFoundException, SdkServiceException, SdkClientException,
DatabaseMigrationException {
return createEventSubscription(CreateEventSubscriptionRequest.builder().apply(createEventSubscriptionRequest).build());
}
/**
*
* 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 SdkException
* 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, SdkServiceException,
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 SdkException
* 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(
Consumer createReplicationInstanceRequest) throws AccessDeniedException,
ResourceAlreadyExistsException, InsufficientResourceCapacityException, ResourceQuotaExceededException,
StorageQuotaExceededException, ResourceNotFoundException, ReplicationSubnetGroupDoesNotCoverEnoughAZsException,
InvalidResourceStateException, InvalidSubnetException, KMSKeyNotAccessibleException, SdkServiceException,
SdkClientException, DatabaseMigrationException {
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 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 SdkException
* 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, SdkServiceException,
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 SdkException
* 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(
Consumer createReplicationSubnetGroupRequest)
throws AccessDeniedException, ResourceAlreadyExistsException, ResourceNotFoundException,
ResourceQuotaExceededException, ReplicationSubnetGroupDoesNotCoverEnoughAZsException, InvalidSubnetException,
SdkServiceException, SdkClientException, DatabaseMigrationException {
return createReplicationSubnetGroup(CreateReplicationSubnetGroupRequest.builder()
.apply(createReplicationSubnetGroupRequest).build());
}
/**
*
* 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 SdkException
* 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, SdkServiceException,
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 SdkException
* 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(
Consumer createReplicationTaskRequest) throws AccessDeniedException,
InvalidResourceStateException, ResourceAlreadyExistsException, ResourceNotFoundException,
KMSKeyNotAccessibleException, ResourceQuotaExceededException, SdkServiceException, SdkClientException,
DatabaseMigrationException {
return createReplicationTask(CreateReplicationTaskRequest.builder().apply(createReplicationTaskRequest).build());
}
/**
*
* 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 SdkException
* 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, SdkServiceException, 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 SdkException
* 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(Consumer deleteCertificateRequest)
throws ResourceNotFoundException, InvalidResourceStateException, SdkServiceException, SdkClientException,
DatabaseMigrationException {
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 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 SdkException
* 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, SdkServiceException, 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 SdkException
* 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(Consumer deleteEndpointRequest)
throws ResourceNotFoundException, InvalidResourceStateException, SdkServiceException, SdkClientException,
DatabaseMigrationException {
return deleteEndpoint(DeleteEndpointRequest.builder().apply(deleteEndpointRequest).build());
}
/**
*
* 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 SdkException
* 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, SdkServiceException, 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 SdkException
* 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(
Consumer deleteEventSubscriptionRequest) throws ResourceNotFoundException,
InvalidResourceStateException, SdkServiceException, SdkClientException, DatabaseMigrationException {
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 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 SdkException
* 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, SdkServiceException, 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 SdkException
* 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(
Consumer deleteReplicationInstanceRequest)
throws InvalidResourceStateException, ResourceNotFoundException, SdkServiceException, SdkClientException,
DatabaseMigrationException {
return deleteReplicationInstance(DeleteReplicationInstanceRequest.builder().apply(deleteReplicationInstanceRequest)
.build());
}
/**
*
* 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 SdkException
* 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, SdkServiceException, 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 SdkException
* 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(
Consumer deleteReplicationSubnetGroupRequest)
throws InvalidResourceStateException, ResourceNotFoundException, SdkServiceException, SdkClientException,
DatabaseMigrationException {
return deleteReplicationSubnetGroup(DeleteReplicationSubnetGroupRequest.builder()
.apply(deleteReplicationSubnetGroupRequest).build());
}
/**
*
* 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 SdkException
* 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, SdkServiceException, 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 SdkException
* 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(
Consumer deleteReplicationTaskRequest) throws ResourceNotFoundException,
InvalidResourceStateException, SdkServiceException, SdkClientException, DatabaseMigrationException {
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.
*
*
* @return Result of the DescribeAccountAttributes operation returned by the service.
* @throws SdkException
* 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 SdkServiceException, 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 SdkException
* 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 SdkServiceException, 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.
*
*
* @param describeAccountAttributesRequest
* @return Result of the DescribeAccountAttributes operation returned by the service.
* @throws SdkException
* 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(
Consumer describeAccountAttributesRequest) throws SdkServiceException,
SdkClientException, DatabaseMigrationException {
return describeAccountAttributes(DescribeAccountAttributesRequest.builder().apply(describeAccountAttributesRequest)
.build());
}
/**
*
* 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 SdkException
* 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, SdkServiceException,
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 SdkException
* 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, SdkServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* 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 SdkException
* 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(
Consumer describeCertificatesRequest) throws ResourceNotFoundException,
SdkServiceException, SdkClientException, DatabaseMigrationException {
return describeCertificates(DescribeCertificatesRequest.builder().apply(describeCertificatesRequest).build());
}
/**
*
* Provides a description of the certificate.
*
*
*
* This is a variant of
* {@link #describeCertificates(software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesPaginator responses = client.describeCertificatesIterable(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesPaginator responses = client
* .describeCertificatesIterable(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesPaginator responses = client.describeCertificatesIterable(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeCertificates(software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesRequest)}
* operation.
*
*
* @return Result of the DescribeCertificates operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* 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 #describeCertificatesIterable(DescribeCertificatesRequest)
* @see AWS API
* Documentation
*/
default DescribeCertificatesPaginator describeCertificatesIterable() throws ResourceNotFoundException, SdkServiceException,
SdkClientException, DatabaseMigrationException {
return describeCertificatesIterable(DescribeCertificatesRequest.builder().build());
}
/**
*
* Provides a description of the certificate.
*
*
*
* This is a variant of
* {@link #describeCertificates(software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesPaginator responses = client.describeCertificatesIterable(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesPaginator responses = client
* .describeCertificatesIterable(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeCertificatesPaginator responses = client.describeCertificatesIterable(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeCertificates(software.amazon.awssdk.services.databasemigration.model.DescribeCertificatesRequest)}
* operation.
*
*
* @param describeCertificatesRequest
* @return Result of the DescribeCertificates operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* 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 DescribeCertificatesPaginator describeCertificatesIterable(DescribeCertificatesRequest describeCertificatesRequest)
throws ResourceNotFoundException, SdkServiceException, 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 SdkException
* 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, SdkServiceException,
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 SdkException
* 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, SdkServiceException, 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.
*
*
* @param describeConnectionsRequest
* @return Result of the DescribeConnections operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* 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(
Consumer describeConnectionsRequest) throws ResourceNotFoundException,
SdkServiceException, SdkClientException, DatabaseMigrationException {
return describeConnections(DescribeConnectionsRequest.builder().apply(describeConnectionsRequest).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 variant of
* {@link #describeConnections(software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsPaginator responses = client.describeConnectionsIterable(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsPaginator responses = client
* .describeConnectionsIterable(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsPaginator responses = client.describeConnectionsIterable(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeConnections(software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsRequest)}
* operation.
*
*
* @return Result of the DescribeConnections operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* 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 #describeConnectionsIterable(DescribeConnectionsRequest)
* @see AWS API
* Documentation
*/
default DescribeConnectionsPaginator describeConnectionsIterable() throws ResourceNotFoundException, SdkServiceException,
SdkClientException, DatabaseMigrationException {
return describeConnectionsIterable(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 variant of
* {@link #describeConnections(software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsPaginator responses = client.describeConnectionsIterable(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsPaginator responses = client
* .describeConnectionsIterable(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeConnectionsPaginator responses = client.describeConnectionsIterable(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeConnections(software.amazon.awssdk.services.databasemigration.model.DescribeConnectionsRequest)}
* operation.
*
*
* @param describeConnectionsRequest
* @return Result of the DescribeConnections operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* 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 DescribeConnectionsPaginator describeConnectionsIterable(DescribeConnectionsRequest describeConnectionsRequest)
throws ResourceNotFoundException, SdkServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about the type of endpoints available.
*
*
* @return Result of the DescribeEndpointTypes operation returned by the service.
* @throws SdkException
* 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 SdkServiceException, 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 SdkException
* 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 SdkServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Returns information about the type of endpoints available.
*
*
* @param describeEndpointTypesRequest
* @return Result of the DescribeEndpointTypes operation returned by the service.
* @throws SdkException
* 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(
Consumer describeEndpointTypesRequest) throws SdkServiceException,
SdkClientException, DatabaseMigrationException {
return describeEndpointTypes(DescribeEndpointTypesRequest.builder().apply(describeEndpointTypesRequest).build());
}
/**
*
* Returns information about the type of endpoints available.
*
*
*
* This is a variant of
* {@link #describeEndpointTypes(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesPaginator responses = client.describeEndpointTypesIterable(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesPaginator responses = client
* .describeEndpointTypesIterable(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesPaginator responses = client.describeEndpointTypesIterable(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeEndpointTypes(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesRequest)}
* operation.
*
*
* @return Result of the DescribeEndpointTypes operation returned by the service.
* @throws SdkException
* 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 #describeEndpointTypesIterable(DescribeEndpointTypesRequest)
* @see AWS API
* Documentation
*/
default DescribeEndpointTypesPaginator describeEndpointTypesIterable() throws SdkServiceException, SdkClientException,
DatabaseMigrationException {
return describeEndpointTypesIterable(DescribeEndpointTypesRequest.builder().build());
}
/**
*
* Returns information about the type of endpoints available.
*
*
*
* This is a variant of
* {@link #describeEndpointTypes(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesPaginator responses = client.describeEndpointTypesIterable(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesPaginator responses = client
* .describeEndpointTypesIterable(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointTypesPaginator responses = client.describeEndpointTypesIterable(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeEndpointTypes(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointTypesRequest)}
* operation.
*
*
* @param describeEndpointTypesRequest
* @return Result of the DescribeEndpointTypes operation returned by the service.
* @throws SdkException
* 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 DescribeEndpointTypesPaginator describeEndpointTypesIterable(DescribeEndpointTypesRequest describeEndpointTypesRequest)
throws SdkServiceException, 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 SdkException
* 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, SdkServiceException,
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 SdkException
* 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, SdkServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* 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 SdkException
* 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(Consumer describeEndpointsRequest)
throws ResourceNotFoundException, SdkServiceException, SdkClientException, DatabaseMigrationException {
return describeEndpoints(DescribeEndpointsRequest.builder().apply(describeEndpointsRequest).build());
}
/**
*
* Returns information about the endpoints for your account in the current region.
*
*
*
* This is a variant of
* {@link #describeEndpoints(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsPaginator responses = client.describeEndpointsIterable(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsPaginator responses = client
* .describeEndpointsIterable(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsPaginator responses = client.describeEndpointsIterable(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeEndpoints(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsRequest)}
* operation.
*
*
* @return Result of the DescribeEndpoints operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* 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 #describeEndpointsIterable(DescribeEndpointsRequest)
* @see AWS API
* Documentation
*/
default DescribeEndpointsPaginator describeEndpointsIterable() throws ResourceNotFoundException, SdkServiceException,
SdkClientException, DatabaseMigrationException {
return describeEndpointsIterable(DescribeEndpointsRequest.builder().build());
}
/**
*
* Returns information about the endpoints for your account in the current region.
*
*
*
* This is a variant of
* {@link #describeEndpoints(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsPaginator responses = client.describeEndpointsIterable(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsPaginator responses = client
* .describeEndpointsIterable(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEndpointsPaginator responses = client.describeEndpointsIterable(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeEndpoints(software.amazon.awssdk.services.databasemigration.model.DescribeEndpointsRequest)}
* operation.
*
*
* @param describeEndpointsRequest
* @return Result of the DescribeEndpoints operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* 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 DescribeEndpointsPaginator describeEndpointsIterable(DescribeEndpointsRequest describeEndpointsRequest)
throws ResourceNotFoundException, SdkServiceException, 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 SdkException
* 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 SdkServiceException, 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 SdkException
* 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 SdkServiceException, 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.
*
*
* @param describeEventCategoriesRequest
* @return Result of the DescribeEventCategories operation returned by the service.
* @throws SdkException
* 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(
Consumer describeEventCategoriesRequest) throws SdkServiceException,
SdkClientException, DatabaseMigrationException {
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.
*
*
* @return Result of the DescribeEventSubscriptions operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* 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,
SdkServiceException, 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 SdkException
* 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,
SdkServiceException, 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.
*
*
* @param describeEventSubscriptionsRequest
* @return Result of the DescribeEventSubscriptions operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* 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(
Consumer describeEventSubscriptionsRequest)
throws ResourceNotFoundException, SdkServiceException, SdkClientException, DatabaseMigrationException {
return describeEventSubscriptions(DescribeEventSubscriptionsRequest.builder().apply(describeEventSubscriptionsRequest)
.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 variant of
* {@link #describeEventSubscriptions(software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsPaginator responses = client.describeEventSubscriptionsIterable(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsPaginator responses = client
* .describeEventSubscriptionsIterable(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsPaginator responses = client.describeEventSubscriptionsIterable(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeEventSubscriptions(software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsRequest)}
* operation.
*
*
* @return Result of the DescribeEventSubscriptions operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* 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 #describeEventSubscriptionsIterable(DescribeEventSubscriptionsRequest)
* @see AWS
* API Documentation
*/
default DescribeEventSubscriptionsPaginator describeEventSubscriptionsIterable() throws ResourceNotFoundException,
SdkServiceException, SdkClientException, DatabaseMigrationException {
return describeEventSubscriptionsIterable(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 variant of
* {@link #describeEventSubscriptions(software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsPaginator responses = client.describeEventSubscriptionsIterable(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsPaginator responses = client
* .describeEventSubscriptionsIterable(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventSubscriptionsPaginator responses = client.describeEventSubscriptionsIterable(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeEventSubscriptions(software.amazon.awssdk.services.databasemigration.model.DescribeEventSubscriptionsRequest)}
* operation.
*
*
* @param describeEventSubscriptionsRequest
* @return Result of the DescribeEventSubscriptions operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* 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 DescribeEventSubscriptionsPaginator describeEventSubscriptionsIterable(
DescribeEventSubscriptionsRequest describeEventSubscriptionsRequest) throws ResourceNotFoundException,
SdkServiceException, 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 SdkException
* 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 SdkServiceException, 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 SdkException
* 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 SdkServiceException,
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 .
*
*
* @param describeEventsRequest
* @return Result of the DescribeEvents operation returned by the service.
* @throws SdkException
* 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(Consumer describeEventsRequest)
throws SdkServiceException, SdkClientException, DatabaseMigrationException {
return describeEvents(DescribeEventsRequest.builder().apply(describeEventsRequest).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 variant of
* {@link #describeEvents(software.amazon.awssdk.services.databasemigration.model.DescribeEventsRequest)} operation.
* The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
* handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventsPaginator responses = client.describeEventsIterable(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventsPaginator responses = client
* .describeEventsIterable(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeEventsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventsPaginator responses = client.describeEventsIterable(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeEvents(software.amazon.awssdk.services.databasemigration.model.DescribeEventsRequest)}
* operation.
*
*
* @return Result of the DescribeEvents operation returned by the service.
* @throws SdkException
* 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 #describeEventsIterable(DescribeEventsRequest)
* @see AWS API
* Documentation
*/
default DescribeEventsPaginator describeEventsIterable() throws SdkServiceException, SdkClientException,
DatabaseMigrationException {
return describeEventsIterable(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 variant of
* {@link #describeEvents(software.amazon.awssdk.services.databasemigration.model.DescribeEventsRequest)} operation.
* The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
* handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventsPaginator responses = client.describeEventsIterable(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventsPaginator responses = client
* .describeEventsIterable(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeEventsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeEventsPaginator responses = client.describeEventsIterable(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeEvents(software.amazon.awssdk.services.databasemigration.model.DescribeEventsRequest)}
* operation.
*
*
* @param describeEventsRequest
* @return Result of the DescribeEvents operation returned by the service.
* @throws SdkException
* 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 DescribeEventsPaginator describeEventsIterable(DescribeEventsRequest describeEventsRequest)
throws SdkServiceException, 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 SdkException
* 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 SdkServiceException,
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 SdkException
* 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 SdkServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* 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 SdkException
* 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(
Consumer describeOrderableReplicationInstancesRequest)
throws SdkServiceException, SdkClientException, DatabaseMigrationException {
return describeOrderableReplicationInstances(DescribeOrderableReplicationInstancesRequest.builder()
.apply(describeOrderableReplicationInstancesRequest).build());
}
/**
*
* Returns information about the replication instance types that can be created in the specified region.
*
*
*
* This is a variant of
* {@link #describeOrderableReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesPaginator responses = client.describeOrderableReplicationInstancesIterable(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesPaginator responses = client
* .describeOrderableReplicationInstancesIterable(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesPaginator responses = client.describeOrderableReplicationInstancesIterable(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeOrderableReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesRequest)}
* operation.
*
*
* @return Result of the DescribeOrderableReplicationInstances operation returned by the service.
* @throws SdkException
* 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 #describeOrderableReplicationInstancesIterable(DescribeOrderableReplicationInstancesRequest)
* @see AWS API Documentation
*/
default DescribeOrderableReplicationInstancesPaginator describeOrderableReplicationInstancesIterable()
throws SdkServiceException, SdkClientException, DatabaseMigrationException {
return describeOrderableReplicationInstancesIterable(DescribeOrderableReplicationInstancesRequest.builder().build());
}
/**
*
* Returns information about the replication instance types that can be created in the specified region.
*
*
*
* This is a variant of
* {@link #describeOrderableReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesPaginator responses = client.describeOrderableReplicationInstancesIterable(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesPaginator responses = client
* .describeOrderableReplicationInstancesIterable(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeOrderableReplicationInstancesPaginator responses = client.describeOrderableReplicationInstancesIterable(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeOrderableReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeOrderableReplicationInstancesRequest)}
* operation.
*
*
* @param describeOrderableReplicationInstancesRequest
* @return Result of the DescribeOrderableReplicationInstances operation returned by the service.
* @throws SdkException
* 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 DescribeOrderableReplicationInstancesPaginator describeOrderableReplicationInstancesIterable(
DescribeOrderableReplicationInstancesRequest describeOrderableReplicationInstancesRequest)
throws SdkServiceException, 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 SdkException
* 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, SdkServiceException, 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 SdkException
* 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(
Consumer describeRefreshSchemasStatusRequest)
throws InvalidResourceStateException, ResourceNotFoundException, SdkServiceException, SdkClientException,
DatabaseMigrationException {
return describeRefreshSchemasStatus(DescribeRefreshSchemasStatusRequest.builder()
.apply(describeRefreshSchemasStatusRequest).build());
}
/**
*
* 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 SdkException
* 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,
SdkServiceException, 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 SdkException
* 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,
SdkServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* 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 SdkException
* 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(
Consumer describeReplicationInstancesRequest)
throws ResourceNotFoundException, SdkServiceException, SdkClientException, DatabaseMigrationException {
return describeReplicationInstances(DescribeReplicationInstancesRequest.builder()
.apply(describeReplicationInstancesRequest).build());
}
/**
*
* Returns information about replication instances for your account in the current region.
*
*
*
* This is a variant of
* {@link #describeReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesPaginator responses = client.describeReplicationInstancesIterable(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesPaginator responses = client
* .describeReplicationInstancesIterable(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesPaginator responses = client.describeReplicationInstancesIterable(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest)}
* operation.
*
*
* @return Result of the DescribeReplicationInstances operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* 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 #describeReplicationInstancesIterable(DescribeReplicationInstancesRequest)
* @see AWS API Documentation
*/
default DescribeReplicationInstancesPaginator describeReplicationInstancesIterable() throws ResourceNotFoundException,
SdkServiceException, SdkClientException, DatabaseMigrationException {
return describeReplicationInstancesIterable(DescribeReplicationInstancesRequest.builder().build());
}
/**
*
* Returns information about replication instances for your account in the current region.
*
*
*
* This is a variant of
* {@link #describeReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesPaginator responses = client.describeReplicationInstancesIterable(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesPaginator responses = client
* .describeReplicationInstancesIterable(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationInstancesPaginator responses = client.describeReplicationInstancesIterable(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeReplicationInstances(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationInstancesRequest)}
* operation.
*
*
* @param describeReplicationInstancesRequest
* @return Result of the DescribeReplicationInstances operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* 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 DescribeReplicationInstancesPaginator describeReplicationInstancesIterable(
DescribeReplicationInstancesRequest describeReplicationInstancesRequest) throws ResourceNotFoundException,
SdkServiceException, 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 SdkException
* 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,
SdkServiceException, 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 SdkException
* 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,
SdkServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* 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 SdkException
* 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(
Consumer describeReplicationSubnetGroupsRequest)
throws ResourceNotFoundException, SdkServiceException, SdkClientException, DatabaseMigrationException {
return describeReplicationSubnetGroups(DescribeReplicationSubnetGroupsRequest.builder()
.apply(describeReplicationSubnetGroupsRequest).build());
}
/**
*
* Returns information about the replication subnet groups.
*
*
*
* This is a variant of
* {@link #describeReplicationSubnetGroups(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsPaginator responses = client.describeReplicationSubnetGroupsIterable(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsPaginator responses = client
* .describeReplicationSubnetGroupsIterable(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsPaginator responses = client.describeReplicationSubnetGroupsIterable(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeReplicationSubnetGroups(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsRequest)}
* operation.
*
*
* @return Result of the DescribeReplicationSubnetGroups operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* 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 #describeReplicationSubnetGroupsIterable(DescribeReplicationSubnetGroupsRequest)
* @see AWS API Documentation
*/
default DescribeReplicationSubnetGroupsPaginator describeReplicationSubnetGroupsIterable() throws ResourceNotFoundException,
SdkServiceException, SdkClientException, DatabaseMigrationException {
return describeReplicationSubnetGroupsIterable(DescribeReplicationSubnetGroupsRequest.builder().build());
}
/**
*
* Returns information about the replication subnet groups.
*
*
*
* This is a variant of
* {@link #describeReplicationSubnetGroups(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsPaginator responses = client.describeReplicationSubnetGroupsIterable(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsPaginator responses = client
* .describeReplicationSubnetGroupsIterable(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationSubnetGroupsPaginator responses = client.describeReplicationSubnetGroupsIterable(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeReplicationSubnetGroups(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationSubnetGroupsRequest)}
* operation.
*
*
* @param describeReplicationSubnetGroupsRequest
* @return Result of the DescribeReplicationSubnetGroups operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* 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 DescribeReplicationSubnetGroupsPaginator describeReplicationSubnetGroupsIterable(
DescribeReplicationSubnetGroupsRequest describeReplicationSubnetGroupsRequest) throws ResourceNotFoundException,
SdkServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Returns the task assessment results from Amazon S3. This action always returns the latest results.
*
*
* @param describeReplicationTaskAssessmentResultsRequest
* @return Result of the DescribeReplicationTaskAssessmentResults operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* 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.DescribeReplicationTaskAssessmentResults
* @see AWS API Documentation
*/
default DescribeReplicationTaskAssessmentResultsResponse describeReplicationTaskAssessmentResults(
DescribeReplicationTaskAssessmentResultsRequest describeReplicationTaskAssessmentResultsRequest)
throws ResourceNotFoundException, SdkServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Returns the task assessment results from Amazon S3. This action always returns the latest results.
*
*
* @param describeReplicationTaskAssessmentResultsRequest
* @return Result of the DescribeReplicationTaskAssessmentResults operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* 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.DescribeReplicationTaskAssessmentResults
* @see AWS API Documentation
*/
default DescribeReplicationTaskAssessmentResultsResponse describeReplicationTaskAssessmentResults(
Consumer describeReplicationTaskAssessmentResultsRequest)
throws ResourceNotFoundException, SdkServiceException, SdkClientException, DatabaseMigrationException {
return describeReplicationTaskAssessmentResults(DescribeReplicationTaskAssessmentResultsRequest.builder()
.apply(describeReplicationTaskAssessmentResultsRequest).build());
}
/**
*
* 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 SdkException
* 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, SdkServiceException,
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 SdkException
* 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,
SdkServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* 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 SdkException
* 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(
Consumer describeReplicationTasksRequest) throws ResourceNotFoundException,
SdkServiceException, SdkClientException, DatabaseMigrationException {
return describeReplicationTasks(DescribeReplicationTasksRequest.builder().apply(describeReplicationTasksRequest).build());
}
/**
*
* Returns information about replication tasks for your account in the current region.
*
*
*
* This is a variant of
* {@link #describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTasksPaginator responses = client.describeReplicationTasksIterable(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTasksPaginator responses = client
* .describeReplicationTasksIterable(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTasksPaginator responses = client.describeReplicationTasksIterable(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)}
* operation.
*
*
* @return Result of the DescribeReplicationTasks operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* 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 #describeReplicationTasksIterable(DescribeReplicationTasksRequest)
* @see AWS
* API Documentation
*/
default DescribeReplicationTasksPaginator describeReplicationTasksIterable() throws ResourceNotFoundException,
SdkServiceException, SdkClientException, DatabaseMigrationException {
return describeReplicationTasksIterable(DescribeReplicationTasksRequest.builder().build());
}
/**
*
* Returns information about replication tasks for your account in the current region.
*
*
*
* This is a variant of
* {@link #describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTasksPaginator responses = client.describeReplicationTasksIterable(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTasksPaginator responses = client
* .describeReplicationTasksIterable(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeReplicationTasksPaginator responses = client.describeReplicationTasksIterable(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeReplicationTasks(software.amazon.awssdk.services.databasemigration.model.DescribeReplicationTasksRequest)}
* operation.
*
*
* @param describeReplicationTasksRequest
* @return Result of the DescribeReplicationTasks operation returned by the service.
* @throws ResourceNotFoundException
* The resource could not be found.
* @throws SdkException
* 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 DescribeReplicationTasksPaginator describeReplicationTasksIterable(
DescribeReplicationTasksRequest describeReplicationTasksRequest) throws ResourceNotFoundException,
SdkServiceException, 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 SdkException
* 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, SdkServiceException, 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 SdkException
* 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(Consumer describeSchemasRequest)
throws InvalidResourceStateException, ResourceNotFoundException, SdkServiceException, SdkClientException,
DatabaseMigrationException {
return describeSchemas(DescribeSchemasRequest.builder().apply(describeSchemasRequest).build());
}
/**
*
* Returns information about the schema for the specified endpoint.
*
*
*
*
* This is a variant of
* {@link #describeSchemas(software.amazon.awssdk.services.databasemigration.model.DescribeSchemasRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeSchemasPaginator responses = client.describeSchemasIterable(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeSchemasPaginator responses = client
* .describeSchemasIterable(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeSchemasResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeSchemasPaginator responses = client.describeSchemasIterable(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeSchemas(software.amazon.awssdk.services.databasemigration.model.DescribeSchemasRequest)}
* operation.
*
*
* @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 SdkException
* 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 DescribeSchemasPaginator describeSchemasIterable(DescribeSchemasRequest describeSchemasRequest)
throws InvalidResourceStateException, ResourceNotFoundException, SdkServiceException, SdkClientException,
DatabaseMigrationException {
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.
*
*
* @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 SdkException
* 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, SdkServiceException, SdkClientException,
DatabaseMigrationException {
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.
*
*
* @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 SdkException
* 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(
Consumer describeTableStatisticsRequest) throws ResourceNotFoundException,
InvalidResourceStateException, SdkServiceException, SdkClientException, DatabaseMigrationException {
return describeTableStatistics(DescribeTableStatisticsRequest.builder().apply(describeTableStatisticsRequest).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.
*
*
*
* This is a variant of
* {@link #describeTableStatistics(software.amazon.awssdk.services.databasemigration.model.DescribeTableStatisticsRequest)}
* operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
* internally handle making service calls for you.
*
*
* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no
* guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response
* pages by making service calls until there are no pages left or your iteration stops. If there are errors in your
* request, you will see the failures only after you start iterating through the iterable.
*
*
*
* The following are few ways to iterate through the response pages:
*
* 1) Using a Stream
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeTableStatisticsPaginator responses = client.describeTableStatisticsIterable(request);
* responses.stream().forEach(....);
* }
*
*
* 2) Using For loop
*
*
* {
* @code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeTableStatisticsPaginator responses = client
* .describeTableStatisticsIterable(request);
* for (software.amazon.awssdk.services.databasemigration.model.DescribeTableStatisticsResponse response : responses) {
* // do something;
* }
* }
*
*
* 3) Use iterator directly
*
*
* {@code
* software.amazon.awssdk.services.databasemigration.paginators.DescribeTableStatisticsPaginator responses = client.describeTableStatisticsIterable(request);
* responses.iterator().forEachRemaining(....);
* }
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #describeTableStatistics(software.amazon.awssdk.services.databasemigration.model.DescribeTableStatisticsRequest)}
* operation.
*
*
* @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 SdkException
* 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 DescribeTableStatisticsPaginator describeTableStatisticsIterable(
DescribeTableStatisticsRequest describeTableStatisticsRequest) throws ResourceNotFoundException,
InvalidResourceStateException, SdkServiceException, 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 SdkException
* 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, SdkServiceException, 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 SdkException
* 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(Consumer importCertificateRequest)
throws ResourceAlreadyExistsException, InvalidCertificateException, SdkServiceException, SdkClientException,
DatabaseMigrationException {
return importCertificate(ImportCertificateRequest.builder().apply(importCertificateRequest).build());
}
/**
*
* 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 SdkException
* 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, SdkServiceException, 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 SdkException
* 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(
Consumer listTagsForResourceRequest) throws ResourceNotFoundException,
SdkServiceException, SdkClientException, DatabaseMigrationException {
return listTagsForResource(ListTagsForResourceRequest.builder().apply(listTagsForResourceRequest).build());
}
/**
*
* 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 SdkException
* 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, SdkServiceException, 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 SdkException
* 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(Consumer modifyEndpointRequest)
throws InvalidResourceStateException, ResourceNotFoundException, ResourceAlreadyExistsException,
KMSKeyNotAccessibleException, AccessDeniedException, SdkServiceException, SdkClientException,
DatabaseMigrationException {
return modifyEndpoint(ModifyEndpointRequest.builder().apply(modifyEndpointRequest).build());
}
/**
*
* 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 SdkException
* 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, SdkServiceException, 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 SdkException
* 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(
Consumer modifyEventSubscriptionRequest)
throws ResourceQuotaExceededException, ResourceNotFoundException, SNSInvalidTopicException,
SNSNoAuthorizationException, SdkServiceException, SdkClientException, DatabaseMigrationException {
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 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 SdkException
* 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, SdkServiceException, 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 SdkException
* 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(
Consumer modifyReplicationInstanceRequest)
throws InvalidResourceStateException, ResourceAlreadyExistsException, ResourceNotFoundException,
InsufficientResourceCapacityException, StorageQuotaExceededException, UpgradeDependencyFailureException,
SdkServiceException, SdkClientException, DatabaseMigrationException {
return modifyReplicationInstance(ModifyReplicationInstanceRequest.builder().apply(modifyReplicationInstanceRequest)
.build());
}
/**
*
* 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 SdkException
* 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, SdkServiceException,
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 SdkException
* 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(
Consumer modifyReplicationSubnetGroupRequest)
throws AccessDeniedException, ResourceNotFoundException, ResourceQuotaExceededException, SubnetAlreadyInUseException,
ReplicationSubnetGroupDoesNotCoverEnoughAZsException, InvalidSubnetException, SdkServiceException,
SdkClientException, DatabaseMigrationException {
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 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 SdkException
* 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, SdkServiceException, 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 SdkException
* 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(
Consumer modifyReplicationTaskRequest) throws InvalidResourceStateException,
ResourceNotFoundException, ResourceAlreadyExistsException, KMSKeyNotAccessibleException, SdkServiceException,
SdkClientException, DatabaseMigrationException {
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 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 SdkException
* 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, SdkServiceException, 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 SdkException
* 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(Consumer refreshSchemasRequest)
throws InvalidResourceStateException, ResourceNotFoundException, KMSKeyNotAccessibleException,
ResourceQuotaExceededException, SdkServiceException, SdkClientException, DatabaseMigrationException {
return refreshSchemas(RefreshSchemasRequest.builder().apply(refreshSchemasRequest).build());
}
/**
*
* 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 SdkException
* 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, SdkServiceException, 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 SdkException
* 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(Consumer reloadTablesRequest)
throws ResourceNotFoundException, InvalidResourceStateException, SdkServiceException, SdkClientException,
DatabaseMigrationException {
return reloadTables(ReloadTablesRequest.builder().apply(reloadTablesRequest).build());
}
/**
*
* 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 SdkException
* 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, SdkServiceException, 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 SdkException
* 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(
Consumer removeTagsFromResourceRequest) throws ResourceNotFoundException,
SdkServiceException, SdkClientException, DatabaseMigrationException {
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 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 SdkException
* 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, SdkServiceException, 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 SdkException
* 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(
Consumer startReplicationTaskRequest) throws ResourceNotFoundException,
InvalidResourceStateException, SdkServiceException, SdkClientException, DatabaseMigrationException {
return startReplicationTask(StartReplicationTaskRequest.builder().apply(startReplicationTaskRequest).build());
}
/**
*
* Starts the replication task assessment for unsupported data types in the source database.
*
*
* @param startReplicationTaskAssessmentRequest
* @return Result of the StartReplicationTaskAssessment 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 SdkException
* 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.StartReplicationTaskAssessment
* @see AWS API Documentation
*/
default StartReplicationTaskAssessmentResponse startReplicationTaskAssessment(
StartReplicationTaskAssessmentRequest startReplicationTaskAssessmentRequest) throws InvalidResourceStateException,
ResourceNotFoundException, SdkServiceException, SdkClientException, DatabaseMigrationException {
throw new UnsupportedOperationException();
}
/**
*
* Starts the replication task assessment for unsupported data types in the source database.
*
*
* @param startReplicationTaskAssessmentRequest
* @return Result of the StartReplicationTaskAssessment 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 SdkException
* 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.StartReplicationTaskAssessment
* @see AWS API Documentation
*/
default StartReplicationTaskAssessmentResponse startReplicationTaskAssessment(
Consumer startReplicationTaskAssessmentRequest)
throws InvalidResourceStateException, ResourceNotFoundException, SdkServiceException, SdkClientException,
DatabaseMigrationException {
return startReplicationTaskAssessment(StartReplicationTaskAssessmentRequest.builder()
.apply(startReplicationTaskAssessmentRequest).build());
}
/**
*
* 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 SdkException
* 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, SdkServiceException, 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 SdkException
* 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(
Consumer stopReplicationTaskRequest) throws ResourceNotFoundException,
InvalidResourceStateException, SdkServiceException, SdkClientException, DatabaseMigrationException {
return stopReplicationTask(StopReplicationTaskRequest.builder().apply(stopReplicationTaskRequest).build());
}
/**
*
* 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 SdkException
* 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, SdkServiceException,
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 SdkException
* 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(Consumer testConnectionRequest)
throws ResourceNotFoundException, InvalidResourceStateException, KMSKeyNotAccessibleException,
ResourceQuotaExceededException, SdkServiceException, SdkClientException, DatabaseMigrationException {
return testConnection(TestConnectionRequest.builder().apply(testConnectionRequest).build());
}
static ServiceMetadata serviceMetadata() {
return ServiceMetadata.of("dms");
}
}