static String urlFor(String endpoint) {
        if (endpoint.startsWith("http")) {
            return endpoint;
        }
        return "https://" + endpoint;
    }
@Test
    public void urlFor() {
        assertEquals("https://some-endpoint", AwsRequestUtils.urlFor("some-endpoint"));
        assertEquals("https://some-endpoint", AwsRequestUtils.urlFor("https://some-endpoint"));
        assertEquals("http://some-endpoint", AwsRequestUtils.urlFor("http://some-endpoint"));
    }