Tag: Amazon Web Services
-
GraphQL to order by coordinates
0 I have a graphql query that returns a list of pullup bar objects. Query: query PullUpBarsByDate($userID: String) { PullUpBarsByDate( type: "PullUpBar" sortDirection: DESC ) { items { id lat lng userID } } } Returns something like this: [ { id: "rf6zrd1prm", lat: 63.50235889533083, lng: 28.426290788320724, }, { id: "y80ymnlgzi7", lat: 62.5654380797649, lng: 17.338090077030582,…
-
Unexpected LAMBDA_RUNTIME Failed to post handler success response. Http response code: 413 error
14 So I have a serverless express application running in a Lambda. One request (response size around 800KB) keeps returning a LAMBDA_RUNTIME Failed to post handler success response. Http response code: 413. error. I thought it could be due to some internal logic timing out, and added logs, and all the fetch and processing takes…
-
AWS AppSync Subscription to Mutation with object as input struggle
0 I want to create an EventBridge Rule that should trigger a a GraphQL Subscription over Appsync. Everything worked fine until I changed Service from an object to a string. My GraphQL Schema looks like this: input nestedObjectInput { A: String B: String } type simpleReturn { Name: String Service: nestedObject } type Mutation {…
-
GraphQL schema for DynamoDB
0 I’m using DynamoDB and want to create a database with GraphQL API. How do I have to define my schema so my partition key is userID and my sort key is MMYY. Every userID has a lot of MMYY, and every MMYY has entries which are just some data. I want all of these…
-
How to add description comments on schema.graphql on AWS Amplify CLI At time of amplify Push
0 I need to add description of types comments on my local project with amplify, after at time of push i need upload the comments on the schema too, for generate the JSON of Introspection schema with the comments, I already make this with AWS AppSync manually, but I need make that on amplify push……
-
Amplify API GraphQL – Unable to query from aws console
0 I have deployed a new GraphQL private API to my aws console. While I am trying to run the query from aws console, I am getting below error Cannot read properties of undefined (reading ‘data’) Here is my query: query MyQuery { listData(limit: 10) { nextToken } } amazon-web-services graphql Share Improve this question…
-
Multiple OR/AND filter in AWS Amplify GraphQL
1 with a simple schema like this: type Ticket @model{ id: ID! @primaryKey title: String! description: String! state: State @default(value: "new") priority: Priority } enum Priority { low medium high emergency } enum State { new pending closed waiting suspended } How can I filter my query in order to get the tickets that have…
-
No way to get nextToken when using custom GraphQL query?[Amplify]
0 //MovieList function Defination private fun getMovieList(): GraphQLRequest<MovieDBFinal2> { val document = ("query getMovieList { " + "listMovieDBFinal2s(limit: 1000, filter: {Genre1: {eq: "Animation"}}) { " + "nextToken " + "items { " + "IMDB_title " + "} " + "} " + "} ") return SimpleGraphQLRequest( document, Collections.emptyMap(), TypeMaker.getParameterizedType(QueryResponse::class.java, MovieDBFinal2::class.java), GsonVariablesSerializer()) } internal class QueryResponse<T>…
-
Issue with GraphQlAPI and Cognito Identity Pool
0 we’re trying to connect an Amplify Studio project to the Visual Studio Code Interface using the Amplify CLI and we run into the following problem when trying to fetch data. We’ve updated our code and configured the AWS as well. The current error that we’re running into : import { API, graphqlOperation } from…
-
How to type the event of a serverless resolver sent from an Amplify GraphQL call
2 I am trying to type the event object coming from my AWS Amplify/NextJS front-end. It is sent via Amplify/GraphQL and being received in a NodeJS AWS Lambda. The typescript interface contained in import { AppSyncResolverEvent } from "aws-lambda"; – but this doesn’t quite match the event object that’s being received. Can someone please advise…