AWS, AWS Lambda, Programming, Software Development, Cloud Services.
import json import time # use this endpoint for localstack endpoint_url = "http://localhost.localstack.cloud:4566" sqs = boto3.client('sqs', endpoint_url=endpoint_url) list_queues_resp = sqs.list_queues() queue_url = list_queues_resp['QueueUrls'][0] while True: message = {random.randint(0, 100000):