Error: Call to undefined function Aws\boolean_value() using S3

This is an option to access bucket if you decided to use access points, in that case you specify an ARN instead of the bucket name. The ARN contains the region and that setting says to use that region instead of the one in the region field.
Seems out of scope to me.