MCPcopy Create free account
hub / github.com/awsdocs/aws-doc-sdk-examples / unpack_message

Function unpack_message

python/example_code/sqs/message_wrapper.py:205–210  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

203 }
204
205 def unpack_message(msg):
206 return (
207 msg.message_attributes["path"]["StringValue"],
208 msg.body,
209 int(msg.message_attributes["line"]["StringValue"]),
210 )
211
212 print("-" * 88)
213 print("Welcome to the Amazon Simple Queue Service (Amazon SQS) demo!")

Callers 1

usage_demoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected