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 52 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

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

CreateApi CreateApiCache CreateApiKey CreateChannelNamespace CreateDataSource CreateFunction CreateGraphqlApi CreateResolver CreateType DeleteApi DeleteApiCache DeleteApiKey DeleteChannelNamespace DeleteDataSource DeleteFunction DeleteGraphqlApi DeleteResolver EvaluateCode FlushApiCache GetApi GetApiCache GetChannelNamespace GetDataSource GetFunction GetGraphqlApi GetGraphqlApiEnvironmentVariables GetIntrospectionSchema GetResolver GetSchemaCreationStatus GetType ListApiKeys ListApis ListChannelNamespaces ListDataSources ListFunctions ListGraphqlApis ListResolvers ListTagsForResource ListTypes PutGraphqlApiEnvironmentVariables StartSchemaCreation TagResource UntagResource UpdateApi UpdateApiCache UpdateApiKey UpdateChannelNamespace 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.