Relative Content

Tag Archive for python-3.xaws-lambdaamazon-sagemakeramazon-sagemaker-studio

How to create a Lambda script that will invoke (run) a Sagemaker Studio notebook?

Problem:
I have a Sagemaker Studio notebook that runs on its own end-to-end when this is scheduled using the “Schedule Notebook” feature. This notebook is NOT used for ML/inferencing input data. The output of the notebook is actually sending emails using AWS Simple Email Service. I’d like to build a AWS Lambda function where if the function is invoked, the function would invoke the Studio notebook to run. I wasn’t able to find the exact topic within SO and I wanted to ask the community if they could provide guidance/pointers on what needs to be included in my Lambda script (i.e.: lambda_handler(event, content) function). I know for inferencing, you could create a custom model and create an endpoint that the AWS Lambda function could tap into, but this isn’t a model and I’m hoping for a simpler way to do this.