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)


1405
1406
1407
1408
1409
1410
1411
1412
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1405

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

#definitionString

The type definition.

Returns:

  • (String)


1405
1406
1407
1408
1409
1410
1411
1412
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1405

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

#descriptionString

The type description.

Returns:

  • (String)


1405
1406
1407
1408
1409
1410
1411
1412
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1405

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

#formatString

The type format: SDL or JSON.

Returns:

  • (String)


1405
1406
1407
1408
1409
1410
1411
1412
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1405

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

#nameString

The type name.

Returns:

  • (String)


1405
1406
1407
1408
1409
1410
1411
1412
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1405

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