moto/moto/es/urls.py

13 lines
364 B
Python
Raw Normal View History

2021-12-20 12:51:59 +00:00
from .responses import ElasticsearchServiceResponse
url_bases = [
r"https?://es\.(.+)\.amazonaws\.com",
]
url_paths = {
"{0}/2015-01-01/domain$": ElasticsearchServiceResponse.list_domains,
"{0}/2015-01-01/es/domain$": ElasticsearchServiceResponse.domains,
"{0}/2015-01-01/es/domain/(?P<domainname>[^/]+)": ElasticsearchServiceResponse.domain,
}