From http://docs.aws.amazon.com/cli/latest/userguide/cli-command-completion.html
$ complete -C '/usr/local/bin/aws_completer' aws