EvaluateCodeRequest
¶
Source code in docs_src/capo_appsync/types/evaluate_code_request.py
code
instance-attribute
¶
code: Code
The code definition to be evaluated. Note that code and runtime are both required for this action. The runtime value must be APPSYNC_JS.
context
instance-attribute
¶
context: Context
The map that holds all of the contextual information for your resolver invocation. A context is required for this action.
function
instance-attribute
¶
function: NotRequired[String]
The function within the code to be evaluated. If provided, the valid values are request and response.
runtime
instance-attribute
¶
runtime: AppSyncRuntime
The runtime to be used when evaluating the code. Currently, only the APPSYNC_JS runtime is supported.