AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::AppSync::Types::Resolver

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#caching_configTypes::CachingConfig

The caching configuration for the resolver.

Returns:

#data_source_nameString

The resolver data source name.

Returns:

  • (String)

    The resolver data source name.

#field_nameString

The resolver field name.

Returns:

  • (String)

    The resolver field name.

#kindString

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.

    Possible values:

    • UNIT
    • PIPELINE

Returns:

  • (String)

    The resolver type.

#pipeline_configTypes::PipelineConfig

The PipelineConfig.

Returns:

#request_mapping_templateString

The request mapping template.

Returns:

  • (String)

    The request mapping template.

#resolver_arnString

The resolver ARN.

Returns:

  • (String)

    The resolver ARN.

#response_mapping_templateString

The response mapping template.

Returns:

  • (String)

    The response mapping template.

#sync_configTypes::SyncConfig

The SyncConfig for a resolver attached to a versioned datasource.

Returns:

  • (Types::SyncConfig)

    The SyncConfig for a resolver attached to a versioned datasource.

#type_nameString

The resolver type name.

Returns:

  • (String)

    The resolver type name.