public Map<ShapeId, EventStreamInfo> inputEventStreamOperations() {
        Map<ShapeId, EventStreamInfo> result = new TreeMap<>();
        EventStreamIndex index = EventStreamIndex.of(model());
        for (OperationShape operation : operations()) {
            index.getInputInfo(operation).ifPresent(i -> result.put(operation.getId(), i));
        }
        return result;
    }
Get a map of operations that use an event stream in their input.

@return Returns a map of operation shape IDs to their event stream information.
@see EventStreamIndex
smithy-codegen-core/src/main/java/software/amazon/smithy/codegen/core/directed/GenerateServiceDirective.java