ķ FRTc@sIddlmZd„Zdefd„ƒYZdefd„ƒYZdS(i˙˙˙˙(tOriginAccessIdentitycCs!t|tƒr|jƒS|SdS(N(t isinstanceRturi(torigin_access_identity((sC/opt/freeware/lib/python2.7/site-packages/boto/cloudfront/origin.pyt get_oai_values tS3OrigincBsAeZdZddd„Zd„Zd„Zd„Zd„ZRS(sž Origin information to associate with the distribution. If your distribution will use an Amazon S3 origin, then you use the S3Origin element. cCs||_||_dS(s :param dns_name: The DNS name of your Amazon S3 bucket to associate with the distribution. For example: mybucket.s3.amazonaws.com. :type dns_name: str :param origin_access_identity: The CloudFront origin access identity to associate with the distribution. If you want the distribution to serve private content, include this element; if you want the distribution to serve public content, remove this element. :type origin_access_identity: str N(tdns_nameR(tselfRR((sC/opt/freeware/lib/python2.7/site-packages/boto/cloudfront/origin.pyt__init__&s cCs d|jS(Ns(R(R((sC/opt/freeware/lib/python2.7/site-packages/boto/cloudfront/origin.pyt__repr__:scCsdS(N(tNone(Rtnametattrst connection((sC/opt/freeware/lib/python2.7/site-packages/boto/cloudfront/origin.pyt startElement=scCsD|dkr||_n(|dkr0||_nt|||ƒdS(NtDNSNameR(RRtsetattr(RR tvalueR ((sC/opt/freeware/lib/python2.7/site-packages/boto/cloudfront/origin.pyt endElement@s     cCsNd}|d|j7}|jr@t|jƒ}|d|7}n|d7}|S(Ns s %s s4 %s s (RRR(Rtstval((sC/opt/freeware/lib/python2.7/site-packages/boto/cloudfront/origin.pytto_xmlHs  N( t__name__t __module__t__doc__R RR RRR(((sC/opt/freeware/lib/python2.7/site-packages/boto/cloudfront/origin.pyRs    t CustomOrigincBsGeZdZddddd„Zd„Zd„Zd„Zd„ZRS( sĨ Origin information to associate with the distribution. If your distribution will use a non-Amazon S3 origin, then you use the CustomOrigin element. iPiģcCs(||_||_||_||_dS(s8 :param dns_name: The DNS name of your Amazon S3 bucket to associate with the distribution. For example: mybucket.s3.amazonaws.com. :type dns_name: str :param http_port: The HTTP port the custom origin listens on. :type http_port: int :param https_port: The HTTPS port the custom origin listens on. :type http_port: int :param origin_protocol_policy: The origin protocol policy to apply to your origin. If you specify http-only, CloudFront will use HTTP only to access the origin. If you specify match-viewer, CloudFront will fetch from your origin using HTTP or HTTPS, based on the protocol of the viewer request. :type origin_protocol_policy: str N(Rt http_portt https_porttorigin_protocol_policy(RRRRR((sC/opt/freeware/lib/python2.7/site-packages/boto/cloudfront/origin.pyRXs   cCs d|jS(Ns(R(R((sC/opt/freeware/lib/python2.7/site-packages/boto/cloudfront/origin.pyR vscCsdS(N(R (RR R R ((sC/opt/freeware/lib/python2.7/site-packages/boto/cloudfront/origin.pyRyscCsÂ|dkr||_nĻ|dkrWyt|ƒ|_Wqžtk rS||_qžXng|dkr–yt|ƒ|_Wqžtk r’||_qžXn(|dkrŽ||_nt|||ƒdS(NRtHTTPPortt HTTPSPorttOriginProtocolPolicy(RtintRt ValueErrorRRR(RR RR ((sC/opt/freeware/lib/python2.7/site-packages/boto/cloudfront/origin.pyR|s        cCsXd}|d|j7}|d|j7}|d|j7}|d|j7}|d7}|S(Ns s %s s %d s %d s4 %s s (RRRR(RR((sC/opt/freeware/lib/python2.7/site-packages/boto/cloudfront/origin.pyRŽs N( RRRR RR RRR(((sC/opt/freeware/lib/python2.7/site-packages/boto/cloudfront/origin.pyRQs     N(tboto.cloudfront.identityRRtobjectRR(((sC/opt/freeware/lib/python2.7/site-packages/boto/cloudfront/origin.pyts 2