ó ĦôXc@s@ddlmZmZddlmZdefd„ƒYZdS(i˙˙˙˙(tArgtMutuallyExclusiveArgList(t EC2RequesttDescribeSnapshotAttributecBs’eZdZedddddƒeedddd d d d d ddƒedddd d d d dddƒƒjƒgZd dgZd„ZRS(s1Show information about an attribute of a snapshott SnapshotIdtmetavartSNAPSHOTthelpssnapshot to describes-cs--create-volume-permissiontdestt Attributetactiont store_consttconsttcreateVolumePermissions0display who can create volumes from the snapshots-ps--product-codest productCodesslist associated product codescCsÛ|jdƒ}xQ|jdgƒD]=}x4|jƒD]&\}}|jd|||fƒGHq5Wq"Wxq|jdgƒD]]}d|krŞdj|d|jdƒƒ}n|jdƒ}|jd|d|fƒGHqvWdS(Nt snapshotIdR Rttypes [{0}: {1}]t productCode(tgettitemsttabifytformat(tselftresultt snapshot_idtpermt entity_typet entity_nametcodetcode_str((sT/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describesnapshotattribute.pyt print_result,s   ( t__name__t __module__t DESCRIPTIONRRtrequiredtARGSt LIST_TAGSR(((sT/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describesnapshotattribute.pyRs   N(trequestbuilderRRteuca2ools.commands.ec2RR(((sT/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/describesnapshotattribute.pyts