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

Class: Aws::AppSync::Types::Type

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

Overview

Describes a type.

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The type ARN.

Returns:

  • (String)


1205
1206
1207
1208
1209
1210
1211
1212
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1205

class Type < Struct.new(
  :name,
  :description,
  :arn,
  :definition,
  :format)
  include Aws::Structure
end

#definitionString

The type definition.

Returns:

  • (String)


1205
1206
1207
1208
1209
1210
1211
1212
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1205

class Type < Struct.new(
  :name,
  :description,
  :arn,
  :definition,
  :format)
  include Aws::Structure
end

#descriptionString

The type description.

Returns:

  • (String)


1205
1206
1207
1208
1209
1210
1211
1212
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1205

class Type < Struct.new(
  :name,
  :description,
  :arn,
  :definition,
  :format)
  include Aws::Structure
end

#formatString

The type format: SDL or JSON.

Returns:

  • (String)


1205
1206
1207
1208
1209
1210
1211
1212
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1205

class Type < Struct.new(
  :name,
  :description,
  :arn,
  :definition,
  :format)
  include Aws::Structure
end

#nameString

The type name.

Returns:

  • (String)


1205
1206
1207
1208
1209
1210
1211
1212
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1205

class Type < Struct.new(
  :name,
  :description,
  :arn,
  :definition,
  :format)
  include Aws::Structure
end