मैं एक boto3 ग्राहक है:boto3 ग्राहक NoRegionError: आप एक क्षेत्र त्रुटि का उल्लेख करना होगा केवल कभी कभी
boto3.client('kms')
लेकिन यह नई मशीनों पर होता है, वे खोलने के लिए और करीब गतिशील।
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 NoRegionError()
ऐसा क्यों हो रहा है? और क्यों समय का केवल एक हिस्सा?
क्योंकि boto3 क्लाइंट डिफ़ॉल्ट क्रेडेंशियल्स विधि के सेट से AWS प्रोफ़ाइल नहीं ढूंढ सकता है: http://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html। – mootmoot