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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#caching_configTypes::CachingConfig

The caching configuration for the resolver.



3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3191

class Resolver < Struct.new(
  :type_name,
  :field_name,
  :data_source_name,
  :resolver_arn,
  :request_mapping_template,
  :response_mapping_template,
  :kind,
  :pipeline_config,
  :sync_config,
  :caching_config,
  :max_batch_size)
  SENSITIVE = []
  include Aws::Structure
end

#data_source_nameString

The resolver data source name.

Returns:

  • (String)


3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3191

class Resolver < Struct.new(
  :type_name,
  :field_name,
  :data_source_name,
  :resolver_arn,
  :request_mapping_template,
  :response_mapping_template,
  :kind,
  :pipeline_config,
  :sync_config,
  :caching_config,
  :max_batch_size)
  SENSITIVE = []
  include Aws::Structure
end

#field_nameString

The resolver field name.

Returns:

  • (String)


3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3191

class Resolver < Struct.new(
  :type_name,
  :field_name,
  :data_source_name,
  :resolver_arn,
  :request_mapping_template,
  :response_mapping_template,
  :kind,
  :pipeline_config,
  :sync_config,
  :caching_config,
  :max_batch_size)
  SENSITIVE = []
  include Aws::Structure
end

#kindString

The resolver type.

  • UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.

  • PIPELINE: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of Function objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.

Returns:

  • (String)


3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3191

class Resolver < Struct.new(
  :type_name,
  :field_name,
  :data_source_name,
  :resolver_arn,
  :request_mapping_template,
  :response_mapping_template,
  :kind,
  :pipeline_config,
  :sync_config,
  :caching_config,
  :max_batch_size)
  SENSITIVE = []
  include Aws::Structure
end

#max_batch_sizeInteger

The maximum batching size for a resolver.

Returns:

  • (Integer)


3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3191

class Resolver < Struct.new(
  :type_name,
  :field_name,
  :data_source_name,
  :resolver_arn,
  :request_mapping_template,
  :response_mapping_template,
  :kind,
  :pipeline_config,
  :sync_config,
  :caching_config,
  :max_batch_size)
  SENSITIVE = []
  include Aws::Structure
end

#pipeline_configTypes::PipelineConfig

The PipelineConfig.



3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3191

class Resolver < Struct.new(
  :type_name,
  :field_name,
  :data_source_name,
  :resolver_arn,
  :request_mapping_template,
  :response_mapping_template,
  :kind,
  :pipeline_config,
  :sync_config,
  :caching_config,
  :max_batch_size)
  SENSITIVE = []
  include Aws::Structure
end

#request_mapping_templateString

The request mapping template.

Returns:

  • (String)


3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3191

class Resolver < Struct.new(
  :type_name,
  :field_name,
  :data_source_name,
  :resolver_arn,
  :request_mapping_template,
  :response_mapping_template,
  :kind,
  :pipeline_config,
  :sync_config,
  :caching_config,
  :max_batch_size)
  SENSITIVE = []
  include Aws::Structure
end

#resolver_arnString

The resolver Amazon Resource Name (ARN).

Returns:

  • (String)


3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3191

class Resolver < Struct.new(
  :type_name,
  :field_name,
  :data_source_name,
  :resolver_arn,
  :request_mapping_template,
  :response_mapping_template,
  :kind,
  :pipeline_config,
  :sync_config,
  :caching_config,
  :max_batch_size)
  SENSITIVE = []
  include Aws::Structure
end

#response_mapping_templateString

The response mapping template.

Returns:

  • (String)


3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3191

class Resolver < Struct.new(
  :type_name,
  :field_name,
  :data_source_name,
  :resolver_arn,
  :request_mapping_template,
  :response_mapping_template,
  :kind,
  :pipeline_config,
  :sync_config,
  :caching_config,
  :max_batch_size)
  SENSITIVE = []
  include Aws::Structure
end

#sync_configTypes::SyncConfig

The SyncConfig for a resolver attached to a versioned data source.

Returns:



3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3191

class Resolver < Struct.new(
  :type_name,
  :field_name,
  :data_source_name,
  :resolver_arn,
  :request_mapping_template,
  :response_mapping_template,
  :kind,
  :pipeline_config,
  :sync_config,
  :caching_config,
  :max_batch_size)
  SENSITIVE = []
  include Aws::Structure
end

#type_nameString

The resolver type name.

Returns:

  • (String)


3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3191

class Resolver < Struct.new(
  :type_name,
  :field_name,
  :data_source_name,
  :resolver_arn,
  :request_mapping_template,
  :response_mapping_template,
  :kind,
  :pipeline_config,
  :sync_config,
  :caching_config,
  :max_batch_size)
  SENSITIVE = []
  include Aws::Structure
end