ó ĦôXc@s:ddlmZddlmZdefd„ƒYZdS(i˙˙˙˙(t EC2Request(tArgt CopyImagec BsıeZdZedddddddedd ƒed d dd dd deddƒeddddddƒeddddddddƒeddddddddƒgZd„ZRS(sjCopy an image from another region Run this command against the destination region, not the source region.s-rs--source-regiontdestt SourceRegiontmetavartREGIONtrequiredthelps4name of the region to copy the image from (required)s-ss--source-ami-idt SourceImageIdtIMAGEs"ID of the image to copy (required)s-ns--nametNames(name to assign the new copy of the images-ds --descriptiont DescriptiontDESCs/description to assign the new copy of the images-cs--client-tokent ClientTokentTOKENs/unique identifier to ensure request idempotencycCs!|jd|jdƒfƒGHdS(NR timageId(ttabifytget(tselftresult((sD/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/copyimage.pyt print_result.s(t__name__t __module__t DESCRIPTIONRtTruetARGSR(((sD/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/copyimage.pyRs N(teuca2ools.commands.ec2RtrequestbuilderRR(((sD/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/copyimage.pyts