In this step, we will use lambda functions to load streaming data from DynamoDB into the OpenSearch domain and to search documents. Then create a API that interact with lambda function: