You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc_source/with-sqs-create-package.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -144,11 +144,12 @@ Follow the instructions to create a AWS Lambda function deployment package\.
144
144
```
145
145
from __future__ import print_function
146
146
147
+
147
148
def lambda_handler(event, context):
148
149
for record in event['Records']:
149
-
print ("test")
150
-
payload=record["body"]
151
-
print(str(payload))
150
+
print("test")
151
+
payload = record["body"]
152
+
print(str(payload))
152
153
```
153
154
154
-
Zip up the sample code to create a deployment package\. For instructions, see [Deploy Python Lambda functions with \.zip file archives](python-package.md)\.
155
+
Zip up the sample code to create a deployment package\. For instructions, see [Deploy Python Lambda functions with \.zip file archives](python-package.md)\.
0 commit comments