deleteConnection

Deletes the connection between a replication instance and an endpoint.

Samples


fun main() { 
   //sampleStart 
   // Deletes the connection between the replication instance and the endpoint.
val resp = databaseMigrationClient.deleteConnection {
    replicationInstanceArn = "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ"
    endpointArn = "arn:aws:dms:us-east-1:123456789012:endpoint:RAAR3R22XSH46S3PWLC3NJAWKM"
} 
   //sampleEnd
}