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

UpdateResolverRequest

import type { UpdateResolverRequest } from "https://aws-api.deno.dev/v0.3/services/appsync.ts?docs=full";
interface UpdateResolverRequest {
apiId: string;
cachingConfig?: CachingConfig | null;
dataSourceName?: string | null;
fieldName: string;
kind?: ResolverKind | null;
maxBatchSize?: number | null;
pipelineConfig?: PipelineConfig | null;
requestMappingTemplate?: string | null;
responseMappingTemplate?: string | null;
syncConfig?: SyncConfig | null;
typeName: string;
}

§Properties

§
apiId: string
[src]

The API ID.

§
cachingConfig?: CachingConfig | null
[src]

The caching configuration for the resolver.

§
dataSourceName?: string | null
[src]

The new data source name.

§
fieldName: string
[src]

The new 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 new request mapping template.

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?: string | null
[src]

The new response mapping template.

§
syncConfig?: SyncConfig | null
[src]

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

§
typeName: string
[src]

The new type name.