AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the DeleteReplicationInstance operation. Deletes the specified replication instance.

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

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.DatabaseMigrationService.AmazonDatabaseMigrationServiceRequest
      Amazon.DatabaseMigrationService.Model.DeleteReplicationInstanceRequest

Namespace: Amazon.DatabaseMigrationService.Model
Assembly: AWSSDK.DatabaseMigrationService.dll
Version: 3.x.y.z

Syntax

C#
public class DeleteReplicationInstanceRequest : AmazonDatabaseMigrationServiceRequest
         IAmazonWebServiceRequest

The DeleteReplicationInstanceRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ReplicationInstanceArn System.String

Gets and sets the property ReplicationInstanceArn.

The Amazon Resource Name (ARN) of the replication instance to be deleted.

Examples

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

Delete Replication Instance


var client = new AmazonDatabaseMigrationServiceClient();
var response = client.DeleteReplicationInstance(new DeleteReplicationInstanceRequest 
{
    ReplicationInstanceArn = "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ"
});

ReplicationInstance replicationInstance = response.ReplicationInstance;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5