libZSservicesZSamazonka-pollyZSamazonka-polly
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Polly.Types.Voice

Description

 
Synopsis

Documentation

data Voice Source #

Description of the voice.

See: newVoice smart constructor.

Constructors

Voice' 

Fields

  • languageCode :: Maybe LanguageCode

    Language code of the voice.

  • languageName :: Maybe Text

    Human readable name of the language in English.

  • gender :: Maybe Gender

    Gender of the voice.

  • name :: Maybe Text

    Name of the voice (for example, Salli, Kendra, etc.). This provides a human readable voice name that you might display in your application.

  • id :: Maybe VoiceId

    Amazon Polly assigned voice ID. This is the ID that you specify when calling the SynthesizeSpeech operation.

  • additionalLanguageCodes :: Maybe [LanguageCode]

    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.

  • supportedEngines :: Maybe [Engine]

    Specifies which engines (standard or neural) that are supported by a given voice.

Instances

Instances details
Eq Voice Source # 
Instance details

Defined in Amazonka.Polly.Types.Voice

Methods

(==) :: Voice -> Voice -> Bool #

(/=) :: Voice -> Voice -> Bool #

Read Voice Source # 
Instance details

Defined in Amazonka.Polly.Types.Voice

Show Voice Source # 
Instance details

Defined in Amazonka.Polly.Types.Voice

Methods

showsPrec :: Int -> Voice -> ShowS #

show :: Voice -> String #

showList :: [Voice] -> ShowS #

Generic Voice Source # 
Instance details

Defined in Amazonka.Polly.Types.Voice

Associated Types

type Rep Voice :: Type -> Type #

Methods

from :: Voice -> Rep Voice x #

to :: Rep Voice x -> Voice #

NFData Voice Source # 
Instance details

Defined in Amazonka.Polly.Types.Voice

Methods

rnf :: Voice -> () #

Hashable Voice Source # 
Instance details

Defined in Amazonka.Polly.Types.Voice

Methods

hashWithSalt :: Int -> Voice -> Int #

hash :: Voice -> Int #

FromJSON Voice Source # 
Instance details

Defined in Amazonka.Polly.Types.Voice

type Rep Voice Source # 
Instance details

Defined in Amazonka.Polly.Types.Voice

newVoice :: Voice Source #

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_gender :: Lens' Voice (Maybe Gender) Source #

Gender of the voice.

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.

voice_supportedEngines :: Lens' Voice (Maybe [Engine]) Source #

Specifies which engines (standard or neural) that are supported by a given voice.