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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


1330
1331
1332
1333
1334
1335
1336
# File 'lib/aws-sdk-appsync/types.rb', line 1330

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].

[1]: graphql.org/learn/schema/

Returns:

  • (String)


1330
1331
1332
1333
1334
1335
1336
# File 'lib/aws-sdk-appsync/types.rb', line 1330

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

#formatString

The type format: SDL or JSON.

Returns:

  • (String)


1330
1331
1332
1333
1334
1335
1336
# File 'lib/aws-sdk-appsync/types.rb', line 1330

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