Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (5.6k points)

I have created a function in AWS Lambda that sends SMS using Twilio service, Now how can I call the function from the React-Native app?

1 Answer

0 votes
by (12.4k points)

You can direct invoke using AWS browser SDK, which means you can use lambda invoke API to invoke Lambda function from React-Native app. But for this, you have to provide your AWS credentials to your app and these credential will be having permissions to invoke the lambda function. Also, there is one more option to invoke the Lambda function, which is indirect invocation using API Gateway. Using the second option you don't have to provide AWS credentials to your app.

Interested in learning AWS? Check out: aws certification training.

Related questions

0 votes
1 answer
Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...