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
1 answer

Need CloudFront with lambda@edge to serve S3 bucket while using Amlify

I was wondering how I can use Amplify to create Cloudfront to serve dynamic images (for users) in S3 bucket. Amplify hosting does not work since it is for static content. Also, I will need to have couple Lambda@edge. Is this something that can be…
Aimn Blbol
  • 907
  • 11
  • 20
0
votes
1 answer

Moving aws-exports.js to another Angular Project?

If we want to use the same pool in two different Angular applications can we simply copy aws-exports to the other application and configure the Auth category in main.ts or do we have to run amplify init on the project. I know that we need to do the…
Ole
  • 41,793
  • 59
  • 191
  • 359
0
votes
0 answers

AWS Amplify Storage not working as expected on all AWS Cognito Users

I just started using AWS Amplify not long ago and I've encountered this problem. Initially, I have a cognito user(user_1) registered under AWS Amplify Auth. Whenever I logged in to user_1 and perform Storage.get, it worked perfectly fine. Then, I…
Brian Lee
  • 11
  • 3
0
votes
1 answer

Aws Amplify: Partial updates(mutations)

I have 2 (hopefully newbie) questions that I need input on, from the community: (1) I have made changes to my application's schema.graphql file. How do i ensure that the corresponding queries.js, mutations.js, subscriptions.js files are updated?…
Ajit Goel
  • 4,180
  • 7
  • 59
  • 107
0
votes
1 answer

Using Project Expressions in Dynamo DB

I have a DynamoDB table and I am trying to just get one column from the table. More specifically I just want distinct values from a column. I am using AWS Amplify and have setup an API to query the DynamoDB table. The get method in the API is as…
Vik G
  • 539
  • 3
  • 8
  • 22
0
votes
2 answers

npm run deploy not working properly for react app

I am running npm run deploy command but it is stopping after 2 lines without any error and files are not getting updated. I have hosted website on s3. Snapshot shows the 2 lines. It was working fine before. Something happened suddenly. Thanks in…
0
votes
1 answer

AWS Amplify GraphQL query - list all elements and filter the owner's ones in different view

I have created simple grapql schema: type Announcement @model @auth( rules: [{ allow: owner }]){ id: ID! name: String! selectedTags: String! owner: String! price: Float description: String! image: S3Object createdAt: String } AWS…
0
votes
2 answers

Deploying on AWS Amplify

I have a web application which I want to deploy on AWS amplify. I am very new to this, following the procedure, I always get a build error (command ng build not found) My app builds perfectly on local machine, and all the files are transferred to…
0
votes
1 answer

How to run AWS `amplify init` in an Ansible playbook?

I am automating the creation of my Angular/Amplify project using Ansible. I am stuck on running amplify init in Ansible. amplify init requires the use of the up arrow and down arrow keys to navigate its menus. I can use Ansible expect to accept…
John McGehee
  • 9,117
  • 9
  • 42
  • 50
0
votes
1 answer

Amplify CLI - Angular + Ionic - MFA - AdminQueries API : XMLHttpRequest.handleError [as __zone_symbol__ON_PROPERTYerror]

So, I am using Amplify with ionic + angular and have followed the following link and sublinks…
Prateek
  • 3,923
  • 6
  • 41
  • 79
0
votes
1 answer

Generate Swift Code From Changed GraphQL File Without Pushing Changes To The Cloud

I use AWS Amplify & GraphQL inside my iOS project. I would like to update my API.swift file based on my changed GraphQL file. The following Amplify CLI command accomplishes this, but pushes changes to the cloud... amplify push How can I generate an…
ddeger
  • 137
  • 8
0
votes
1 answer

amplify push error "Only one CloudFormation template is allowed in the resource directory"

I have added, pushed amplify auth in react app, it worked fine. After this I added function and trying to push it, its giving me error:- Only one CloudFormation template is allowed in the resource directory can you please help me resolving it.
DHRUV GUPTA
  • 2,000
  • 1
  • 15
  • 24
0
votes
2 answers

aws-amplify/cli is acting weird

I am an intern at my company, I just need to wrap a few things up before I leave. One of the problems I'm having is AWS Cognito, specifically AWS Amplify CLI. My laptop amplify --version returns 4.17.1 This is ideal. The office computer is…
0
votes
2 answers

Can I able to align the error message as center which is from aws-amplify-react-native

I need to align the error message to center of the warning icon. It is from aws-amplify-react-native. Any way to customize this? i am using the screens as it is same from the aws-react-native. import { Authenticator, AmplifyTheme, …
sejn
  • 2,040
  • 6
  • 28
  • 82
0
votes
1 answer

Quickest way to update the amplify express server for REST?

Right now I'm doing the following after updating methods in the express server (Not adding new paths). amplify update api //answer all the questions amplify push Is there a faster way to iterate on the express server when we are not changing the…
Ole
  • 41,793
  • 59
  • 191
  • 359
1 2 3
23
24