moto/moto/sqs/urls.py

11 lines
255 B
Python
Raw Normal View History

from .responses import SQSResponse
2013-02-23 22:26:46 -05:00
url_bases = [r"https?://(.*\.)?(queue|sqs)\.(.*\.)?amazonaws\.com"]
2013-02-23 22:26:46 -05:00
dispatch = SQSResponse().dispatch
2013-03-05 08:14:43 -05:00
url_paths = {
2019-10-31 08:44:26 -07:00
"{0}/$": dispatch,
r"{0}/(?P<account_id>\d+)/(?P<queue_name>[a-zA-Z0-9\-_\.]+)": dispatch,
2013-02-23 22:26:46 -05:00
}