Bash functions for working with aws