Heating cooked pasta on Shabbat

Is it permissable to warm fully cooked noodles by inserting them into a kli rishon that has been removed from the burner? If not, what about inserting them into a kli sheini?

Both are fine