Bucket name shouldn't contain protocol
Only set region when it is not nil
Missing )