Amazon has nearly a half a trillion dollars worth of contract commitments. The tech giant is coming off its best quarter in almost five years.