AppSync
import { AppSync } from "https://aws-api.deno.dev/v0.4/services/appsync.ts?docs=full";
§Constructors
§Methods
Maps an endpoint to your custom domain.
Creates a cache for the GraphQL API.
Creates a unique key that you can distribute to clients who invoke your API.
Creates a DataSource
object.
Creates a custom DomainName
object.
Creates a Function
object.
A function is a reusable entity. You can use multiple functions to compose the resolver logic.
Creates a GraphqlApi
object.
Creates a Resolver
object.
A resolver converts incoming requests into a format that a data source can understand, and converts the data source's responses into GraphQL.
Evaluates the given code and returns the response.
The code definition requirements depend on the specified runtime.
For APPSYNC_JS
runtimes, the code defines the request and response functions.
The request function takes the incoming request after a GraphQL operation is parsed and converts it into a request configuration for the selected data source operation.
The response function interprets responses from the data source and maps it to the shape of the GraphQL field output type.
Evaluates a given template and returns the response. The mapping template can be a request or response template.
Request templates take the incoming request after a GraphQL operation is parsed and convert it into a request configuration for the selected data source operation. Response templates interpret responses from the data source and map it to the shape of the GraphQL field output type.
Mapping templates are written in the Apache Velocity Template Language (VTL).
Retrieves an ApiAssociation
object.
Retrieves a DataSource
object.
Retrieves a custom DomainName
object.
Retrieves a GraphqlApi
object.
Retrieves the introspection schema for a GraphQL API.
Retrieves the current status of a schema creation operation.
Lists the API keys for a given API.
Note:
API keys are deleted automatically 60 days after they expire.
However, they may still be included in the response until they have actually been deleted.
You can safely call DeleteApiKey
to manually delete a key before it's automatically deleted.
Lists the data sources for a given API.
Lists multiple custom domain names.
List multiple functions.
Lists your GraphQL APIs.
Lists the resolvers for a given API and type.
List the resolvers that are associated with a specific function.
Lists the tags for a resource.
Adds a new schema to your GraphQL API.
This operation is asynchronous. Use to determine when it has completed.
Updates the cache for the GraphQL API.
Updates an API key. You can update the key as long as it's not deleted.
Updates a DataSource
object.
Updates a custom DomainName
object.
Updates a Function
object.
Updates a GraphqlApi
object.
Updates a Resolver
object.