import boto3
dynamodb = boto3.resource('dynamodb', region_name="us-east-1")
table = dynamodb.Table('user_logs')
response = table.scan()
对于上述 aws 胶水作业脚本,我收到以下错误
botocore.vendored.requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='dynamodb.us-east-1.amazonaws.com', port=443): Max retries exceeded with url: / (Caused by ConnectTimeoutError(<botocore.awsrequest.AWSHTTPSConnection object at 0x7f7c58942b50>, 'Connection to dynamodb.us-east-1.amazonaws.com timed out. (connect timeout=60)'))
任何想法为什么会发生这种情况?