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

AWS Amplify datastore query and sort by date

playing around with amplify and datastore with nodejs and react. I have model for message type Message @model @auth(rules: [{allow: owner, operations: [read, create, update, delete]}]) { id: ID! content: String! } I want to fetch all messages…
Ruben Nagoga
  • 2,178
  • 1
  • 19
  • 30
0
votes
1 answer

How to modify Amplify Storage?

I have called the below method to upload data on Amplify storage. private func uploadData(filename: String?, data: Data?) { let dataString = "Example file contents" let data = dataString.data(using: .utf8)! …
Krutika Sonawala
  • 1,065
  • 1
  • 12
  • 30
0
votes
1 answer

Having trouble deleting AWS Amplify projects

I've been working with AWS Amplify to develop an application. In the process I created a few practice projects. From here on out I'll be sticking with one project. When trying to delete some of the old projects I keep running into issues in the…
user15436810
0
votes
0 answers

More than one rest api configured. Could not infer which API to call

I am using Amplify in my iOS app. And we have a backend team for giving us some external APIs. There was this API which gets called and was working fine. We have to had two more endpoints so they have created that endpoints and pushed it to amplify.…
Vishnu Prasannan
  • 231
  • 1
  • 11
0
votes
1 answer

How to query to API in custom resolver AWS Amplify CLI?

I'd like to fetch data in my custom resolver using the query defined in graphql.schema. Is it possible? How could I do the query?
0
votes
3 answers

How to Debug Amplify JavaScript functions in VS Code

How can I debug Amplify JavaScript functions on VS Code on Windows 10? This issue came up on github under How to debug amplify function using visual studio code during invocation?, but it's closed and quite old. For example, amplify invoke function…
0
votes
1 answer

How to add adminQueries for multiple groups in Amplify?

When calling an Admin Queries using amplify, it gives an error `User does not have permissions to perform administrative tasks` There are two type groups, admins and subAdmins. When I tried to update the permission for AdminQueries Auth, I can…
0
votes
1 answer

How do i access CodeCommit in a separate account from Amplify

i am currently trying to implement an Amplify Solution, having a CodeCommit repository in separate Deployment Account and initializing the Amplify resources in the environment (Sandbox) account. As far the setup works with initializig the amplify…
0
votes
1 answer

Monitoring option not present under app settings in AWS Amplify

I have an AWS amplify backend where i have configured AUTH and API. I want to add monitoring now and I am following the below guide from AWS. https://docs.aws.amazon.com/amplify/latest/userguide/access-logs.html It clearly says that Monitoring…
0
votes
0 answers

How to create staging/dev/prod environments for AWS AppSync API

I have an AWS AppSync API (maybe like 80% done) and I'd like to create environments for staging, development, production, etc. My initial googling led me to using Amplify to create environments but I didn't see anything about making environments for…
0
votes
1 answer

What is the purpose of the AmplifyDataStore DynamoDB table?

Context When using AWS Amplify JS, and specifically the DataStore part of the SDK, the models that you specify in your schema.graphql each get an associated DynamoDB table: schema.graphql type Blog @model { id: ID! name: String! posts: [Post]…
Kevin Wang
  • 644
  • 1
  • 8
  • 20
0
votes
1 answer

Should I create database update function outside of amplify?

I have an app that gets data from dynamodb with a lambda function. And I want to update the database periodically with another lambda function that makes a request to an external api to get data. I created all functions with amplify-cli but I think…
pyrrho
  • 3
  • 3
0
votes
2 answers

AWS Amplify - No option for container based hosting

I'm trying to set up an Next.js app on Amplify with container-based hosting on Fargate, but when I run amplify add hosting, the only two options I get are Amplify Console and CloudFront + S3. I've already configured the project to enable…
0
votes
1 answer

aws amplify re-configuration, delete an existing config and create a new

I want to delete an already existing amplify configuration where i used api gateway and lambda function and dynamodb. Can i delete everything and create everything as a new configuration. How to do it.? thanks in advance