Class: Aws::AppSync::Types::CreateTypeRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppSync::Types::CreateTypeRequest
- Defined in:
- gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb
Overview
Note:
When making an API call, you may pass CreateTypeRequest data as a hash:
{
api_id: "String", # required
definition: "String", # required
format: "SDL", # required, accepts SDL, JSON
}
Constant Summary collapse
- SENSITIVE =
[]
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.
1219 1220 1221 1222 1223 1224 1225 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1219 class CreateTypeRequest < Struct.new( :api_id, :definition, :format) SENSITIVE = [] include Aws::Structure end |
#definition ⇒ String
The type definition, in GraphQL Schema Definition Language (SDL) format.
For more information, see the GraphQL SDL documentation.
1219 1220 1221 1222 1223 1224 1225 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1219 class CreateTypeRequest < Struct.new( :api_id, :definition, :format) SENSITIVE = [] include Aws::Structure end |
#format ⇒ String
The type format: SDL or JSON.
1219 1220 1221 1222 1223 1224 1225 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1219 class CreateTypeRequest < Struct.new( :api_id, :definition, :format) SENSITIVE = [] include Aws::Structure end |