0 votes
1 view
in AWS by (19.2k points)

I'm trying to upload a file from iOS to AWS API Gateway and passthrough it to Lambda function, How can I implement this scenario?

I can use multipart/form-data to upload to AWS API Gateway but how make input Model support binary data?

1 Answer

0 votes
by (44.6k points)

Using a direct S3 upload using AWS SDK’s for any language you are using would do the required. For pretty short events, like one file upload and stuff like that you can use Lambda. Because it can run for a maximum of 900 seconds.

Check out this documentation to learn more:

https://docs.aws.amazon.com/apigateway/latest/developerguide/integrating-api-with-aws-services-s3.html

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...