npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@datafire/amazonaws_appsync

v5.0.0

Published

DataFire integration for AWS AppSync

Downloads

13

Readme

@datafire/amazonaws_appsync

Client library for AWS AppSync

Installation and Usage

npm install --save @datafire/amazonaws_appsync
let amazonaws_appsync = require('@datafire/amazonaws_appsync').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

amazonaws_appsync.ListGraphqlApis({}).then(data => {
  console.log(data);
});

Description

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

Actions

ListGraphqlApis

amazonaws_appsync.ListGraphqlApis({}, context)

Input

  • input object

Output

CreateGraphqlApi

amazonaws_appsync.CreateGraphqlApi({
  "name": "",
  "authenticationType": ""
}, context)

Input

Output

DeleteGraphqlApi

amazonaws_appsync.DeleteGraphqlApi({
  "apiId": ""
}, context)

Input

  • input object
    • apiId required string

Output

GetGraphqlApi

amazonaws_appsync.GetGraphqlApi({
  "apiId": ""
}, context)

Input

  • input object
    • apiId required string

Output

UpdateGraphqlApi

amazonaws_appsync.UpdateGraphqlApi({
  "apiId": "",
  "name": ""
}, context)

Input

Output

ListApiKeys

amazonaws_appsync.ListApiKeys({
  "apiId": ""
}, context)

Input

  • input object
    • apiId required string

Output

CreateApiKey

amazonaws_appsync.CreateApiKey({
  "apiId": ""
}, context)

Input

  • input object
    • apiId required string
    • description String
    • expires Long

Output

DeleteApiKey

amazonaws_appsync.DeleteApiKey({
  "apiId": "",
  "id": ""
}, context)

Input

  • input object
    • apiId required string
    • id required string

Output

UpdateApiKey

amazonaws_appsync.UpdateApiKey({
  "apiId": "",
  "id": ""
}, context)

Input

  • input object
    • apiId required string
    • id required string
    • description String
    • expires Long

Output

ListDataSources

amazonaws_appsync.ListDataSources({
  "apiId": ""
}, context)

Input

  • input object
    • apiId required string

Output

CreateDataSource

amazonaws_appsync.CreateDataSource({
  "apiId": "",
  "name": "",
  "type": ""
}, context)

Input

Output

DeleteDataSource

amazonaws_appsync.DeleteDataSource({
  "apiId": "",
  "name": ""
}, context)

Input

  • input object
    • apiId required string
    • name required string

Output

GetDataSource

amazonaws_appsync.GetDataSource({
  "apiId": "",
  "name": ""
}, context)

Input

  • input object
    • apiId required string
    • name required string

Output

UpdateDataSource

amazonaws_appsync.UpdateDataSource({
  "apiId": "",
  "name": "",
  "type": ""
}, context)

Input

Output

GetIntrospectionSchema

amazonaws_appsync.GetIntrospectionSchema({
  "apiId": ""
}, context)

Input

  • input object
    • apiId required string

Output

GetSchemaCreationStatus

amazonaws_appsync.GetSchemaCreationStatus({
  "apiId": ""
}, context)

Input

  • input object
    • apiId required string

Output

StartSchemaCreation

amazonaws_appsync.StartSchemaCreation({
  "apiId": "",
  "definition": ""
}, context)

Input

  • input object
    • apiId required string
    • definition required Blob

Output

ListTypes

amazonaws_appsync.ListTypes({
  "apiId": ""
}, context)

Input

  • input object
    • apiId required string

Output

CreateType

amazonaws_appsync.CreateType({
  "apiId": "",
  "definition": "",
  "format": ""
}, context)

Input

Output

DeleteType

amazonaws_appsync.DeleteType({
  "apiId": "",
  "typeName": ""
}, context)

Input

  • input object
    • apiId required string
    • typeName required string

Output

GetType

amazonaws_appsync.GetType({
  "apiId": "",
  "typeName": ""
}, context)

Input

  • input object
    • apiId required string
    • typeName required string

Output

UpdateType

amazonaws_appsync.UpdateType({
  "apiId": "",
  "typeName": "",
  "format": ""
}, context)

Input

Output

ListResolvers

amazonaws_appsync.ListResolvers({
  "apiId": "",
  "typeName": ""
}, context)

Input

  • input object
    • apiId required string
    • typeName required string

Output

CreateResolver

amazonaws_appsync.CreateResolver({
  "apiId": "",
  "typeName": "",
  "fieldName": "",
  "dataSourceName": "",
  "requestMappingTemplate": ""
}, context)

Input

Output

DeleteResolver

amazonaws_appsync.DeleteResolver({
  "apiId": "",
  "typeName": "",
  "fieldName": ""
}, context)

Input

  • input object
    • apiId required string
    • typeName required string
    • fieldName required string

Output

GetResolver

amazonaws_appsync.GetResolver({
  "apiId": "",
  "typeName": "",
  "fieldName": ""
}, context)

Input

  • input object
    • apiId required string
    • typeName required string
    • fieldName required string

Output

UpdateResolver

amazonaws_appsync.UpdateResolver({
  "apiId": "",
  "typeName": "",
  "fieldName": "",
  "dataSourceName": "",
  "requestMappingTemplate": ""
}, context)

Input

Output

Definitions

ApiKey

ApiKeyLimitExceededException

  • ApiKeyLimitExceededException object: The API key exceeded a limit. Try your request again.

