o ckF[A @sLddlmZddlmZmZddlmZGdddeZddZdd Zd S) )Route53Connection) RegionInfo get_regions)connectc@seZdZddZdS)Route53RegionInfocKs |jr|jdd|ji|SdS)a 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 hostN)connection_clsendpoint)self kw_paramsrr7/usr/lib/python3/dist-packages/boto/route53/__init__.pyr!s zRoute53RegionInfo.connectN)__name__ __module__ __qualname__rrrrr rs rcCs&tdttd}|tddtd|S)z Get all available regions for the Route53 service. :rtype: list :return: A list of :class:`boto.regioninfo.RegionInfo` instances route53 region_clsr universalroute53.amazonaws.comnamer r )rrrappend)regionsrrr r0srcKs>|dkrtddtd}|jdi|Std|fttd|S)af 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 rrrrrNr)rrr) region_namer regionrrr connect_to_regionIs  rN) boto.route53.connectionrboto.regioninforrrrrrrrrr s