Yes, through accounting magic, they're making the majority of their profits via AWS, but that's part of Bezos's long-term strategy and could be changed on a dime (at the potential expense of the long-term growth he's targeting).
Top line, most of their business is from online retail, not AWS.
(edited because my original was a bit of a flame, and didn't clarify profit vs revenue distinction)