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

Class: Aws::AppSync::Types::UpdateResolverRequest

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 UpdateResolverRequest data as a hash:

{
  api_id: "String", # required
  type_name: "ResourceName", # required
  field_name: "ResourceName", # required
  data_source_name: "ResourceName", # required
  request_mapping_template: "MappingTemplate", # required
  response_mapping_template: "MappingTemplate",
}

Instance Attribute Summary collapse

Instance Attribute Details

#api_idString

The API ID.

Returns:

  • (String)


1433
1434
1435
1436
1437
1438
1439
1440
1441
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1433

class UpdateResolverRequest < Struct.new(
  :api_id,
  :type_name,
  :field_name,
  :data_source_name,
  :request_mapping_template,
  :response_mapping_template)
  include Aws::Structure
end

#data_source_nameString

The new data source name.

Returns:

  • (String)


1433
1434
1435
1436
1437
1438
1439
1440
1441
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1433

class UpdateResolverRequest < Struct.new(
  :api_id,
  :type_name,
  :field_name,
  :data_source_name,
  :request_mapping_template,
  :response_mapping_template)
  include Aws::Structure
end

#field_nameString

The new field name.

Returns:

  • (String)


1433
1434
1435
1436
1437
1438
1439
1440
1441
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1433

class UpdateResolverRequest < Struct.new(
  :api_id,
  :type_name,
  :field_name,
  :data_source_name,
  :request_mapping_template,
  :response_mapping_template)
  include Aws::Structure
end

#request_mapping_templateString

The new request mapping template.

Returns:

  • (String)


1433
1434
1435
1436
1437
1438
1439
1440
1441
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1433

class UpdateResolverRequest < Struct.new(
  :api_id,
  :type_name,
  :field_name,
  :data_source_name,
  :request_mapping_template,
  :response_mapping_template)
  include Aws::Structure
end

#response_mapping_templateString

The new response mapping template.

Returns:

  • (String)


1433
1434
1435
1436
1437
1438
1439
1440
1441
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1433

class UpdateResolverRequest < Struct.new(
  :api_id,
  :type_name,
  :field_name,
  :data_source_name,
  :request_mapping_template,
  :response_mapping_template)
  include Aws::Structure
end

#type_nameString

The new type name.

Returns:

  • (String)


1433
1434
1435
1436
1437
1438
1439
1440
1441
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1433

class UpdateResolverRequest < Struct.new(
  :api_id,
  :type_name,
  :field_name,
  :data_source_name,
  :request_mapping_template,
  :response_mapping_template)
  include Aws::Structure
end