AWS_ACCESS_KEY_ID = \'\'
AWS_SECRET_ACCESS_KEY = \'\'
Bucketname = \'Bucket-name\'
import boto
from boto.s3.key import Key
im
The request to the host s3.ap-southeast-1.amazonaws.com is failing. I also cannot resolve it from my end. Check your bucket settings for the correct host.
There might also be a problem with your internet connection or the DNS server. Try pinging the host manually from command line and see if it resolves. Alternatively, try using a different DNS.
Edit: Quick googling suggests that the host might be s3-ap-southeast-1.amazonaws.com.