ó FRTc@s:ddlmZddlmZdefd„ƒYZdS(iÿÿÿÿ(tLayer1(tDomaintLayer2c BsPeZddeddddddded„ Zdd„Zd„Zd„ZRS(ic CsRtd|d|d|d|d|d|d|d|d | d | d | ƒ |_dS( Ntaws_access_key_idtaws_secret_access_keyt is_securetporttproxyt proxy_portthosttdebugtsecurity_tokentregiontvalidate_certs(Rtlayer1( tselfRRRRRRR R t session_tokenR R ((sD/opt/freeware/lib/python2.7/site-packages/boto/cloudsearch/layer2.pyt__init__scCs5|jj|ƒ}g|D]}t|j|ƒ^qS(sŠ Return a list of :class:`boto.cloudsearch.domain.Domain` objects for each domain defined in the current account. (Rtdescribe_domainsR(Rt domain_namest domain_datatdata((sD/opt/freeware/lib/python2.7/site-packages/boto/cloudsearch/layer2.pyt list_domains0scCs"|jj|ƒ}t|j|ƒS(s† Create a new CloudSearch domain and return the corresponding :class:`boto.cloudsearch.domain.Domain` object. (Rt create_domainR(Rt domain_nameR((sD/opt/freeware/lib/python2.7/site-packages/boto/cloudsearch/layer2.pyR8scCs3|jd|gƒ}t|ƒdkr/|dSdS(s Lookup a single domain :param domain_name: The name of the domain to look up :type domain_name: str :return: Domain object, or None if the domain isn't found :rtype: :class:`boto.cloudsearch.domain.Domain` RiN(Rtlen(RRtdomains((sD/opt/freeware/lib/python2.7/site-packages/boto/cloudsearch/layer2.pytlookup@s N(t__name__t __module__tNonetTrueRRRR(((sD/opt/freeware/lib/python2.7/site-packages/boto/cloudsearch/layer2.pyRs     N(tboto.cloudsearch.layer1Rtboto.cloudsearch.domainRtobjectR(((sD/opt/freeware/lib/python2.7/site-packages/boto/cloudsearch/layer2.pyts