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.
Namespace: Amazon.AppSync.Model
Assembly: AWSSDK.AppSync.dll
Version: 3.x.y.z
public class CreateResolverRequest : AmazonAppSyncRequest IAmazonWebServiceRequest
The CreateResolverRequest type exposes the following members
Name | Description | |
---|---|---|
CreateResolverRequest() |
Name | Type | Description | |
---|---|---|---|
ApiId | System.String |
Gets and sets the property ApiId. The ID for the GraphQL API for which the resolver is being created. |
|
CachingConfig | Amazon.AppSync.Model.CachingConfig |
Gets and sets the property CachingConfig. The caching configuration for the resolver. |
|
Code | System.String |
Gets and sets the property Code.
The |
|
DataSourceName | System.String |
Gets and sets the property DataSourceName. The name of the data source for which the resolver is being created. |
|
FieldName | System.String |
Gets and sets the property FieldName. The name of the field to attach the resolver to. |
|
Kind | Amazon.AppSync.ResolverKind |
Gets and sets the property Kind. The resolver type.
|
|
MaxBatchSize | System.Int32 |
Gets and sets the property MaxBatchSize. The maximum batching size for a resolver. |
|
MetricsConfig | Amazon.AppSync.ResolverLevelMetricsConfig |
Gets and sets the property MetricsConfig.
Enables or disables enhanced resolver metrics for specified resolvers. Note that
|
|
PipelineConfig | Amazon.AppSync.Model.PipelineConfig |
Gets and sets the property PipelineConfig.
The |
|
RequestMappingTemplate | System.String |
Gets and sets the property RequestMappingTemplate. The mapping template to use 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). VTL request mapping templates are optional when using an Lambda data source. For all other data sources, VTL request and response mapping templates are required. |
|
ResponseMappingTemplate | System.String |
Gets and sets the property ResponseMappingTemplate. The mapping template to use for responses from the data source. |
|
Runtime | Amazon.AppSync.Model.AppSyncRuntime |
Gets and sets the property Runtime. |
|
SyncConfig | Amazon.AppSync.Model.SyncConfig |
Gets and sets the property SyncConfig.
The |
|
TypeName | System.String |
Gets and sets the property TypeName.
The name of the |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5