ó ¡ôXc@sVddlmZddlmZmZmZddlmZdefd„ƒYZdS(iÿÿÿÿ(t EC2Request(tArgtFiltertGenericTagFilter(t ArgumentErrortDescribeSnapshotscBsveZdZedddddddƒedd d d d 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„Z d3„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 accountst descriptionssnapshot descriptions owner-aliasssnapshot owner's account aliassowner-idssnapshot owner's account IDtprogresss snapshot progress, in percentages snapshot-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 IDs volume-sizettypet snapshotSetttagSetcCshtj|ƒ|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 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__t DESCRIPTIONRtNonetARGSRRtinttFILTERSt 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.pyts