我正在尝试从客户端发送文件并通过AWS API Gateway将其接收到我的Lambda函数,然后将该文件放入S3存储桶中.
我在API网关中使用以下作为默认参数模板
{"image" : $input.params('MediaUrl0')}
Run Code Online (Sandbox Code Playgroud)
我将如何在python中收到它:def read_upload_toS3(event,context):s3 = boto3.resource('s3')
amazon-s3 image-upload amazon-web-services aws-lambda aws-api-gateway