Class: Aws::AppSync::Types::CreateTypeRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_idString

The API ID.

Returns:

  • (String)


1648
1649
1650
1651
1652
1653
1654
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1648

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

#definitionString

The type definition, in GraphQL Schema Definition Language (SDL) format.

For more information, see the GraphQL SDL documentation.

Returns:

  • (String)


1648
1649
1650
1651
1652
1653
1654
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1648

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

#formatString

The type format: SDL or JSON.

Returns:

  • (String)


1648
1649
1650
1651
1652
1653
1654
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1648

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