File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed
serverless-message-processing Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -46,12 +46,14 @@ curl -X POST \
4646 'https://\${endpoint}/prod/message' \
4747 -H 'Content-Type: application/json' \
4848 -d '{
49- "messageType": "TYPE_A",
50- "body": {
51- "email": "user@@example.com"
52- },
53- "timestamp": "2023-11-22T10:30:00Z"
54- }'
49+ "messageId": "test-456",
50+ "messageType": "TYPE_A",
51+ "payload": {
52+ "email": "user@example.com",
53+ "data": "some data"
54+ },
55+ "timestamp": "2023-11-22T12:00:00Z"
56+ }'
5557 ```
5658
5759
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ Resources:
136136 Type : AWS::Serverless::Function
137137 Properties :
138138 Handler : app.lambda_handler
139- Runtime : python3.10
139+ Runtime : python3.11
140140 CodeUri : ./functions/processor/
141141 MemorySize : !Ref ProcessorMemorySize
142142 Timeout : !Ref LambdaTimeout
@@ -156,7 +156,7 @@ Resources:
156156 Type : AWS::Serverless::Function
157157 Properties :
158158 Handler : app.lambda_handler
159- Runtime : python3.10
159+ Runtime : python3.11
160160 CodeUri : ./functions/decision_maker/
161161 MemorySize : !Ref DecisionMakerMemorySize
162162 Timeout : !Ref LambdaTimeout
You can’t perform that action at this time.
0 commit comments