Use of airshaft

Are there any building codes, health regulations, or other ways of regulating use of an airshaft between two buildings?  The co-op in which I live shares an airshaft with a building that has decided to use the airshaft for garbage storage.