I am new to AWS and trying to do a poc : I am sending a video file via REST API in my request and my api gateway takes that video file and transfers it to the lambda and lambda handler has further code in java to store that video file on s3. I am sending request via postman and I have set content type in postman as multipart/form-data. My video size is between 1mb to 10mb. After thorough research I am stuck in some issues:
How can I configure API gateway to accept video in binary? Means what should I set in body mapping template in Integration Request as I have found that multipart/form-data is not completely supported by Api gateway. What should I set in the content type in API Gateway instead of multipart/form-data ?
Should I create a blank lambda function from console or should try image processing service while selecting lambda blueprint?(I have tried both image processing does not work with video files)
In my lambda RequestHandler, in which format should I accept request, as video file cannot come in Json nor I can use RequestStreamHandler as it accepts files in Json format only.