passes httpOptions to AWS