pub fn check_bucket_name(bucket_name: &str, strict: bool) -> Result<(), Error>