Change term protection from botocore to direct API
Reduce code the way @mafrosis did, because he did it right