Questions tagged [aws-amplify-cli]

Use this tag to group queries related to AWS Amplify that are related to the CLI instead of the SDK or Amplify component libraries.

The Amplify framework has several products, including:

  • Amplify CLI (open source)
  • Amplify SDK for JS (open source) and React, Angular, and Vue component libraries
  • Amplify SDKs for iOS / Android (open source)
  • Amplify Console (managed, paid service)

This tag can be used to group queries just related to the first offering.

357 questions
0
votes
0 answers

Amplify + Cognito signup trigger create document in lambda

I am using amplify auth and have a table in documentdb managing user profile information. I want to be able to create a document in dynamodb on signup with the cognitoIdentityId as a field so I can query for it later. I was hoping I could handle…
0
votes
1 answer

Adding additional user pool groups using amplify auth update?

How do I add an additional group to Cognito user pool groups? amplify auth update only gives an option to delete existing groups. Using service: Cognito, provided by: awscloudformation What do you want to do? Create or update Cognito user pool…
Duk
  • 125
  • 1
  • 12
0
votes
0 answers

aws-amplify initialization failed

I did install aws-amplifier cli and configured as given in official documentation. But when I try to run amplify init, I got the following error. How can I solve this issue ?
Kavindu Vindika
  • 2,449
  • 1
  • 13
  • 20
0
votes
1 answer

How should I diagnose an HTTP request 500 that appears to be related to Authorizers in AWS API Gateway?

I am brand new to AWS API Gateway/AWS Lambda/AWS Amplify. I have a React Native application that I am trying to use AWS Amplify to make an API call and issue a PUT request, which would then cause the API Gateway to invoke my AWS Lambda function.…
0
votes
1 answer

Connection failed: Buffer is not defined - Error when subscribing to AWS Amplify (graphql) Subscriptions after update to v4.7.0

I have just updated from Amplify-cli 4.0.0 to 4.7.0 and now I am getting these errors when attempting to listen for my subscriptions. {provider: AWSAppSyncRealTimeProvider, error: {…}} provider: AWSAppSyncRealTimeProvider {_config: {…},…
terr4x
  • 93
  • 3
  • 10
0
votes
2 answers

Fail to install AWS Amplify CLI on Windows?

I am trying to install AWS Amplify on Windows 10 machine, as mention in the Amplify JavaScript - AWS documentation As a prerequisites, I have following versions installed node - v10.14.2 npm - 6.4.1 when i shoot installation command npm install -g…
Pankaj
  • 360
  • 5
  • 22
0
votes
1 answer

amplify init (headless) always pushes to aws

im trying to do an amplify init in jenkins job. so this needs to be done headless. taking inspiration from the code repo i have prepared this code # #!/bin/bash set…
Parv Sharma
  • 12,581
  • 4
  • 48
  • 80
0
votes
1 answer

How to allow subscription to model without specifying 'update' operation in auth directive

We have a mobile app in which unauthenticated users should be able to read data and they should also see the live updates of Project resource. So we enabled graphql subscription to the Project resource, but we are getting unauthorized error when…
-1
votes
1 answer

AWSMobile vs Amplify

I have recently inherited some old code from a project. It is being repurposed a plugin for ATAK (Android Tactical Assault Kit) and it needs to use AWS Amplify to upload and download files from AWS S3. The original creator of the code used AWS…
-1
votes
1 answer

Uninstall Amplify CLI with Curl

I have installed Amplify CLI with curl and npm, I which to keep one, so I'm uninstalling curl just because in my personal case npm is easier for me to update, this is the command I used to install it: curl -sL…
ElKePoN
  • 822
  • 11
  • 21
-1
votes
1 answer

Query DynamoDB by GSI using AppSync SDK and Amplify CLI

I'm trying to query a DynamoDB table through AWS AppSync, using AWS' Android AppSync SDK, and the Amplify CLI. I'm querying a Global Secondary Index (GSI). I'm getting an error: Expression block '$[query]' requires an expression I've found a…
-1
votes
2 answers

Secondary Index not working for Database using @key

I should get the DynamoDb id for Justin. The call doesn't seem to fail. If i console.log(returned) i get an [object Object]. When i try to get to the returned.data.getIdFromUserName.id or returned.data.getIdFromUserName.email (anything else in the…
1 2 3
23
24