aws dms test-connection
Tests the connection between the replication instance and the endpoint. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--endpoint-arnThe Amazon Resource Name (ARN) string that uniquely identifies the endpoint.--replication-instance-arnThe Amazon Resource Name (ARN) of the replication instance.