ó FRTc@sRddlmZddlmZmZdefd„ƒYZd„Zd„ZdS(iĸĸĸĸ(t IAMConnection(t RegionInfot get_regionst IAMRegionInfocBseZd„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((s>/opt/freeware/lib/python2.7/site-packages/boto/iam/__init__.pytconnects (t__name__t __module__R (((s>/opt/freeware/lib/python2.7/site-packages/boto/iam/__init__.pyRscCs>tddtdtƒ}|jtdddddtƒƒ|S(s Get all available regions for the IAM service. :rtype: list :return: A list of :class:`boto.regioninfo.RegionInfo` instances tiamt region_clsRtnamet universalRsiam.amazonaws.com(RRRtappend(tregions((s>/opt/freeware/lib/python2.7/site-packages/boto/iam/__init__.pyR.s  cKs4x-tƒD]"}|j|kr |j|Sq WdS(sV Given a valid region name, return a :class:`boto.iam.connection.IAMConnection`. :type: str :param region_name: The name of the region to connect to. :rtype: :class:`boto.iam.connection.IAMConnection` or ``None`` :return: A connection to the given region, or None if an invalid region name is given N(RRR tNone(t region_nameRtregion((s>/opt/freeware/lib/python2.7/site-packages/boto/iam/__init__.pytconnect_to_regionGs N(tboto.iam.connectionRtboto.regioninfoRRRRR(((s>/opt/freeware/lib/python2.7/site-packages/boto/iam/__init__.pyts