Prolog interface for Amazon APIs