moto/moto/sqs/urls.py

12 lines
303 B
Python
Raw Normal View History

from __future__ import unicode_literals
2013-02-23 22:26:46 -05:00
from .responses import QueueResponse, QueuesResponse
2013-03-05 08:14:43 -05:00
url_bases = [
2013-12-28 20:15:37 -05:00
"https?://(.*?)(queue|sqs)(.*?).amazonaws.com"
2013-03-05 08:14:43 -05:00
]
2013-02-23 22:26:46 -05:00
2013-03-05 08:14:43 -05:00
url_paths = {
2015-03-16 13:13:40 +01:00
'{0}/$': QueuesResponse.dispatch,
'{0}/(?P<account_id>\d+)/(?P<queue_name>[a-zA-Z0-9\-_]+)': QueueResponse.dispatch,
2013-02-23 22:26:46 -05:00
}