public List<HttpBinding> getRequestBindings(ToShapeId operationShapeOrId, HttpBinding.Location requestLocation) {
        ShapeId id = operationShapeOrId.toShapeId();
        return requestBindings.getOrDefault(id, Collections.emptyList())
                .stream()
                .filter(binding -> binding.getLocation() == requestLocation)
                .collect(Collectors.toList());
    }
Gets the request bindings of an operation as a map of member name to
the binding for a specific location type.

@param operationShapeOrId Operation to get the request bindings for.
@param requestLocation Location of the binding.
@return Map of unmodifiable bindings.
smithy-model/src/main/java/software/amazon/smithy/model/knowledge/HttpBindingIndex.java