Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AppSync

AppSync provides API actions for creating and interacting with data sources using GraphQL from your application.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly config

The resolved configuration of AppSyncClient class. This is resolved and normalized from the constructor configuration interface.

middlewareStack

Methods

associateApi

createApiCache

createApiKey

createDataSource

createDomainName

createFunction

createGraphqlApi

createResolver

createType

deleteApiCache

deleteApiKey

deleteDataSource

deleteDomainName

deleteFunction

deleteGraphqlApi

deleteResolver

deleteType

destroy

  • destroy(): void
  • Destroy underlying resources, like sockets. It's usually not necessary to do this. However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. Otherwise, sockets might stay open for quite a long time before the server terminates them.

    Returns void

disassociateApi

flushApiCache

getApiAssociation

getApiCache

getDataSource

getDomainName

getFunction

getGraphqlApi

getIntrospectionSchema

getResolver

getSchemaCreationStatus

getType

listApiKeys

  • Lists the API keys for a given API.

    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.

    Parameters

    Returns Promise<ListApiKeysCommandOutput>

  • Lists the API keys for a given API.

    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.

    Parameters

    Returns void

  • Lists the API keys for a given API.

    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.

    Parameters

    Returns void

  • Lists the API keys for a given API.

    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.

    Parameters

    • args: ListApiKeysCommandInput
    • Optional options: __HttpHandlerOptions

    Returns Promise<ListApiKeysCommandOutput>

  • Lists the API keys for a given API.

    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.

    Parameters

    Returns void

  • Lists the API keys for a given API.

    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.

    Parameters

    Returns void

listDataSources

listDomainNames

listFunctions

listGraphqlApis

listResolvers

listResolversByFunction

listTagsForResource

listTypes

send

startSchemaCreation

tagResource

untagResource

updateApiCache

updateApiKey

updateDataSource

updateDomainName

updateFunction

updateGraphqlApi

updateResolver

updateType