ó {r Qc@s<ddlmZdefd„ƒYZd„Zd„ZdS(iĸĸĸĸ(t RegionInfot S3RegionInfocBseZd„ZRS(cKs#|jr|jd|j|SdS(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 thostN(tconnection_clstendpoint(tselft kw_params((s3/tmp/tmp.yUYbTOKr8o/gsutil/boto/boto/s3/__init__.pytconnects (t__name__t __module__R(((s3/tmp/tmp.yUYbTOKr8o/gsutil/boto/boto/s3/__init__.pyRscCsÔddlm}tddddd|ƒtdddd d|ƒtdd dd d|ƒtdd dd d|ƒtddddd|ƒtddddd|ƒtddddd|ƒtddddd|ƒgS(s‹ Get all available regions for the Amazon S3 service. :rtype: list :return: A list of :class:`boto.regioninfo.RegionInfo` i(t S3Connectiontnames us-east-1Rss3.amazonaws.comRs us-west-1ss3-us-west-1.amazonaws.coms us-west-2ss3-us-west-2.amazonaws.comsap-northeast-1ss3-ap-northeast-1.amazonaws.comsap-southeast-1ss3-ap-southeast-1.amazonaws.comsap-southeast-2ss3-ap-southeast-2.amazonaws.coms eu-west-1ss3-eu-west-1.amazonaws.coms sa-east-1ss3-sa-east-1.amazonaws.com(t connectionR R(R ((s3/tmp/tmp.yUYbTOKr8o/gsutil/boto/boto/s3/__init__.pytregions-s2        cKs4x-tƒD]"}|j|kr |j|Sq WdS(N(R R RtNone(t region_nameRtregion((s3/tmp/tmp.yUYbTOKr8o/gsutil/boto/boto/s3/__init__.pytconnect_to_regionPsN(tboto.regioninfoRRR R(((s3/tmp/tmp.yUYbTOKr8o/gsutil/boto/boto/s3/__init__.pyts #