Class: Aws::AppSync::Types::UpdateFunctionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppSync::Types::UpdateFunctionRequest
- Defined in:
- gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb
Overview
When making an API call, you may pass UpdateFunctionRequest data as a hash:
{
api_id: "String", # required
name: "ResourceName", # required
description: "String",
function_id: "ResourceName", # required
data_source_name: "ResourceName", # required
request_mapping_template: "MappingTemplate",
response_mapping_template: "MappingTemplate",
function_version: "String", # required
sync_config: {
conflict_handler: "OPTIMISTIC_CONCURRENCY", # accepts OPTIMISTIC_CONCURRENCY, LAMBDA, AUTOMERGE, NONE
conflict_detection: "VERSION", # accepts VERSION, NONE
lambda_conflict_handler_config: {
lambda_conflict_handler_arn: "String",
},
},
max_batch_size: 1,
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#api_id ⇒ String
The GraphQL API ID.
-
#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. -
#sync_config ⇒ Types::SyncConfig
Describes a Sync configuration for a resolver.
Instance Attribute Details
#api_id ⇒ String
The GraphQL API ID.
3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3794 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) SENSITIVE = [] include Aws::Structure end |
#data_source_name ⇒ String
The Function
DataSource
name.
3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3794 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) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
The Function
description.
3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3794 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) SENSITIVE = [] include Aws::Structure end |
#function_id ⇒ String
The function ID.
3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3794 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) SENSITIVE = [] include Aws::Structure end |
#function_version ⇒ String
The version
of the request mapping template. Currently, the
supported value is 2018-05-29.
3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3794 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) SENSITIVE = [] include Aws::Structure end |
#max_batch_size ⇒ Integer
The maximum batching size for a resolver.
3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3794 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) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The Function
name.
3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3794 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) 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.
3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3794 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) SENSITIVE = [] include Aws::Structure end |
#response_mapping_template ⇒ String
The Function
request mapping template.
3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3794 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) 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.
3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3794 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) SENSITIVE = [] include Aws::Structure end |