In this video, we are going to perform antigen test for the Hands on lab, which is the Amazon S3,
a Lambda and Dynamo.
DB So we will invoke our Lambda function from the Amazon S3 with uploading any file to the bucket.
And we will see the execution looks and we will see the dynamic DB items.
So let's get started.
So please, Ada, please open a console and go to the bucket and click the upload button.
So create the edit files I have.
Edit the upload text takes the file into our folder structure and please upload these text file into
our bucket.
Click the upload button.
So upload succeeded.
So that means our lambda function function is invoked and this will be right this item into dynamic
DB table.
To verify that, please go to a lambda function and go to monitor.
And we've logs in the cloud.
Which logs?
So if you open the latest log stream, we will see the incoming event from the Amazon S3.
You can see that this the incoming event comes from the Amazon S3 and if you scroll down, we can see
that we will send upload an item in the bucket name in here and the object is here.
So we will uploading these text file into the S3 bucket.
So if you scroll down, you can see that we will get the success information from the get list object,
from the bucket object, and there is two objects into the bucket.
The first one is index, the second one is the upload text file.
And if you scroll down, you can see the second content information, which is the our newly added upload
object into the S3 and we are going to insert this item into Dynamo DB table.
And here you can see the Dynamo DB object that is inserted successfully.
Also, we can verify from Dynamo DB table, please open the MDB and open the bucket object's table.
If you click the explore table items and run the scan command, you can see that newly uploaded text
file is inserted as an item of our dynamo.
DB.
As you can see that we have successfully test and perform end to end test in this hands on loop.
So we have successfully invoke our lambda asynchronously and use different SDK packages.