libZSservicesZSamazonka-appsyncZSamazonka-appsync
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AppSync.Types.Resolver

Description

 
Synopsis

Documentation

data Resolver Source #

Describes a resolver.

See: newResolver smart constructor.

Constructors

Resolver' 

Fields

Instances

Instances details
Eq Resolver Source # 
Instance details

Defined in Amazonka.AppSync.Types.Resolver

Read Resolver Source # 
Instance details

Defined in Amazonka.AppSync.Types.Resolver

Show Resolver Source # 
Instance details

Defined in Amazonka.AppSync.Types.Resolver

Generic Resolver Source # 
Instance details

Defined in Amazonka.AppSync.Types.Resolver

Associated Types

type Rep Resolver :: Type -> Type #

Methods

from :: Resolver -> Rep Resolver x #

to :: Rep Resolver x -> Resolver #

NFData Resolver Source # 
Instance details

Defined in Amazonka.AppSync.Types.Resolver

Methods

rnf :: Resolver -> () #

Hashable Resolver Source # 
Instance details

Defined in Amazonka.AppSync.Types.Resolver

Methods

hashWithSalt :: Int -> Resolver -> Int #

hash :: Resolver -> Int #

FromJSON Resolver Source # 
Instance details

Defined in Amazonka.AppSync.Types.Resolver

type Rep Resolver Source # 
Instance details

Defined in Amazonka.AppSync.Types.Resolver

newResolver :: Resolver Source #

Create a value of Resolver with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:typeName:Resolver', resolver_typeName - The resolver type name.

$sel:dataSourceName:Resolver', resolver_dataSourceName - The resolver data source name.

$sel:requestMappingTemplate:Resolver', resolver_requestMappingTemplate - The request mapping template.

$sel:kind:Resolver', resolver_kind - The resolver type.

  • UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. A UNIT resolver enables you to execute a GraphQL query against a single data source.
  • PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you to execute a series of Function in a serial manner. You can use a pipeline resolver to execute a GraphQL query against multiple data sources.

$sel:resolverArn:Resolver', resolver_resolverArn - The resolver ARN.

$sel:cachingConfig:Resolver', resolver_cachingConfig - The caching configuration for the resolver.

$sel:responseMappingTemplate:Resolver', resolver_responseMappingTemplate - The response mapping template.

$sel:fieldName:Resolver', resolver_fieldName - The resolver field name.

$sel:syncConfig:Resolver', resolver_syncConfig - The SyncConfig for a resolver attached to a versioned datasource.

$sel:pipelineConfig:Resolver', resolver_pipelineConfig - The PipelineConfig.

resolver_typeName :: Lens' Resolver (Maybe Text) Source #

The resolver type name.

resolver_dataSourceName :: Lens' Resolver (Maybe Text) Source #

The resolver data source name.

resolver_requestMappingTemplate :: Lens' Resolver (Maybe Text) Source #

The request mapping template.

resolver_kind :: Lens' Resolver (Maybe ResolverKind) Source #

The resolver type.

  • UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. A UNIT resolver enables you to execute a GraphQL query against a single data source.
  • PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you to execute a series of Function in a serial manner. You can use a pipeline resolver to execute a GraphQL query against multiple data sources.

resolver_cachingConfig :: Lens' Resolver (Maybe CachingConfig) Source #

The caching configuration for the resolver.

resolver_responseMappingTemplate :: Lens' Resolver (Maybe Text) Source #

The response mapping template.

resolver_fieldName :: Lens' Resolver (Maybe Text) Source #

The resolver field name.

resolver_syncConfig :: Lens' Resolver (Maybe SyncConfig) Source #

The SyncConfig for a resolver attached to a versioned datasource.