o ckF[Kã@s<ddlmZddlmZmZddlmZdd„Zdd„ZdS) é)Ú SNSConnection)Ú RegionInfoÚ get_regions)ÚconnectcCs tdtdS)z Get all available regions for the SNS service. :rtype: list :return: A list of :class:`boto.regioninfo.RegionInfo` instances Úsns)Úconnection_cls)rr©rrú3/usr/lib/python3/dist-packages/boto/sns/__init__.pyÚregionss r cKstd|fdti|¤ŽS)aV Given a valid region name, return a :class:`boto.sns.connection.SNSConnection`. :type: str :param region_name: The name of the region to connect to. :rtype: :class:`boto.sns.connection.SNSConnection` or ``None`` :return: A connection to the given region, or None if an invalid region name is given rr)rr)Ú region_nameÚ kw_paramsrrr Úconnect_to_region(s ÿÿr N)Úboto.sns.connectionrÚboto.regioninforrrr r rrrr Ús