Amazon web services – Request must be smaller for InvokeFunction
I have a lambda function that works as expected when my input is 2 or 3 words. But if I have 2 or 3 paragraphs, I get an error. # wc t.txt # returns 5 320 4867 t.txt There are…
I have a lambda function that works as expected when my input is 2 or 3 words. But if I have 2 or 3 paragraphs, I get an error. # wc t.txt # returns 5 320 4867 t.txt There are…
Picture a lambda function which simply spits out a color "red", "blue" etc all day via an api gateway, imagine it being hit 1000s of times an hour. The current value, "green" say, is changed by other business processes. Imagine…
This has got me really stumped and hope that someone might have some insight on this. We are using Ruby and the AWS SDK to invoke a AWS Lambda synchronously. The time it take for the Lambda to complete is…
I have an AWS Lambda function set up as an event source for an S3 bucket to process newly uploaded PDF files. However, I've noticed that when a file with spaces in its name is uploaded, the event data I…
Currently using DockerImageFunction, but I can’t figure out how to set the CMD Override. Any advice would be appreciated. Repo: https://github.com/alphaHades/Dockerized-Lambda-NR/blob/main/lib/docker-lambda-aws-stack.ts
I've an existing lambda function with go1.x runtime, which working fine with sqs triggers. Trying to update the function to use new provided.al2 runtime using the instructions here. https://aws.amazon.com/blogs/compute/migrating-aws-lambda-functions-from-the-go1-x-runtime-to-the-custom-runtime-on-amazon-linux-2/ Have updated the binary with bootstrap name, with this updated build…
I have a Lambda function which handles image upload to S3 and I would like to use the same Lambda function to return pre-signed URLs with only the GET permission. However, according to AWS documentation pre-signed URLs have the same…
I've got a Lambda set up through API Gateway. The Lambda takes a value SeriesId from the event JSON and uses it. Here's the Lambda code: import json import boto3 from boto3.dynamodb.conditions import Key dynamodb = boto3.resource('dynamodb') table = dynamodb.Table('TV-App-Seasons')…
I would like EventBridge to be notified when any Lambda function starts and finishes execution. I am NOT trying to trigger the Lambda functions from EventBridge. I do NOT want to modify my Lambda function code to write custom events…
I have a scenario where I'm using an Amazon Cognito pre-token generation trigger to call an AWS Lambda function. The Lambda function is placed within a private subnet for security reasons. However, I'm having trouble configuring the security group for…