public Map<String, HttpBinding> getResponseBindings(ToShapeId shapeOrId) {
        ShapeId id = shapeOrId.toShapeId();
        return responseBindings.getOrDefault(id, Collections.emptyList())
                .stream()
                .collect(Collectors.toMap(HttpBinding::getMemberName, Function.identity()));
    }
Gets the computed HTTP message response bindings for an operation
or structure with an error trait.

@param shapeOrId Operation or error structure shape or ID.
@return Map of unmodifiable bindings.
smithy-model/src/main/java/software/amazon/smithy/model/knowledge/HttpBindingIndex.java