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)


2685
2686
2687
2688
2689
2690
2691
2692
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2685

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

#definitionString

The type definition.

Returns:

  • (String)


2685
2686
2687
2688
2689
2690
2691
2692
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2685

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

#descriptionString

The type description.

Returns:

  • (String)


2685
2686
2687
2688
2689
2690
2691
2692
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2685

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

#formatString

The type format: SDL or JSON.

Returns:

  • (String)


2685
2686
2687
2688
2689
2690
2691
2692
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2685

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

#nameString

The type name.

Returns:

  • (String)


2685
2686
2687
2688
2689
2690
2691
2692
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 2685

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