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

Class: Aws::AppSync::Types::UpdateTypeRequest

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

{
  api_id: "String", # required
  type_name: "ResourceName", # required
  definition: "String",
  format: "SDL", # required, accepts SDL, JSON
}

Instance Attribute Summary collapse

Instance Attribute Details

#api_idString

The API ID.

Returns:

  • (String)


1482
1483
1484
1485
1486
1487
1488
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1482

class UpdateTypeRequest < Struct.new(
  :api_id,
  :type_name,
  :definition,
  :format)
  include Aws::Structure
end

#definitionString

The new definition.

Returns:

  • (String)


1482
1483
1484
1485
1486
1487
1488
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1482

class UpdateTypeRequest < Struct.new(
  :api_id,
  :type_name,
  :definition,
  :format)
  include Aws::Structure
end

#formatString

The new type format: SDL or JSON.

Returns:

  • (String)


1482
1483
1484
1485
1486
1487
1488
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1482

class UpdateTypeRequest < Struct.new(
  :api_id,
  :type_name,
  :definition,
  :format)
  include Aws::Structure
end

#type_nameString

The new type name.

Returns:

  • (String)


1482
1483
1484
1485
1486
1487
1488
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1482

class UpdateTypeRequest < Struct.new(
  :api_id,
  :type_name,
  :definition,
  :format)
  include Aws::Structure
end