Amazon API Gateway | S3 Bucket | AWS Lambda | API Endpoint for File Upload to Amazon S3 Bucket | AWS
HTML-код
- Опубликовано: 9 сен 2024
- ===================================================================
1. SUBSCRIBE FOR MORE LEARNING :
/ @cloudquicklabs
===================================================================
2. CLOUD QUICK LABS - CHANNEL MEMBERSHIP FOR MORE BENEFITS :
/ @cloudquicklabs
===================================================================
3. BUY ME A COFFEE AS A TOKEN OF APPRECIATION :
www.buymeacoff...
===================================================================
Hands on demo of API Endpoint for File Upload to Amazon S3 Bucket using Amazon API Gateway and AWS Lambda. Code written in Python
Source Code : github.com/Rek...
#apigateway #s3 #awslambda #api #endpoint #aws
bro the ui is now been updated, i am not able to locate the content type, can you give insights on this
Thank you for watching my videos.
Indeed UI is updated now.
I shall create version of this video soon.
even my file is 75kb it is showing response as internal server error in postman and file not getting uploaded
Thank you for watching my videos.
Error might not be related to file size. Did you check if API is invoking lambda here.
Hi,
thanks for you video.
What would you recommend if I want to upload files larger than 5 MB? Maybe *.zip Files up to several GB?
thanks
Thank you for watching my videos.
To upload file size > 5MB through API gateway is bit difficult, I shall create a new video on it once I found it. But mean time you can rely with boto3 APIs of AWS S3 Services.
what if i send the file through multipart/form-data how to configure api gateway
Thank you for watching my videos here.
Here you are binary encoding image file and passing that value to API via parameters. We need to make sure that multipart/form-data is intact.
Getting {
"message": "Forbidden"
}
How can we fix it?
Able to upload text file via lambda but getting error with postman :( Please suggest
Thank you for watching my videos.
Check if your API url is correct and API keys are correct.
Invoking via postman is about selecting right options.
docs.aws.amazon.com/apigateway/latest/developerguide/call-api-with-api-gateway-lambda-authorization.html
@@cloudquicklabs Thanks! But i have checked everything multiple time from your video still facing the issue though I can upload the file using Lambda itself using Test option for Lambda. Any suggestion?
I too facing this same error
Does this require to pass any aws credentials or is this api public ?
Thank you for watching my videos.
Here you are not passing the AWS credentials but AWS API Gateway - api tokens to authentication.
is this an old video? the aws ui seems old and you uploaded this 1 month ago
Thanks you for watching my video.
API gateway UI does provide both option legacy UI and Latest UI as well , I recorded in Old but new UI has the same functionalities , only look and feel are different.
Thanks man
Thank you for watching my videos.
Glad that it helped you.
Thankyou
Thank you for watching my videos.
Glad that it helped you.
Can you do this with lambda proxy integration?
Thank you for watching my videos.
Indeed I shall create new version of this lab soon.
what if i want to use form data to pass the image
Thank you for watching my videos.
You can still do that via an interface (app interface) and convert the image back to binary and call the api here.
@@cloudquicklabs thing is that i am doing some image processing and when i send image through binary its taking extremely long time. but when i do with multipart/form-data which usual way to send files its taking nominal time. also with python conversion from multipart to normal data is giving errors i tried that too. whats your suggestion on this.
is it possible to upload csv file as well?
Thank you for watching my video.
In this video I shown for image files. For csv I should experiment it (there would be need of configuration changes). But should be supported.
confuse content
Apologies, I am above create a refined version of this video soon.