/*
* Copyright 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.
*/
/*
* Do not modify this file. This file is generated from the dms-2016-01-01.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.DatabaseMigrationService.Model;
namespace Amazon.DatabaseMigrationService
{
///
/// Interface for accessing DatabaseMigrationService
///
/// Database Migration Service
///
/// Database Migration Service (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 DMS, see What
/// Is Database Migration Service? in the Database Migration Service User Guide.
///
///
///
public partial interface IAmazonDatabaseMigrationService : IAmazonService, IDisposable
{
#if AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
IDatabaseMigrationServicePaginatorFactory Paginators { get; }
#endif
#region AddTagsToResource
///
/// Adds metadata tags to an DMS resource, including replication instance, endpoint, subnet
/// 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. For more information, see
/// Tag
data type description.
///
/// Container for the necessary parameters to execute the AddTagsToResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AddTagsToResource service method, as returned by DatabaseMigrationService.
///
/// The resource could not be found.
///
/// REST API Reference for AddTagsToResource Operation
Task AddTagsToResourceAsync(AddTagsToResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ApplyPendingMaintenanceAction
///
/// Applies a pending maintenance action to a resource (for example, to a replication
/// instance).
///
/// Container for the necessary parameters to execute the ApplyPendingMaintenanceAction service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ApplyPendingMaintenanceAction service method, as returned by DatabaseMigrationService.
///
/// The resource could not be found.
///
/// REST API Reference for ApplyPendingMaintenanceAction Operation
Task ApplyPendingMaintenanceActionAsync(ApplyPendingMaintenanceActionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region BatchStartRecommendations
///
/// Starts the analysis of up to 20 source databases to recommend target engines for each
/// source database. This is a batch version of StartRecommendations.
///
///
///
/// The result of analysis of each source database is reported individually in the response.
/// Because the batch request can result in a combination of successful and unsuccessful
/// actions, you should check for batch errors even when the call returns an HTTP status
/// code of 200
.
///
///
/// Container for the necessary parameters to execute the BatchStartRecommendations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the BatchStartRecommendations service method, as returned by DatabaseMigrationService.
///
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
///
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource could not be found.
///
/// REST API Reference for BatchStartRecommendations Operation
Task BatchStartRecommendationsAsync(BatchStartRecommendationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CancelReplicationTaskAssessmentRun
///
/// Cancels a single premigration assessment run.
///
///
///
/// This operation prevents any individual assessments from running if they haven't started
/// running. It also attempts to cancel any individual assessments that are currently
/// running.
///
///
/// Container for the necessary parameters to execute the CancelReplicationTaskAssessmentRun service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CancelReplicationTaskAssessmentRun service method, as returned by DatabaseMigrationService.
///
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
///
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource could not be found.
///
/// REST API Reference for CancelReplicationTaskAssessmentRun Operation
Task CancelReplicationTaskAssessmentRunAsync(CancelReplicationTaskAssessmentRunRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateEndpoint
///
/// Creates an endpoint using the provided settings.
///
///
///
/// For a MySQL source or target endpoint, don't explicitly specify the database using
/// the DatabaseName
request parameter on the CreateEndpoint
/// API call. Specifying DatabaseName
when you create a MySQL endpoint replicates
/// all the task tables to this single database. For MySQL endpoints, you specify the
/// database only when you specify the schema in the table-mapping rules of the DMS task.
///
///
///
/// Container for the necessary parameters to execute the CreateEndpoint service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateEndpoint service method, as returned by DatabaseMigrationService.
///
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
///
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// DMS cannot access the KMS key.
///
///
/// The resource you are attempting to create already exists.
///
///
/// The resource could not be found.
///
///
/// The quota for this resource quota has been exceeded.
///
///
/// Insufficient privileges are preventing access to an Amazon S3 object.
///
/// REST API Reference for CreateEndpoint Operation
Task CreateEndpointAsync(CreateEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateEventSubscription
///
/// Creates an DMS event notification subscription.
///
///
///
/// You can specify the type of source (SourceType
) you want to be notified
/// of, provide a list of 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 DMS sources. If you don't specify either SourceType
/// nor SourceIdentifier
, you will be notified of events generated from all
/// DMS sources belonging to your customer account.
///
///
///
/// For more information about DMS events, see Working
/// with Events and Notifications in the Database Migration Service User Guide.
///
///
///
/// Container for the necessary parameters to execute the CreateEventSubscription service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateEventSubscription service method, as returned by DatabaseMigrationService.
///
/// The ciphertext references a key that doesn't exist or that the DMS account doesn't
/// have access to.
///
///
/// The specified KMS key isn't enabled.
///
///
/// The state of the specified KMS resource isn't valid for this request.
///
///
/// The specified KMS entity or resource can't be found.
///
///
/// This request triggered KMS request throttling.
///
///
/// The resource you are attempting to create already exists.
///
///
/// The resource could not be found.
///
///
/// The quota for this resource quota has been exceeded.
///
///
/// The SNS topic is invalid.
///
///
/// You are not authorized for the SNS subscription.
///
/// REST API Reference for CreateEventSubscription Operation
Task CreateEventSubscriptionAsync(CreateEventSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateFleetAdvisorCollector
///
/// Creates a Fleet Advisor collector using the specified parameters.
///
/// Container for the necessary parameters to execute the CreateFleetAdvisorCollector service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateFleetAdvisorCollector service method, as returned by DatabaseMigrationService.
///
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
///
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The quota for this resource quota has been exceeded.
///
///
/// Insufficient privileges are preventing access to an Amazon S3 object.
///
///
/// A specified Amazon S3 bucket, bucket folder, or other object can't be found.
///
/// REST API Reference for CreateFleetAdvisorCollector Operation
Task CreateFleetAdvisorCollectorAsync(CreateFleetAdvisorCollectorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateReplicationConfig
///
/// Creates a configuration that you can later provide to configure and start an DMS Serverless
/// replication. You can also provide options to validate the configuration inputs before
/// you start the replication.
///
/// Container for the necessary parameters to execute the CreateReplicationConfig service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateReplicationConfig service method, as returned by DatabaseMigrationService.
///
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
///
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The subnet provided isn't valid.
///
///
/// DMS cannot access the KMS key.
///
///
/// The replication subnet group does not cover enough Availability Zones (AZs). Edit
/// the replication subnet group and add more AZs.
///
///
/// The resource you are attempting to create already exists.
///
///
/// The resource could not be found.
///
///
/// The quota for this resource quota has been exceeded.
///
/// REST API Reference for CreateReplicationConfig Operation
Task CreateReplicationConfigAsync(CreateReplicationConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateReplicationInstance
///
/// Creates the replication instance using the specified parameters.
///
///
///
/// DMS requires that your account have certain roles with appropriate permissions before
/// you can create a replication instance. For information on the required roles, see
/// Creating
/// the IAM Roles to Use With the CLI and DMS API. For information on the required
/// permissions, see IAM
/// Permissions Needed to Use DMS.
///
///
/// Container for the necessary parameters to execute the CreateReplicationInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateReplicationInstance service method, as returned by DatabaseMigrationService.
///
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
///
///
/// There are not enough resources allocated to the database migration.
///
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The subnet provided isn't valid.
///
///
/// DMS cannot access the KMS key.
///
///
/// The replication subnet group does not cover enough Availability Zones (AZs). Edit
/// the replication subnet group and add more AZs.
///
///
/// The resource you are attempting to create already exists.
///
///
/// The resource could not be found.
///
///
/// The quota for this resource quota has been exceeded.
///
///
/// The storage quota has been exceeded.
///
/// REST API Reference for CreateReplicationInstance Operation
Task CreateReplicationInstanceAsync(CreateReplicationInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateReplicationSubnetGroup
///
/// Creates a replication subnet group given a list of the subnet IDs in a VPC.
///
///
///
/// The VPC needs to have at least one subnet in at least two availability zones in the
/// Amazon Web Services Region, otherwise the service will throw a ReplicationSubnetGroupDoesNotCoverEnoughAZs
/// exception.
///
///
///
/// If a replication subnet group exists in your Amazon Web Services account, the CreateReplicationSubnetGroup
/// action returns the following error message: The Replication Subnet Group already exists.
/// In this case, delete the existing replication subnet group. To do so, use the DeleteReplicationSubnetGroup
/// action. Optionally, choose Subnet groups in the DMS console, then choose your subnet
/// group. Next, choose Delete from Actions.
///
///
/// Container for the necessary parameters to execute the CreateReplicationSubnetGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateReplicationSubnetGroup service method, as returned by DatabaseMigrationService.
///
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
///
///
/// The subnet provided isn't valid.
///
///
/// The replication subnet group does not cover enough Availability Zones (AZs). Edit
/// the replication subnet group and add more AZs.
///
///
/// The resource you are attempting to create already exists.
///
///
/// The resource could not be found.
///
///
/// The quota for this resource quota has been exceeded.
///
/// REST API Reference for CreateReplicationSubnetGroup Operation
Task CreateReplicationSubnetGroupAsync(CreateReplicationSubnetGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateReplicationTask
///
/// Creates a replication task using the specified parameters.
///
/// Container for the necessary parameters to execute the CreateReplicationTask service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateReplicationTask service method, as returned by DatabaseMigrationService.
///
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
///
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// DMS cannot access the KMS key.
///
///
/// The resource you are attempting to create already exists.
///
///
/// The resource could not be found.
///
///
/// The quota for this resource quota has been exceeded.
///
/// REST API Reference for CreateReplicationTask Operation
Task CreateReplicationTaskAsync(CreateReplicationTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteCertificate
///
/// Deletes the specified certificate.
///
/// Container for the necessary parameters to execute the DeleteCertificate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteCertificate service method, as returned by DatabaseMigrationService.
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource could not be found.
///
/// REST API Reference for DeleteCertificate Operation
Task DeleteCertificateAsync(DeleteCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteConnection
///
/// Deletes the connection between a replication instance and an endpoint.
///
/// Container for the necessary parameters to execute the DeleteConnection service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteConnection service method, as returned by DatabaseMigrationService.
///
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
///
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource could not be found.
///
/// REST API Reference for DeleteConnection Operation
Task DeleteConnectionAsync(DeleteConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteEndpoint
///
/// Deletes the specified endpoint.
///
///
///
/// All tasks associated with the endpoint must be deleted before you can delete the endpoint.
///
///
///
/// Container for the necessary parameters to execute the DeleteEndpoint service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteEndpoint service method, as returned by DatabaseMigrationService.
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource could not be found.
///
/// REST API Reference for DeleteEndpoint Operation
Task DeleteEndpointAsync(DeleteEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteEventSubscription
///
/// Deletes an DMS event subscription.
///
/// Container for the necessary parameters to execute the DeleteEventSubscription service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteEventSubscription service method, as returned by DatabaseMigrationService.
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource could not be found.
///
/// REST API Reference for DeleteEventSubscription Operation
Task DeleteEventSubscriptionAsync(DeleteEventSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteFleetAdvisorCollector
///
/// Deletes the specified Fleet Advisor collector.
///
/// Container for the necessary parameters to execute the DeleteFleetAdvisorCollector service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteFleetAdvisorCollector service method, as returned by DatabaseMigrationService.
///
/// The specified collector doesn't exist.
///
///
/// The resource is in a state that prevents it from being used for database migration.
///
/// REST API Reference for DeleteFleetAdvisorCollector Operation
Task DeleteFleetAdvisorCollectorAsync(DeleteFleetAdvisorCollectorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteFleetAdvisorDatabases
///
/// Deletes the specified Fleet Advisor collector databases.
///
/// Container for the necessary parameters to execute the DeleteFleetAdvisorDatabases service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteFleetAdvisorDatabases service method, as returned by DatabaseMigrationService.
///
/// The action or operation requested isn't valid.
///
///
/// The resource could not be found.
///
/// REST API Reference for DeleteFleetAdvisorDatabases Operation
Task DeleteFleetAdvisorDatabasesAsync(DeleteFleetAdvisorDatabasesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteReplicationConfig
///
/// Deletes an DMS Serverless replication configuration. This effectively deprovisions
/// any and all replications that use this configuration. You can't delete the configuration
/// for an DMS Serverless replication that is ongoing. You can delete the configuration
/// when the replication is in a non-RUNNING and non-STARTING state.
///
/// Container for the necessary parameters to execute the DeleteReplicationConfig service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteReplicationConfig service method, as returned by DatabaseMigrationService.
///
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
///
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource could not be found.
///
/// REST API Reference for DeleteReplicationConfig Operation
Task DeleteReplicationConfigAsync(DeleteReplicationConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteReplicationInstance
///
/// Deletes the specified replication instance.
///
///
///
/// You must delete any migration tasks that are associated with the replication instance
/// before you can delete it.
///
///
///
/// Container for the necessary parameters to execute the DeleteReplicationInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteReplicationInstance service method, as returned by DatabaseMigrationService.
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource could not be found.
///
/// REST API Reference for DeleteReplicationInstance Operation
Task DeleteReplicationInstanceAsync(DeleteReplicationInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteReplicationSubnetGroup
///
/// Deletes a subnet group.
///
/// Container for the necessary parameters to execute the DeleteReplicationSubnetGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteReplicationSubnetGroup service method, as returned by DatabaseMigrationService.
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource could not be found.
///
/// REST API Reference for DeleteReplicationSubnetGroup Operation
Task DeleteReplicationSubnetGroupAsync(DeleteReplicationSubnetGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteReplicationTask
///
/// Deletes the specified replication task.
///
/// Container for the necessary parameters to execute the DeleteReplicationTask service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteReplicationTask service method, as returned by DatabaseMigrationService.
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource could not be found.
///
/// REST API Reference for DeleteReplicationTask Operation
Task DeleteReplicationTaskAsync(DeleteReplicationTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteReplicationTaskAssessmentRun
///
/// Deletes the record of a single premigration assessment run.
///
///
///
/// This operation removes all metadata that DMS maintains about this assessment run.
/// However, the operation leaves untouched all information about this assessment run
/// that is stored in your Amazon S3 bucket.
///
///
/// Container for the necessary parameters to execute the DeleteReplicationTaskAssessmentRun service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteReplicationTaskAssessmentRun service method, as returned by DatabaseMigrationService.
///
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
///
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource could not be found.
///
/// REST API Reference for DeleteReplicationTaskAssessmentRun Operation
Task DeleteReplicationTaskAssessmentRunAsync(DeleteReplicationTaskAssessmentRunRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeAccountAttributes
///
/// Lists all of the DMS attributes for a customer account. These attributes include DMS
/// quotas for the account and a unique account identifier in a particular DMS region.
/// DMS quotas include a list of resource quotas supported by the account, such as the
/// number of replication instances allowed. The description for each resource quota,
/// includes the quota name, current usage toward that quota, and the quota's maximum
/// value. DMS uses the unique account identifier to name each artifact used by DMS in
/// the given region.
///
///
///
/// This command does not take any parameters.
///
///
/// Container for the necessary parameters to execute the DescribeAccountAttributes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeAccountAttributes service method, as returned by DatabaseMigrationService.
/// REST API Reference for DescribeAccountAttributes Operation
Task DescribeAccountAttributesAsync(DescribeAccountAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeApplicableIndividualAssessments
///
/// Provides a list of individual assessments that you can specify for a new premigration
/// assessment run, given one or more parameters.
///
///
///
/// If you specify an existing migration task, this operation provides the default individual
/// assessments you can specify for that task. Otherwise, the specified parameters model
/// elements of a possible migration task on which to base a premigration assessment run.
///
///
///
/// To use these migration task modeling parameters, you must specify an existing replication
/// instance, a source database engine, a target database engine, and a migration type.
/// This combination of parameters potentially limits the default individual assessments
/// available for an assessment run created for a corresponding migration task.
///
///
///
/// If you specify no parameters, this operation provides a list of all possible individual
/// assessments that you can specify for an assessment run. If you specify any one of
/// the task modeling parameters, you must specify all of them or the operation cannot
/// provide a list of individual assessments. The only parameter that you can specify
/// alone is for an existing migration task. The specified task definition then determines
/// the default list of individual assessments that you can specify in an assessment run
/// for the task.
///
///
/// Container for the necessary parameters to execute the DescribeApplicableIndividualAssessments service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeApplicableIndividualAssessments service method, as returned by DatabaseMigrationService.
///
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
///
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource could not be found.
///
/// REST API Reference for DescribeApplicableIndividualAssessments Operation
Task DescribeApplicableIndividualAssessmentsAsync(DescribeApplicableIndividualAssessmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeCertificates
///
/// Provides a description of the certificate.
///
/// Container for the necessary parameters to execute the DescribeCertificates service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeCertificates service method, as returned by DatabaseMigrationService.
///
/// The resource could not be found.
///
/// REST API Reference for DescribeCertificates Operation
Task DescribeCertificatesAsync(DescribeCertificatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeConnections
///
/// 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.
///
/// Container for the necessary parameters to execute the DescribeConnections service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeConnections service method, as returned by DatabaseMigrationService.
///
/// The resource could not be found.
///
/// REST API Reference for DescribeConnections Operation
Task DescribeConnectionsAsync(DescribeConnectionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeEndpoints
///
/// Returns information about the endpoints for your account in the current region.
///
/// Container for the necessary parameters to execute the DescribeEndpoints service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeEndpoints service method, as returned by DatabaseMigrationService.
///
/// The resource could not be found.
///
/// REST API Reference for DescribeEndpoints Operation
Task DescribeEndpointsAsync(DescribeEndpointsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeEndpointSettings
///
/// Returns information about the possible endpoint settings available when you create
/// an endpoint for a specific database engine.
///
/// Container for the necessary parameters to execute the DescribeEndpointSettings service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeEndpointSettings service method, as returned by DatabaseMigrationService.
/// REST API Reference for DescribeEndpointSettings Operation
Task DescribeEndpointSettingsAsync(DescribeEndpointSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeEndpointTypes
///
/// Returns information about the type of endpoints available.
///
/// Container for the necessary parameters to execute the DescribeEndpointTypes service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeEndpointTypes service method, as returned by DatabaseMigrationService.
/// REST API Reference for DescribeEndpointTypes Operation
Task DescribeEndpointTypesAsync(DescribeEndpointTypesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeEventCategories
///
/// 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 Database Migration Service User Guide.
///
/// Container for the necessary parameters to execute the DescribeEventCategories service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeEventCategories service method, as returned by DatabaseMigrationService.
/// REST API Reference for DescribeEventCategories Operation
Task DescribeEventCategoriesAsync(DescribeEventCategoriesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeEvents
///
/// Lists events for a given source identifier and source type. You can also specify
/// a start and end time. For more information on DMS events, see Working
/// with Events and Notifications in the Database Migration Service User Guide.
///
/// Container for the necessary parameters to execute the DescribeEvents service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeEvents service method, as returned by DatabaseMigrationService.
/// REST API Reference for DescribeEvents Operation
Task DescribeEventsAsync(DescribeEventsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeEventSubscriptions
///
/// 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.
///
///
/// Container for the necessary parameters to execute the DescribeEventSubscriptions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeEventSubscriptions service method, as returned by DatabaseMigrationService.
///
/// The resource could not be found.
///
/// REST API Reference for DescribeEventSubscriptions Operation
Task DescribeEventSubscriptionsAsync(DescribeEventSubscriptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeFleetAdvisorCollectors
///
/// Returns a list of the Fleet Advisor collectors in your account.
///
/// Container for the necessary parameters to execute the DescribeFleetAdvisorCollectors service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeFleetAdvisorCollectors service method, as returned by DatabaseMigrationService.
///
/// The resource is in a state that prevents it from being used for database migration.
///
/// REST API Reference for DescribeFleetAdvisorCollectors Operation
Task DescribeFleetAdvisorCollectorsAsync(DescribeFleetAdvisorCollectorsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeFleetAdvisorDatabases
///
/// Returns a list of Fleet Advisor databases in your account.
///
/// Container for the necessary parameters to execute the DescribeFleetAdvisorDatabases service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeFleetAdvisorDatabases service method, as returned by DatabaseMigrationService.
///
/// The resource is in a state that prevents it from being used for database migration.
///
/// REST API Reference for DescribeFleetAdvisorDatabases Operation
Task DescribeFleetAdvisorDatabasesAsync(DescribeFleetAdvisorDatabasesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeFleetAdvisorLsaAnalysis
///
/// Provides descriptions of large-scale assessment (LSA) analyses produced by your Fleet
/// Advisor collectors.
///
/// Container for the necessary parameters to execute the DescribeFleetAdvisorLsaAnalysis service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeFleetAdvisorLsaAnalysis service method, as returned by DatabaseMigrationService.
///
/// The resource is in a state that prevents it from being used for database migration.
///
/// REST API Reference for DescribeFleetAdvisorLsaAnalysis Operation
Task DescribeFleetAdvisorLsaAnalysisAsync(DescribeFleetAdvisorLsaAnalysisRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeFleetAdvisorSchemaObjectSummary
///
/// Provides descriptions of the schemas discovered by your Fleet Advisor collectors.
///
/// Container for the necessary parameters to execute the DescribeFleetAdvisorSchemaObjectSummary service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeFleetAdvisorSchemaObjectSummary service method, as returned by DatabaseMigrationService.
///
/// The resource is in a state that prevents it from being used for database migration.
///
/// REST API Reference for DescribeFleetAdvisorSchemaObjectSummary Operation
Task DescribeFleetAdvisorSchemaObjectSummaryAsync(DescribeFleetAdvisorSchemaObjectSummaryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeFleetAdvisorSchemas
///
/// Returns a list of schemas detected by Fleet Advisor Collectors in your account.
///
/// Container for the necessary parameters to execute the DescribeFleetAdvisorSchemas service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeFleetAdvisorSchemas service method, as returned by DatabaseMigrationService.
///
/// The resource is in a state that prevents it from being used for database migration.
///
/// REST API Reference for DescribeFleetAdvisorSchemas Operation
Task DescribeFleetAdvisorSchemasAsync(DescribeFleetAdvisorSchemasRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeOrderableReplicationInstances
///
/// Returns information about the replication instance types that can be created in the
/// specified region.
///
/// Container for the necessary parameters to execute the DescribeOrderableReplicationInstances service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeOrderableReplicationInstances service method, as returned by DatabaseMigrationService.
/// REST API Reference for DescribeOrderableReplicationInstances Operation
Task DescribeOrderableReplicationInstancesAsync(DescribeOrderableReplicationInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribePendingMaintenanceActions
///
/// For internal use only
///
/// Container for the necessary parameters to execute the DescribePendingMaintenanceActions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribePendingMaintenanceActions service method, as returned by DatabaseMigrationService.
///
/// The resource could not be found.
///
/// REST API Reference for DescribePendingMaintenanceActions Operation
Task DescribePendingMaintenanceActionsAsync(DescribePendingMaintenanceActionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeRecommendationLimitations
///
/// Returns a paginated list of limitations for recommendations of target Amazon Web Services
/// engines.
///
/// Container for the necessary parameters to execute the DescribeRecommendationLimitations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeRecommendationLimitations service method, as returned by DatabaseMigrationService.
///
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
///
///
/// The resource is in a state that prevents it from being used for database migration.
///
/// REST API Reference for DescribeRecommendationLimitations Operation
Task DescribeRecommendationLimitationsAsync(DescribeRecommendationLimitationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeRecommendations
///
/// Returns a paginated list of target engine recommendations for your source databases.
///
/// Container for the necessary parameters to execute the DescribeRecommendations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeRecommendations service method, as returned by DatabaseMigrationService.
///
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
///
///
/// The resource is in a state that prevents it from being used for database migration.
///
/// REST API Reference for DescribeRecommendations Operation
Task DescribeRecommendationsAsync(DescribeRecommendationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeRefreshSchemasStatus
///
/// Returns the status of the RefreshSchemas operation.
///
/// Container for the necessary parameters to execute the DescribeRefreshSchemasStatus service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeRefreshSchemasStatus service method, as returned by DatabaseMigrationService.
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource could not be found.
///
/// REST API Reference for DescribeRefreshSchemasStatus Operation
Task DescribeRefreshSchemasStatusAsync(DescribeRefreshSchemasStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeReplicationConfigs
///
/// Returns one or more existing DMS Serverless replication configurations as a list of
/// structures.
///
/// Container for the necessary parameters to execute the DescribeReplicationConfigs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeReplicationConfigs service method, as returned by DatabaseMigrationService.
///
/// The resource could not be found.
///
/// REST API Reference for DescribeReplicationConfigs Operation
Task DescribeReplicationConfigsAsync(DescribeReplicationConfigsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeReplicationInstances
///
/// Returns information about replication instances for your account in the current region.
///
/// Container for the necessary parameters to execute the DescribeReplicationInstances service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeReplicationInstances service method, as returned by DatabaseMigrationService.
///
/// The resource could not be found.
///
/// REST API Reference for DescribeReplicationInstances Operation
Task DescribeReplicationInstancesAsync(DescribeReplicationInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeReplicationInstanceTaskLogs
///
/// Returns information about the task logs for the specified task.
///
/// Container for the necessary parameters to execute the DescribeReplicationInstanceTaskLogs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeReplicationInstanceTaskLogs service method, as returned by DatabaseMigrationService.
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource could not be found.
///
/// REST API Reference for DescribeReplicationInstanceTaskLogs Operation
Task DescribeReplicationInstanceTaskLogsAsync(DescribeReplicationInstanceTaskLogsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeReplications
///
/// Provides details on replication progress by returning status information for one or
/// more provisioned DMS Serverless replications.
///
/// Container for the necessary parameters to execute the DescribeReplications service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeReplications service method, as returned by DatabaseMigrationService.
///
/// The resource could not be found.
///
/// REST API Reference for DescribeReplications Operation
Task DescribeReplicationsAsync(DescribeReplicationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeReplicationSubnetGroups
///
/// Returns information about the replication subnet groups.
///
/// Container for the necessary parameters to execute the DescribeReplicationSubnetGroups service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeReplicationSubnetGroups service method, as returned by DatabaseMigrationService.
///
/// The resource could not be found.
///
/// REST API Reference for DescribeReplicationSubnetGroups Operation
Task DescribeReplicationSubnetGroupsAsync(DescribeReplicationSubnetGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeReplicationTableStatistics
///
/// Returns table and schema statistics for one or more provisioned replications that
/// use a given DMS Serverless replication configuration.
///
/// Container for the necessary parameters to execute the DescribeReplicationTableStatistics service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeReplicationTableStatistics service method, as returned by DatabaseMigrationService.
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource could not be found.
///
/// REST API Reference for DescribeReplicationTableStatistics Operation
Task DescribeReplicationTableStatisticsAsync(DescribeReplicationTableStatisticsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeReplicationTaskAssessmentResults
///
/// Returns the task assessment results from the Amazon S3 bucket that DMS creates in
/// your Amazon Web Services account. This action always returns the latest results.
///
///
///
/// For more information about DMS task assessments, see Creating
/// a task assessment report in the Database Migration Service User Guide.
///
///
/// Container for the necessary parameters to execute the DescribeReplicationTaskAssessmentResults service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeReplicationTaskAssessmentResults service method, as returned by DatabaseMigrationService.
///
/// The resource could not be found.
///
/// REST API Reference for DescribeReplicationTaskAssessmentResults Operation
Task DescribeReplicationTaskAssessmentResultsAsync(DescribeReplicationTaskAssessmentResultsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeReplicationTaskAssessmentRuns
///
/// Returns a paginated list of premigration assessment runs based on filter settings.
///
///
///
/// These filter settings can specify a combination of premigration assessment runs, migration
/// tasks, replication instances, and assessment run status values.
///
///
///
/// This operation doesn't return information about individual assessments. For this information,
/// see the DescribeReplicationTaskIndividualAssessments
operation.
///
///
///
/// Container for the necessary parameters to execute the DescribeReplicationTaskAssessmentRuns service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeReplicationTaskAssessmentRuns service method, as returned by DatabaseMigrationService.
///
/// The resource could not be found.
///
/// REST API Reference for DescribeReplicationTaskAssessmentRuns Operation
Task DescribeReplicationTaskAssessmentRunsAsync(DescribeReplicationTaskAssessmentRunsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeReplicationTaskIndividualAssessments
///
/// Returns a paginated list of individual assessments based on filter settings.
///
///
///
/// These filter settings can specify a combination of premigration assessment runs, migration
/// tasks, and assessment status values.
///
///
/// Container for the necessary parameters to execute the DescribeReplicationTaskIndividualAssessments service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeReplicationTaskIndividualAssessments service method, as returned by DatabaseMigrationService.
///
/// The resource could not be found.
///
/// REST API Reference for DescribeReplicationTaskIndividualAssessments Operation
Task DescribeReplicationTaskIndividualAssessmentsAsync(DescribeReplicationTaskIndividualAssessmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeReplicationTasks
///
/// Returns information about replication tasks for your account in the current region.
///
/// Container for the necessary parameters to execute the DescribeReplicationTasks service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeReplicationTasks service method, as returned by DatabaseMigrationService.
///
/// The resource could not be found.
///
/// REST API Reference for DescribeReplicationTasks Operation
Task DescribeReplicationTasksAsync(DescribeReplicationTasksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeSchemas
///
/// Returns information about the schema for the specified endpoint.
///
/// Container for the necessary parameters to execute the DescribeSchemas service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeSchemas service method, as returned by DatabaseMigrationService.
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource could not be found.
///
/// REST API Reference for DescribeSchemas Operation
Task DescribeSchemasAsync(DescribeSchemasRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeTableStatistics
///
/// 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 DMS
/// last updated the table statistics record for a table. It does not indicate the time
/// of the last update to the table.
///
///
/// Container for the necessary parameters to execute the DescribeTableStatistics service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeTableStatistics service method, as returned by DatabaseMigrationService.
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource could not be found.
///
/// REST API Reference for DescribeTableStatistics Operation
Task DescribeTableStatisticsAsync(DescribeTableStatisticsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ImportCertificate
///
/// Uploads the specified certificate.
///
/// Container for the necessary parameters to execute the ImportCertificate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ImportCertificate service method, as returned by DatabaseMigrationService.
///
/// The certificate was not valid.
///
///
/// The resource you are attempting to create already exists.
///
///
/// The quota for this resource quota has been exceeded.
///
/// REST API Reference for ImportCertificate Operation
Task ImportCertificateAsync(ImportCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
///
/// Lists all metadata tags attached to an DMS resource, including replication instance,
/// endpoint, subnet group, and migration task. For more information, see
/// Tag
data type description.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by DatabaseMigrationService.
///
/// The resource could not be found.
///
/// REST API Reference for ListTagsForResource Operation
Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ModifyEndpoint
///
/// Modifies the specified endpoint.
///
///
///
/// For a MySQL source or target endpoint, don't explicitly specify the database using
/// the DatabaseName
request parameter on the ModifyEndpoint
/// API call. Specifying DatabaseName
when you modify a MySQL endpoint replicates
/// all the task tables to this single database. For MySQL endpoints, you specify the
/// database only when you specify the schema in the table-mapping rules of the DMS task.
///
///
///
/// Container for the necessary parameters to execute the ModifyEndpoint service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ModifyEndpoint service method, as returned by DatabaseMigrationService.
///
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
///
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// DMS cannot access the KMS key.
///
///
/// The resource you are attempting to create already exists.
///
///
/// The resource could not be found.
///
/// REST API Reference for ModifyEndpoint Operation
Task ModifyEndpointAsync(ModifyEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ModifyEventSubscription
///
/// Modifies an existing DMS event notification subscription.
///
/// Container for the necessary parameters to execute the ModifyEventSubscription service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ModifyEventSubscription service method, as returned by DatabaseMigrationService.
///
/// The ciphertext references a key that doesn't exist or that the DMS account doesn't
/// have access to.
///
///
/// The specified KMS key isn't enabled.
///
///
/// The state of the specified KMS resource isn't valid for this request.
///
///
/// The specified KMS entity or resource can't be found.
///
///
/// This request triggered KMS request throttling.
///
///
/// The resource could not be found.
///
///
/// The quota for this resource quota has been exceeded.
///
///
/// The SNS topic is invalid.
///
///
/// You are not authorized for the SNS subscription.
///
/// REST API Reference for ModifyEventSubscription Operation
Task ModifyEventSubscriptionAsync(ModifyEventSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ModifyReplicationConfig
///
/// Modifies an existing DMS Serverless replication configuration that you can use to
/// start a replication. This command includes input validation and logic to check the
/// state of any replication that uses this configuration. You can only modify a replication
/// configuration before any replication that uses it has started. As soon as you have
/// initially started a replication with a given configuiration, you can't modify that
/// configuration, even if you stop it.
///
///
///
/// Other run statuses that allow you to run this command include FAILED and CREATED.
/// A provisioning state that allows you to run this command is FAILED_PROVISION.
///
///
/// Container for the necessary parameters to execute the ModifyReplicationConfig service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ModifyReplicationConfig service method, as returned by DatabaseMigrationService.
///
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
///
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The subnet provided isn't valid.
///
///
/// DMS cannot access the KMS key.
///
///
/// The replication subnet group does not cover enough Availability Zones (AZs). Edit
/// the replication subnet group and add more AZs.
///
///
/// The resource could not be found.
///
/// REST API Reference for ModifyReplicationConfig Operation
Task ModifyReplicationConfigAsync(ModifyReplicationConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ModifyReplicationInstance
///
/// 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.
///
///
/// Container for the necessary parameters to execute the ModifyReplicationInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ModifyReplicationInstance service method, as returned by DatabaseMigrationService.
///
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
///
///
/// There are not enough resources allocated to the database migration.
///
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource you are attempting to create already exists.
///
///
/// The resource could not be found.
///
///
/// The storage quota has been exceeded.
///
///
/// An upgrade dependency is preventing the database migration.
///
/// REST API Reference for ModifyReplicationInstance Operation
Task ModifyReplicationInstanceAsync(ModifyReplicationInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ModifyReplicationSubnetGroup
///
/// Modifies the settings for the specified replication subnet group.
///
/// Container for the necessary parameters to execute the ModifyReplicationSubnetGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ModifyReplicationSubnetGroup service method, as returned by DatabaseMigrationService.
///
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
///
///
/// The subnet provided isn't valid.
///
///
/// The replication subnet group does not cover enough Availability Zones (AZs). Edit
/// the replication subnet group and add more AZs.
///
///
/// The resource could not be found.
///
///
/// The quota for this resource quota has been exceeded.
///
///
/// The specified subnet is already in use.
///
/// REST API Reference for ModifyReplicationSubnetGroup Operation
Task ModifyReplicationSubnetGroupAsync(ModifyReplicationSubnetGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ModifyReplicationTask
///
/// 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 DMS tasks, see Working
/// with Migration Tasks in the Database Migration Service User Guide.
///
///
/// Container for the necessary parameters to execute the ModifyReplicationTask service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ModifyReplicationTask service method, as returned by DatabaseMigrationService.
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// DMS cannot access the KMS key.
///
///
/// The resource you are attempting to create already exists.
///
///
/// The resource could not be found.
///
/// REST API Reference for ModifyReplicationTask Operation
Task ModifyReplicationTaskAsync(ModifyReplicationTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region MoveReplicationTask
///
/// Moves a replication task from its current replication instance to a different target
/// replication instance using the specified parameters. The target replication instance
/// must be created with the same or later DMS version as the current replication instance.
///
/// Container for the necessary parameters to execute the MoveReplicationTask service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the MoveReplicationTask service method, as returned by DatabaseMigrationService.
///
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
///
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// DMS cannot access the KMS key.
///
///
/// The resource could not be found.
///
///
/// The quota for this resource quota has been exceeded.
///
/// REST API Reference for MoveReplicationTask Operation
Task MoveReplicationTaskAsync(MoveReplicationTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region RebootReplicationInstance
///
/// Reboots a replication instance. Rebooting results in a momentary outage, until the
/// replication instance becomes available again.
///
/// Container for the necessary parameters to execute the RebootReplicationInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RebootReplicationInstance service method, as returned by DatabaseMigrationService.
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource could not be found.
///
/// REST API Reference for RebootReplicationInstance Operation
Task RebootReplicationInstanceAsync(RebootReplicationInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region RefreshSchemas
///
/// 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.
///
/// Container for the necessary parameters to execute the RefreshSchemas service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RefreshSchemas service method, as returned by DatabaseMigrationService.
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// DMS cannot access the KMS key.
///
///
/// The resource could not be found.
///
///
/// The quota for this resource quota has been exceeded.
///
/// REST API Reference for RefreshSchemas Operation
Task RefreshSchemasAsync(RefreshSchemasRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ReloadReplicationTables
///
/// Reloads the target database table with the source data for a given DMS Serverless
/// replication configuration.
///
///
///
/// You can only use this operation with a task in the RUNNING state, otherwise the service
/// will throw an InvalidResourceStateFault
exception.
///
///
/// Container for the necessary parameters to execute the ReloadReplicationTables service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ReloadReplicationTables service method, as returned by DatabaseMigrationService.
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource could not be found.
///
/// REST API Reference for ReloadReplicationTables Operation
Task ReloadReplicationTablesAsync(ReloadReplicationTablesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ReloadTables
///
/// Reloads the target database table with the source data.
///
///
///
/// You can only use this operation with a task in the RUNNING
state, otherwise
/// the service will throw an InvalidResourceStateFault
exception.
///
///
/// Container for the necessary parameters to execute the ReloadTables service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ReloadTables service method, as returned by DatabaseMigrationService.
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource could not be found.
///
/// REST API Reference for ReloadTables Operation
Task ReloadTablesAsync(ReloadTablesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region RemoveTagsFromResource
///
/// Removes metadata tags from an DMS resource, including replication instance, endpoint,
/// subnet group, and migration task. For more information, see
/// Tag
data type description.
///
/// Container for the necessary parameters to execute the RemoveTagsFromResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RemoveTagsFromResource service method, as returned by DatabaseMigrationService.
///
/// The resource could not be found.
///
/// REST API Reference for RemoveTagsFromResource Operation
Task RemoveTagsFromResourceAsync(RemoveTagsFromResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region RunFleetAdvisorLsaAnalysis
///
/// Runs large-scale assessment (LSA) analysis on every Fleet Advisor collector in your
/// account.
///
/// Container for the necessary parameters to execute the RunFleetAdvisorLsaAnalysis service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RunFleetAdvisorLsaAnalysis service method, as returned by DatabaseMigrationService.
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource could not be found.
///
/// REST API Reference for RunFleetAdvisorLsaAnalysis Operation
Task RunFleetAdvisorLsaAnalysisAsync(RunFleetAdvisorLsaAnalysisRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartRecommendations
///
/// Starts the analysis of your source database to provide recommendations of target engines.
///
///
///
/// You can create recommendations for multiple source databases using BatchStartRecommendations.
///
///
/// Container for the necessary parameters to execute the StartRecommendations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartRecommendations service method, as returned by DatabaseMigrationService.
///
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
///
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource could not be found.
///
/// REST API Reference for StartRecommendations Operation
Task StartRecommendationsAsync(StartRecommendationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartReplication
///
/// For a given DMS Serverless replication configuration, DMS connects to the source endpoint
/// and collects the metadata to analyze the replication workload. Using this metadata,
/// DMS then computes and provisions the required capacity and starts replicating to the
/// target endpoint using the server resources that DMS has provisioned for the DMS Serverless
/// replication.
///
/// Container for the necessary parameters to execute the StartReplication service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartReplication service method, as returned by DatabaseMigrationService.
///
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
///
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource could not be found.
///
/// REST API Reference for StartReplication Operation
Task StartReplicationAsync(StartReplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartReplicationTask
///
/// Starts the replication task.
///
///
///
/// For more information about DMS tasks, see Working
/// with Migration Tasks in the Database Migration Service User Guide.
///
///
/// Container for the necessary parameters to execute the StartReplicationTask service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartReplicationTask service method, as returned by DatabaseMigrationService.
///
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
///
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource could not be found.
///
/// REST API Reference for StartReplicationTask Operation
Task StartReplicationTaskAsync(StartReplicationTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartReplicationTaskAssessment
///
/// Starts the replication task assessment for unsupported data types in the source database.
///
///
///
///
/// You can only use this operation for a task if the following conditions are true:
///
/// -
///
/// The task must be in the
stopped
state.
///
/// -
///
/// The task must have successful connections to the source and target.
///
///
///
/// If either of these conditions are not met, an InvalidResourceStateFault
/// error will result.
///
///
///
/// For information about DMS task assessments, see Creating
/// a task assessment report in the Database Migration Service User Guide.
///
///
/// Container for the necessary parameters to execute the StartReplicationTaskAssessment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartReplicationTaskAssessment service method, as returned by DatabaseMigrationService.
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource could not be found.
///
/// REST API Reference for StartReplicationTaskAssessment Operation
Task StartReplicationTaskAssessmentAsync(StartReplicationTaskAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartReplicationTaskAssessmentRun
///
/// Starts a new premigration assessment run for one or more individual assessments of
/// a migration task.
///
///
///
/// The assessments that you can specify depend on the source and target database engine
/// and the migration type defined for the given task. To run this operation, your migration
/// task must already be created. After you run this operation, you can review the status
/// of each individual assessment. You can also run the migration task manually after
/// the assessment run and its individual assessments complete.
///
///
/// Container for the necessary parameters to execute the StartReplicationTaskAssessmentRun service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartReplicationTaskAssessmentRun service method, as returned by DatabaseMigrationService.
///
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
///
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The ciphertext references a key that doesn't exist or that the DMS account doesn't
/// have access to.
///
///
/// The specified KMS key isn't enabled.
///
///
/// An Key Management Service (KMS) error is preventing access to KMS.
///
///
/// The state of the specified KMS resource isn't valid for this request.
///
///
/// DMS cannot access the KMS key.
///
///
/// The specified KMS entity or resource can't be found.
///
///
/// The resource you are attempting to create already exists.
///
///
/// The resource could not be found.
///
///
/// Insufficient privileges are preventing access to an Amazon S3 object.
///
///
/// A specified Amazon S3 bucket, bucket folder, or other object can't be found.
///
/// REST API Reference for StartReplicationTaskAssessmentRun Operation
Task StartReplicationTaskAssessmentRunAsync(StartReplicationTaskAssessmentRunRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StopReplication
///
/// For a given DMS Serverless replication configuration, DMS stops any and all ongoing
/// DMS Serverless replications. This command doesn't deprovision the stopped replications.
///
/// Container for the necessary parameters to execute the StopReplication service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopReplication service method, as returned by DatabaseMigrationService.
///
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
///
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource could not be found.
///
/// REST API Reference for StopReplication Operation
Task StopReplicationAsync(StopReplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StopReplicationTask
///
/// Stops the replication task.
///
/// Container for the necessary parameters to execute the StopReplicationTask service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopReplicationTask service method, as returned by DatabaseMigrationService.
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// The resource could not be found.
///
/// REST API Reference for StopReplicationTask Operation
Task StopReplicationTaskAsync(StopReplicationTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TestConnection
///
/// Tests the connection between the replication instance and the endpoint.
///
/// Container for the necessary parameters to execute the TestConnection service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TestConnection service method, as returned by DatabaseMigrationService.
///
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
///
///
/// The resource is in a state that prevents it from being used for database migration.
///
///
/// DMS cannot access the KMS key.
///
///
/// The resource could not be found.
///
///
/// The quota for this resource quota has been exceeded.
///
/// REST API Reference for TestConnection Operation
Task TestConnectionAsync(TestConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateSubscriptionsToEventBridge
///
/// Migrates 10 active and enabled Amazon SNS subscriptions at a time and converts them
/// to corresponding Amazon EventBridge rules. By default, this operation migrates subscriptions
/// only when all your replication instance versions are 3.4.6 or higher. If any replication
/// instances are from versions earlier than 3.4.6, the operation raises an error and
/// tells you to upgrade these instances to version 3.4.6 or higher. To enable migration
/// regardless of version, set the Force
option to true. However, if you
/// don't upgrade instances earlier than version 3.4.6, some types of events might not
/// be available when you use Amazon EventBridge.
///
///
///
/// To call this operation, make sure that you have certain permissions added to your
/// user account. For more information, see Migrating
/// event subscriptions to Amazon EventBridge in the Amazon Web Services Database
/// Migration Service User Guide.
///
///
/// Container for the necessary parameters to execute the UpdateSubscriptionsToEventBridge service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateSubscriptionsToEventBridge service method, as returned by DatabaseMigrationService.
///
/// DMS was denied access to the endpoint. Check that the role is correctly configured.
///
///
/// The resource is in a state that prevents it from being used for database migration.
///
/// REST API Reference for UpdateSubscriptionsToEventBridge Operation
Task UpdateSubscriptionsToEventBridgeAsync(UpdateSubscriptionsToEventBridgeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}