@Test
public void canParseEndpointUrlToRegion() {

    assertEquals("eu-west-1", optionsParser.parseEndpointToRegion(ENDPOINT_URL));
    assertEquals("eu-central-2", optionsParser.parseEndpointToRegion("eu-central-2"));
}