moto/moto/route53/urls.py

16 lines
565 B
Python
Raw Normal View History

from __future__ import unicode_literals
2014-08-26 17:25:50 +00:00
from . import responses
2013-11-14 19:14:14 +00:00
url_bases = [
2015-01-18 00:06:43 +00:00
"https://route53.amazonaws.com/201.-..-../",
2013-11-14 19:14:14 +00:00
]
url_paths = {
2015-01-18 00:06:43 +00:00
'{0}hostedzone$': responses.list_or_create_hostzone_response,
'{0}hostedzone/[^/]+$': responses.get_or_delete_hostzone_response,
'{0}hostedzone/[^/]+/rrset/?$': responses.rrset_response,
2015-01-18 00:06:43 +00:00
'{0}healthcheck': responses.health_check_response,
'{0}tags/(healthcheck|hostedzone)/*': responses.list_or_change_tags_for_resource_request,
'{0}trafficpolicyinstances/*': responses.not_implemented_response
2013-11-14 19:14:14 +00:00
}