Skip to content

Commit 51c747b

Browse files
sbbhimjibfreiberg
andauthored
Apply suggestions from code review
Co-authored-by: Ben <9841563+bfreiberg@users.noreply.github.com>
1 parent 103e084 commit 51c747b

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

lambda-durable-function-chaining-sam/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ flowchart LR
5151
E -->|checkpoint| B
5252
B --> F[Output]
5353
54-
subgraph Durable Function
54+
subgraph Lambda durable function
5555
B
5656
end
5757

lambda-durable-function-chaining-sam/example-pattern.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Demonstrates the function chaining pattern using Lambda durable functions with automatic checkpointing and fault-tolerant sequential execution",
44
"language": "Python",
55
"level": "200",
6-
"framework": "SAM",
6+
"framework": "AWS SAM",
77
"introBox": {
88
"headline": "How it works",
99
"text": [
@@ -49,10 +49,10 @@
4949
"testing": {
5050
"text": [
5151
"Get the orchestrator alias ARN from stack outputs:",
52-
"DURABLE_FUNCTION_ARN=$(aws cloudformation describe-stacks --stack-name durable-function-chaining --query 'Stacks[0].Outputs[?OutputKey==`OrchestratorAliasArn`].OutputValue' --output text)",
52+
"<code>DURABLE_FUNCTION_ARN=$(aws cloudformation describe-stacks --stack-name durable-function-chaining --query 'Stacks[0].Outputs[?OutputKey==`OrchestratorAliasArn`].OutputValue' --output text)</code>",
5353
"Invoke the workflow:",
54-
"aws lambda invoke --function-name \"$DURABLE_FUNCTION_ARN\" --payload '{\"id\": \"test-123\", \"name\": \"demo\", \"value\": 5}' --cli-binary-format raw-in-base64-out response.json",
55-
"cat response.json",
54+
"<code>aws lambda invoke --function-name \"$DURABLE_FUNCTION_ARN\" --payload '{\"id\": \"test-123\", \"name\": \"demo\", \"value\": 5}' --cli-binary-format raw-in-base64-out response.json</code>",
55+
"<code>cat response.json</code>",
5656
"Expected output shows value transformation: 5 → +10 (step1) → ×2 (step2) → +5 (step3) = 35"
5757
]
5858
},

0 commit comments

Comments
 (0)