In bash you can do something like this:
unset "${!AWS_@}"
But this will give a substitution error in zsh.
I haven't found a really great way to do this in zsh. Presumably because zsh has a different expansion/substitution than bash. I'm assuming I would have to do a lookup and then loop through the return. I'm wondering if someone has a nice one liner (or has ran into this themselves).
This works, but is pretty gross:
This also works but is more gross: