Questions tagged [amplifyjs]

AmplifyJS is a set of components designed to solve common web application problems with a simplistic API.

Amplify's goal is to simplify all forms of data handling by providing a unified API for various data sources. Amplify's store component handles persistent client-side storage, using standards like localStorage and sessionStorage, but falling back on non-standard implementations for older browsers. Amplify's request adds some additional features to jQuery's ajax method while abstracting away the underlying data source.

http://amplifyjs.com/

187 questions
1
vote
2 answers

AmplifyJS error when Appsync subscribe is exposed via API Gateway

Appsync is already replacing API Gateway to some extend, then why do you need to expose it via API Gateway. I know most people would be asking this question. Here is why? Support for Usage Plan Possibility of monetization. As far as I understood,…
1
vote
1 answer

amplify project will not build within amplify console

Everything builds and runs successfully when running locally, but as soon as I try to auto build and deploy through the AWS Amplify Console, i get the following error in the "frontend" build log. …
Matt Westlake
  • 3,499
  • 7
  • 39
  • 80
1
vote
1 answer

AWS Amplify - Unauthenticated users with APIService in Angular

Background I'm working on a project that uses Amplify and Angular. I've created an API using Amplify where certain tables can be accessed by unauthenticated users ({allow: public, provider: iam, operations: [read]}) and some require logging…
Benck
  • 515
  • 1
  • 5
  • 17
1
vote
1 answer

Amplify No pubsub module applied for subscription ReactJs

I am facing issue with subscriptions its throw exception No pubsub module applied for subscription index.js import Amplify from "@aws-amplify/core"; import PubSub from "@aws-amplify/pubsub"; import API from "@aws-amplify/api"; import config from…
Mina Fawzy
  • 20,852
  • 17
  • 133
  • 156
1
vote
0 answers

Amplify Push Notification problem (React Native)

i'm using amplify to configurate push notification messages in react native, all is good but i need send notification to determinate devices, not for all devices. I'm using: Aws Pinpoint (to send notification). Amplify (to recieve…
1
vote
1 answer

AWS Cognito - Amplify: Auth.signIn no matter what returns NotAuthorizedException in React Native

I just started using AWS Cognito in my App, I followed instructions and installed Amplify and created User Pool and Identity pool and set up everything. I created a signup form and signet up with no problems with Aut.signUp() and confirmed…
1
vote
1 answer

Manage Cognito credentials in Amplify config

I am using the Amplify package in my react client for the AWS Cognito authorization. To achieve that I need to configure the Cognito credentials in my client like in the below image. config.js The problem is I should not hard code the Cognito…
sarath r
  • 25
  • 2
1
vote
0 answers

AWS Amplify React GraphQL Client not firing subscription

I'm creating an app using Amplify/AppSync and I want the application to be able to refresh a list of videos whenever it happens. It's my first time using GraphQL, so I might be missing something, I already googled similarly issues, and most of them…
dfranca
  • 5,156
  • 2
  • 32
  • 60
1
vote
1 answer

Setting up a second Amplify project using the same GraphQL resources

We have an existing AWS Amplify project with auth, api, storage, hosting etc. Works well. We now need to create a separate publicly accessible site using the same DynamoDB tables, GraphQL schema etc. without auth and with different hosting and…
GregHouse
  • 295
  • 1
  • 2
  • 15
1
vote
2 answers

With AWS Amplify Auth and GraphQL API, how would you have some public, and some private query/mutation calls?

Setup: AWS Amplify API w/ GraphQL AWS Amplify Auth w/ Cognito User Pools Say the majority of the platform should be accessible by a logged out user. E.g. they should be able to read forum Topics, but if they want to post, they need to sign in. I…
VDog
  • 1,083
  • 2
  • 13
  • 35
1
vote
1 answer

When using amplify, where is my Cognito User Pool?

I'm setting up my first amplify project for a JS app, working through the getting started documentation here. After running amplify add auth and configuring a new cognito user pool, with no problems, and running amplify push with no problems. I…
1
vote
1 answer

Where does amplify grab the value of `amplify env pull --restore` from?

In the documentation: amplify env pull –restore Pulls your environment with the current cloud environment. Use the restore flag to overwrite your local backend configs with that in the cloud. My question is, where exactly the cloud at?? The…
iomario
  • 646
  • 1
  • 5
  • 12
1
vote
2 answers

Get all Items using the Query API through AWS Amplify

How can we get all the items by invoking dynamodb.query? The documentation states that we need to look for the presence of LastEvaluatedKey. Just wondering how we could aggregate all the Items in an efficient way? app.get(path, function (req, res)…
stayingcool
  • 2,324
  • 1
  • 21
  • 24
1
vote
0 answers

ElasticSearch possibility to search for a mixed "Tables"

I have two tables in DynamoD, one (jobs) is streamed to ElasticSearch. I have: jobs: { id, name, location, interactions: [interact] } interact: { id, user, job } If I now request them via GraphQL, I get a connection of jobs and interact. So…
DavidBiller
  • 71
  • 1
  • 9
1
vote
1 answer

AWS Amplify not generating proper graphql input depth

I am new to both graphql & AWS Amplify, so please forgive any ignorance :) I have a graphql schema like this: type Location @model @auth(rules: [{allow: owner}]){ street: String city: String state: String zip: String } type Trip @model…
Donato Perconti
  • 814
  • 2
  • 11
  • 28