docs: public static String getBucketName(URI uri)
      {
          if (uri.getHost() != null) {
              return uri.getHost();
          }
  
          if (uri.getUserInfo() == null) {
              return uri.getAuthority();
          }
  
          throw new IllegalArgumentException("Unable to determine S3 bucket from URI.");
      }