import boto.sqs connection = boto.sqs.connect_to_region('us-east-1')