/usr/lib/python2.6/site-packages/boto/s3
NameSizeModeActions
acl.py57270644editdlrm
acl.pyc60930644editdlrm
acl.pyo60930644editdlrm
bucket.py793690644editdlrm
bucket.pyc707340644editdlrm
bucket.pyo706880644editdlrm
bucketlistresultset.py67960644editdlrm
bucketlistresultset.pyc57470644editdlrm
bucketlistresultset.pyo57470644editdlrm
bucketlogging.py31830644editdlrm
bucketlogging.pyc29060644editdlrm
bucketlogging.pyo29060644editdlrm
connection.py261920644editdlrm
connection.pyc237440644editdlrm
connection.pyo236070644editdlrm
cors.py89410644editdlrm
cors.pyc80180644editdlrm
cors.pyo80180644editdlrm
deletemarker.py20870644editdlrm
deletemarker.pyc15010644editdlrm
deletemarker.pyo15010644editdlrm
key.py823190644editdlrm
key.pyc660280644editdlrm
key.pyo660280644editdlrm
keyfile.py44270644editdlrm
keyfile.pyc50100644editdlrm
keyfile.pyo50100644editdlrm
lifecycle.py82540644editdlrm
lifecycle.pyc92330644editdlrm
lifecycle.pyo92330644editdlrm
multidelete.py47570644editdlrm
multidelete.pyc49800644editdlrm
multidelete.pyo49800644editdlrm
multipart.py120490644editdlrm
multipart.pyc119560644editdlrm
multipart.pyo119560644editdlrm
prefix.py16610644editdlrm
prefix.pyc12430644editdlrm
prefix.pyo12430644editdlrm
resumable_download_handler.py155950644editdlrm
resumable_download_handler.pyc103360644editdlrm
resumable_download_handler.pyo103360644editdlrm
tagging.py17320644editdlrm
tagging.pyc36880644editdlrm
tagging.pyo36880644editdlrm
user.py19680644editdlrm
user.pyc15140644editdlrm
user.pyo15140644editdlrm
website.py106070644editdlrm
website.pyc123110644editdlrm
website.pyo123110644editdlrm
__init__.py23450644editdlrm
__init__.pyc18070644editdlrm
__init__.pyo18070644editdlrm
Edit: /usr/lib/python2.6/site-packages/boto/s3/lifecycle.pyo (9233B)
Ñò Å-õSc@slddklZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd „ƒYZd S( iÿÿÿÿ(tsixtRulecBsJeZdZdddddd„Zd„Zd„Zd„Zd„ZRS(sH A Lifecycle rule for an S3 bucket. :ivar id: Unique identifier for the rule. The value cannot be longer than 255 characters. This value is optional. The server will generate a unique value for the rule if no value is provided. :ivar prefix: Prefix identifying one or more objects to which the rule applies. If prefix is not provided, Boto generates a default prefix which will match all objects. :ivar status: If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is not currently being applied. :ivar expiration: An instance of `Expiration`. This indicates the lifetime of the objects that are subject to the rule. :ivar transition: An instance of `Transition`. This indicates when to transition to a different storage class. cCsn||_|djodn||_||_t|tiƒotd|ƒ|_n ||_||_ dS(Nttdays( tidtNonetprefixtstatust isinstanceRt integer_typest Expirationt expirationt transition(tselfRRRR R ((s5/usr/lib/python2.6/site-packages/boto/s3/lifecycle.pyt__init__.s   cCs d|iS(Ns (R(R ((s5/usr/lib/python2.6/site-packages/boto/s3/lifecycle.pyt__repr__;scCsF|djotƒ|_|iS|djotƒ|_|iSdS(Nt TransitionR (RR R R R(R tnametattrst connection((s5/usr/lib/python2.6/site-packages/boto/s3/lifecycle.pyt startElement>s    cCsb|djo ||_nE|djo ||_n+|djo ||_nt|||ƒdS(NtIDtPrefixtStatus(RRRtsetattr(R RtvalueR((s5/usr/lib/python2.6/site-packages/boto/s3/lifecycle.pyt endElementGs      cCs©d}|idj o|d|i7}n|d|i7}|d|i7}|idj o||iiƒ7}n|idj o||iiƒ7}n|d7}|S(Nss %ss%ss%ss(RRRRR tto_xmlR (R ts((s5/usr/lib/python2.6/site-packages/boto/s3/lifecycle.pyRQs N( t__name__t __module__t__doc__RRRRRR(((s5/usr/lib/python2.6/site-packages/boto/s3/lifecycle.pyRs   R cBsAeZdZddd„Zd„Zd„Zd„Zd„ZRS(s½ When an object will expire. :ivar days: The number of days until the object expires :ivar date: The date when the object will expire. Must be in ISO 8601 format. cCs||_||_dS(N(Rtdate(R RR ((s5/usr/lib/python2.6/site-packages/boto/s3/lifecycle.pyRgs cCsdS(N(R(R RRR((s5/usr/lib/python2.6/site-packages/boto/s3/lifecycle.pyRkscCs>|djot|ƒ|_n|djo ||_ndS(NtDaystDate(tintRR (R RRR((s5/usr/lib/python2.6/site-packages/boto/s3/lifecycle.pyRns  cCs6|idjod|i}nd|i}d|S(Nson: %ss in: %s dayss(RRR (R thow_long((s5/usr/lib/python2.6/site-packages/boto/s3/lifecycle.pyRts cCs^d}|idj o|d|i7}n&|idj o|d|i7}n|d7}|S(Ns s%ss%ss (RRR (R R((s5/usr/lib/python2.6/site-packages/boto/s3/lifecycle.pyR{s N( RRRRRRRRR(((s5/usr/lib/python2.6/site-packages/boto/s3/lifecycle.pyR ^s    RcBsDeZdZdddd„Zd„Zd„Zd„Zd„ZRS(s> A transition to a different storage class. :ivar days: The number of days until the object should be moved. :ivar date: The date when the object should be moved. Should be in ISO 8601 format. :ivar storage_class: The storage class to transition to. Valid values are GLACIER. cCs||_||_||_dS(N(RR t storage_class(R RR R%((s5/usr/lib/python2.6/site-packages/boto/s3/lifecycle.pyR‘s  cCsdS(N(R(R RRR((s5/usr/lib/python2.6/site-packages/boto/s3/lifecycle.pyR–scCsX|djot|ƒ|_n5|djo ||_n|djo ||_ndS(NR!R"t StorageClass(R#RR R%(R RRR((s5/usr/lib/python2.6/site-packages/boto/s3/lifecycle.pyR™s     cCs?|idjod|i}nd|i}d||ifS(Nson: %ss in: %s dayss(RRR R%(R R$((s5/usr/lib/python2.6/site-packages/boto/s3/lifecycle.pyR¡s cCsod}|d|i7}|idj o|d|i7}n&|idj o|d|i7}n|d7}|S(Ns s%ss%ss%ss (R%RRR (R R((s5/usr/lib/python2.6/site-packages/boto/s3/lifecycle.pyR¨s N( RRRRRRRRR(((s5/usr/lib/python2.6/site-packages/boto/s3/lifecycle.pyR„s     t LifecyclecBsAeZdZd„Zd„Zd„Zdddddd„ZRS(sN A container for the rules associated with a Lifecycle configuration. cCs,|djotƒ}|i|ƒ|SdS(NR(RtappendR(R RRRtrule((s5/usr/lib/python2.6/site-packages/boto/s3/lifecycle.pyR·s    cCst|||ƒdS(N(R(R RRR((s5/usr/lib/python2.6/site-packages/boto/s3/lifecycle.pyR¾scCs?d}|d7}x|D]}||iƒ7}qW|d7}|S(sv Returns a string containing the XML version of the Lifecycle configuration as defined by S3. s&ss(R(R RR)((s5/usr/lib/python2.6/site-packages/boto/s3/lifecycle.pyRÁs  RtEnabledcCs)t|||||ƒ}|i|ƒdS(s Add a rule to this Lifecycle configuration. This only adds the rule to the local copy. To install the new rule(s) on the bucket, you need to pass this Lifecycle config object to the configure_lifecycle method of the Bucket object. :type id: str :param id: Unique identifier for the rule. The value cannot be longer than 255 characters. This value is optional. The server will generate a unique value for the rule if no value is provided. :type prefix: str :iparam prefix: Prefix identifying one or more objects to which the rule applies. :type status: str :param status: If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is not currently being applied. :type expiration: int :param expiration: Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer. A Expiration object instance is also perfect. :type transition: Transition :param transition: Indicates when an object transitions to a different storage class. N(RR((R RRRR R R)((s5/usr/lib/python2.6/site-packages/boto/s3/lifecycle.pytadd_ruleÍsN(RRRRRRRR+(((s5/usr/lib/python2.6/site-packages/boto/s3/lifecycle.pyR'²s    N(t boto.compatRtobjectRR RtlistR'(((s5/usr/lib/python2.6/site-packages/boto/s3/lifecycle.pytsF&.