Permalink
Browse files

Correcting some of the changes made to default endpoints. Related to #…

  • Loading branch information...
1 parent 77f72d9 commit 4f148ea3db5a471fa9680507a8f02a0843934671 @garnaat garnaat committed Jan 30, 2012
Showing with 9 additions and 9 deletions.
  1. +1 −1 boto/sdb/connection.py
  2. +7 −7 boto/sqs/__init__.py
  3. +1 −1 boto/sqs/connection.py
View
2 boto/sdb/connection.py
@@ -78,7 +78,7 @@ class SDBConnection(AWSQueryConnection):
go through :py:func:`boto.connect_sdb`.
"""
DefaultRegionName = 'us-east-1'
- DefaultRegionEndpoint = 'sdb.us-east-1.amazonaws.com'
+ DefaultRegionEndpoint = 'sdb.amazonaws.com'
APIVersion = '2009-04-15'
ResponseError = SDBResponseError
View
14 boto/sqs/__init__.py
@@ -30,19 +30,19 @@ def regions():
:return: A list of :class:`boto.ec2.regioninfo.RegionInfo`
"""
return [SQSRegionInfo(name='us-east-1',
- endpoint='queue.amazonaws.com'),
+ endpoint='sqs.us-east-1.amazonaws.com'),
SQSRegionInfo(name='eu-west-1',
- endpoint='eu-west-1.queue.amazonaws.com'),
+ endpoint='sqs.eu-west-1.amazonaws.com'),
SQSRegionInfo(name='us-west-1',
- endpoint='us-west-1.queue.amazonaws.com'),
+ endpoint='sqs.us-west-1.amazonaws.com'),
SQSRegionInfo(name='us-west-2',
- endpoint='us-west-2.queue.amazonaws.com'),
+ endpoint='sqs.us-west-2.amazonaws.com'),
SQSRegionInfo(name='sa-east-1',
- endpoint='sa-east-1.queue.amazonaws.com'),
+ endpoint='sqs.sa-east-1.amazonaws.com'),
SQSRegionInfo(name='ap-northeast-1',
- endpoint='ap-northeast-1.queue.amazonaws.com'),
+ endpoint='sqs.ap-northeast-1.amazonaws.com'),
SQSRegionInfo(name='ap-southeast-1',
- endpoint='ap-southeast-1.queue.amazonaws.com')
+ endpoint='sqs.ap-southeast-1.amazonaws.com')
]
def connect_to_region(region_name, **kw_params):
View
2 boto/sqs/connection.py
@@ -33,7 +33,7 @@ class SQSConnection(AWSQueryConnection):
A Connection to the SQS Service.
"""
DefaultRegionName = 'us-east-1'
- DefaultRegionEndpoint = 'queue.us-east-1.amazonaws.com'
+ DefaultRegionEndpoint = 'sqs.us-east-1.amazonaws.com'
APIVersion = '2011-10-01'
DefaultContentType = 'text/plain'
ResponseError = SQSError

0 comments on commit 4f148ea

Please sign in to comment.