I have a boto3 client :
boto3.client(\'kms\')
But it happens on new machines, They open and close dynamically.
if endpoint
I believe, by default, boto picks the region which is set in aws cli. You can run command #aws configure and press enter (it shows what creds you have set in aws cli with region)twice to confirm your region.