-2
import boto3
>>> client = boto3.client('ec2')
>>> response = client.create_tags(DryRun = True | False, Resources = ['ABC', ], Tags = [{
'Key' : 'vennkata',
'Value' : 'ratnam'
}, ])
Traceback(most recent call last) :
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/botocore/client.py", line 159, in _api_call
return self._make_api_call(operation_name, kwargs)
botocore.exceptions.EndpointConnectionError : Could not connect to the endpoint URL : "https://ec2.us-west.amazonaws.com/"
任何人都可以提供建議,以避免此錯誤@創建快照時使用卷ID?Boto:幫我看看這個錯誤