Index: boto/sqs/__init__.py |
diff --git a/boto/sqs/__init__.py b/boto/sqs/__init__.py |
index 463c42c5f5f06ce17777cd4b0da365a6d46caa0a..d5a9e4c9ef7c10f931393cd0403f2b003967757b 100644 |
--- a/boto/sqs/__init__.py |
+++ b/boto/sqs/__init__.py |
@@ -35,12 +35,14 @@ def regions(): |
endpoint='eu-west-1.queue.amazonaws.com'), |
SQSRegionInfo(name='us-west-1', |
endpoint='us-west-1.queue.amazonaws.com'), |
+ SQSRegionInfo(name='ap-northeast-1', |
+ endpoint='ap-northeast-1.queue.amazonaws.com'), |
SQSRegionInfo(name='ap-southeast-1', |
endpoint='ap-southeast-1.queue.amazonaws.com') |
] |
-def connect_to_region(region_name): |
+def connect_to_region(region_name, **kw_params): |
for region in regions(): |
if region.name == region_name: |
- return region.connect() |
+ return region.connect(**kw_params) |
return None |