There are native IR codes for the sonos Beam and Playbar... Not sure if they are the same for the amp.
Xfinity x1and Cox Contour 2 setups have an ir setup codeset for Sonos. 33919. If you have access to one of the ...
As Paul said, You can teach the amp just about any IR code you want, same way you would teach TV vol to a playbar.
I'm Not an engineer, but I play one on TV. My handle is Tweety but I have nothing to do with the organization of similar name. I just had a really big head as a child so folks called me tweety bird.