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)


1330
1331
1332
1333
1334
1335
1336
# File 'gems/aws-sdk-appsync/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.

Returns:

  • (String)


1330
1331
1332
1333
1334
1335
1336
# File 'gems/aws-sdk-appsync/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 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1330

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