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.

Describes a resolver.

Inheritance Hierarchy

System.Object
  Amazon.AppSync.Model.Resolver

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

Syntax

C#
public class Resolver

The Resolver type exposes the following members

Constructors

NameDescription
Public Method Resolver()

Properties

NameTypeDescription
Public Property CachingConfig Amazon.AppSync.Model.CachingConfig

Gets and sets the property CachingConfig.

The caching configuration for the resolver.

Public Property Code System.String

Gets and sets the property Code.

The resolver code that contains the request and response functions. When code is used, the runtime is required. The runtime value must be APPSYNC_JS.

Public Property DataSourceName System.String

Gets and sets the property DataSourceName.

The resolver data source name.

Public Property FieldName System.String

Gets and sets the property FieldName.

The resolver field name.

Public Property Kind Amazon.AppSync.ResolverKind

Gets and sets the property Kind.

The resolver type.

  • UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.

  • PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.

Public Property MaxBatchSize System.Int32

Gets and sets the property MaxBatchSize.

The maximum batching size for a resolver.

Public Property MetricsConfig Amazon.AppSync.ResolverLevelMetricsConfig

Gets and sets the property MetricsConfig.

Enables or disables enhanced resolver metrics for specified resolvers. Note that metricsConfig won't be used unless the resolverLevelMetricsBehavior value is set to PER_RESOLVER_METRICS. If the resolverLevelMetricsBehavior is set to FULL_REQUEST_RESOLVER_METRICS instead, metricsConfig will be ignored. However, you can still set its value.

metricsConfig can be ENABLED or DISABLED.

Public Property PipelineConfig Amazon.AppSync.Model.PipelineConfig

Gets and sets the property PipelineConfig.

The PipelineConfig.

Public Property RequestMappingTemplate System.String

Gets and sets the property RequestMappingTemplate.

The request mapping template.

Public Property ResolverArn System.String

Gets and sets the property ResolverArn.

The resolver Amazon Resource Name (ARN).

Public Property ResponseMappingTemplate System.String

Gets and sets the property ResponseMappingTemplate.

The response mapping template.

Public Property Runtime Amazon.AppSync.Model.AppSyncRuntime

Gets and sets the property Runtime.

Public Property SyncConfig Amazon.AppSync.Model.SyncConfig

Gets and sets the property SyncConfig.

The SyncConfig for a resolver attached to a versioned data source.

Public Property TypeName System.String

Gets and sets the property TypeName.

The resolver type name.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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