public static TopDownIndex of(Model model) {
        return model.getKnowledge(TopDownIndex.class, TopDownIndex::new);
    }
Provides top-down access to all resources and operations contained within a
service or resource closure.
smithy-model/src/main/java/software/amazon/smithy/model/knowledge/TopDownIndex.java