code: @Override
    public void deleteSnapshots(Pattern pattern) throws IOException {
      for (SnapshotDescription snapshotDescription : listSnapshots(pattern)) {
        deleteSnapshot(snapshotDescription.getName());
      }
    }
docs: {@inheritDoc}
  
  The snapshots will be deleted serially and the first failure will prevent the deletion of the
  remaining snapshots.