jcberquist / aws-cfml

Lucee/ColdFusion library for interacting with AWS API's
MIT License
72 stars 53 forks source link

Add Amazon translate service #13

Closed davidsf closed 6 years ago

davidsf commented 6 years ago

Add CFC for Amazon Translate Service.

https://docs.aws.amazon.com/en_en/translate/latest/dg/what-is.html

jcberquist commented 6 years ago

Thank you for the pull request! And thanks for making the changes I requested.

jcberquist commented 6 years ago

I just wanted to note that I have tweaked the style a bit more to match what I have in the other service components a little better. I renamed the method from translate to translateText as this is consistent with the method naming I did in the dynamodb.cfc service. Also, I removed the top level translatedText key from the response, as I haven't been doing that in the other components, and I would like to keep things consistent. Again, thanks for adding this.