moto/moto/route53/urls.py
Steve Pulec 79e31e7287 Fix route53 hosted zone id parsing.
The zone id previously contained hostedzone/<zone_id>
2014-09-08 22:00:55 -04:00

12 lines
324 B
Python

from __future__ import unicode_literals
from . import responses
url_bases = [
"https://route53.amazonaws.com/201.-..-../hostedzone",
]
url_paths = {
'{0}$': responses.list_or_create_hostzone_response,
'{0}/[^/]+$': responses.get_or_delete_hostzone_response,
'{0}/[^/]+/rrset$': responses.rrset_response,
}