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). Also covers the AppSync Events API: Event APIs and channel namespaces, with HTTP publish and WebSocket subscribe.

REST-JSON multi-tenant 42 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

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

CreateApiCache CreateApiKey CreateDataSource CreateFunction CreateGraphqlApi CreateResolver CreateType DeleteApiCache DeleteApiKey DeleteDataSource DeleteFunction DeleteGraphqlApi DeleteResolver EvaluateCode FlushApiCache GetApiCache GetDataSource GetFunction GetGraphqlApi GetGraphqlApiEnvironmentVariables GetIntrospectionSchema GetResolver GetSchemaCreationStatus GetType ListApiKeys ListDataSources ListFunctions ListGraphqlApis ListResolvers ListTagsForResource ListTypes PutGraphqlApiEnvironmentVariables StartSchemaCreation TagResource UntagResource UpdateApiCache UpdateApiKey UpdateDataSource UpdateFunction UpdateGraphqlApi UpdateResolver UpdateType

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.