@Override
    public Region tryGetRegionByExplicitEndpoint(String endpoint) {
        String host = getHost(endpoint);
        return credentialScopeRegionByHost.get(host);
    }
Region metadata provider based on partitions.
aws-java-sdk-core/src/main/java/com/amazonaws/partitions/PartitionMetadataProvider.java