moto/moto/medialive/urls.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
520 B
Python
Raw Normal View History

from .responses import MediaLiveResponse
url_bases = [
r"https?://medialive\.(.+)\.amazonaws.com",
]
response = MediaLiveResponse()
url_paths = {
"{0}/prod/channels$": response.dispatch,
"{0}/prod/channels/(?P<channelid>[^/.]+)$": response.dispatch,
"{0}/prod/channels/(?P<channelid>[^/.]+)/start$": response.dispatch,
"{0}/prod/channels/(?P<channelid>[^/.]+)/stop$": response.dispatch,
"{0}/prod/inputs$": response.dispatch,
"{0}/prod/inputs/(?P<inputid>[^/.]+)$": response.dispatch,
}