How long should I breastfeed

Noah

Baby is one week old. I have been trying to exclusively breastfeeding him. My baby sleeps around 16-18 hours a day. He is either being awake for milk or being asleep. It is so hard to keep him awake during feeding. I only manage to feed him around 14 mins each side. I’m not sure whether he is getting enough milk…am I doing the right thing? Or should I try to feed him longer on each side? I tried to pump, 30 mins pumping I can get 2.5oz in total.