aws appsync update-resolver
Updates a Resolver object
Options
Name | Description |
---|---|
--api-id <string> | The API ID |
--type-name <string> | The new type name |
--field-name <string> | The new field name |
--data-source-name <string> | The new data source name |
--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 a Lambda data source. For all other data sources, VTL request and response mapping templates are required |
--response-mapping-template <string> | The new response mapping template |
--kind <string> | 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 |
--pipeline-config <structure> | The PipelineConfig |
--sync-config <structure> | The SyncConfig for a resolver attached to a versioned datasource |
--caching-config <structure> | The caching configuration for the resolver |
--cli-input-json <string> | Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally |
--generate-cli-skeleton <string> | Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value ``input``, prints a sample input JSON that can be used as an argument for ``--cli-input-json``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command |