I have a boto3 client :
boto3.client(\'kms\')
But it happens on new machines, They open and close dynamically.
if endpoint
you can also set environment variables in the script itself, rather than passing region_name parameter
os.environ['AWS_DEFAULT_REGION'] = 'your_region_name'
case sensitivity may matter.