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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb

Overview

Describes a resolver.

Instance Attribute Summary collapse

Instance Attribute Details

#data_source_nameString

The resolver data source name.

Returns:

  • (String)


2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2153

class Resolver < Struct.new(
  :type_name,
  :field_name,
  :data_source_name,
  :resolver_arn,
  :request_mapping_template,
  :response_mapping_template,
  :kind,
  :pipeline_config)
  include Aws::Structure
end

#field_nameString

The resolver field name.

Returns:

  • (String)


2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2153

class Resolver < Struct.new(
  :type_name,
  :field_name,
  :data_source_name,
  :resolver_arn,
  :request_mapping_template,
  :response_mapping_template,
  :kind,
  :pipeline_config)
  include Aws::Structure
end

#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.

Returns:

  • (String)


2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2153

class Resolver < Struct.new(
  :type_name,
  :field_name,
  :data_source_name,
  :resolver_arn,
  :request_mapping_template,
  :response_mapping_template,
  :kind,
  :pipeline_config)
  include Aws::Structure
end

#pipeline_configTypes::PipelineConfig

The PipelineConfig.



2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2153

class Resolver < Struct.new(
  :type_name,
  :field_name,
  :data_source_name,
  :resolver_arn,
  :request_mapping_template,
  :response_mapping_template,
  :kind,
  :pipeline_config)
  include Aws::Structure
end

#request_mapping_templateString

The request mapping template.

Returns:

  • (String)


2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2153

class Resolver < Struct.new(
  :type_name,
  :field_name,
  :data_source_name,
  :resolver_arn,
  :request_mapping_template,
  :response_mapping_template,
  :kind,
  :pipeline_config)
  include Aws::Structure
end

#resolver_arnString

The resolver ARN.

Returns:

  • (String)


2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2153

class Resolver < Struct.new(
  :type_name,
  :field_name,
  :data_source_name,
  :resolver_arn,
  :request_mapping_template,
  :response_mapping_template,
  :kind,
  :pipeline_config)
  include Aws::Structure
end

#response_mapping_templateString

The response mapping template.

Returns:

  • (String)


2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2153

class Resolver < Struct.new(
  :type_name,
  :field_name,
  :data_source_name,
  :resolver_arn,
  :request_mapping_template,
  :response_mapping_template,
  :kind,
  :pipeline_config)
  include Aws::Structure
end

#type_nameString

The resolver type name.

Returns:

  • (String)


2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2153

class Resolver < Struct.new(
  :type_name,
  :field_name,
  :data_source_name,
  :resolver_arn,
  :request_mapping_template,
  :response_mapping_template,
  :kind,
  :pipeline_config)
  include Aws::Structure
end