AWS AppSync
API Reference (API Version 2017-07-25)

Resolver

Describes a resolver.

Contents

dataSourceName

The resolver data source name.

Type: String

Pattern: [_A-Za-z][_0-9A-Za-z]*

Required: No

fieldName

The resolver field name.

Type: String

Pattern: [_A-Za-z][_0-9A-Za-z]*

Required: No

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.

Type: String

Valid Values: UNIT | PIPELINE

Required: No

pipelineConfig

The PipelineConfig.

Type: PipelineConfig object

Required: No

requestMappingTemplate

The request mapping template.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 65536.

Required: No

resolverArn

The resolver ARN.

Type: String

Required: No

responseMappingTemplate

The response mapping template.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 65536.

Required: No

typeName

The resolver type name.

Type: String

Pattern: [_A-Za-z][_0-9A-Za-z]*

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: