Amazon web services – pass the event information to boto3.client('sagemaker').start_notebook_instance()
I am creating a Lambda function to start one SageMaker notebook instance as following: import boto3 import logging def lambda_handler(event, context): client = boto3.client('sagemaker') client.start_notebook_instance(NotebookInstanceName='experiment') return 0 I want to pass some information from event (e.g., S3 bucket name and…