moto/moto/sqs/urls.py
2021-10-18 19:44:29 +00:00

11 lines
255 B
Python

from .responses import SQSResponse
url_bases = [r"https?://(.*\.)?(queue|sqs)\.(.*\.)?amazonaws\.com"]
dispatch = SQSResponse().dispatch
url_paths = {
"{0}/$": dispatch,
r"{0}/(?P<account_id>\d+)/(?P<queue_name>[a-zA-Z0-9\-_\.]+)": dispatch,
}