how to delete all snapshots corresponding to an AMI using boto
<p>I'm trying to delete the all snapshots corresponding to an AMI. I've tried the below command. With the following command I'm able to delete only one volume. In Boto delete_snapshot set to True we can delete EBS volume mounted at /dev/sda1. is there any way to delete all volumes for an AMI? </p>

<pre><code>&gt;&gt;&gt; conn.deregister_image('ami-xxxx', delete_snapshot=True, dry_run=False)
True
</code></pre>

<p>After ran the command one snapshot deleted, but one more snapshot still showing up. How can I delete all snapshots for ami-xxxx ?</p>