AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the EvaluateCode operation.
Evaluates the given code and returns the response. The code definition requirements
depend on the specified runtime. For APPSYNC_JS
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.
Namespace: Amazon.AppSync.Model
Assembly: AWSSDK.AppSync.dll
Version: 3.x.y.z
public class EvaluateCodeRequest : AmazonAppSyncRequest IAmazonWebServiceRequest
The EvaluateCodeRequest type exposes the following members
Name | Description | |
---|---|---|
EvaluateCodeRequest() |
Name | Type | Description | |
---|---|---|---|
Code | System.String |
Gets and sets the property Code.
The code definition to be evaluated. Note that |
|
Context | System.String |
Gets and sets the property Context.
The map that holds all of the contextual information for your resolver invocation.
A |
|
Function | System.String |
Gets and sets the property Function.
The function within the code to be evaluated. If provided, the valid values are |
|
Runtime | Amazon.AppSync.Model.AppSyncRuntime |
Gets and sets the property Runtime.
The runtime to be used when evaluating the code. Currently, only the |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5