The objective there was very limited, grab Maduro and then call it regime change. Even though it was no different from Maduro chocking on a chicken bone, his VP took over who is of the same ideology.
For Iran the goal that is set is clearly regime change on a much bigger scale. They hope the Iranian people will somehow manifest a force powerful enough to kick out the IRGC but this seems quite unlikely. There are hundreds of thousands of Basji and other paramilitaries who will be cracking skulls of anyone who tries anything and lots of them will have been bombed in their bases the rest is just at home or dispersed to small locations, ready for orders.
At some point the sides will run out of the long range fire resources they are willing to spend on this. Trump must then choose to accept defeat or move up the escalation ladder.