Viewing File: /usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describesnapshots.pyo

ó
¡ôXc@sVddlmZddlmZmZmZddlmZdefd„ƒYZdS(iÿÿÿÿ(t
EC2Request(tArgtFiltertGenericTagFilter(t
ArgumentErrortDescribeSnapshotscBsveZdZedddddddƒedd	d
ddd5dd
ƒeddddddd
ddgddƒeddddd
ddddgddƒgZedddƒedddƒedddƒed dd!ƒed"ƒed#dd$ƒed%ƒed&dd'ƒed(dd)ƒed*dd+ƒed,dd-ƒed.d/eƒgZ	d0d1gZ
d2„Zd3„Zd4„Z
RS(6sŸShow information about snapshots

By default, only snapshots your account owns and snapshots for which your account has explicit restore permissions are shown.t
SnapshotIdtnargst*tmetavartSNAPSHOTthelps#limit results to specific snapshotss-as--alltactiont
store_truetroute_tosdescribe all snapshotss-os--ownertdesttOwnertACCOUNTtappendtdefaults5limit results to snapshots owned by specific accountss-rs--restorable-bytRestorableBysJlimit results to
                snapahots restorable by specific accountstdescriptionssnapshot descriptionsowner-aliasssnapshot owner's account aliassowner-idssnapshot owner's account IDtprogresss snapshot progress, in percentagessnapshot-ids
start-timessnapshot initiation timetstatusstag-keys%key of a tag assigned to the snapshots	tag-values'value of a tag assigned to the snapshotstag:KEYs"specific tag key/value combinations	volume-idssource volume IDsvolume-sizettypetsnapshotSetttagSetcCshtj|ƒ|jjdƒrd|jjdƒr@tdƒ‚n|jjdƒrdtdƒ‚qdndS(NtallRs7argument -a/--all: not allowed with argument -o/--ownerRs?argument -a/--all: not allowed with argument -r/--restorable-by(Rt	configuretargstgetR(tself((sL/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describesnapshots.pyR>s
cs t‡fd†dDƒƒs’dgˆjd<ˆjƒ}ˆjd=dgˆjd<ˆjƒ}ˆjd=|jdgƒ|jdgƒ|d<|SˆjƒSdS(	Nc3s!|]}ˆjj|ƒVqdS(N(RR(t.0titem(R(sL/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describesnapshots.pys	<genexpr>IsRRRRRR(sallRsOwnersRestorableBy(tanytparamstsendR(Rtownedt
restorable((RsL/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describesnapshots.pytmainHs


cCs.x'|jdgƒD]}|j|ƒqWdS(NR(Rtprint_snapshot(Rtresulttsnapshot((sL/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describesnapshots.pytprint_resultXsN(t__name__t
__module__tDESCRIPTIONRtNonetARGSRRtinttFILTERSt	LIST_TAGSRR'R+(((sL/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describesnapshots.pyRs:					
	N(	teuca2ools.commands.ec2RtrequestbuilderRRRtrequestbuilder.exceptionsRR(((sL/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describesnapshots.pyt<module>s
Back to Directory File Manager