You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::AppSync::Types::UpdateResolverRequestWhen passing UpdateResolverRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
api_id: "String", type_name: "ResourceName", field_name: "ResourceName", data_source_name: "ResourceName",
request_mapping_template: "MappingTemplate",
response_mapping_template: "MappingTemplate",
kind: "UNIT", pipeline_config: {
functions: ["String"],
},
sync_config: {
conflict_handler: "OPTIMISTIC_CONCURRENCY", conflict_detection: "VERSION", lambda_conflict_handler_config: {
lambda_conflict_handler_arn: "String",
},
},
caching_config: {
ttl: 1,
caching_keys: ["String"],
},
}
Instance Attribute Summary collapse
The API ID.
The caching configuration for the resolver.
The new data source name.
The new field name.
The resolver type.
The PipelineConfig
.
The new request mapping template.
The new response mapping template.
The SyncConfig
for a resolver attached to a versioned datasource.
The new type name.
The new data source name.
#kind ⇒ StringThe 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:
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 a Lambda data source. For all other data sources, VTL request and response mapping templates are required.
#response_mapping_template ⇒ StringThe new response mapping template.
#sync_config ⇒ Types::SyncConfigThe SyncConfig
for a resolver attached to a versioned datasource.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4