refactor
indent
pass bucket name from js
pass objectKey and contentType
refactor
rename