Updated ama-sample to it now uses InputStreamText message.