ApiKeyValidityOutOfBoundsException

  • ApiKeyValidityOutOfBoundsException object: The API key expiration must be set to a value between 1 and 365 days.

ApiKeys

ApiLimitExceededException

  • ApiLimitExceededException object: The GraphQL API exceeded a limit. Try your request again.

AuthenticationType

  • AuthenticationType string (values: API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS)

BadRequestException

  • BadRequestException object: The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.

Blob

  • Blob string

Boolean

  • Boolean boolean

ConcurrentModificationException

  • ConcurrentModificationException object: Another modification is being made. That modification must complete before you can make your change.

CreateApiKeyRequest

  • CreateApiKeyRequest object

CreateApiKeyResponse

  • CreateApiKeyResponse object

CreateDataSourceRequest

CreateDataSourceResponse

  • CreateDataSourceResponse object

CreateGraphqlApiRequest

CreateGraphqlApiResponse

  • CreateGraphqlApiResponse object

CreateResolverRequest

CreateResolverResponse

  • CreateResolverResponse object

CreateTypeRequest

CreateTypeResponse

  • CreateTypeResponse object

DataSource

DataSourceType

  • DataSourceType string (values: AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, NONE)

DataSources

DefaultAction

  • DefaultAction string (values: ALLOW, DENY)

DeleteApiKeyRequest

  • DeleteApiKeyRequest object

DeleteApiKeyResponse

  • DeleteApiKeyResponse object

DeleteDataSourceRequest

  • DeleteDataSourceRequest object

DeleteDataSourceResponse

  • DeleteDataSourceResponse object

DeleteGraphqlApiRequest

  • DeleteGraphqlApiRequest object

DeleteGraphqlApiResponse

  • DeleteGraphqlApiResponse object

DeleteResolverRequest

  • DeleteResolverRequest object

DeleteResolverResponse

  • DeleteResolverResponse object

DeleteTypeRequest

  • DeleteTypeRequest object

DeleteTypeResponse

  • DeleteTypeResponse object

DynamodbDataSourceConfig

  • DynamodbDataSourceConfig object: Describes a DynamoDB data source configuration.

ElasticsearchDataSourceConfig

  • ElasticsearchDataSourceConfig object: Describes an Elasticsearch data source configuration.

ErrorMessage

  • ErrorMessage string

GetDataSourceRequest

  • GetDataSourceRequest object

GetDataSourceResponse

GetGraphqlApiRequest

  • GetGraphqlApiRequest object

GetGraphqlApiResponse

GetIntrospectionSchemaRequest

  • GetIntrospectionSchemaRequest object

GetIntrospectionSchemaResponse

  • GetIntrospectionSchemaResponse object

GetResolverRequest

  • GetResolverRequest object

GetResolverResponse

  • GetResolverResponse object

GetSchemaCreationStatusRequest

  • GetSchemaCreationStatusRequest object

GetSchemaCreationStatusResponse

GetTypeRequest

  • GetTypeRequest object

GetTypeResponse

  • GetTypeResponse object

GraphQLSchemaException

  • GraphQLSchemaException object: The GraphQL schema is not valid.

GraphqlApi

GraphqlApis

InternalFailureException

  • InternalFailureException object: An internal AWS AppSync error occurred. Try your request again.

LambdaDataSourceConfig

  • LambdaDataSourceConfig object: Describes a Lambda data source configuration.
    • lambdaFunctionArn required String

LimitExceededException

  • LimitExceededException object: The request exceeded a limit. Try your request again.

ListApiKeysRequest

  • ListApiKeysRequest object

ListApiKeysResponse

ListDataSourcesRequest

  • ListDataSourcesRequest object

ListDataSourcesResponse

ListGraphqlApisRequest

  • ListGraphqlApisRequest object

ListGraphqlApisResponse

ListResolversRequest

  • ListResolversRequest object

ListResolversResponse

ListTypesRequest

  • ListTypesRequest object

ListTypesResponse

Long

  • Long integer

MapOfStringToString

MappingTemplate

  • MappingTemplate string

MaxResults

  • MaxResults integer

NotFoundException

  • NotFoundException object: The resource specified in the request was not found. Check the resource and try again.

OutputType

  • OutputType string (values: SDL, JSON)

PaginationToken

  • PaginationToken string

Resolver

Resolvers

ResourceName

  • ResourceName string

SchemaStatus

  • SchemaStatus string (values: PROCESSING, ACTIVE, DELETING)

StartSchemaCreationRequest

  • StartSchemaCreationRequest object
    • definition required Blob

StartSchemaCreationResponse

String

  • String string

Type

TypeDefinitionFormat

  • TypeDefinitionFormat string (values: SDL, JSON)

TypeList

  • TypeList array

UnauthorizedException

  • UnauthorizedException object: You are not authorized to perform this operation.

UpdateApiKeyRequest

  • UpdateApiKeyRequest object

UpdateApiKeyResponse

  • UpdateApiKeyResponse object

UpdateDataSourceRequest

UpdateDataSourceResponse

  • UpdateDataSourceResponse object

UpdateGraphqlApiRequest

UpdateGraphqlApiResponse

  • UpdateGraphqlApiResponse object

UpdateResolverRequest

UpdateResolverResponse

  • UpdateResolverResponse object

UpdateTypeRequest

UpdateTypeResponse

  • UpdateTypeResponse object

UserPoolConfig

  • UserPoolConfig object: Describes an Amazon Cognito User Pool configuration.