| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Polly.Types.Voice
Description
Synopsis
- data Voice = Voice' {}
- newVoice :: Voice
- voice_additionalLanguageCodes :: Lens' Voice (Maybe [LanguageCode])
- voice_gender :: Lens' Voice (Maybe Gender)
- voice_id :: Lens' Voice (Maybe VoiceId)
- voice_languageCode :: Lens' Voice (Maybe LanguageCode)
- voice_languageName :: Lens' Voice (Maybe Text)
- voice_name :: Lens' Voice (Maybe Text)
- voice_supportedEngines :: Lens' Voice (Maybe [Engine])
Documentation
Description of the voice.
See: newVoice smart constructor.
Constructors
| Voice' | |
Fields
| |
Instances
Create a value of Voice with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:additionalLanguageCodes:Voice', voice_additionalLanguageCodes - Additional codes for languages available for the specified voice in
addition to its default language.
For example, the default language for Aditi is Indian English (en-IN)
because it was first used for that language. Since Aditi is bilingual
and fluent in both Indian English and Hindi, this parameter would show
the code hi-IN.
$sel:gender:Voice', voice_gender - Gender of the voice.
$sel:id:Voice', voice_id - Amazon Polly assigned voice ID. This is the ID that you specify when
calling the SynthesizeSpeech operation.
$sel:languageCode:Voice', voice_languageCode - Language code of the voice.
$sel:languageName:Voice', voice_languageName - Human readable name of the language in English.
$sel:name:Voice', voice_name - Name of the voice (for example, Salli, Kendra, etc.). This provides a
human readable voice name that you might display in your application.
$sel:supportedEngines:Voice', voice_supportedEngines - Specifies which engines (standard or neural) that are supported by a
given voice.
voice_additionalLanguageCodes :: Lens' Voice (Maybe [LanguageCode]) Source #
Additional codes for languages available for the specified voice in addition to its default language.
For example, the default language for Aditi is Indian English (en-IN)
because it was first used for that language. Since Aditi is bilingual
and fluent in both Indian English and Hindi, this parameter would show
the code hi-IN.
voice_id :: Lens' Voice (Maybe VoiceId) Source #
Amazon Polly assigned voice ID. This is the ID that you specify when
calling the SynthesizeSpeech operation.
voice_languageCode :: Lens' Voice (Maybe LanguageCode) Source #
Language code of the voice.
voice_languageName :: Lens' Voice (Maybe Text) Source #
Human readable name of the language in English.