revert to deprecated methods as with aws