private Map<String, Pattern> getHostLabelPatterns(Model model, OperationShape operation) {
        Map<String, Pattern> result = new HashMap<>();
        for (MemberShape member : OperationIndex.of(model).expectInputShape(operation).getAllMembers().values()) {
            if (member.hasTrait(HostLabelTrait.ID) && member.hasTrait(PatternTrait.ID)) {
                result.put(member.getMemberName(), member.expectTrait(PatternTrait.class).getPattern());
            }
        }
        return result;
    }
Validates that no two URIs in a service conflict with each other.
smithy-model/src/main/java/software/amazon/smithy/model/validation/validators/HttpUriConflictValidator.java