moved import of awspy module to code that uses it