like in original `to_bucket_name/2` , just `Type` is a bit more comprehensive than ObjectKind  to me.