Implemented interaction with Amazon API.