# Packages
Package pollyiface provides an interface to enable mocking the Amazon Polly service client for testing your code.
# Functions
Engine_Values returns all elements of the Engine enum.
Gender_Values returns all elements of the Gender enum.
LanguageCode_Values returns all elements of the LanguageCode enum.
New creates a new instance of the Polly client with a session.
OutputFormat_Values returns all elements of the OutputFormat enum.
SpeechMarkType_Values returns all elements of the SpeechMarkType enum.
TaskStatus_Values returns all elements of the TaskStatus enum.
TextType_Values returns all elements of the TextType enum.
VoiceId_Values returns all elements of the VoiceId enum.
# Constants
ID to lookup a service endpoint with.
EngineGenerative is a Engine enum value.
EngineLongForm is a Engine enum value.
EngineNeural is a Engine enum value.
EngineStandard is a Engine enum value.
ErrCodeEngineNotSupportedException for service response error code "EngineNotSupportedException".
ErrCodeInvalidLexiconException for service response error code "InvalidLexiconException".
ErrCodeInvalidNextTokenException for service response error code "InvalidNextTokenException".
ErrCodeInvalidS3BucketException for service response error code "InvalidS3BucketException".
ErrCodeInvalidS3KeyException for service response error code "InvalidS3KeyException".
ErrCodeInvalidSampleRateException for service response error code "InvalidSampleRateException".
ErrCodeInvalidSnsTopicArnException for service response error code "InvalidSnsTopicArnException".
ErrCodeInvalidSsmlException for service response error code "InvalidSsmlException".
ErrCodeInvalidTaskIdException for service response error code "InvalidTaskIdException".
ErrCodeLanguageNotSupportedException for service response error code "LanguageNotSupportedException".
ErrCodeLexiconNotFoundException for service response error code "LexiconNotFoundException".
ErrCodeLexiconSizeExceededException for service response error code "LexiconSizeExceededException".
ErrCodeMarksNotSupportedForFormatException for service response error code "MarksNotSupportedForFormatException".
ErrCodeMaxLexemeLengthExceededException for service response error code "MaxLexemeLengthExceededException".
ErrCodeMaxLexiconsNumberExceededException for service response error code "MaxLexiconsNumberExceededException".
ErrCodeServiceFailureException for service response error code "ServiceFailureException".
ErrCodeSsmlMarksNotSupportedForTextTypeException for service response error code "SsmlMarksNotSupportedForTextTypeException".
ErrCodeSynthesisTaskNotFoundException for service response error code "SynthesisTaskNotFoundException".
ErrCodeTextLengthExceededException for service response error code "TextLengthExceededException".
ErrCodeUnsupportedPlsAlphabetException for service response error code "UnsupportedPlsAlphabetException".
ErrCodeUnsupportedPlsLanguageException for service response error code "UnsupportedPlsLanguageException".
GenderFemale is a Gender enum value.
GenderMale is a Gender enum value.
LanguageCodeArAe is a LanguageCode enum value.
LanguageCodeArb is a LanguageCode enum value.
LanguageCodeCaEs is a LanguageCode enum value.
LanguageCodeCmnCn is a LanguageCode enum value.
LanguageCodeCyGb is a LanguageCode enum value.
LanguageCodeDaDk is a LanguageCode enum value.
LanguageCodeDeAt is a LanguageCode enum value.
LanguageCodeDeDe is a LanguageCode enum value.
LanguageCodeEnAu is a LanguageCode enum value.
LanguageCodeEnGb is a LanguageCode enum value.
LanguageCodeEnGbWls is a LanguageCode enum value.
LanguageCodeEnIe is a LanguageCode enum value.
LanguageCodeEnIn is a LanguageCode enum value.
LanguageCodeEnNz is a LanguageCode enum value.
LanguageCodeEnUs is a LanguageCode enum value.
LanguageCodeEnZa is a LanguageCode enum value.
LanguageCodeEsEs is a LanguageCode enum value.
LanguageCodeEsMx is a LanguageCode enum value.
LanguageCodeEsUs is a LanguageCode enum value.
LanguageCodeFiFi is a LanguageCode enum value.
LanguageCodeFrBe is a LanguageCode enum value.
LanguageCodeFrCa is a LanguageCode enum value.
LanguageCodeFrFr is a LanguageCode enum value.
LanguageCodeHiIn is a LanguageCode enum value.
LanguageCodeIsIs is a LanguageCode enum value.
LanguageCodeItIt is a LanguageCode enum value.
LanguageCodeJaJp is a LanguageCode enum value.
LanguageCodeKoKr is a LanguageCode enum value.
LanguageCodeNbNo is a LanguageCode enum value.
LanguageCodeNlBe is a LanguageCode enum value.
LanguageCodeNlNl is a LanguageCode enum value.
LanguageCodePlPl is a LanguageCode enum value.
LanguageCodePtBr is a LanguageCode enum value.
LanguageCodePtPt is a LanguageCode enum value.
LanguageCodeRoRo is a LanguageCode enum value.
LanguageCodeRuRu is a LanguageCode enum value.
LanguageCodeSvSe is a LanguageCode enum value.
LanguageCodeTrTr is a LanguageCode enum value.
LanguageCodeYueCn is a LanguageCode enum value.
OutputFormatJson is a OutputFormat enum value.
OutputFormatMp3 is a OutputFormat enum value.
OutputFormatOggVorbis is a OutputFormat enum value.
OutputFormatPcm is a OutputFormat enum value.
ServiceID is a unique identifier of a specific service.
Name of service.
SpeechMarkTypeSentence is a SpeechMarkType enum value.
SpeechMarkTypeSsml is a SpeechMarkType enum value.
SpeechMarkTypeViseme is a SpeechMarkType enum value.
SpeechMarkTypeWord is a SpeechMarkType enum value.
TaskStatusCompleted is a TaskStatus enum value.
TaskStatusFailed is a TaskStatus enum value.
TaskStatusInProgress is a TaskStatus enum value.
TaskStatusScheduled is a TaskStatus enum value.
TextTypeSsml is a TextType enum value.
TextTypeText is a TextType enum value.
VoiceIdAditi is a VoiceId enum value.
VoiceIdAdriano is a VoiceId enum value.
VoiceIdAmy is a VoiceId enum value.
VoiceIdAndres is a VoiceId enum value.
VoiceIdAria is a VoiceId enum value.
VoiceIdArlet is a VoiceId enum value.
VoiceIdArthur is a VoiceId enum value.
VoiceIdAstrid is a VoiceId enum value.
VoiceIdAyanda is a VoiceId enum value.
VoiceIdBianca is a VoiceId enum value.
VoiceIdBrian is a VoiceId enum value.
VoiceIdBurcu is a VoiceId enum value.
VoiceIdCamila is a VoiceId enum value.
VoiceIdCarla is a VoiceId enum value.
VoiceIdCarmen is a VoiceId enum value.
VoiceIdCeline is a VoiceId enum value.
VoiceIdChantal is a VoiceId enum value.
VoiceIdConchita is a VoiceId enum value.
VoiceIdCristiano is a VoiceId enum value.
VoiceIdDaniel is a VoiceId enum value.
VoiceIdDanielle is a VoiceId enum value.
VoiceIdDora is a VoiceId enum value.
VoiceIdElin is a VoiceId enum value.
VoiceIdEmma is a VoiceId enum value.
VoiceIdEnrique is a VoiceId enum value.
VoiceIdEwa is a VoiceId enum value.
VoiceIdFiliz is a VoiceId enum value.
VoiceIdGabrielle is a VoiceId enum value.
VoiceIdGeraint is a VoiceId enum value.
VoiceIdGiorgio is a VoiceId enum value.
VoiceIdGregory is a VoiceId enum value.
VoiceIdGwyneth is a VoiceId enum value.
VoiceIdHala is a VoiceId enum value.
VoiceIdHannah is a VoiceId enum value.
VoiceIdHans is a VoiceId enum value.
VoiceIdHiujin is a VoiceId enum value.
VoiceIdIda is a VoiceId enum value.
VoiceIdInes is a VoiceId enum value.
VoiceIdIsabelle is a VoiceId enum value.
VoiceIdIvy is a VoiceId enum value.
VoiceIdJacek is a VoiceId enum value.
VoiceIdJan is a VoiceId enum value.
VoiceIdJoanna is a VoiceId enum value.
VoiceIdJoey is a VoiceId enum value.
VoiceIdJustin is a VoiceId enum value.
VoiceIdKajal is a VoiceId enum value.
VoiceIdKarl is a VoiceId enum value.
VoiceIdKazuha is a VoiceId enum value.
VoiceIdKendra is a VoiceId enum value.
VoiceIdKevin is a VoiceId enum value.
VoiceIdKimberly is a VoiceId enum value.
VoiceIdLaura is a VoiceId enum value.
VoiceIdLea is a VoiceId enum value.
VoiceIdLiam is a VoiceId enum value.
VoiceIdLisa is a VoiceId enum value.
VoiceIdLiv is a VoiceId enum value.
VoiceIdLotte is a VoiceId enum value.
VoiceIdLucia is a VoiceId enum value.
VoiceIdLupe is a VoiceId enum value.
VoiceIdMads is a VoiceId enum value.
VoiceIdMaja is a VoiceId enum value.
VoiceIdMarlene is a VoiceId enum value.
VoiceIdMathieu is a VoiceId enum value.
VoiceIdMatthew is a VoiceId enum value.
VoiceIdMaxim is a VoiceId enum value.
VoiceIdMia is a VoiceId enum value.
VoiceIdMiguel is a VoiceId enum value.
VoiceIdMizuki is a VoiceId enum value.
VoiceIdNaja is a VoiceId enum value.
VoiceIdNiamh is a VoiceId enum value.
VoiceIdNicole is a VoiceId enum value.
VoiceIdOla is a VoiceId enum value.
VoiceIdOlivia is a VoiceId enum value.
VoiceIdPedro is a VoiceId enum value.
VoiceIdPenelope is a VoiceId enum value.
VoiceIdRaveena is a VoiceId enum value.
VoiceIdRemi is a VoiceId enum value.
VoiceIdRicardo is a VoiceId enum value.
VoiceIdRuben is a VoiceId enum value.
VoiceIdRussell is a VoiceId enum value.
VoiceIdRuth is a VoiceId enum value.
VoiceIdSalli is a VoiceId enum value.
VoiceIdSeoyeon is a VoiceId enum value.
VoiceIdSergio is a VoiceId enum value.
VoiceIdSofie is a VoiceId enum value.
VoiceIdStephen is a VoiceId enum value.
VoiceIdSuvi is a VoiceId enum value.
VoiceIdTakumi is a VoiceId enum value.
VoiceIdTatyana is a VoiceId enum value.
VoiceIdThiago is a VoiceId enum value.
VoiceIdTomoko is a VoiceId enum value.
VoiceIdVicki is a VoiceId enum value.
VoiceIdVitoria is a VoiceId enum value.
VoiceIdZayd is a VoiceId enum value.
VoiceIdZeina is a VoiceId enum value.
VoiceIdZhiyu is a VoiceId enum value.
# Structs
This engine is not compatible with the voice that you have designated.
Amazon Polly can't find the specified lexicon.
The NextToken is invalid.
The provided Amazon S3 bucket name is invalid.
The provided Amazon S3 key prefix is invalid.
The specified sample rate is not valid.
The provided SNS topic ARN is invalid.
The SSML you provided is invalid.
The provided Task ID is not valid.
The language specified is not currently supported by Amazon Polly in this capacity.
Provides lexicon name and lexicon content in string format.
Contains metadata describing the lexicon such as the number of lexemes, language code, and so on.
Describes the content of the lexicon.
Amazon Polly can't find the specified lexicon.
The maximum size of the specified lexicon would be exceeded by this operation.
Speech marks are not supported for the OutputFormat selected.
The maximum size of the lexeme would be exceeded by this operation.
The maximum number of lexicons would be exceeded by this operation.
Polly provides the API operation methods for making requests to Amazon Polly.
An unknown condition has caused a service failure.
SSML speech marks are not supported for plain text-type input.
SynthesisTask object that provides information about a speech synthesis task.
The Speech Synthesis task with requested Task ID cannot be found.
The value of the "Text" parameter is longer than the accepted limits.
The alphabet specified by the lexicon is not a supported alphabet.
The language specified in the lexicon is unsupported.
Description of the voice.