Category "aws-lambda"

AWS Lambda Json Serializer is removing trailing zeros from milliseconds in a date time input

I have created an AWS lambda with C# .net core 3.1. This lambda takes a json object as input and one of the property names of the json object is a datetime. Loo

Pytest cannot find function defined in Lambda Layer

I recently added a Lambda Layer to one of my work projects and while it's been a huge success in almost every way, I'm having issues running my tests now. This

AWS lambda: RequestsDependencyWarning: urllib3 (1.26.6) or chardet (3.0.4) doesn't match a supported version

I have an AWS lambda program that is getting this warning in logs: /var/task/requests/init.py:89: RequestsDependencyWarning: urllib3 (1.26.6) or chardet (3.0.4

CDK deploy results in "Bucket named 'x' exists, but not in account 067685711111. Wrong account?"

I am modifying a CDK pipeline that works. I am adding a lambda, and when this code modification is made, the pipeline fails with an error. import * as cdk from

AWS other modules cant be imported as soon as psycopg2 module is installed

I have installed some python libraries ands added them to a layer of a function. I have got the error which said "errorMessage": "No module named 'psycopg2'" So

Is it possible to call Azure Queue from AWS Lambda

My requirement is to send data received in Lambda from DynamoDB to Azure Queue in node.js. Steps taken - AWS Side 1. Created DDB Table 2. Added Stream and

AWS SAM ScheduledEvent error: "Parameter ScheduleExpression is not valid"

I'm trying to setup an EventBridge Scheduled Event for my Lambda Function using the SAM CLI. My desired cron expression is: cron(0 0 * * ? *) My template.yml f

AWS Event Bridge Lambda invocation

I have configured a lambda function as EventBridge rule target and I have configured a Dead Letter Queue on the EventBridge rule to capture exceptions. Now, if

sending emails through lambda at different time

I am trying to build a newsletter service. In the newsletter service, a user can decide at what time he/she should receive the email daily. I am trying to achie

Cannot import name 'cygrpc' from 'grpc._cython' - Google Ads API

I want to deploy working python project in pycharm to aws lambda. The project is using google-ads library to get some report data from google ads. I tried deplo

How to update multiple Lambda functions from python 2.7 to 3.6

I have approximately 13 Lambda functions with triggers on python 2.7 runtime environments. I need to update to 3.6 What is the most efficient way to do this? Do

Calling one intent from another intent in AWS Lex and Lambda

Hi I am trying to call one intent on fullfillment of another intent. I trying to use 2 approached i.e. confirm_intent and elicite_slot. But i am getting "An err

Why is my AWS Lambda function ending before finishing with no timeout message?

I've been using AWS Lambda and testing with SAM local for nearly a year with no major issues. However, I've written a Lambda function which modifies some files

Unzipped size must be smaller than 262144000 bytes - AWS Lambda Error

I have tried to upload my application using servless/lambda function AWS, but i got this issue: An error occurred: AppLambdaFunction - Unzipped size must be

How to use tensorflow 2.0 with AWS Lambda?

I am new to AWS Lambda and running a tensorflow model in AWS Lambda. Now tensorflow 1.0.0 is the one that fits into the 50Mb limit but since tensorflow 2.0 is

System.Drawing.Common on aws lambda

I have a .net 6 code inside lambda function. Simple case where input string transforms to upper case is ok (everything works). When I introduce System.Drawing i

"ERROR: Command errored out with exit status 1: " during pip install -r requirements.txt

I got this error in code build in Installation , COMMAND_EXECUTION_ERROR: Error while executing command: pip install -r requirements.txt -t lib. Reason: exit st

Cannot start lambda with Mock Lambda Test Tool

I've been working with AWS lambdas for a few months. I was working with a lambda and it was fine at the end of the day. I came back to work on it the next day,

I keep getting "Error: npm.cmd ls -prod -json -depth=1 failed with code 1" when trying to deploy AWS lambda serverless

Below is my terminal output. Is there something missing in my environment or is there a conflict with node versions? I'm using node v.10 but the repo is using n

Could not create aws sqs queue for multiple environment?

The yml file in aws sqs has Resources: MyQueue: Type: AWS::SQS::Queue Properties: QueueName:"mytestqueue" how to handle the MYQueue when creat