public static ServiceIndex of(Model model) {
        return model.getKnowledge(ServiceIndex.class, ServiceIndex::new);
    }
An index that resolves service protocols and auth schemes.

<p>This index can be used to get all of the protocol traits applied to
a service, to get all of the auth defining traits applied to a service,
to get the effective authentication schemes of a service, and to get the
effective authentication schemes of an operation bound within the
closure of a service.
smithy-model/src/main/java/software/amazon/smithy/model/knowledge/ServiceIndex.java