Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Voice = Voice' {}
- newVoice :: Voice
- voice_languageCode :: Lens' Voice (Maybe LanguageCode)
- voice_languageName :: Lens' Voice (Maybe Text)
- voice_gender :: Lens' Voice (Maybe Gender)
- voice_name :: Lens' Voice (Maybe Text)
- voice_id :: Lens' Voice (Maybe VoiceId)
- voice_additionalLanguageCodes :: Lens' Voice (Maybe [LanguageCode])
- voice_supportedEngines :: Lens' Voice (Maybe [Engine])
Documentation
Description of the voice.
See: newVoice
smart constructor.
Voice' | |
|
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:languageCode:Voice'
, voice_languageCode
- Language code of the voice.
$sel:languageName:Voice'
, voice_languageName
- Human readable name of the language in English.
$sel:gender:Voice'
, voice_gender
- Gender of the voice.
$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:id:Voice'
, voice_id
- Amazon Polly assigned voice ID. This is the ID that you specify when
calling the SynthesizeSpeech
operation.
$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:supportedEngines:Voice'
, voice_supportedEngines
- Specifies which engines (standard
or neural
) that are supported by a
given voice.
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.
voice_name :: Lens' Voice (Maybe Text) Source #
Name of the voice (for example, Salli, Kendra, etc.). This provides a human readable voice name that you might display in your application.
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_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
.