Questions tagged [aws-appsync]

AWS AppSync lets you build data-driven apps with real-time and offline-first capabilities based on GraphQL with custom resolver support for DynamoDB, ElasticSearch, AWS Lambda, and Local datasources.

1785 questions
0
votes
0 answers

AppSync subscription to an external data provider using Websockets

How can I setup a subscription to an external provider that provides me with streaming updates via Websockets or Kafka. I want the front to refresh in real-time based on data coming through the websocket or Kafka or Pulsar messages.
Sudeep Amin
  • 101
  • 2
  • 5
0
votes
2 answers

How can I publish event for subscribers in Appsync graphql

I am using Appsync subscription for pub/sub messages. I have read some articles about subscription (like: https://docs.aws.amazon.com/appsync/latest/devguide/real-time-data.html) and all of them mentioned about specifying a GraphQL schema directive…
Joey Yi Zhao
  • 37,514
  • 71
  • 268
  • 523
0
votes
1 answer

how to define a resolver in appsync to get a range of data between a particular dates in graphQL

{ "version": "2018-05-29", "operation": "Query", "index": "sportLeague", "query": { "expression": "sportIdLeagueId = :sportIdLeagueId and gsSK = :gsSK", "expressionValues": { #set( $sportIdLeagueId =…
reema dass
  • 33
  • 7
0
votes
1 answer

How can I provide customised authentication for Appsync?

In appsync, there are 4 authorization mode, API Key, IAM, Cognito, OPEN ID. How can I make a customised one, like a lambda? Or how can I remove authorization at all which means it is open to public and I will do authorization in business layer?
Joey Yi Zhao
  • 37,514
  • 71
  • 268
  • 523
0
votes
1 answer

amplify android gradle build error EEXIST: file already exists, mkdir

I am trying to follow this tutorial for AWS Amplify Android. I am sure I did everything mentioned over there. This is how my Gradle files look like. My project Gradle: // Top-level build file where you can add configuration options common to all…
0
votes
1 answer

Calling AWS AppSync graphql API from Lambda

I am trying to update the value of a table using the AWS-app sync graphql API, I am able to create data and add it in a table using graphql mutation in lambda but when I am trying to update the data its not working. I am calling this lambda service…
0
votes
1 answer

not understanding AWS Amplify authentication flow

I am trying to create a custom AWS Amplify authentication flow with code similar to the following taken from amazon's website: import { Auth } from 'aws-amplify'; async function signUp() { try { const user = await Auth.signUp({ …
0
votes
1 answer

AWS Appsync - fail to parse on subscription - expected non null value for _version

I have a Todo AppSync Android app with these as dependencies implementation 'com.amazonaws:aws-android-sdk-appsync:2.9.+' implementation 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.0' implementation…
0
votes
1 answer

AWS AppSync get child results based on parent result

Im using GraphQL and DynamoDB with the adjacency list pattern, in that I am only using one table. Say I have the schema - type GrandParent { id: ID! children: [Parent] } type Parent { id: ID! children: [Child] } type Child { id:…
andy mccullough
  • 9,070
  • 6
  • 32
  • 55
0
votes
2 answers

Not resolving AWSAppSyncClient class

I am trying to integrate an AWSAppSyncClient client into my Android project. I have added the relevant dependencies but not able to resolve: import com.amazonaws.services.appsync.AWSAppSyncClient; My app's build.gradle has: apply plugin:…
Saurabh R
  • 1
  • 1
0
votes
1 answer

GraphQL query - suppress non-null error and return partial data

I'm using AppSync and DynamoDB. Is there a way to suppress the non-null error and return partial data for a graphql query whose result omits a non-null field? For example if I run the following query: query GetPerson { getPerson(id: "123") { …
JMLdev
  • 846
  • 2
  • 10
  • 21
0
votes
1 answer

Aws-appsync Subscription with apollo-angular client

I am working with aws appsync for Grapql backend. But enable to use the Subscription feature on the client side using Apollo-angular though I am able to achieve mutations & query but not Subscription. Code - https://stackblitz.com/edit/myapollo
Anzar Alim
  • 47
  • 8
0
votes
1 answer

Can AWS AppSync follow server based architecture?

I see it supports lambda which is serverless, can AppSync support server based architecture, where a dedicated server serves GraphQL requests ?
JBourne
  • 335
  • 1
  • 3
  • 12
0
votes
1 answer

Update only the given column value with appsync api and datasource as posgresql

I have created appsync api with postgresql as datasource. Now it's very straight to create , update and delete any record with graphql. But i want something like, whenever any update takes places , i can update value of that particular column only.…
0
votes
1 answer

How to filter an AWSJSON object in AWS AppSync?

My APPSync is connected to a dynamodb table and the schema looks like this: type Query { getNews(date: String!): News listNews(filter: TableNewsFilterInput, limit: Int, nextToken: String): NewsConnection } input TableNewsFilterInput { …
1 2 3
99
100