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
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_idString

The API ID.

Returns:

  • (String)


3474
3475
3476
3477
3478
3479
3480
3481
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3474

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

#definitionString

The new definition.

Returns:

  • (String)


3474
3475
3476
3477
3478
3479
3480
3481
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3474

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

#formatString

The new type format: SDL or JSON.

Returns:

  • (String)


3474
3475
3476
3477
3478
3479
3480
3481
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3474

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

#type_nameString

The new type name.

Returns:

  • (String)


3474
3475
3476
3477
3478
3479
3480
3481
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3474

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