amazonka-polly-2.0: Amazon Polly SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Polly.Types.Voice

Description

 
Synopsis

Documentation

data Voice Source #

Description of the voice.

See: newVoice smart constructor.

Constructors

Voice' 

Fields

  • 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.

  • gender :: Maybe Gender

    Gender of the voice.

  • id :: Maybe VoiceId

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

  • languageCode :: Maybe LanguageCode

    Language code of the voice.

  • languageName :: Maybe Text

    Human readable name of the language in English.

  • 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.

  • supportedEngines :: Maybe [Engine]

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

Instances

Instances details
FromJSON Voice Source # 
Instance details

Defined in Amazonka.Polly.Types.Voice

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 #

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 #

NFData Voice Source # 
Instance details

Defined in Amazonka.Polly.Types.Voice

Methods

rnf :: Voice -> () #

Eq Voice Source # 
Instance details

Defined in Amazonka.Polly.Types.Voice

Methods

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

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

Hashable Voice Source # 
Instance details

Defined in Amazonka.Polly.Types.Voice

Methods

hashWithSalt :: Int -> Voice -> Int #

hash :: Voice -> Int #

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

Gender of the voice.

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.

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_supportedEngines :: Lens' Voice (Maybe [Engine]) Source #

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