Class: Aws::AppSync::Types::FunctionConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppSync::Types::FunctionConfiguration
- Defined in:
- gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb
Overview
A function is a reusable entity. You can use multiple functions to compose the resolver logic.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#data_source_name ⇒ String
The name of the
DataSource
. -
#description ⇒ String
The
Function
description. -
#function_arn ⇒ String
The Amazon Resource Name (ARN) of the
Function
object. -
#function_id ⇒ String
A unique ID representing the
Function
object. -
#function_version ⇒ String
The version of the request mapping template.
-
#max_batch_size ⇒ Integer
The maximum batching size for a resolver.
-
#name ⇒ String
The name of the
Function
object. -
#request_mapping_template ⇒ String
The
Function
request mapping template. -
#response_mapping_template ⇒ String
The
Function
response mapping template. -
#sync_config ⇒ Types::SyncConfig
Describes a Sync configuration for a resolver.
Instance Attribute Details
#data_source_name ⇒ String
The name of the DataSource
.
1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1802 class FunctionConfiguration < Struct.new( :function_id, :function_arn, :name, :description, :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.
1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1802 class FunctionConfiguration < Struct.new( :function_id, :function_arn, :name, :description, :data_source_name, :request_mapping_template, :response_mapping_template, :function_version, :sync_config, :max_batch_size) SENSITIVE = [] include Aws::Structure end |
#function_arn ⇒ String
The Amazon Resource Name (ARN) of the Function
object.
1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1802 class FunctionConfiguration < Struct.new( :function_id, :function_arn, :name, :description, :data_source_name, :request_mapping_template, :response_mapping_template, :function_version, :sync_config, :max_batch_size) SENSITIVE = [] include Aws::Structure end |
#function_id ⇒ String
A unique ID representing the Function
object.
1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1802 class FunctionConfiguration < Struct.new( :function_id, :function_arn, :name, :description, :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, only the 2018-05-29 version of the template is supported.
1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1802 class FunctionConfiguration < Struct.new( :function_id, :function_arn, :name, :description, :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.
1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1802 class FunctionConfiguration < Struct.new( :function_id, :function_arn, :name, :description, :data_source_name, :request_mapping_template, :response_mapping_template, :function_version, :sync_config, :max_batch_size) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the Function
object.
1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1802 class FunctionConfiguration < Struct.new( :function_id, :function_arn, :name, :description, :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.
1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1802 class FunctionConfiguration < Struct.new( :function_id, :function_arn, :name, :description, :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
response mapping template.
1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1802 class FunctionConfiguration < Struct.new( :function_id, :function_arn, :name, :description, :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.
1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1802 class FunctionConfiguration < Struct.new( :function_id, :function_arn, :name, :description, :data_source_name, :request_mapping_template, :response_mapping_template, :function_version, :sync_config, :max_batch_size) SENSITIVE = [] include Aws::Structure end |