brendanhay / amazonka

A comprehensive Amazon Web Services SDK for Haskell.
https://amazonka.brendanhay.nz
Other
605 stars 227 forks source link

Amazon Polly, failed to parse new EnUs voice matthew #412

Closed ghost closed 6 years ago

ghost commented 7 years ago
DescribeVoices' {_dvLanguageCode = Just EnUs, _dvNextToken = Nothing}
dredge-aws-exe: SerializeError (SerializeError' {_serializeAbbrev = Abbrev "Polly", _serializeStatus = Status {statusCode = 200, statusMessage = "OK"}, _serializeBody = Just "{\"NextToken\":null,\"Voices\":[{\"Gender\":\"Female\",\"Id\":\"Joanna\",\"LanguageCode\":\"en-US\",\"LanguageName\":\"US English\",\"Name\":\"Joanna\"},{\"Gender\":\"Female\",\"Id\":\"Salli\",\"LanguageCode\":\"en-US\",\"LanguageName\":\"US English\",\"Name\":\"Salli\"},{\"Gender\":\"Male\",\"Id\":\"Matthew\",\"LanguageCode\":\"en-US\",\"LanguageName\":\"US English\",\"Name\":\"Matthew\"},{\"Gender\":\"Female\",\"Id\":\"Kimberly\",\"LanguageCode\":\"en-US\",\"LanguageName\":\"US English\",\"Name\":\"Kimberly\"},{\"Gender\":\"Female\",\"Id\":\"Kendra\",\"LanguageCode\":\"en-US\",\"LanguageName\":\"US English\",\"Name\":\"Kendra\"},{\"Gender\":\"Male\",\"Id\":\"Justin\",\"LanguageCode\":\"en-US\",\"LanguageName\":\"US English\",\"Name\":\"Justin\"},{\"Gender\":\"Male\",\"Id\":\"Joey\",\"LanguageCode\":\"en-US\",\"LanguageName\":\"US English\",\"Name\":\"Joey\"},{\"Gender\":\"Female\",\"Id\":\"Ivy\",\"LanguageCode\":\"en-US\",\"LanguageName\":\"US English\",\"Name\":\"Ivy\"}]}", _serializeMessage = "Error in $[2].Id: Failed reading: Failure parsing VoiceId from value: 'matthew'. Accepted values: amy, astrid, brian, carla, carmen, celine, chantal, conchita, cristiano, dora, emma, enrique, ewa, filiz, geraint, giorgio, gwyneth, hans, ines, ivy, jacek, jan, joanna, joey, justin, karl, kendra, kimberly, liv, lotte, mads, maja, marlene, mathieu, maxim, miguel, mizuki, naja, nicole, penelope, raveena, ricardo, ruben, russell, salli, tatyana, vitoria"})
brendanhay commented 6 years ago

Fixed in #459 via regenerated amazonka-polly from updated service definition.