AWS S3 implementation in 100% Xquery for MarkLogic