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

Class: Aws::AppSync::Types::UpdateFunctionRequest

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

Overview

Note:

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", # required
  response_mapping_template: "MappingTemplate",
  function_version: "String", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#api_idString

The GraphQL API ID.

Returns:

  • (String)


2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2514

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

#data_source_nameString

The Function DataSource name.

Returns:

  • (String)


2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2514

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

#descriptionString

The Function description.

Returns:

  • (String)


2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2514

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

#function_idString

The function ID.

Returns:

  • (String)


2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2514

class UpdateFunctionRequest < Struct.new(
  :api_id,
  :name,
  :description,
  :function_id,
  :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 the supported value is 2018-05-29.

Returns:

  • (String)


2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2514

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

#nameString

The Function name.

Returns:

  • (String)


2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2514

class UpdateFunctionRequest < Struct.new(
  :api_id,
  :name,
  :description,
  :function_id,
  :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)


2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2514

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

#response_mapping_templateString

The Function request mapping template.

Returns:

  • (String)


2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2514

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