Update configuration.rst to fix s3 example typo

Fix to typos in s3 configuration example in documentation
(missing return keyword and missing comma)