All Questions
Tagged with amazon-dynamodb aws-amplify
311
questions
0
votes
0
answers
18
views
InvalidSignatureException: Unknown error: The request signature we calculated does not match the signature you provided
I had build an App using React Native and Amplify. First time using AWS it was a bit hard to leanr the complexity of AWS, but i feel like it would be better to remove AWS from the project and add ...
0
votes
1
answer
87
views
Amplify gen 2 table names
I have an Amplify gen 2 app and schema defined with Graphql for DynamoDb. Upon deployment, all tables are named with the format [Model]-[AppSyncId]-[Environment] e.g:
User-abcdefghijklmnop0123456789-...
0
votes
1
answer
14
views
Renaming AWS GraphQL Schema Types
I have an issue where I created a type called Fixtures but then I realised that it is good practise to always keep it singular with the names as the queries, mutationa and subscriptions that are ...
0
votes
0
answers
26
views
Amplify API @auth model w authenticationType AMAZON_COGNITO_USER_POOLS
I have a working Amplify dev deployment using GraphQl API with AMAZON_COGNITO_USER_POOLS auth. Datasource is DynamoDB tables. This is a react native app with no requirement to create a user account, ...
1
vote
2
answers
122
views
AWS Amplify Gen 2 - DynamoDB and existing AppSync
I have a new Amplify Gen 2 project ( NextJS 14 app) that uses DynamoDB and also needs to access existing AppSync GraphGL API.
Existing API is added to the app first by running
amplify add codegen --...
0
votes
1
answer
11
views
Update mutation in appysnc takes time to render recent changes, even dynamo db is already updated
I have an app which has a WYSWIG inside it I used debounce and on stop typing listener to save my content after the user stops typing. But it seems if the user reloads the page after the save even if ...
0
votes
1
answer
22
views
AWS Amplify - Choosing Attributes to Project on GSI in Schema
I am using Amplify with AppSync and DynamoDB. I have the following schema.graphql currently, with a GSI on the attribute itemType as partition key and companyName as sort key.
input AMPLIFY {
...
0
votes
1
answer
23
views
What's an efficient way to perform batch items delete in AppSync DynamoDB?
Amplify AppSync provides a way to execute a delete operation for a single item stored in DynamoDB. But what is the best way to delete all items that matches a value in a certain field?
Based on my ...
0
votes
0
answers
44
views
AWS Amplify GraphQl multiple indexes on schema for separate queries
I have a AWS Amplify GraphQl project. A react application. In schema I have a model named "UserEntry". I want to write couple of queries. Let me share the model/schema first.
type UserEntry @...
0
votes
1
answer
40
views
Optimising a DynamoDB table for MES production items
I'm designing a new AppSync model for a Manufacturing Executing System and one of the most important access patterns is "Get all items in a given production date interval" and "Get all ...
-1
votes
1
answer
50
views
Deleting single GSI out of many using Amplify CLI toolkit
I wanted to delete single GSI from 4 GSIs I had in a project.
But the Amplify CLI toolkit only gave option to delete all GSIs. When I ran amplify update storage, the CLI toolkit asked following option ...
0
votes
1
answer
114
views
AWS Appsync - How to protect the API Key
const APPSYNC_HOST = "host.appsync-api.us-east-1.amazonaws.com";
const APPSYNC_REALTIME_HOST =
"host.appsync-realtime-api.us-east-1.amazonaws.com";
const APPSYNC_API_KEY = &...
0
votes
0
answers
60
views
AWS Amplify DataStore does not update properly (react-native)
I am developing react native app with Amplify and using DataStore.
I want to save the user token to DB, so I checked and saved in App.js.
During testing, I noticed that the token often doesn't update. ...
0
votes
0
answers
86
views
How to use TransactWriteItems of DynamoDB (do transactions) with an Angular/nodejs Amplify App
Context
I'm working on a crowdfunding platform in which people can create a commitment for a campaign they want to invest in. It's a commitment because unless people commit enough money to reach the ...
1
vote
0
answers
39
views
AppSync search not working anymore, but other querying functions are
Months ago I created this graphql api and I added the searchable tag to some of my entities. Back then, the search function on AppSync was working perfectly fine, but after picking up my old project ...