Category "aws-lambda"

No module named 'pyarrow.lib' found from lambda function

I have installed pyarrow version 0.14.0. I'm creating a package to run that from lambda. While executing from lambda i'm getting error - No module named 'pyarro

Render PDF into an image (self-contained, no external command line dependencies) (to use on AWS Lambda)

I need a simple python library to convert PDF to image (render the PDF as is), but after hours of searching, I keep hitting the same wall, I find libraries like

AWS Annotations Framework Input Parameters for C#

I'm having trouble getting a Lambda function written using the AWS Annotations Framework to accept input parameters. This is the article I'm using: https://aws.

AWS Cognito: Verify deletion of user

We need a verification step for user deletion through AWS Cognito. Upon requesting delete a verification code should be sent to the users email address (like it

How to pass a params from POST to AWS Lambda from Amazon API Gateway

In this question How to pass a querystring or route parameter to AWS Lambda from Amazon API Gateway shows how to map query string params to AWS lambda using AP

AWS textract-trp package issue - cannot extract key-value pair

I'm using AWS Lambda running on Python 3.8 to run this code example below: import boto3 from trp import Document # Document documentName = "employmentapp.png"

Serverless-framework, when does the API Gateway URL change?

I am using serverless-framework to deploy a lambda with http endpoints on AWS. This works fine and returns a API Gateway endpoint. I wanted to know under what

Identify Google signed in user in AWS Lambda invoked by API Gateway

When any internet user enters a certain URL, I serve up an html dashboard that is generated from an AWS Lambda written in Python. This requires a bit of setup f

Creating the topic rule does not create the trigger on the lambda

This issue looks very much like a bug but I believe there must be something wrong in my terraform file because I can't find anybody on the web having the same p

How to return json from callback function within the Lambda?

I'm trying to return the login status from the Cognito callback function, which is written in the NodeJS Lambda. However when I call the API the response keep l

Mysterious timeout when connecting to neptune db

I'm getting this error message when trying to connect to a aws neptune db from a lambda: 2022-05-05T18:36:04.114Z e0c9ee4c-0e1d-49c7-ad05-d8bab79d3ea6 WAR

I get an ALB Lambda error - 502 Bad Gateway

I've been grappling with alb 2 lambda 502 bad gateway errors. In my ALB access logs, it shows a 'LambdaInvalidResponse' which i'm guessing is because my lambda

Sync AWS Elasticache(Redis) to MySQL Database Table

I am using AWS Elasicache(Redis) using PHP & MySQL for different caching purposes that are mentioned below Reducing the load on MySQL Session Handling Datab

Lambda function exclude .csv.metadata files from the output

I have a Lambda function that executing Athena query and exporting the output in csv file to S3 bucket. Now in my S3 bucket I'm getting 2 files .csv and .csv.me

Amazon Lambda - Alias specific environment variables

I am using AWS Lambda and can use Alias feature to point to multiple code promotion stages that we have (e.g. dev, qa, prod etc). I have setup the alias the sam

AWS Lambda Destination not triggering EventBridge destination

I am using the Amazon Selling Partner API (SP-API) and am trying to set up a Pub/Sub like system for receiving customer orders etc. The Notifications API in SP-

How to forbid replacing process.env variables during compilation in webpack?

Story I'm developing the AWS Lambda functions and compile the code using webpack. I've read some of the articles and it seems that the process.env variables a

convert javascript code to bookmarklet for easy access

I have this code that I am trying to use as a bookmarklet. fetch('https://hf.space/embed/Alifarsi/news_summarizer/+/api/predict/', { method: "POST", body: JSON.

AWS User is not authorized to access this resource

I'm new to AWS API Gateway and Lambda and I am wondering if anyone could help? I generate an access token using Auth0 and it works on postman returning all of

Error "Read-only file system" in AWS Lambda when downloading a file from S3

I'm seeing the below error from my lambda function when I drop a file.csv into an S3 bucket. The file is not large and I even added a 60 second sleep prior to o