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.



2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2678

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)
  SENSITIVE = []
  include Aws::Structure
end

#data_source_nameString

The resolver data source name.

Returns:

  • (String)


2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2678

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)
  SENSITIVE = []
  include Aws::Structure
end

#field_nameString

The resolver field name.

Returns:

  • (String)


2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2678

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)
  SENSITIVE = []
  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)


2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2678

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)
  SENSITIVE = []
  include Aws::Structure
end

#pipeline_configTypes::PipelineConfig

The PipelineConfig.



2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2678

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)
  SENSITIVE = []
  include Aws::Structure
end

#request_mapping_templateString

The request mapping template.

Returns:

  • (String)


2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2678

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)
  SENSITIVE = []
  include Aws::Structure
end

#resolver_arnString

The resolver ARN.

Returns:

  • (String)


2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2678

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)
  SENSITIVE = []
  include Aws::Structure
end

#response_mapping_templateString

The response mapping template.

Returns:

  • (String)


2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2678

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)
  SENSITIVE = []
  include Aws::Structure
end

#sync_configTypes::SyncConfig

The SyncConfig for a resolver attached to a versioned datasource.

Returns:



2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2678

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)
  SENSITIVE = []
  include Aws::Structure
end

#type_nameString

The resolver type name.

Returns:

  • (String)


2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2678

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)
  SENSITIVE = []
  include Aws::Structure
end