amplify-js
amplify-js copied to clipboard
feat(predictions):adds ssml support to polly integration
Description of changes
- Adds optional
textTypeproperty toTextToSpeechInputinterface that can be set to either 'text' or 'ssml'. - Updated the SynthesizeSpeech call so the TextType can be set by the
textTypeproperty. TextType defaults to 'text' iftextTypeproperty is undefined maintaining current functionality.
Issue #, if available
Description of how you validated changes
- Ran change through a sample app
Checklist
- [x] PR description included
- [x]
yarn testpasses - [ ] Tests are changed or added
- [ ] Relevant documentation is changed or added (and PR referenced)
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 83.61%. Comparing base (eb73ad7) to head (c6d02f4).
:warning: Report is 2932 commits behind head on main.
:x: Your changes status has failed because you have indirect coverage changes. Learn more about Unexpected Coverage Changes and reasons for indirect coverage changes.
Additional details and impacted files
@@ Coverage Diff @@
## main #10007 +/- ##
==========================================
- Coverage 83.62% 83.61% -0.02%
==========================================
Files 253 253
Lines 18261 18262 +1
Branches 3918 3919 +1
==========================================
- Hits 15271 15270 -1
- Misses 2898 2900 +2
Partials 92 92
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.