Skip to content

New serverless pattern - New serverless pattern - lambda-durable-functions-rest-api-js#2925

Open
tolutheo wants to merge 3 commits intoaws-samples:mainfrom
tolutheo:ajaytheo-feature-lambda-durable-rest-api-sam-js
Open

New serverless pattern - New serverless pattern - lambda-durable-functions-rest-api-js#2925
tolutheo wants to merge 3 commits intoaws-samples:mainfrom
tolutheo:ajaytheo-feature-lambda-durable-rest-api-sam-js

Conversation

@tolutheo
Copy link
Copy Markdown

@tolutheo tolutheo commented Feb 5, 2026

Issue #, if available:

Description of changes:Lambda durable function that calls a rest API using Node.js

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@bfreiberg bfreiberg added the durable functions Pattern for AWS Lambda durable functions label Feb 10, 2026
Copy link
Copy Markdown
Contributor

@marcojahn marcojahn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @tolutheo, thank you for you contribution. This PR is for the "js" part of the PR.
Can you pls move the python part into its own PR please?

@tolutheo tolutheo force-pushed the ajaytheo-feature-lambda-durable-rest-api-sam-js branch from 36af94e to 51be0e4 Compare February 27, 2026 09:33
@tolutheo
Copy link
Copy Markdown
Author

tolutheo commented Feb 27, 2026

@marcojahn Thank you, I separated python and js branch in the pull request

@marcojahn
Copy link
Copy Markdown
Contributor

Hello @tolutheo, did you had a chance reviewing the testing part?

@tolutheo
Copy link
Copy Markdown
Author

tolutheo commented Apr 7, 2026

Hello @marcojahn what testing part do you refer to?

@marcojahn
Copy link
Copy Markdown
Contributor

Hello @marcojahn what testing part do you refer to?

I did run the deployment and test. Following your Readme I received

❯ aws cloudformation describe-stacks --stack-name lambda-durable-rest-api-sam-js \
  --query 'Stacks[0].Outputs[?OutputKey==`FunctionName`].OutputValue' --output text
lambda-durable-rest-api-sam-js-DurableFunction-2bqVhKuh1Sfg
❯ aws lambda invoke \
  --function-name lambda-durable-rest-api-sam-js-DurableFunction-2bqVhKuh1Sfg \
  --payload '{}' \
  response.json && cat response.json

An error occurred (InvalidParameterValueException) when calling the Invoke operation: You cannot invoke a durable function using an unqualified ARN.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

durable functions Pattern for AWS Lambda durable functions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants