Class: Aws::AppSync::Types::UpdateResolverRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppSync::Types::UpdateResolverRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-appsync/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#api_id ⇒ String
The API ID.
-
#caching_config ⇒ Types::CachingConfig
The caching configuration for the resolver.
-
#code ⇒ String
The ‘resolver` code that contains the request and response functions.
-
#data_source_name ⇒ String
The new data source name.
-
#field_name ⇒ String
The new field name.
-
#kind ⇒ String
The resolver type.
-
#max_batch_size ⇒ Integer
The maximum batching size for a resolver.
-
#metrics_config ⇒ String
Enables or disables enhanced resolver metrics for specified resolvers.
-
#pipeline_config ⇒ Types::PipelineConfig
The ‘PipelineConfig`.
-
#request_mapping_template ⇒ String
The new request mapping template.
-
#response_mapping_template ⇒ String
The new response mapping template.
-
#runtime ⇒ Types::AppSyncRuntime
Describes a runtime used by an Amazon Web Services AppSync pipeline resolver or Amazon Web Services AppSync function.
-
#sync_config ⇒ Types::SyncConfig
The ‘SyncConfig` for a resolver attached to a versioned data source.
-
#type_name ⇒ String
The new type name.
Instance Attribute Details
#api_id ⇒ String
The API ID.
4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 |
# File 'lib/aws-sdk-appsync/types.rb', line 4938 class UpdateResolverRequest < Struct.new( :api_id, :type_name, :field_name, :data_source_name, :request_mapping_template, :response_mapping_template, :kind, :pipeline_config, :sync_config, :caching_config, :max_batch_size, :runtime, :code, :metrics_config) SENSITIVE = [] include Aws::Structure end |
#caching_config ⇒ Types::CachingConfig
The caching configuration for the resolver.
4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 |
# File 'lib/aws-sdk-appsync/types.rb', line 4938 class UpdateResolverRequest < Struct.new( :api_id, :type_name, :field_name, :data_source_name, :request_mapping_template, :response_mapping_template, :kind, :pipeline_config, :sync_config, :caching_config, :max_batch_size, :runtime, :code, :metrics_config) SENSITIVE = [] include Aws::Structure end |
#code ⇒ String
The ‘resolver` code that contains the request and response functions. When code is used, the `runtime` is required. The `runtime` value must be `APPSYNC_JS`.
4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 |
# File 'lib/aws-sdk-appsync/types.rb', line 4938 class UpdateResolverRequest < Struct.new( :api_id, :type_name, :field_name, :data_source_name, :request_mapping_template, :response_mapping_template, :kind, :pipeline_config, :sync_config, :caching_config, :max_batch_size, :runtime, :code, :metrics_config) SENSITIVE = [] include Aws::Structure end |
#data_source_name ⇒ String
The new data source name.
4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 |
# File 'lib/aws-sdk-appsync/types.rb', line 4938 class UpdateResolverRequest < Struct.new( :api_id, :type_name, :field_name, :data_source_name, :request_mapping_template, :response_mapping_template, :kind, :pipeline_config, :sync_config, :caching_config, :max_batch_size, :runtime, :code, :metrics_config) SENSITIVE = [] include Aws::Structure end |
#field_name ⇒ String
The new field name.
4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 |
# File 'lib/aws-sdk-appsync/types.rb', line 4938 class UpdateResolverRequest < Struct.new( :api_id, :type_name, :field_name, :data_source_name, :request_mapping_template, :response_mapping_template, :kind, :pipeline_config, :sync_config, :caching_config, :max_batch_size, :runtime, :code, :metrics_config) SENSITIVE = [] include Aws::Structure end |
#kind ⇒ String
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.
4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 |
# File 'lib/aws-sdk-appsync/types.rb', line 4938 class UpdateResolverRequest < Struct.new( :api_id, :type_name, :field_name, :data_source_name, :request_mapping_template, :response_mapping_template, :kind, :pipeline_config, :sync_config, :caching_config, :max_batch_size, :runtime, :code, :metrics_config) SENSITIVE = [] include Aws::Structure end |
#max_batch_size ⇒ Integer
The maximum batching size for a resolver.
4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 |
# File 'lib/aws-sdk-appsync/types.rb', line 4938 class UpdateResolverRequest < Struct.new( :api_id, :type_name, :field_name, :data_source_name, :request_mapping_template, :response_mapping_template, :kind, :pipeline_config, :sync_config, :caching_config, :max_batch_size, :runtime, :code, :metrics_config) SENSITIVE = [] include Aws::Structure end |
#metrics_config ⇒ String
Enables or disables enhanced resolver metrics for specified resolvers. Note that ‘metricsConfig` won’t be used unless the ‘resolverLevelMetricsBehavior` value is set to `PER_RESOLVER_METRICS`. If the `resolverLevelMetricsBehavior` is set to `FULL_REQUEST_RESOLVER_METRICS` instead, `metricsConfig` will be ignored. However, you can still set its value.
‘metricsConfig` can be `ENABLED` or `DISABLED`.
4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 |
# File 'lib/aws-sdk-appsync/types.rb', line 4938 class UpdateResolverRequest < Struct.new( :api_id, :type_name, :field_name, :data_source_name, :request_mapping_template, :response_mapping_template, :kind, :pipeline_config, :sync_config, :caching_config, :max_batch_size, :runtime, :code, :metrics_config) SENSITIVE = [] include Aws::Structure end |
#pipeline_config ⇒ Types::PipelineConfig
The ‘PipelineConfig`.
4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 |
# File 'lib/aws-sdk-appsync/types.rb', line 4938 class UpdateResolverRequest < Struct.new( :api_id, :type_name, :field_name, :data_source_name, :request_mapping_template, :response_mapping_template, :kind, :pipeline_config, :sync_config, :caching_config, :max_batch_size, :runtime, :code, :metrics_config) SENSITIVE = [] include Aws::Structure end |
#request_mapping_template ⇒ String
The new request mapping template.
A resolver uses a request mapping template to convert a GraphQL expression into a format that a data source can understand. Mapping templates are written in Apache Velocity Template Language (VTL).
VTL request mapping templates are optional when using an Lambda data source. For all other data sources, VTL request and response mapping templates are required.
4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 |
# File 'lib/aws-sdk-appsync/types.rb', line 4938 class UpdateResolverRequest < Struct.new( :api_id, :type_name, :field_name, :data_source_name, :request_mapping_template, :response_mapping_template, :kind, :pipeline_config, :sync_config, :caching_config, :max_batch_size, :runtime, :code, :metrics_config) SENSITIVE = [] include Aws::Structure end |
#response_mapping_template ⇒ String
The new response mapping template.
4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 |
# File 'lib/aws-sdk-appsync/types.rb', line 4938 class UpdateResolverRequest < Struct.new( :api_id, :type_name, :field_name, :data_source_name, :request_mapping_template, :response_mapping_template, :kind, :pipeline_config, :sync_config, :caching_config, :max_batch_size, :runtime, :code, :metrics_config) SENSITIVE = [] include Aws::Structure end |
#runtime ⇒ Types::AppSyncRuntime
Describes a runtime used by an Amazon Web Services AppSync pipeline resolver or Amazon Web Services AppSync function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 |
# File 'lib/aws-sdk-appsync/types.rb', line 4938 class UpdateResolverRequest < Struct.new( :api_id, :type_name, :field_name, :data_source_name, :request_mapping_template, :response_mapping_template, :kind, :pipeline_config, :sync_config, :caching_config, :max_batch_size, :runtime, :code, :metrics_config) SENSITIVE = [] include Aws::Structure end |
#sync_config ⇒ Types::SyncConfig
The ‘SyncConfig` for a resolver attached to a versioned data source.
4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 |
# File 'lib/aws-sdk-appsync/types.rb', line 4938 class UpdateResolverRequest < Struct.new( :api_id, :type_name, :field_name, :data_source_name, :request_mapping_template, :response_mapping_template, :kind, :pipeline_config, :sync_config, :caching_config, :max_batch_size, :runtime, :code, :metrics_config) SENSITIVE = [] include Aws::Structure end |
#type_name ⇒ String
The new type name.
4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 |
# File 'lib/aws-sdk-appsync/types.rb', line 4938 class UpdateResolverRequest < Struct.new( :api_id, :type_name, :field_name, :data_source_name, :request_mapping_template, :response_mapping_template, :kind, :pipeline_config, :sync_config, :caching_config, :max_batch_size, :runtime, :code, :metrics_config) SENSITIVE = [] include Aws::Structure end |