AWS CLI autoprompt

To enable auto prompt in AWS CLI, you can use environment variable or add it to ~/,bashrc:

export AWS_CLI_AUTO_PROMPT="on-partial"
on-partial uses partial auto-prompt mode. In this mode the autoprompt feature only activates if the command you enter is incomplete or has a client-side error.

You can also enable auto-prompt mode per each profile by updating config file located inside ~/.aws/. Example:
...
[profile blue]
region=us-east-1
cli_auto_prompt = on-partial
...