Lambda Function Write To S3 Python