public static String readUtf8Url(URL url) {
        try (InputStream is = url.openStream()) {
            return toUtf8String(is);
        } catch (IOException e) {
            throw new UncheckedIOException(e);
        }
    }
Reads a URL resource into a UTF-8 string.

@param url URL to load from.
@return Returns the loaded resource.
@throws UncheckedIOException if the resource cannot be loaded.
smithy-utils/src/main/java/software/amazon/smithy/utils/IoUtils.java