It seems we must delete a snapshot only after the corresponding ami is released.
{
"Error": "Ec2.Ec2Exception",
"Cause": "The snapshot snap-0xxxxxxxxxxxx is currently in use by ami-xxxxxxxxxxxx (Service: Ec2, Status Code: 400, Request ID: 25aa2) (SDK Attempt Count: 1)"
}
