/usr/lib/python2.6/site-packages/boto/route53
Edit: /usr/lib/python2.6/site-packages/boto/route53/__init__.pyc (2336B)
Ńň
Ĺ-őSc @ sR d d k l Z d d k l Z l Z d e f d YZ d Z d Z d S( i˙˙˙˙( t Route53Connection( t
RegionInfot get_regionst Route53RegionInfoc B s e Z d Z RS( c K s% | i o | i d | i | Sd S( sĄ
Connect to this Region's endpoint. Returns an connection
object pointing to the endpoint associated with this region.
You may pass any of the arguments accepted by the connection
class's constructor as keyword arguments and they will be
passed along to the connection object.
:rtype: Connection object
:return: The connection to this regions endpoint
t hostN( t connection_clst endpoint( t selft kw_params( ( s9 /usr/lib/python2.6/site-packages/boto/route53/__init__.pyt connect s
( t __name__t
__module__R ( ( ( s9 /usr/lib/python2.6/site-packages/boto/route53/__init__.pyR s c C s> t d d t d t } | i t d d d d d t | S( s
Get all available regions for the Route53 service.
:rtype: list
:return: A list of :class:`boto.regioninfo.RegionInfo` instances
t route53t
region_clsR t namet universalR s route53.amazonaws.com( R R R t append( t regions( ( s9 /usr/lib/python2.6/site-packages/boto/route53/__init__.pyR / s
c K s6 x/ t D]$ } | i | j o | i | Sq
Wd S( sf
Given a valid region name, return a
:class:`boto.route53.connection.Route53Connection`.
:type: str
:param region_name: The name of the region to connect to.
:rtype: :class:`boto.route53.connection.Route53Connection` or ``None``
:return: A connection to the given region, or None if an invalid region
name is given
N( R R R t None( t region_nameR t region( ( s9 /usr/lib/python2.6/site-packages/boto/route53/__init__.pyt connect_to_regionH s
N( t boto.route53.connectionR t boto.regioninfoR R R R R ( ( ( s9 /usr/lib/python2.6/site-packages/boto/route53/__init__.pyt
s