Class: Aws::AppSync::Types::UpdateFunctionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppSync::Types::UpdateFunctionRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-appsync/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#api_id ⇒ String
The GraphQL API ID.
-
#code ⇒ String
The ‘function` code that contains the request and response functions.
-
#data_source_name ⇒ String
The ‘Function` `DataSource` name.
-
#description ⇒ String
The ‘Function` description.
-
#function_id ⇒ String
The function ID.
-
#function_version ⇒ String
The ‘version` of the request mapping template.
-
#max_batch_size ⇒ Integer
The maximum batching size for a resolver.
-
#name ⇒ String
The ‘Function` name.
-
#request_mapping_template ⇒ String
The ‘Function` request mapping template.
-
#response_mapping_template ⇒ String
The ‘Function` request 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
Describes a Sync configuration for a resolver.
Instance Attribute Details
#api_id ⇒ String
The GraphQL API ID.
4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 |
# File 'lib/aws-sdk-appsync/types.rb', line 4694 class UpdateFunctionRequest < Struct.new( :api_id, :name, :description, :function_id, :data_source_name, :request_mapping_template, :response_mapping_template, :function_version, :sync_config, :max_batch_size, :runtime, :code) SENSITIVE = [] include Aws::Structure end |
#code ⇒ String
The ‘function` code that contains the request and response functions. When code is used, the `runtime` is required. The `runtime` value must be `APPSYNC_JS`.
4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 |
# File 'lib/aws-sdk-appsync/types.rb', line 4694 class UpdateFunctionRequest < Struct.new( :api_id, :name, :description, :function_id, :data_source_name, :request_mapping_template, :response_mapping_template, :function_version, :sync_config, :max_batch_size, :runtime, :code) SENSITIVE = [] include Aws::Structure end |
#data_source_name ⇒ String
The ‘Function` `DataSource` name.
4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 |
# File 'lib/aws-sdk-appsync/types.rb', line 4694 class UpdateFunctionRequest < Struct.new( :api_id, :name, :description, :function_id, :data_source_name, :request_mapping_template, :response_mapping_template, :function_version, :sync_config, :max_batch_size, :runtime, :code) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
The ‘Function` description.
4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 |
# File 'lib/aws-sdk-appsync/types.rb', line 4694 class UpdateFunctionRequest < Struct.new( :api_id, :name, :description, :function_id, :data_source_name, :request_mapping_template, :response_mapping_template, :function_version, :sync_config, :max_batch_size, :runtime, :code) SENSITIVE = [] include Aws::Structure end |
#function_id ⇒ String
The function ID.
4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 |
# File 'lib/aws-sdk-appsync/types.rb', line 4694 class UpdateFunctionRequest < Struct.new( :api_id, :name, :description, :function_id, :data_source_name, :request_mapping_template, :response_mapping_template, :function_version, :sync_config, :max_batch_size, :runtime, :code) SENSITIVE = [] include Aws::Structure end |
#function_version ⇒ String
The ‘version` of the request mapping template. Currently, the supported value is 2018-05-29. Note that when using VTL and mapping templates, the `functionVersion` is required.
4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 |
# File 'lib/aws-sdk-appsync/types.rb', line 4694 class UpdateFunctionRequest < Struct.new( :api_id, :name, :description, :function_id, :data_source_name, :request_mapping_template, :response_mapping_template, :function_version, :sync_config, :max_batch_size, :runtime, :code) SENSITIVE = [] include Aws::Structure end |
#max_batch_size ⇒ Integer
The maximum batching size for a resolver.
4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 |
# File 'lib/aws-sdk-appsync/types.rb', line 4694 class UpdateFunctionRequest < Struct.new( :api_id, :name, :description, :function_id, :data_source_name, :request_mapping_template, :response_mapping_template, :function_version, :sync_config, :max_batch_size, :runtime, :code) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The ‘Function` name.
4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 |
# File 'lib/aws-sdk-appsync/types.rb', line 4694 class UpdateFunctionRequest < Struct.new( :api_id, :name, :description, :function_id, :data_source_name, :request_mapping_template, :response_mapping_template, :function_version, :sync_config, :max_batch_size, :runtime, :code) SENSITIVE = [] include Aws::Structure end |
#request_mapping_template ⇒ String
The ‘Function` request mapping template. Functions support only the 2018-05-29 version of the request mapping template.
4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 |
# File 'lib/aws-sdk-appsync/types.rb', line 4694 class UpdateFunctionRequest < Struct.new( :api_id, :name, :description, :function_id, :data_source_name, :request_mapping_template, :response_mapping_template, :function_version, :sync_config, :max_batch_size, :runtime, :code) SENSITIVE = [] include Aws::Structure end |
#response_mapping_template ⇒ String
The ‘Function` request mapping template.
4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 |
# File 'lib/aws-sdk-appsync/types.rb', line 4694 class UpdateFunctionRequest < Struct.new( :api_id, :name, :description, :function_id, :data_source_name, :request_mapping_template, :response_mapping_template, :function_version, :sync_config, :max_batch_size, :runtime, :code) 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.
4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 |
# File 'lib/aws-sdk-appsync/types.rb', line 4694 class UpdateFunctionRequest < Struct.new( :api_id, :name, :description, :function_id, :data_source_name, :request_mapping_template, :response_mapping_template, :function_version, :sync_config, :max_batch_size, :runtime, :code) SENSITIVE = [] include Aws::Structure end |
#sync_config ⇒ Types::SyncConfig
Describes a Sync configuration for a resolver.
Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.
4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 |
# File 'lib/aws-sdk-appsync/types.rb', line 4694 class UpdateFunctionRequest < Struct.new( :api_id, :name, :description, :function_id, :data_source_name, :request_mapping_template, :response_mapping_template, :function_version, :sync_config, :max_batch_size, :runtime, :code) SENSITIVE = [] include Aws::Structure end |