Skip to main content
The 2024 Developer Survey results are live! See the results

All 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-...
Jonny's user avatar
  • 398
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, ...
mutable2112's user avatar
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 { ...
DevOverflow's user avatar
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 @...
Jawad Ali's user avatar
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! @...
DevOverflow's user avatar
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 ...
RaviRamanna's user avatar
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 @...
Gustav Vingtoft's user avatar
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(...
Jean Grimbert's user avatar
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: ...
Jean Grimbert's user avatar
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 ...
JulianD Mendoza's user avatar
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 ...
Josh's user avatar
  • 40
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 ...
draxex's user avatar
  • 69
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 ...
Dr-Hades's user avatar
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 ...
alexareintrebari's user avatar
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. ...
draxex's user avatar
  • 69

15 30 50 per page
1
2 3 4 5
16