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