Alexandre Blanchet cf5007b97d
Add support for remove_flow_output and remove_flow_vpc_interface (#4058)
Co-authored-by: Alexandre Blanchet <alexandre.blanchet@m2amedia.tv>
2021-07-07 11:11:19 +01:00

23 lines
820 B
Python

from __future__ import unicode_literals
from .responses import MediaConnectResponse
url_bases = [
"https?://mediaconnect.(.+).amazonaws.com",
]
response = MediaConnectResponse()
url_paths = {
"{0}/v1/flows": response.dispatch,
"{0}/v1/flows/(?P<flowarn>[^/.]+)": response.dispatch,
"{0}/v1/flows/(?P<flowarn>[^/.]+)/vpcInterfaces": response.dispatch,
"{0}/v1/flows/(?P<flowarn>[^/.]+)/vpcInterfaces/(?P<vpcinterfacename>[^/.]+)": response.dispatch,
"{0}/v1/flows/(?P<flowarn>[^/.]+)/outputs": response.dispatch,
"{0}/v1/flows/(?P<flowarn>[^/.]+)/outputs/(?P<outputarn>[^/.]+)": response.dispatch,
"{0}/v1/flows/start/(?P<flowarn>[^/.]+)": response.dispatch,
"{0}/v1/flows/stop/(?P<flowarn>[^/.]+)": response.dispatch,
"{0}/tags/(?P<resourcearn>[^/.]+)": response.dispatch,
}