moto/scripts/template/lib/urls.py.j2

14 lines
284 B
Django/Jinja

"""{{ escaped_service }} base URL and path."""
from .responses import {{ service_class }}Response
url_bases = [
r"https?://{{ endpoint_prefix }}\.(.+)\.amazonaws\.com",
]
{% if api_protocol == 'rest-json' %}
response = {{ service_class }}Response()
{% endif %}
url_paths = {
}