Write an AWS Lambda function for resizing images
Create an AWS Lambda function in Python that resizes images uploaded to an S3 bucket and saves the resized versions to another S3 bucket. Include error handling and logging. Replace [BUCKET_NAMES] with your actual bucket names.
For serverless image processing pipelines.