You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::AppSync::Types::FunctionConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb

Overview

A function is a reusable entity. Multiple functions can be used to compose the resolver logic.

Instance Attribute Summary collapse

Instance Attribute Details

#data_source_nameString

The name of the DataSource.

Returns:

  • (String)


1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1080

class FunctionConfiguration < Struct.new(
  :function_id,
  :function_arn,
  :name,
  :description,
  :data_source_name,
  :request_mapping_template,
  :response_mapping_template,
  :function_version)
  include Aws::Structure
end

#descriptionString

The Function description.

Returns:

  • (String)


1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1080

class FunctionConfiguration < Struct.new(
  :function_id,
  :function_arn,
  :name,
  :description,
  :data_source_name,
  :request_mapping_template,
  :response_mapping_template,
  :function_version)
  include Aws::Structure
end

#function_arnString

The ARN of the Function object.

Returns:

  • (String)


1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1080

class FunctionConfiguration < Struct.new(
  :function_id,
  :function_arn,
  :name,
  :description,
  :data_source_name,
  :request_mapping_template,
  :response_mapping_template,
  :function_version)
  include Aws::Structure
end

#function_idString

A unique ID representing the Function object.

Returns:

  • (String)


1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1080

class FunctionConfiguration < Struct.new(
  :function_id,
  :function_arn,
  :name,
  :description,
  :data_source_name,
  :request_mapping_template,
  :response_mapping_template,
  :function_version)
  include Aws::Structure
end

#function_versionString

The version of the request mapping template. Currently only the 2018-05-29 version of the template is supported.

Returns:

  • (String)


1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1080

class FunctionConfiguration < Struct.new(
  :function_id,
  :function_arn,
  :name,
  :description,
  :data_source_name,
  :request_mapping_template,
  :response_mapping_template,
  :function_version)
  include Aws::Structure
end

#nameString

The name of the Function object.

Returns:

  • (String)


1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1080

class FunctionConfiguration < Struct.new(
  :function_id,
  :function_arn,
  :name,
  :description,
  :data_source_name,
  :request_mapping_template,
  :response_mapping_template,
  :function_version)
  include Aws::Structure
end

#request_mapping_templateString

The Function request mapping template. Functions support only the 2018-05-29 version of the request mapping template.

Returns:

  • (String)


1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1080

class FunctionConfiguration < Struct.new(
  :function_id,
  :function_arn,
  :name,
  :description,
  :data_source_name,
  :request_mapping_template,
  :response_mapping_template,
  :function_version)
  include Aws::Structure
end

#response_mapping_templateString

The Function response mapping template.

Returns:

  • (String)


1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1080

class FunctionConfiguration < Struct.new(
  :function_id,
  :function_arn,
  :name,
  :description,
  :data_source_name,
  :request_mapping_template,
  :response_mapping_template,
  :function_version)
  include Aws::Structure
end