Skip to content

CreateTypeRequest

Source code in docs_src/capo_appsync/types/create_type_request.py
class CreateTypeRequest(TypedDict, closed=True):
    api_id: "capo_appsync.types.string.String"
    """<p>The API ID.</p>"""
    definition: "capo_appsync.types.string.String"
    """<p>The type definition, in GraphQL Schema Definition Language (SDL) format.</p> <p>For more information, see the <a href="http://graphql.org/learn/schema/">GraphQL SDL documentation</a>.</p>"""
    format: "capo_appsync.types.type_definition_format.TypeDefinitionFormat"
    """<p>The type format: SDL or JSON.</p>"""

api_id instance-attribute

api_id: String

The API ID.

definition instance-attribute

definition: String

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

For more information, see the GraphQL SDL documentation.

format instance-attribute

The type format: SDL or JSON.