@Override
    public EvaluateCodeResult evaluateCode(EvaluateCodeRequest request) {
        request = beforeClientExecution(request);
        return executeEvaluateCode(request);
    }
<p>
Evaluates the given code and returns the response. The code definition requirements depend on the specified
runtime. For <code>APPSYNC_JS</code> runtimes, the code defines the request and response functions. The request
function takes the incoming request after a GraphQL operation is parsed and converts it into a request
configuration for the selected data source operation. The response function interprets responses from the data
source and maps it to the shape of the GraphQL field output type.
</p>

@param evaluateCodeRequest
@return Result of the EvaluateCode operation returned by the service.
@throws AccessDeniedException
        You don't have access to perform this operation on this resource.
@throws InternalFailureException
        An internal AppSync error occurred. Try your request again.
@throws BadRequestException
        The request is not well formed. For example, a value is invalid or a required field is missing. Check the
        field values, and then try again.
@sample AWSAppSync.EvaluateCode
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EvaluateCode" target="_top">AWS API
     Documentation</a>
aws-java-sdk-appsync/src/main/java/com/amazonaws/services/appsync/AWSAppSyncClient.java