ó ¡ôXc@sJddlmZddlmZddlmZdefd„ƒYZdS(iÿÿÿÿ(tArg(tec2_block_device_mapping(t EC2Requestt CreateImagecBs¿eZdZedddddƒedddd d edd ƒed d ddddddƒedddddddddƒedddddddddedgddƒgZd „ZRS(!s:Create an EBS image from a running or stopped EBS instancet InstanceIdtmetavartINSTANCEthelps2instance from which to create the image (required)s-ns--nametdesttNametrequireds!name for the new image (required)s-ds --descriptiont DescriptiontDESCsdescription for the new images --no-reboottNoReboottactiont store_consttconstttruesido not shut down the instance before creating the image. Image integrity may be affected.s-bs--block-device-mappings DEVICE=MAPPEDtBlockDeviceMappingtappendttypetdefaultsßdefine a block device mapping for the image, in the form DEVICE=MAPPED, where "MAPPED" is "none", "ephemeral(0-3)", or "[SNAP_ID]:[GiB]:[true|false]:[standard|VOLTYPE[:IOPS]]"cCs!|jd|jdƒfƒGHdS(NtIMAGEtimageId(ttabifytget(tselftresult((sF/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/createimage.pyt print_result3s(t__name__t __module__t DESCRIPTIONRtTrueRtARGSR(((sF/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/createimage.pyR s   N(trequestbuilderRteuca2ools.commands.argtypesRteuca2ools.commands.ec2RR(((sF/usr/lib/python2.7/site-packages/euca2ools/commands/ec2/createimage.pyts