aws-amplify

Android-Amplify: Uploading/downloading file to/from AWS S3 using Amplify

久未见 提交于 2020-08-09 09:25:20
问题 I want to develop a simple android app to upload an image file to an already created S3 bucket in AWS. If I google, All the latest AWS documentations are redirecting me to use Amplify framework. I don't understand the documentation of uploading a file described here. I don't understand where I can provide bucket name, IAM credentials, etc. I don't find any video tutorials as well. Why AWS if forcing to use Amplify without providing proper documentation? Here they mention to configure all

Amplify.configure is not a function

不打扰是莪最后的温柔 提交于 2020-08-07 06:03:42
问题 Trying to use AWS Amplify with S3 Storage following this tutorial with the manual set up. I created an amplify-test.js file as follows: // import Amplify from 'aws-amplify'; var Amplify = require('aws-amplify'); console.log(Amplify) Amplify.configure({ Auth: { // REQUIRED - Amazon Cognito Identity Pool ID identityPoolId: 'my identity pool id', // REQUIRED - Amazon Cognito Region region: 'region', // OPTIONAL - Amazon Cognito User Pool ID userPoolId: 'my user pool id', // OPTIONAL - Amazon

AWS Amplify: How to map social providers attributes for an email based authentication?

一笑奈何 提交于 2020-08-05 06:51:11
问题 I have a React web application built with AWS Amplify I have added authentication with Cognito user pools, I am not using usernames, I have selected the login using email/phone only, I don't want usernames, but Cognito creates a random username anyway. I want that the user to login using their email or using one social provider (Facebook or Google) and it shouldn't matter, they should have access to the same account, based on the email. Pretty normal practice, I think. However, when I first

Is it possible to use the amplify framework without using the cli?

怎甘沉沦 提交于 2020-08-05 04:17:31
问题 The amplify FAQ says specifically you can. But the github links now just redirect you to the main amplify page and the instructions only talk about using the cli. Q: Can I use the Amplify Framework libraries even if I do not use the CLI? Yes. The libraries can be used to access backend resources that were created without the Amplify CLI. https://aws.amazon.com/amplify/faqs/ https://docs.aws.amazon.com/amplify/?id=docs_gateway https://aws-amplify.github.io/docs/ 回答1: I have learned that you

Is it possible to use the amplify framework without using the cli?

不羁的心 提交于 2020-08-05 04:17:11
问题 The amplify FAQ says specifically you can. But the github links now just redirect you to the main amplify page and the instructions only talk about using the cli. Q: Can I use the Amplify Framework libraries even if I do not use the CLI? Yes. The libraries can be used to access backend resources that were created without the Amplify CLI. https://aws.amazon.com/amplify/faqs/ https://docs.aws.amazon.com/amplify/?id=docs_gateway https://aws-amplify.github.io/docs/ 回答1: I have learned that you

GraphQL with AWS Amplify - how to enable sorting on query

走远了吗. 提交于 2020-07-22 05:17:32
问题 I've recently started looking into AWS Amplify. I have managed to setup an API using GraphQl. Basically, during the API creation, Amplify ask you a few questions about the API and guides you through its creation. At some point, you are requested to create a schema. The schema I selected is as follows: type User @model { id: ID! username: String! email: String } type Highscore @model { points: Int!, id: ID! ownerId: ID!, numRounds: Int, date: String, } with this schema, Amplify is able to

GraphQL with AWS Amplify - how to enable sorting on query

余生长醉 提交于 2020-07-22 05:16:09
问题 I've recently started looking into AWS Amplify. I have managed to setup an API using GraphQl. Basically, during the API creation, Amplify ask you a few questions about the API and guides you through its creation. At some point, you are requested to create a schema. The schema I selected is as follows: type User @model { id: ID! username: String! email: String } type Highscore @model { points: Int!, id: ID! ownerId: ID!, numRounds: Int, date: String, } with this schema, Amplify is able to

“Node.js is not installed”. while trying to integrate android studio to AWS

笑着哭i 提交于 2020-07-19 05:40:42
问题 I'm trying to integrate AWS to my android app and for that I followed there official link. after doing all the changes mentioned in the official link and net step was to build the project and here I see faced the following error. Node.js is currently installed on my (Windows)system. PS C:\WINDOWS\system32> node -v v12.18.1 PS C:\WINDOWS\system32> npm -v 6.14.5 I went ahead and googled the error and saw there is already a git issue open for the same and it is resolved but I still see the same

“Node.js is not installed”. while trying to integrate android studio to AWS

落花浮王杯 提交于 2020-07-19 05:40:26
问题 I'm trying to integrate AWS to my android app and for that I followed there official link. after doing all the changes mentioned in the official link and net step was to build the project and here I see faced the following error. Node.js is currently installed on my (Windows)system. PS C:\WINDOWS\system32> node -v v12.18.1 PS C:\WINDOWS\system32> npm -v 6.14.5 I went ahead and googled the error and saw there is already a git issue open for the same and it is resolved but I still see the same