import * as core from "@terrascript/core"; export interface LambdaConflictHandlerConfigArgs extends core.SchemaArgs { lambdaConflictHandlerArn?: string | core.StringOut; } export declare class LambdaConflictHandlerConfig extends core.Schema { lambdaConflictHandlerArn?: string | core.StringOut; } export interface SyncConfigArgs extends core.SchemaArgs { conflictDetection?: string | core.StringOut; conflictHandler?: string | core.StringOut; lambdaConflictHandlerConfig?: LambdaConflictHandlerConfig; } export declare class SyncConfig extends core.Schema { conflictDetection?: string | core.StringOut; conflictHandler?: string | core.StringOut; lambdaConflictHandlerConfig?: LambdaConflictHandlerConfig; } export interface PipelineConfigArgs extends core.SchemaArgs { functions?: core.Array | core.ArrayOut; } export declare class PipelineConfig extends core.Schema { functions?: core.Array | core.ArrayOut; } export interface CachingConfigArgs extends core.SchemaArgs { cachingKeys?: core.Array | core.ArrayOut; ttl?: number | core.NumberOut; } export declare class CachingConfig extends core.Schema { cachingKeys?: core.Array | core.ArrayOut; ttl?: number | core.NumberOut; } export interface ResolverArgs extends core.ResourceArgs { /** * (Required) The API ID for the GraphQL API. */ apiId: string | core.StringOut; /** * (Optional) The CachingConfig. */ cachingConfig?: CachingConfig; /** * (Optional) The data source name. */ dataSource?: string | core.StringOut; /** * (Required) The field name from the schema defined in the GraphQL API. */ field: string | core.StringOut; kind?: string | core.StringOut; /** * (Optional) The maximum batching size for a resolver. Valid values are between `0` and `2000`. */ maxBatchSize?: number | core.NumberOut; /** * (Optional) The PipelineConfig. */ pipelineConfig?: PipelineConfig; /** * (Optional) The request mapping template for UNIT resolver or 'before mapping template' for PIPELINE * resolver. Required for non-Lambda resolvers. */ requestTemplate?: string | core.StringOut; /** * (Optional) The response mapping template for UNIT resolver or 'after mapping template' for PIPELINE * resolver. Required for non-Lambda resolvers. */ responseTemplate?: string | core.StringOut; /** * (Optional) Describes a Sync configuration for a resolver. See [Sync Config](#sync-config). */ syncConfig?: SyncConfig; /** * (Required) The type name from the schema defined in the GraphQL API. */ type: string | core.StringOut; } export declare class Resolver extends core.Resource { /** * (Required) The API ID for the GraphQL API. */ apiId: string | core.StringOut; /** * The ARN */ arn: string | core.StringOut; /** * (Optional) The CachingConfig. */ cachingConfig?: CachingConfig; /** * (Optional) The data source name. */ dataSource?: string | core.StringOut; /** * (Required) The field name from the schema defined in the GraphQL API. */ field: string | core.StringOut; id: string | core.StringOut; kind?: string | core.StringOut; /** * (Optional) The maximum batching size for a resolver. Valid values are between `0` and `2000`. */ maxBatchSize?: number | core.NumberOut; /** * (Optional) The PipelineConfig. */ pipelineConfig?: PipelineConfig; /** * (Optional) The request mapping template for UNIT resolver or 'before mapping template' for PIPELINE * resolver. Required for non-Lambda resolvers. */ requestTemplate?: string | core.StringOut; /** * (Optional) The response mapping template for UNIT resolver or 'after mapping template' for PIPELINE * resolver. Required for non-Lambda resolvers. */ responseTemplate?: string | core.StringOut; /** * (Optional) Describes a Sync configuration for a resolver. See [Sync Config](#sync-config). */ syncConfig?: SyncConfig; /** * (Required) The type name from the schema defined in the GraphQL API. */ type: string | core.StringOut; constructor(name: string, args?: ResolverArgs); getNamespace(): string; } //# sourceMappingURL=resolver.d.ts.map