DocsAWS 101BlogServices

AppSync

GraphQL APIs — data sources, resolvers, types, API keys, and a GraphQL data plane that executes queries/mutations against DynamoDB and Lambda data sources (plus Lambda authorizers).

REST-JSON multi-tenant 22 operations

Quick start

import boto3
sync = boto3.client("appsync", endpoint_url="http://localhost:4566",
                    region_name="us-east-1",
                    aws_access_key_id="test", aws_secret_access_key="test")
sync.create_graphql_api(name="demo", authenticationType="API_KEY")

Supported operations

22 operations exposed by this service as of MiniStack 1.4.21. Extracted directly from the handler dispatch in the source module.

CreateApiKey CreateDataSource CreateGraphqlApi CreateResolver CreateType DeleteApiKey DeleteDataSource DeleteGraphqlApi DeleteResolver GetDataSource GetGraphqlApi GetResolver GetType ListApiKeys ListDataSources ListGraphqlApis ListResolvers ListTagsForResource ListTypes TagResource UntagResource UpdateGraphqlApi

CloudFormation

The CloudFormation engine provisions these resource types via this service:

AWS::AppSync::ApiKey AWS::AppSync::DataSource AWS::AppSync::FunctionConfiguration AWS::AppSync::GraphQLApi AWS::AppSync::GraphQLSchema AWS::AppSync::Resolver

See CloudFormation engine for intrinsic support and lifecycle details.

Known limitations

  • GraphQL execution is a best-effort emulation — a regex-based parser with auto-detected DynamoDB ops and Lambda resolvers/authorizers; VTL request/response mapping templates are stored but not interpreted.

Source

  • ministack/services/appsync.py

Read the source to verify the ops list above — dispatch tables and handler functions are the ground truth.