Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Resolver

import type { Resolver } from "https://aws-api.deno.dev/v0.3/services/appsync.ts?docs=full";

Describes a resolver.

interface Resolver {
cachingConfig?: CachingConfig | null;
dataSourceName?: string | null;
fieldName?: string | null;
kind?: ResolverKind | null;
maxBatchSize?: number | null;
pipelineConfig?: PipelineConfig | null;
requestMappingTemplate?: string | null;
resolverArn?: string | null;
responseMappingTemplate?: string | null;
syncConfig?: SyncConfig | null;
typeName?: string | null;
}

§Properties

§
cachingConfig?: CachingConfig | null
[src]

The caching configuration for the resolver.

§
dataSourceName?: string | null
[src]

The resolver data source name.

§
fieldName?: string | null
[src]

The resolver field name.

§
kind?: ResolverKind | null
[src]

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.
§
maxBatchSize?: number | null
[src]

The maximum batching size for a resolver.

§
pipelineConfig?: PipelineConfig | null
[src]

The PipelineConfig.

§
requestMappingTemplate?: string | null
[src]

The request mapping template.

§
resolverArn?: string | null
[src]

The resolver Amazon Resource Name (ARN).

§
responseMappingTemplate?: string | null
[src]

The response mapping template.

§
syncConfig?: SyncConfig | null
[src]

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

§
typeName?: string | null
[src]

The resolver type name.