An AMD library for working with the ArcGIS Portal REST API.