Change term protection from botocore to direct API