from __future__ import unicode_literals from .responses import LambdaResponse url_bases = [ "https?://lambda.(.+).amazonaws.com", ] response = LambdaResponse() url_paths = { '{0}/(?P[^/]+)/functions/?$': response.root, '{0}/(?P[^/]+)/functions/(?P[\w_-]+)/?$': response.function, '{0}/(?P[^/]+)/functions/(?P[\w_-]+)/invocations/?$': response.invoke, }