The function must be triggered when S3 bucket receives new data. And should do the following;
- Get the uploaded csv
- Parse the csv into its columns
- Create a unique experiment id since every new upload is a new experiment.
- Sends an email with the uploaded file info and the matching new experiment id
The metadata will be processed the same way once the experiment id is emailed to the user. The user must put the experiment id into the metadata file so that the metadata and the experiment can be matched when they are in DynamoDB