All Questions
Tagged with amazon-dynamodb graphql
236
questions
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
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, ...
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
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
168
views
Global Secondary Indexes in AppSync Schemas (with DynamoDB)
I am creating my AppSync GraphQL schema (with DynamoDB). Here is my current model:
input AMPLIFY {
globalAuthRule: AuthRule = { allow: public }
} # FOR TESTING ONLY!
type Post
@model {
id: ID! @...
0
votes
0
answers
14
views
How to do Pagination and sorting by column in JAVA Rest api or graphqlapi with Dynamodb and the request parameters as pagenumber,size,sortby
I have only primary key in my table account id , does sort key is mandatory ?
i tried to query request condition ,but im getting error of wrong condition
this dyamodb pagination is quite different ...
0
votes
1
answer
153
views
Appsync "Variable 'timestamp' has an invalid value."
I am stuck on the simple task of uploading a timestamp via AppSync.
I have made this test schema for easy demonstration:
type Mutation {
testCreateCar(input: TestCreateCarInput!): TestCar
@...
0
votes
0
answers
22
views
Is it possible to use a list as "fields" for hasMany relation?
I have this types
type Utilisateur @model @auth(rules: [
{allow: public},
{allow: owner}
]) {
id: ID!
cognitoID: ID @index(name: "byCognitoID")
}
type Offre @model @auth(...
0
votes
0
answers
25
views
Join tables in schema.graphql
I'm on aws amplify DynamoDB.
I have two tables:
type User @model @auth(rules: [{allow: public}]) {
id: ID!
name: String
}
and
type MyUsers @model @auth(rules: [{allow: public}]) {
id: ...
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
1
answer
79
views
AWS Newbie Dynamo DB Design Implementation
Hi I am attempting to build a fintech app and am using a template I found here: https://github.com/aws-samples/aws-plaid-demo-app
I am looking to modify the data base to better fit my needs and had a ...
0
votes
1
answer
195
views
Flutter Data Model Doesn't Update When Amplify Pulled
I'm using the AWS GraphQL database for my Flutter application. When I create my database on the AWS panel and type 'amplify pull' on the Flutter project terminal, there is no problem initially. All ...
1
vote
1
answer
60
views
Using React, AWS, Graphql, Dynamodb, how can I allow a user to share a link which will allow anyone who clicks on that link to view that user's data?
I am new to AWS so any help will be appreciated!
In many applications I see a feature which allows a logged in user to generate a shareable link which when clicked by anyone would display the user's ...
0
votes
1
answer
91
views
Setting Dynamodb data design using Graphql
I'm new to the AWS world and I'm trying to build a React Native app (using expo) with AWS Amplify on the back end.
For the Dynamodb tables design I would want to do something like this:
(just an ...
1
vote
0
answers
127
views
Flutter AWS Amplify GraphQL Data Model Doesn't Access Other Related Data Model Class
I'm using DynamoDB, I created my Database with Amplify GraphQL. I have two data models, one is User and the other one is SubscriptionType. There is a one-to-many relationship between these models. ...