This is a damaged right shifter for Shimano Di2. Cosmetically this shifter looks absolutely fine. The unit is only a few months old and was well looked after before an accident has caused an issue with the cabling to the hood button. Signal to the rear derailleur is not working.
It may be fixable, if not the rest of the unit can certainly be used for parts/spares. Looks like it just requires the wire to be reconnected to the hood button - a person with electrical expertise may be able to fix this up.
Brake hydraulics are confirmed undamaged.