aws-appsync Questions

5

Solved

TL;DR: How to delete an amplify environment, when some resources of the service have been deleted manually in the console? So, I took a course on egghead to learn the aws amplify CLI. Unfortunatel...

3

I'm running the below GraphQL query to create data on dynamodb table, but gets the response with "Not Authorized to access createClient on type Client" Why this is happening at. GraphQL q...
Twopenny asked 5/2, 2022 at 7:59

3

I am trying to upload my graphql schema to aws appsync. My graphql schema is nearly 5000 lines long. I tried uploading using cli and gui, both. (1.) When using cli, I am continually getting error...
Sedgemoor asked 16/3, 2018 at 11:22

4

Solved

Given the following graphql schema # graphql/schema.graphql type AppUser { userId: String fullName: String } type Query { getUser(userId: String): AppUser getUsers(): [AppUser] } type Mutati...
Pendley asked 2/5, 2020 at 10:2

7

Solved

How do we post a GraphQL request through AWS AppSync using boto? Ultimately I'm trying to mimic a mobile app accessing our stackless/cloudformation stack on AWS, but with python. Not javascript or...
Nutting asked 19/2, 2020 at 4:57

5

Solved

I've seen examples of DynamoDB as the data source for AWS AppSync but I'm wondering if Aurora (specifically PostgreSQL) can be used? If yes, what would the resolvers look like for a basic example? ...
Cragsman asked 30/1, 2018 at 3:51

3

With the compliance we need to remove introspection queries in production for AppSync endpoints. What is the best way to disable introspection queries with AppSync? I don't see any settings with Ap...
Wraparound asked 27/12, 2019 at 17:16

5

Solved

I am using AWS Amplify library to sign up and perform Auth for an AppSync project. This uses Cognito. However, when a new user signs up via Amplify/Cognito, the new user isn't assigned to any speci...

2

Solved

I'm currently using ApolloClient to connect to an AppSync GraphQL API. It all works perfectly for queries and mutations, but I'm having some trouble getting subscriptions to work. I've followed the...
Parshall asked 21/6, 2020 at 18:6

2

I have an AWS AppSync schema with the default authorization mode set to Amazon Cognito User Pool. I make calls to this AppSync endpoint from a web app using AWS Amplify GraphQL Client and, coherent...

4

I am using AWS amplify with graphql and appsync. When I do a standard list query, appsync includes deleted items in the list of items it returns. What can I do to make it return only items that are...
Anatropous asked 21/9, 2021 at 6:7

3

I am looking to dive into a project using AppSync. So far I have been able to find plenty of articles and such online giving all the steps as to what buttons to click in order to get a sample proje...

2

Solved

I'm trying to implement GraphQL filter using Amplify GraphQL Client. I got a list of todos and wanted to retrieve list of todos that has status complete. The Documentation only show how to get al...
Tilney asked 27/12, 2018 at 15:43

2

Solved

There seem to be two different ways to configure Amplify. Some examples use a key-value properties format: import aws_exports from "./aws-exports"; Amplify.configure(aws_exports); Where ...
Syncarpous asked 23/3, 2021 at 10:42

7

Is there any easy way to log or debug VTL coming from Request Mapping Template & Response Mapping Template rather than sending Queries & Mutations to debug & log? Also, is there any Pl...
Frans asked 30/5, 2018 at 15:24

2

Solved

Now I'm using AWS AppSync and Cognito. I wrote schema of AppSync. But I can't test the schema in Queries tab. Running query requires user authentication and I can't find User pool client ID. Where ...
Joust asked 13/8, 2018 at 14:33

4

What I'm trying to do is to send data from a React Native app through AppSync so that I can update a user's data on a dynamo table. I can perform all of my CRUD operations, just not a list of data....
Stilliform asked 25/7, 2019 at 14:52

5

I'm trying to call a service through Graphql with Postman. From my app (React) I can use all the services with no problem (so, they are running ok), but I want to test them alone with Postman. I'm...
Trivia asked 11/12, 2019 at 14:11

1

Solved

I'm working with Amplify, I added the authentication to my application and my graphQL schema is with rule private, all things work good in my local, each graphQl api called, It contains the access ...
Hydromel asked 28/5, 2022 at 18:0

4

Solved

I'm building an AppSync project using serverless Aurora as my db, and stumbled across this strange error: "Can't serialize value (/getUsers/created_at) : Unable to serialize `2019-09-28 07:36:13` ...

5

Solved

The AWS CLI for AppSync has a lovely array of functions to manage it remotely from the command line of my workstation such that mostly I do not have to use the browser console. But to do a query I...
Telegraph asked 5/2, 2020 at 2:59

2

Solved

While defining this custom directive: directive @hashField on INPUT_FIELD_DEFINITION I get this error on the AWS AppSync (Schema tab): Error parsing schema. Directive definitions are not supp...
Mook asked 3/2, 2020 at 23:38

2

Solved

I want to authorize the user through http only cookies. I want to set header in the AppSync response as example "Set-Cookie": "cookie=cookie; HttpOnly" in "Configure the response mapping template...
Justify asked 30/5, 2018 at 8:44

3

When using AWS AppSync with lambda data sources you can encounter N+1 query problem. Basically when you have individual field resolver on your type and your query returns an array of those types ...
Tibetan asked 10/8, 2018 at 13:50

1

Solved

I am using AWS Amplify datastore, which uses an App-sync token. Currently, the token is expired so I changed the expiry date at Appsync / Settings / API keys. But this only allows me to edit the ex...

© 2022 - 2024 — McMap. All rights reserved.