public List<HttpBinding> getResponseBindings(ToShapeId shapeOrId, HttpBinding.Location bindingLocation) {
        ShapeId id = shapeOrId.toShapeId();
        return responseBindings.getOrDefault(id, Collections.emptyList())
                .stream()
                .filter(binding -> binding.getLocation() == bindingLocation)
                .collect(Collectors.toList());
    }
Gets the computed HTTP message response bindings for an operation
or structure with an error trait for a specific binding type.

@param shapeOrId Operation or error structure shape or ID.
@param bindingLocation Binding location type.
@return List of found bindings.
@throws IllegalArgumentException if the given shape is not an operation
 or error structure.
smithy-model/src/main/java/software/amazon/smithy/model/knowledge/HttpBindingIndex.java