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

Class: Aws::AppSync::Types::UpdateResolverRequest

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

Overview

Note:

When passing UpdateResolverRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  api_id: "String", # required
  type_name: "ResourceName", # required
  field_name: "ResourceName", # required
  data_source_name: "ResourceName",
  request_mapping_template: "MappingTemplate", # required
  response_mapping_template: "MappingTemplate",
  kind: "UNIT", # accepts UNIT, PIPELINE
  pipeline_config: {
    functions: ["String"],
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#api_idString

The API ID.

Returns:

  • (String)

    The API ID.

#data_source_nameString

The new data source name.

Returns:

  • (String)

    The new data source name.

#field_nameString

The new field name.

Returns:

  • (String)

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

Returns:

  • (String)

    The new request mapping template.

#response_mapping_templateString

The new response mapping template.

Returns:

  • (String)

    The new response mapping template.

#type_nameString

The new type name.

Returns:

  • (String)

    The new type name.