public static EndpointValue endpointValue(Node source) {
        return EndpointValue.fromNode(source);
    }
Creates an {@link EndpointValue} from a node.

@param source the node to create an endpoint from.
@return returns the created EndpointValue.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/language/evaluation/value/Value.java