Amplify GraphQL Types Generator

JSON →
library 2.8.5 ·javascript
verified Jun 7, 2026

Generates TypeScript/JavaScript type annotations and API code from AWS AppSync GraphQL schemas and statements. Current version: 2.8.5. Part of the AWS Amplify CLI ecosystem, it parses `.graphql` files and emits typed operations (queries, mutations, subscriptions) plus TypeScript interfaces matching the schema. Compared to `graphql-codegen`, it is tightly coupled to Amplify's workflow and automatically handles AppSync-specific directives like `@model`, `@auth`, and `@connection`. Stable but slow release cadence; primarily used within `amplify push` or `amplify codegen` workflows. Requires Node >=12.0.0. Supports both JavaScript and TypeScript output.