I have written a few blogs about Amplify. One of my previous blogs was about how you can connect AWS Amplify to each AWS service with AWS Lambda and include the AWS SDK.
When you did
yarn install aws-sdk
the full aws-sdk package (57MB) was installed and then you were able to import services like:
const AWS = require("aws-sdk"); AWS.config.region = "eu-west-1"; const pinpoint = new AWS.Pinpoint();
With the release of @AWS-SDK 3.0 you are able to do modular package imports in React Native and Lambda now. For example if your want to access S3 (7 MB) in React Native without the Amplify framework. You can run:
yarn install @aws-sdk/client-s3
Look into this tutorial for more code:
I am a doing (side)projects with technology like AWS Amplify, ReactJS, React Native and EXPO. I am an AWS community builder. I am a huge fan of AWS Amplify and blog about certain topics that come along with it. If you have any questions related to the framework, React of React Native then you can always reach out to me.
Do you want to be updated about new blogs?
Follow me on twitter: https://twitter.com/ramonpostulart