def _prev_index(self, s):
        self.set_index(max(0, self.index - 1))
def delete_snapshot(self, snapshot_id):
        """Delete Snapshot."""
        return self.delete("snapshots/%s" % str(snapshot_id))