o ckF[O@s,ddlmZddlmZddZddZdS)) get_regions)connectcCsddlm}td|dS)z Get all available regions for the RDS service. :rtype: list :return: A list of :class:`boto.regioninfo.RegionInfo` r RDSConnectionrds)connection_cls)boto.rds2.layer1rrrr 4/usr/lib/python3/dist-packages/boto/rds2/__init__.pyregionss  r cKs"ddlm}td|fd|i|S)a Given a valid region name, return a :class:`boto.rds2.layer1.RDSConnection`. Any additional parameters after the region_name are passed on to the connect method of the region object. :type: str :param region_name: The name of the region to connect to. :rtype: :class:`boto.rds2.layer1.RDSConnection` or ``None`` :return: A connection to the given region, or None if an invalid region name is given rrrr)rrr) region_name kw_paramsrr r r connect_to_region%s rN)boto.regioninforrr rr r r r s