code: @Override
      public DeleteReplicationInstanceResult deleteReplicationInstance(DeleteReplicationInstanceRequest request) {
          request = beforeClientExecution(request);
          return executeDeleteReplicationInstance(request);
      }
docs: <p>
  Deletes the specified replication instance.
  </p>
  <note>
  <p>
  You must delete any migration tasks that are associated with the replication instance before you can delete it.
  </p>
  </note>
  <p/>
  
  @param deleteReplicationInstanceRequest
  @return Result of the DeleteReplicationInstance operation returned by the service.
  @throws InvalidResourceStateException
  The resource is in a state that prevents it from being used for database migration.
  @throws ResourceNotFoundException
  The resource could not be found.
  @sample AWSDatabaseMigrationService.DeleteReplicationInstance
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationInstance" target="_top">AWS
  API Documentation</a>