Will Apple Replace My iPhone 5 Because of Faulty Camera?

Hi, I live in Australia and I've had my iPhone 5 for under a year. Recently, the camera won't focus at close range, and this is very important to me as I need to photograph a lot of paperwork etc. So you can't read the words as they are blurry. I've heard that Apple pretty much replaces your phone if it is damaged in any way, no matter how minor, with a refurbished one. Will I be able to get it replaced because of this small problem? Also, the problem is pretty much invisible unless you try take a picture of small text, which I used to be able to do in the past.

I'm on a plan with optus also and I have 2 years warranty with them (that's how long my plan is). What would optus do for this matter if anybody knows?

So, if I go to the Apple store, with my receipt and my iPhone, will they replace it on the spot? Or will they just repair it for me which will take some time?

They will definitely repair it, give it to the Apple services, and you will wait until they figure out what's the problem and repair it Generally it takes about 2 weeks, they won't give you a new one.

They would 1 repair or 2 replace it. Sending into apple thru the ups store and back usually takes about 3-4 days total. I sent 2 of my iphone 5 in and brought it to ups store. They shipped overnight, apple received it next day they sent me my iphone 5 replacement. (thats if its still under warranty then its free)