This article shows you how to work read data stored in DynamoDB using a lambda function.
While creating a Lambda function make sure you assign the IAM Role for Lambda, which has the Policy of “AWSLambdaFullAccess” attached to it. Make sure the other required policies have been attached, like AWSLambdaExcute and AmazonDynamoDBFullAccess since we are working with DynamoDB.
In your database key values are important as you will use the same for scanning the database. Now for this example, I have created a fake DB with ID as my Primary partition key.
A snippet of my DynamoDB is given below…
In this article, I will show you how to invoke a lambda function from another lambda function.
This invocation is most helpful in scenarios where you have layers or have common inputs to two functions, but they can’t be integrated, in such cases, we use the invoke method. Well, this is just one of the reasons, there are infinitely many reasons to use this based on your requirement.
For this, I have created two functions, triggerLambdaFunction and testFunction. …
Remove the predefined Action Bar or App Theme in android
In this article, I will be explaining how to remove the action bar in the native android platform so that one can replace it with any other customised headers.
This is the view of my android app and not always the Action bar looks good with the layout of the app. So, to remove the predefined theme, there are two simple changes that need to be done: one is to create a new theme and the other to assign it in our XML file.
After creating your android app, open…
Writer | Developer | Travelhead