AWS SDK Version 3 for .NET
API Reference

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 EvaluateMappingTemplate operation. Evaluates a given template and returns the response. The mapping template can be a request or response template.

Request templates take the incoming request after a GraphQL operation is parsed and convert it into a request configuration for the selected data source operation. Response templates interpret responses from the data source and map it to the shape of the GraphQL field output type.

Mapping templates are written in the Apache Velocity Template Language (VTL).

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.AppSync.AmazonAppSyncRequest
      Amazon.AppSync.Model.EvaluateMappingTemplateRequest

Namespace: Amazon.AppSync.Model
Assembly: AWSSDK.AppSync.dll
Version: 3.x.y.z

Syntax

C#
public class EvaluateMappingTemplateRequest : AmazonAppSyncRequest
         IAmazonWebServiceRequest

The EvaluateMappingTemplateRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property Context System.String

Gets and sets the property Context.

The map that holds all of the contextual information for your resolver invocation. A context is required for this action.

Public Property Template System.String

Gets and sets the property Template.

The mapping template; this can be a request or response template. A template is required for this action.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5