So long as they are properly trained and socialized, there should be no problem keeping a male and female. Amazons *can* be picky about whom they like, but in general well socialized zons will get along with other well socialized zons in shared areas (there is, of course, always a possibility they'll hate each other, they are intelligent beings with their own prerogative in life. They also tend to be a tad defensive/territorial about their cage which is where shared areas come into play). Zons are known for being very choosy about parrots of other species they'll tolerate and which humans they love and hate (and gender of human they prefer, though again, proper training and socialization can mitigate this). Actually, I found it quite interesting when several years ago we introduced my amazon to my moms amazons (after numerous times "meeting" while caged and seeing no hostility). My moms 2 bonded amazons immediately welcomed my boy and didn't even bat an eyelid about him hanging out with them on their shared play area! These were 2 birds who had not been introduced to a "new" amazon (or any other bird for that matter besides a cockatoo who's been around them forever they both dislike) in 40 or so years and my amazon may have never seen another amazon in his life. My moms zons would have immediately chased off the cockatoo if he came onto their turf, but they actually seemed to recognize Kiwi as their own kind and welcomed him

(this was, of course, a CLOSELY monitored meeting).
Larger pet parrots should NOT share a cage, but provided they get along, they can definitely interact outside the cage

. Unless you WANT to breed them (and you don't, you want pets and they can't be both), amazons appreciate their own space even if they enjoy companionship in shared spaces. Keep in mind, unlike most pets, amazons take 4-6 years to hit puberty and will likely not try to breed for a few seasons after they become sexually mature. If you get babies/juveniles they can go years and years seemingly with no, ahem, frisky business going on because they aren't mature birds driven to reproduce yet (even though they are full size). Best to keep them in separate cages from the get go! And once they are mature, you do need to keep a close eye on them during the mating season to make sure they don't start nesting or mating. Getting them as babies is not a requirement, but IF they dislike each other babies might be easier to mitigate that in than older, set in their ways birds.