klien boto3 NoRegionError: Anda harus menentukan kesalahan wilayah hanya sesekali

Saya memiliki klien boto3: boto3.client('kms') Tapi itu terjadi pada mesin baru, Mereka membuka dan menutup secara dinamis. if endpoint is None: if region_name is None: # Raise a more specific error message that will give # better guidance to the user what needs to happen. raise...