All Questions
Tagged with rest aws-lambda
140
questions
0
votes
0
answers
20
views
how to add authorizer for a aws serverless NodeJS application
I have created the nodejs rest api using serverless framework. The application is very similar to the below template. I have created a custom authentication as a separate service i want include that ...
0
votes
0
answers
33
views
QuarkusRestClientBuilder programmatically doesn't work in AWS Lambda
I have quarkus app and trying to run it as AWS lambda. It's quite simple app with REST client calling some 3rd party services.
myRestClient = QuarkusRestClientBuilder.newBuilder()
....
0
votes
1
answer
30
views
AWS Lambda function url double firing in Chrome only
I am building an inventory system in which a qr code is scanned, which calls the Trello API and adds a card to reorder the appropriate item. To do this, the qr code directs to a functional url that ...
0
votes
1
answer
139
views
How to send an AWS SES email in Lambda with aws-sdk v3 using the latest version of Node?
How can I validate a Google Recaptcha in AWS Lambda using NodeJS 20 and then send an email if successful with AWS SES? It is assumed the front-end facing form sends the Recaptcha response via the ...
1
vote
1
answer
43
views
Error encountered during CLI Lambda function deployment using DotNet WebApp
I am trying to deploy my DotNet WebAPI to AWS lambda using CLI.
I have followed the process according to the below tutorial link -
Serverless ASP.NET Core Web API with AWS Lambda
When I execute
dotnet ...
0
votes
1
answer
63
views
aws lambda / api gateway multiple calls 503
I am using AWS Lambda Functions as a REST API to call some other REST API as well as get data from DynamoDB. However, when my website loads and sends multiple get requests to the API Gateway, which ...
0
votes
0
answers
43
views
OTEL_PYTHON_LOG_CORRELATION is not logging when set to true
I have mentioned OTEL_PYTHON_LOG_CORRELATION: true & OTEL_PYTHON_LOG_FORMAT:"" in my aws cloudformation template under lambda's env variables but i don't see any logs related to that y ...
0
votes
0
answers
30
views
Query parameter works fine with fastapi application when tested locally but not working when the FastAPI application is deployed on AWS lambda
Is there a way to pass query parameter the the last-n endpoint and how do i make it to work in AWS lambda
Below is my code for reference:
import os
import smtplib
import uvicorn
from fastapi import ...
0
votes
1
answer
109
views
Can an AWS Lambda invoke a REST API using a connection from Event Bridge API Destinations?
We are currently using a step function with the API Endpoint to invoke a 3rd party API with an Event Bridge API Destination. Now we need to invoke the same REST API with a Lambda. So we would like to ...
-1
votes
1
answer
26
views
amazon connect in the Custom portal integration?
I want to bring the data and call portal to my own web pages.
Should i make an API call to my backend from AWS Lambda or is there any direct method from the amazon connect?
Can someone suggest some ...
0
votes
0
answers
75
views
Snowflake ingest manager - AttributeError: 'str' object has no attribute '_asdict' Traceback (most recent call last)
My objective is to use Snowpipe REST API with automation through AWS Lambda as described in the documentation. https://docs.snowflake.com/en/user-guide/data-load-snowpipe-rest-lambda
I created the ...
0
votes
0
answers
96
views
.Net Core 6 + AWS Lambda unable to handle base64 data in request body
I publish a .net core minimal API to lambda using VS 2022 Publish to lambda tool. The API accept a base64 string of a image that need to upload to S3. The problem is the lambda fails with (504) ...
-1
votes
1
answer
51
views
What is a stop for RestFul Stateless API?
I am using AWS Lambda to host code which fetches data from dynamodb.
The request comes from a client and inturn, the lambda queries and gets the data and sends it back as response.
Does this serve as ...
0
votes
1
answer
153
views
Possible to create AWS API Gateway generated SDK from scratch for Kotlin Android?
I have an existing REST API in AWS API Gateway that I plan on accessing from an Android/Kotlin mobile app. Amplify handles Auth and Storage, but I don't want Amplify to handle the REST API, not that I ...
0
votes
1
answer
619
views
AWS Lambda function: TypeError: PutCommand is not a constructor [closed]
The test even JSON that triggered the error:
{
"body": "{\"email\": \"[email protected]\"}"
}
The error:
Response
{
"errorType": "TypeError&...