You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::AppSync::Types::CreateTypeRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppSync::Types::CreateTypeRequest
- Defined in:
- (unknown)
Overview
Note:
When passing CreateTypeRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
api_id: "String", # required
definition: "String", # required
format: "SDL", # required, accepts SDL, JSON
}
Instance Attribute Summary collapse
-
#api_id ⇒ String
The API ID.
-
#definition ⇒ String
The type definition, in GraphQL Schema Definition Language (SDL) format.
-
#format ⇒ String
The type format: SDL or JSON.
Instance Attribute Details
#api_id ⇒ String
The API ID.
#definition ⇒ String
The type definition, in GraphQL Schema Definition Language (SDL) format.
For more information, see the GraphQL SDL documentation.
#format ⇒ String
The type format: SDL or JSON.
Possible values:
- SDL
- JSON