/usr/lib/python2.6/site-packages/boto/ec2
NameSizeModeActions
autoscale/-0755rm
cloudwatch/-0755rm
elb/-0755rm
address.py53480644editdlrm
address.pyc40100644editdlrm
address.pyo40100644editdlrm
attributes.py27100644editdlrm
attributes.pyc28280644editdlrm
attributes.pyo28280644editdlrm
blockdevicemapping.py63720644editdlrm
blockdevicemapping.pyc51510644editdlrm
blockdevicemapping.pyo51510644editdlrm
bundleinstance.py27540644editdlrm
bundleinstance.pyc21750644editdlrm
bundleinstance.pyo21750644editdlrm
buyreservation.py38380644editdlrm
buyreservation.pyc34050644editdlrm
buyreservation.pyo34050644editdlrm
connection.py1762210644editdlrm
connection.pyc1532690644editdlrm
connection.pyo1532690644editdlrm
ec2object.py55540644editdlrm
ec2object.pyc56830644editdlrm
ec2object.pyo56830644editdlrm
group.py15590644editdlrm
group.pyc10470644editdlrm
group.pyo10470644editdlrm
image.py162220644editdlrm
image.pyc150190644editdlrm
image.pyo150190644editdlrm
instance.py235100644editdlrm
instance.pyc256430644editdlrm
instance.pyo256430644editdlrm
instanceinfo.py18930644editdlrm
instanceinfo.pyc15510644editdlrm
instanceinfo.pyo15510644editdlrm
instancestatus.py68540644editdlrm
instancestatus.pyc82120644editdlrm
instancestatus.pyo82120644editdlrm
instancetype.py22730644editdlrm
instancetype.pyc16920644editdlrm
instancetype.pyo16920644editdlrm
keypair.py43510644editdlrm
keypair.pyc40990644editdlrm
keypair.pyo40990644editdlrm
launchspecification.py38290644editdlrm
launchspecification.pyc34690644editdlrm
launchspecification.pyo34690644editdlrm
networkinterface.py135970644editdlrm
networkinterface.pyc121110644editdlrm
networkinterface.pyo121110644editdlrm
placementgroup.py20020644editdlrm
placementgroup.pyc16600644editdlrm
placementgroup.pyo16600644editdlrm
regioninfo.py15680644editdlrm
regioninfo.pyc8450644editdlrm
regioninfo.pyo8450644editdlrm
reservedinstance.py129660644editdlrm
reservedinstance.pyc140560644editdlrm
reservedinstance.pyo140560644editdlrm
securitygroup.py146870644editdlrm
securitygroup.pyc120660644editdlrm
securitygroup.pyo120660644editdlrm
snapshot.py68520644editdlrm
snapshot.pyc63840644editdlrm
snapshot.pyo63840644editdlrm
spotdatafeedsubscription.py24340644editdlrm
spotdatafeedsubscription.pyc21420644editdlrm
spotdatafeedsubscription.pyo21420644editdlrm
spotinstancerequest.py72880644editdlrm
spotinstancerequest.pyc76480644editdlrm
spotinstancerequest.pyo76480644editdlrm
spotpricehistory.py20930644editdlrm
spotpricehistory.pyc15950644editdlrm
spotpricehistory.pyo15950644editdlrm
tag.py30760644editdlrm
tag.pyc28490644editdlrm
tag.pyo28490644editdlrm
volume.py104360644editdlrm
volume.pyc108590644editdlrm
volume.pyo108590644editdlrm
volumestatus.py63290644editdlrm
volumestatus.pyc77060644editdlrm
volumestatus.pyo77060644editdlrm
zone.py26010644editdlrm
zone.pyc25170644editdlrm
zone.pyo25170644editdlrm
__init__.py31000644editdlrm
__init__.pyc24320644editdlrm
__init__.pyo24320644editdlrm
Edit: /usr/lib/python2.6/site-packages/boto/ec2/volume.pyo (10859B)
Ñò Å-õSc@s|dZddklZddklZddklZdefd„ƒYZdefd„ƒYZ d efd „ƒYZ d S( s0 Represents an EC2 Elastic Block Storage Volume iÿÿÿÿ(t ResultSet(tTag(tTaggedEC2ObjecttVolumecBs§eZdZdd„Zd„Zd„Zd„Zd„Ze e d„Z e d„Z e d„Z e e d „Z de d „Zd „Zd „Zdde d „ZRS(s¨ Represents an EBS volume. :ivar id: The unique ID of the volume. :ivar create_time: The timestamp of when the volume was created. :ivar status: The status of the volume. :ivar size: The size (in GB) of the volume. :ivar snapshot_id: The ID of the snapshot this volume was created from, if applicable. :ivar attach_data: An AttachmentSet object. :ivar zone: The availability zone this volume is in. :ivar type: The type of volume (standard or consistent-iops) :ivar iops: If this volume is of type consistent-iops, this is the number of IOPS provisioned (10-300). :ivar encrypted: True if this volume is encrypted. cCsttt|ƒi|ƒd|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ dS(N(tsuperRt__init__tNonetidt create_timetstatustsizet snapshot_idt attach_datatzonettypetiopst encrypted(tselft connection((s3/usr/lib/python2.6/site-packages/boto/ec2/volume.pyR2s         cCs d|iS(Ns Volume:%s(R(R((s3/usr/lib/python2.6/site-packages/boto/ec2/volume.pyt__repr__?scCs†tt|ƒi|||ƒ}|dj o|S|djotƒ|_|iS|djo tdtfgƒ|_|iSdSdS(Nt attachmentSetttagSettitem( RRt startElementRt AttachmentSetR RRttags(RtnametattrsRtretval((s3/usr/lib/python2.6/site-packages/boto/ec2/volume.pyRBs    cCs'|djo ||_n |djo ||_nð|djo|djo ||_q#nÅ|djot|ƒ|_n¥|djo ||_n‹|djo ||_nq|djo ||_nW|d jot|ƒ|_n7|d jo|i ƒd j|_ nt |||ƒdS( NtvolumeIdt createTimeR tR t snapshotIdtavailabilityZonet volumeTypeRRttrue( RRR tintR R R RRtlowerRtsetattr(RRtvalueR((s3/usr/lib/python2.6/site-packages/boto/ec2/volume.pyt endElementOs(               cCs|ii|iƒdS(N(t__dict__tupdate(Rtupdated((s3/usr/lib/python2.6/site-packages/boto/ec2/volume.pyt_updatefscCs£|ii|igd|ƒ}g}|D]$}|i|ijo ||q)q)~}t|ƒdjo|i|dƒn|otd|iƒ‚n|iS(s¯ Update the data associated with this volume by querying EC2. :type validate: bool :param validate: By default, if EC2 returns no data about the volume the update method returns quietly. If the validate param is True, however, it will raise a ValueError exception if no data is returned from EC2. tdry_runis%s is not a valid Volume ID(Rtget_all_volumesRtlenR,t ValueErrorR (RtvalidateR-t unfiltered_rst_[1]txtrs((s3/usr/lib/python2.6/site-packages/boto/ec2/volume.pyR*is   8cCs|ii|id|ƒS(sc Delete this EBS volume. :rtype: bool :return: True if successful R-(Rt delete_volumeR(RR-((s3/usr/lib/python2.6/site-packages/boto/ec2/volume.pytdelete€scCs|ii|i||d|ƒS(s¤ Attach this EBS volume to an EC2 instance. :type instance_id: str :param instance_id: The ID of the EC2 instance to which it will be attached. :type device: str :param device: The device on the instance through which the volume will be exposed (e.g. /dev/sdh) :rtype: bool :return: True if successful R-(Rt attach_volumeR(Rt instance_idtdeviceR-((s3/usr/lib/python2.6/site-packages/boto/ec2/volume.pytattach‰s  cCsbd}|io|ii}nd}|io|ii}n|ii|i|||d|ƒS(sŒ Detach this EBS volume from an EC2 instance. :type force: bool :param force: Forces detachment if the previous detachment attempt did not occur cleanly. This option can lead to data loss or a corrupted file system. Use this option only as a last resort to detach a volume from a failed instance. The instance will not have an opportunity to flush file system caches nor file system meta data. If you use this option, you must perform file system check and repair procedures. :rtype: bool :return: True if successful R-N(RR R9R:Rt detach_volumeR(RtforceR-R9R:((s3/usr/lib/python2.6/site-packages/boto/ec2/volume.pytdetachŸs   cCs|ii|i|d|ƒS(s Create a snapshot of this EBS Volume. :type description: str :param description: A description of the snapshot. Limited to 256 characters. :rtype: :class:`boto.ec2.snapshot.Snapshot` :return: The created Snapshot object R-(Rtcreate_snapshotR(Rt descriptionR-((s3/usr/lib/python2.6/site-packages/boto/ec2/volume.pyR?¾s cCs|iS(sW Returns the state of the volume. Same value as the status attribute. (R (R((s3/usr/lib/python2.6/site-packages/boto/ec2/volume.pyt volume_stateÏscCs$d}|io|ii}n|S(s+ Get the attachment state. N(RR R (Rtstate((s3/usr/lib/python2.6/site-packages/boto/ec2/volume.pytattachment_stateÕs cCs`|iid|d|d|ƒ}g}x2|D]*}|i|ijo|i|ƒq.q.W|S(sý Get all snapshots related to this volume. Note that this requires that all available snapshots for the account be retrieved from EC2 first and then the list is filtered client-side to contain only those for this volume. :type owner: str :param owner: If present, only the snapshots owned by the specified user will be returned. Valid values are: * self * amazon * AWS Account ID :type restorable_by: str :param restorable_by: If present, only the snapshots that are restorable by the specified account id will be returned. :rtype: list of L{boto.ec2.snapshot.Snapshot} :return: The requested Snapshot objects townert restorable_byR-(Rtget_all_snapshotst volume_idRtappend(RRDRER-R5tminetsnap((s3/usr/lib/python2.6/site-packages/boto/ec2/volume.pyt snapshotsÞs  N(t__name__t __module__t__doc__RRRRR(R,tFalseR*R7R;R>R?RARCRK(((s3/usr/lib/python2.6/site-packages/boto/ec2/volume.pyR s      RcBs2eZdZd„Zd„Zd„Zd„ZRS(s Represents an EBS attachmentset. :ivar id: The unique ID of the volume. :ivar instance_id: The unique ID of the attached instance :ivar status: The status of the attachment :ivar attach_time: Attached since :ivar device: The device the instance has mapped cCs1d|_d|_d|_d|_d|_dS(N(RRR9R t attach_timeR:(R((s3/usr/lib/python2.6/site-packages/boto/ec2/volume.pyR s     cCs d|iS(NsAttachmentSet:%s(R(R((s3/usr/lib/python2.6/site-packages/boto/ec2/volume.pyRscCsdS(N((RRRR((s3/usr/lib/python2.6/site-packages/boto/ec2/volume.pyRscCs–|djo ||_ny|djo ||_n_|djo ||_nE|djo ||_n+|djo ||_nt|||ƒdS(NRt instanceIdR t attachTimeR:(RR9R RPR:R&(RRR'R((s3/usr/lib/python2.6/site-packages/boto/ec2/volume.pyR(s          (RLRMRNRRRR((((s3/usr/lib/python2.6/site-packages/boto/ec2/volume.pyRs     tVolumeAttributecBs&eZdd„Zd„Zd„ZRS(cCsd|_d|_h|_dS(N(RRt _key_nameR(Rtparent((s3/usr/lib/python2.6/site-packages/boto/ec2/volume.pyR(s  cCs|djo ||_ndS(Nt autoEnableIO(RTR(RRRR((s3/usr/lib/python2.6/site-packages/boto/ec2/volume.pyR-s  cCsv|djo;|iƒdjot|i|is á&