@Override
    protected Type typecheckValue(Scope<Type> scope) {
        return context("while typechecking the endpoint", endpoint, () -> endpoint.typeCheck(scope));
    }
Retrieves the resolved endpoint description.

@return the endpoint.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/language/syntax/rule/EndpointRule.java