Still in the Database Migration Service console, click on Endpoints in the left-hand menu
Select the endpoints that you created as a part of the workshop. Then, click on the Actions button on the right-hand side, and choose Delete.
Confirm that you want to delete the endpoints.

Continue to the next page to delete the DMS Replication instance…