Amazon’s results bucked expectations