docs: URI resolveServiceEndpoint(String bucketName) {
  
          if (getSignerRegion() != null || isSignerOverridden()) return endpoint;
  
          final String regionStr = fetchRegionFromCache(bucketName);
          final com.amazonaws.regions.Region region = RegionUtils.getRegion(regionStr);
  
          if (region == null) {
              log.warn("Region information for "
                      + regionStr
                      + " is not available. Please upgrade to latest version of AWS Java SDK");
          }
  
          return region != null
                  ? RuntimeHttpUtils.toUri(region.getServiceEndpoint(S3_SERVICE_NAME), clientConfiguration)
                  : endpoint;
      }