Nearly finished Polly implementation

This commit is contained in:
Terry Cain 2017-09-26 16:46:18 +01:00
commit fcacecbef0
12 changed files with 520 additions and 3 deletions

13
moto/polly/urls.py Normal file
View file

@ -0,0 +1,13 @@
from __future__ import unicode_literals
from .responses import PollyResponse
url_bases = [
"https?://polly.(.+).amazonaws.com",
]
url_paths = {
'{0}/v1/voices': PollyResponse.dispatch,
'{0}/v1/lexicons/.+': PollyResponse.dispatch,
'{0}/v1/lexicons': PollyResponse.dispatch,
'{0}/v1/speech': PollyResponse.dispatch,
}