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 CreateResolver operation. Creates a Resolver object.

A resolver converts incoming requests into a format that a data source can understand and converts the data source's responses into GraphQL.

Inheritance Hierarchy

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

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

Syntax

C#
public class CreateResolverRequest : AmazonAppSyncRequest
         IAmazonWebServiceRequest

The CreateResolverRequest type exposes the following members

Constructors

NameDescription
Public Method CreateResolverRequest()

Properties

NameTypeDescription
Public Property ApiId System.String

Gets and sets the property ApiId.

The ID for the GraphQL API for which the resolver is being created.

Public Property DataSourceName System.String

Gets and sets the property DataSourceName.

The name of the data source for which the resolver is being created.

Public Property FieldName System.String

Gets and sets the property FieldName.

The name of the field to attach the resolver to.

Public Property RequestMappingTemplate System.String

Gets and sets the property RequestMappingTemplate.

The mapping template to be used for requests.

A resolver uses a request mapping template to convert a GraphQL expression into a format that a data source can understand. Mapping templates are written in Apache Velocity Template Language (VTL).

Public Property ResponseMappingTemplate System.String

Gets and sets the property ResponseMappingTemplate.

The mapping template to be used for responses from the data source.

Public Property TypeName System.String

Gets and sets the property TypeName.

The name of the Type.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms