Documentation
¶
Index ¶
- type Engine
- type EngineNotSupportedException
- func (e *EngineNotSupportedException) Error() string
- func (e *EngineNotSupportedException) ErrorCode() string
- func (e *EngineNotSupportedException) ErrorFault() smithy.ErrorFault
- func (e *EngineNotSupportedException) ErrorMessage() string
- func (e *EngineNotSupportedException) GetMessage() string
- func (e *EngineNotSupportedException) HasMessage() bool
- type Gender
- type InvalidLexiconException
- func (e *InvalidLexiconException) Error() string
- func (e *InvalidLexiconException) ErrorCode() string
- func (e *InvalidLexiconException) ErrorFault() smithy.ErrorFault
- func (e *InvalidLexiconException) ErrorMessage() string
- func (e *InvalidLexiconException) GetMessage() string
- func (e *InvalidLexiconException) HasMessage() bool
- type InvalidNextTokenException
- func (e *InvalidNextTokenException) Error() string
- func (e *InvalidNextTokenException) ErrorCode() string
- func (e *InvalidNextTokenException) ErrorFault() smithy.ErrorFault
- func (e *InvalidNextTokenException) ErrorMessage() string
- func (e *InvalidNextTokenException) GetMessage() string
- func (e *InvalidNextTokenException) HasMessage() bool
- type InvalidS3BucketException
- func (e *InvalidS3BucketException) Error() string
- func (e *InvalidS3BucketException) ErrorCode() string
- func (e *InvalidS3BucketException) ErrorFault() smithy.ErrorFault
- func (e *InvalidS3BucketException) ErrorMessage() string
- func (e *InvalidS3BucketException) GetMessage() string
- func (e *InvalidS3BucketException) HasMessage() bool
- type InvalidS3KeyException
- func (e *InvalidS3KeyException) Error() string
- func (e *InvalidS3KeyException) ErrorCode() string
- func (e *InvalidS3KeyException) ErrorFault() smithy.ErrorFault
- func (e *InvalidS3KeyException) ErrorMessage() string
- func (e *InvalidS3KeyException) GetMessage() string
- func (e *InvalidS3KeyException) HasMessage() bool
- type InvalidSampleRateException
- func (e *InvalidSampleRateException) Error() string
- func (e *InvalidSampleRateException) ErrorCode() string
- func (e *InvalidSampleRateException) ErrorFault() smithy.ErrorFault
- func (e *InvalidSampleRateException) ErrorMessage() string
- func (e *InvalidSampleRateException) GetMessage() string
- func (e *InvalidSampleRateException) HasMessage() bool
- type InvalidSnsTopicArnException
- func (e *InvalidSnsTopicArnException) Error() string
- func (e *InvalidSnsTopicArnException) ErrorCode() string
- func (e *InvalidSnsTopicArnException) ErrorFault() smithy.ErrorFault
- func (e *InvalidSnsTopicArnException) ErrorMessage() string
- func (e *InvalidSnsTopicArnException) GetMessage() string
- func (e *InvalidSnsTopicArnException) HasMessage() bool
- type InvalidSsmlException
- func (e *InvalidSsmlException) Error() string
- func (e *InvalidSsmlException) ErrorCode() string
- func (e *InvalidSsmlException) ErrorFault() smithy.ErrorFault
- func (e *InvalidSsmlException) ErrorMessage() string
- func (e *InvalidSsmlException) GetMessage() string
- func (e *InvalidSsmlException) HasMessage() bool
- type InvalidTaskIdException
- func (e *InvalidTaskIdException) Error() string
- func (e *InvalidTaskIdException) ErrorCode() string
- func (e *InvalidTaskIdException) ErrorFault() smithy.ErrorFault
- func (e *InvalidTaskIdException) ErrorMessage() string
- func (e *InvalidTaskIdException) GetMessage() string
- func (e *InvalidTaskIdException) HasMessage() bool
- type LanguageCode
- type LanguageNotSupportedException
- func (e *LanguageNotSupportedException) Error() string
- func (e *LanguageNotSupportedException) ErrorCode() string
- func (e *LanguageNotSupportedException) ErrorFault() smithy.ErrorFault
- func (e *LanguageNotSupportedException) ErrorMessage() string
- func (e *LanguageNotSupportedException) GetMessage() string
- func (e *LanguageNotSupportedException) HasMessage() bool
- type Lexicon
- type LexiconAttributes
- type LexiconDescription
- type LexiconNotFoundException
- func (e *LexiconNotFoundException) Error() string
- func (e *LexiconNotFoundException) ErrorCode() string
- func (e *LexiconNotFoundException) ErrorFault() smithy.ErrorFault
- func (e *LexiconNotFoundException) ErrorMessage() string
- func (e *LexiconNotFoundException) GetMessage() string
- func (e *LexiconNotFoundException) HasMessage() bool
- type LexiconSizeExceededException
- func (e *LexiconSizeExceededException) Error() string
- func (e *LexiconSizeExceededException) ErrorCode() string
- func (e *LexiconSizeExceededException) ErrorFault() smithy.ErrorFault
- func (e *LexiconSizeExceededException) ErrorMessage() string
- func (e *LexiconSizeExceededException) GetMessage() string
- func (e *LexiconSizeExceededException) HasMessage() bool
- type MarksNotSupportedForFormatException
- func (e *MarksNotSupportedForFormatException) Error() string
- func (e *MarksNotSupportedForFormatException) ErrorCode() string
- func (e *MarksNotSupportedForFormatException) ErrorFault() smithy.ErrorFault
- func (e *MarksNotSupportedForFormatException) ErrorMessage() string
- func (e *MarksNotSupportedForFormatException) GetMessage() string
- func (e *MarksNotSupportedForFormatException) HasMessage() bool
- type MaxLexemeLengthExceededException
- func (e *MaxLexemeLengthExceededException) Error() string
- func (e *MaxLexemeLengthExceededException) ErrorCode() string
- func (e *MaxLexemeLengthExceededException) ErrorFault() smithy.ErrorFault
- func (e *MaxLexemeLengthExceededException) ErrorMessage() string
- func (e *MaxLexemeLengthExceededException) GetMessage() string
- func (e *MaxLexemeLengthExceededException) HasMessage() bool
- type MaxLexiconsNumberExceededException
- func (e *MaxLexiconsNumberExceededException) Error() string
- func (e *MaxLexiconsNumberExceededException) ErrorCode() string
- func (e *MaxLexiconsNumberExceededException) ErrorFault() smithy.ErrorFault
- func (e *MaxLexiconsNumberExceededException) ErrorMessage() string
- func (e *MaxLexiconsNumberExceededException) GetMessage() string
- func (e *MaxLexiconsNumberExceededException) HasMessage() bool
- type OutputFormat
- type ServiceFailureException
- func (e *ServiceFailureException) Error() string
- func (e *ServiceFailureException) ErrorCode() string
- func (e *ServiceFailureException) ErrorFault() smithy.ErrorFault
- func (e *ServiceFailureException) ErrorMessage() string
- func (e *ServiceFailureException) GetMessage() string
- func (e *ServiceFailureException) HasMessage() bool
- type SpeechMarkType
- type SsmlMarksNotSupportedForTextTypeException
- func (e *SsmlMarksNotSupportedForTextTypeException) Error() string
- func (e *SsmlMarksNotSupportedForTextTypeException) ErrorCode() string
- func (e *SsmlMarksNotSupportedForTextTypeException) ErrorFault() smithy.ErrorFault
- func (e *SsmlMarksNotSupportedForTextTypeException) ErrorMessage() string
- func (e *SsmlMarksNotSupportedForTextTypeException) GetMessage() string
- func (e *SsmlMarksNotSupportedForTextTypeException) HasMessage() bool
- type SynthesisTask
- type SynthesisTaskNotFoundException
- func (e *SynthesisTaskNotFoundException) Error() string
- func (e *SynthesisTaskNotFoundException) ErrorCode() string
- func (e *SynthesisTaskNotFoundException) ErrorFault() smithy.ErrorFault
- func (e *SynthesisTaskNotFoundException) ErrorMessage() string
- func (e *SynthesisTaskNotFoundException) GetMessage() string
- func (e *SynthesisTaskNotFoundException) HasMessage() bool
- type TaskStatus
- type TextLengthExceededException
- func (e *TextLengthExceededException) Error() string
- func (e *TextLengthExceededException) ErrorCode() string
- func (e *TextLengthExceededException) ErrorFault() smithy.ErrorFault
- func (e *TextLengthExceededException) ErrorMessage() string
- func (e *TextLengthExceededException) GetMessage() string
- func (e *TextLengthExceededException) HasMessage() bool
- type TextType
- type UnsupportedPlsAlphabetException
- func (e *UnsupportedPlsAlphabetException) Error() string
- func (e *UnsupportedPlsAlphabetException) ErrorCode() string
- func (e *UnsupportedPlsAlphabetException) ErrorFault() smithy.ErrorFault
- func (e *UnsupportedPlsAlphabetException) ErrorMessage() string
- func (e *UnsupportedPlsAlphabetException) GetMessage() string
- func (e *UnsupportedPlsAlphabetException) HasMessage() bool
- type UnsupportedPlsLanguageException
- func (e *UnsupportedPlsLanguageException) Error() string
- func (e *UnsupportedPlsLanguageException) ErrorCode() string
- func (e *UnsupportedPlsLanguageException) ErrorFault() smithy.ErrorFault
- func (e *UnsupportedPlsLanguageException) ErrorMessage() string
- func (e *UnsupportedPlsLanguageException) GetMessage() string
- func (e *UnsupportedPlsLanguageException) HasMessage() bool
- type Voice
- type VoiceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EngineNotSupportedException ¶
type EngineNotSupportedException struct {
Message *string
}
This engine is not compatible with the voice that you have designated. Choose a new voice that is compatible with the engine or change the engine and restart the operation.
func (*EngineNotSupportedException) Error ¶
func (e *EngineNotSupportedException) Error() string
func (*EngineNotSupportedException) ErrorCode ¶
func (e *EngineNotSupportedException) ErrorCode() string
func (*EngineNotSupportedException) ErrorFault ¶
func (e *EngineNotSupportedException) ErrorFault() smithy.ErrorFault
func (*EngineNotSupportedException) ErrorMessage ¶
func (e *EngineNotSupportedException) ErrorMessage() string
func (*EngineNotSupportedException) GetMessage ¶
func (e *EngineNotSupportedException) GetMessage() string
func (*EngineNotSupportedException) HasMessage ¶
func (e *EngineNotSupportedException) HasMessage() bool
type InvalidLexiconException ¶
type InvalidLexiconException struct {
Message *string
}
Amazon Polly can't find the specified lexicon. Verify that the lexicon's name is spelled correctly, and then try again.
func (*InvalidLexiconException) Error ¶
func (e *InvalidLexiconException) Error() string
func (*InvalidLexiconException) ErrorCode ¶
func (e *InvalidLexiconException) ErrorCode() string
func (*InvalidLexiconException) ErrorFault ¶
func (e *InvalidLexiconException) ErrorFault() smithy.ErrorFault
func (*InvalidLexiconException) ErrorMessage ¶
func (e *InvalidLexiconException) ErrorMessage() string
func (*InvalidLexiconException) GetMessage ¶
func (e *InvalidLexiconException) GetMessage() string
func (*InvalidLexiconException) HasMessage ¶
func (e *InvalidLexiconException) HasMessage() bool
type InvalidNextTokenException ¶
type InvalidNextTokenException struct {
Message *string
}
The NextToken is invalid. Verify that it's spelled correctly, and then try again.
func (*InvalidNextTokenException) Error ¶
func (e *InvalidNextTokenException) Error() string
func (*InvalidNextTokenException) ErrorCode ¶
func (e *InvalidNextTokenException) ErrorCode() string
func (*InvalidNextTokenException) ErrorFault ¶
func (e *InvalidNextTokenException) ErrorFault() smithy.ErrorFault
func (*InvalidNextTokenException) ErrorMessage ¶
func (e *InvalidNextTokenException) ErrorMessage() string
func (*InvalidNextTokenException) GetMessage ¶
func (e *InvalidNextTokenException) GetMessage() string
func (*InvalidNextTokenException) HasMessage ¶
func (e *InvalidNextTokenException) HasMessage() bool
type InvalidS3BucketException ¶
type InvalidS3BucketException struct {
Message *string
}
The provided Amazon S3 bucket name is invalid. Please check your input with S3 bucket naming requirements and try again.
func (*InvalidS3BucketException) Error ¶
func (e *InvalidS3BucketException) Error() string
func (*InvalidS3BucketException) ErrorCode ¶
func (e *InvalidS3BucketException) ErrorCode() string
func (*InvalidS3BucketException) ErrorFault ¶
func (e *InvalidS3BucketException) ErrorFault() smithy.ErrorFault
func (*InvalidS3BucketException) ErrorMessage ¶
func (e *InvalidS3BucketException) ErrorMessage() string
func (*InvalidS3BucketException) GetMessage ¶
func (e *InvalidS3BucketException) GetMessage() string
func (*InvalidS3BucketException) HasMessage ¶
func (e *InvalidS3BucketException) HasMessage() bool
type InvalidS3KeyException ¶
type InvalidS3KeyException struct {
Message *string
}
The provided Amazon S3 key prefix is invalid. Please provide a valid S3 object key name.
func (*InvalidS3KeyException) Error ¶
func (e *InvalidS3KeyException) Error() string
func (*InvalidS3KeyException) ErrorCode ¶
func (e *InvalidS3KeyException) ErrorCode() string
func (*InvalidS3KeyException) ErrorFault ¶
func (e *InvalidS3KeyException) ErrorFault() smithy.ErrorFault
func (*InvalidS3KeyException) ErrorMessage ¶
func (e *InvalidS3KeyException) ErrorMessage() string
func (*InvalidS3KeyException) GetMessage ¶
func (e *InvalidS3KeyException) GetMessage() string
func (*InvalidS3KeyException) HasMessage ¶
func (e *InvalidS3KeyException) HasMessage() bool
type InvalidSampleRateException ¶
type InvalidSampleRateException struct {
Message *string
}
The specified sample rate is not valid.
func (*InvalidSampleRateException) Error ¶
func (e *InvalidSampleRateException) Error() string
func (*InvalidSampleRateException) ErrorCode ¶
func (e *InvalidSampleRateException) ErrorCode() string
func (*InvalidSampleRateException) ErrorFault ¶
func (e *InvalidSampleRateException) ErrorFault() smithy.ErrorFault
func (*InvalidSampleRateException) ErrorMessage ¶
func (e *InvalidSampleRateException) ErrorMessage() string
func (*InvalidSampleRateException) GetMessage ¶
func (e *InvalidSampleRateException) GetMessage() string
func (*InvalidSampleRateException) HasMessage ¶
func (e *InvalidSampleRateException) HasMessage() bool
type InvalidSnsTopicArnException ¶
type InvalidSnsTopicArnException struct {
Message *string
}
The provided SNS topic ARN is invalid. Please provide a valid SNS topic ARN and try again.
func (*InvalidSnsTopicArnException) Error ¶
func (e *InvalidSnsTopicArnException) Error() string
func (*InvalidSnsTopicArnException) ErrorCode ¶
func (e *InvalidSnsTopicArnException) ErrorCode() string
func (*InvalidSnsTopicArnException) ErrorFault ¶
func (e *InvalidSnsTopicArnException) ErrorFault() smithy.ErrorFault
func (*InvalidSnsTopicArnException) ErrorMessage ¶
func (e *InvalidSnsTopicArnException) ErrorMessage() string
func (*InvalidSnsTopicArnException) GetMessage ¶
func (e *InvalidSnsTopicArnException) GetMessage() string
func (*InvalidSnsTopicArnException) HasMessage ¶
func (e *InvalidSnsTopicArnException) HasMessage() bool
type InvalidSsmlException ¶
type InvalidSsmlException struct {
Message *string
}
The SSML you provided is invalid. Verify the SSML syntax, spelling of tags and values, and then try again.
func (*InvalidSsmlException) Error ¶
func (e *InvalidSsmlException) Error() string
func (*InvalidSsmlException) ErrorCode ¶
func (e *InvalidSsmlException) ErrorCode() string
func (*InvalidSsmlException) ErrorFault ¶
func (e *InvalidSsmlException) ErrorFault() smithy.ErrorFault
func (*InvalidSsmlException) ErrorMessage ¶
func (e *InvalidSsmlException) ErrorMessage() string
func (*InvalidSsmlException) GetMessage ¶
func (e *InvalidSsmlException) GetMessage() string
func (*InvalidSsmlException) HasMessage ¶
func (e *InvalidSsmlException) HasMessage() bool
type InvalidTaskIdException ¶
type InvalidTaskIdException struct {
Message *string
}
The provided Task ID is not valid. Please provide a valid Task ID and try again.
func (*InvalidTaskIdException) Error ¶
func (e *InvalidTaskIdException) Error() string
func (*InvalidTaskIdException) ErrorCode ¶
func (e *InvalidTaskIdException) ErrorCode() string
func (*InvalidTaskIdException) ErrorFault ¶
func (e *InvalidTaskIdException) ErrorFault() smithy.ErrorFault
func (*InvalidTaskIdException) ErrorMessage ¶
func (e *InvalidTaskIdException) ErrorMessage() string
func (*InvalidTaskIdException) GetMessage ¶
func (e *InvalidTaskIdException) GetMessage() string
func (*InvalidTaskIdException) HasMessage ¶
func (e *InvalidTaskIdException) HasMessage() bool
type LanguageCode ¶
type LanguageCode string
const ( LanguageCodeArb LanguageCode = "arb" LanguageCodeCmnCn LanguageCode = "cmn-CN" LanguageCodeCyGb LanguageCode = "cy-GB" LanguageCodeDaDk LanguageCode = "da-DK" LanguageCodeDeDe LanguageCode = "de-DE" LanguageCodeEnAu LanguageCode = "en-AU" LanguageCodeEnGb LanguageCode = "en-GB" LanguageCodeEnGbWls LanguageCode = "en-GB-WLS" LanguageCodeEnIn LanguageCode = "en-IN" LanguageCodeEnUs LanguageCode = "en-US" LanguageCodeEsEs LanguageCode = "es-ES" LanguageCodeEsMx LanguageCode = "es-MX" LanguageCodeEsUs LanguageCode = "es-US" LanguageCodeFrCa LanguageCode = "fr-CA" LanguageCodeFrFr LanguageCode = "fr-FR" LanguageCodeIsIs LanguageCode = "is-IS" LanguageCodeItIt LanguageCode = "it-IT" LanguageCodeJaJp LanguageCode = "ja-JP" LanguageCodeHiIn LanguageCode = "hi-IN" LanguageCodeKoKr LanguageCode = "ko-KR" LanguageCodeNbNo LanguageCode = "nb-NO" LanguageCodeNlNl LanguageCode = "nl-NL" LanguageCodePlPl LanguageCode = "pl-PL" LanguageCodePtBr LanguageCode = "pt-BR" LanguageCodePtPt LanguageCode = "pt-PT" LanguageCodeRoRo LanguageCode = "ro-RO" LanguageCodeRuRu LanguageCode = "ru-RU" LanguageCodeSvSe LanguageCode = "sv-SE" LanguageCodeTrTr LanguageCode = "tr-TR" )
Enum values for LanguageCode
type LanguageNotSupportedException ¶
type LanguageNotSupportedException struct {
Message *string
}
The language specified is not currently supported by Amazon Polly in this capacity.
func (*LanguageNotSupportedException) Error ¶
func (e *LanguageNotSupportedException) Error() string
func (*LanguageNotSupportedException) ErrorCode ¶
func (e *LanguageNotSupportedException) ErrorCode() string
func (*LanguageNotSupportedException) ErrorFault ¶
func (e *LanguageNotSupportedException) ErrorFault() smithy.ErrorFault
func (*LanguageNotSupportedException) ErrorMessage ¶
func (e *LanguageNotSupportedException) ErrorMessage() string
func (*LanguageNotSupportedException) GetMessage ¶
func (e *LanguageNotSupportedException) GetMessage() string
func (*LanguageNotSupportedException) HasMessage ¶
func (e *LanguageNotSupportedException) HasMessage() bool
type Lexicon ¶
type Lexicon struct { // Lexicon content in string format. The content of a lexicon must be in PLS // format. Content *string // Name of the lexicon. Name *string }
Provides lexicon name and lexicon content in string format. For more information, see Pronunciation Lexicon Specification (PLS) Version 1.0 (https://www.w3.org/TR/pronunciation-lexicon/).
type LexiconAttributes ¶
type LexiconAttributes struct { // Date lexicon was last modified (a timestamp value). LastModified *time.Time // Phonetic alphabet used in the lexicon. Valid values are ipa and x-sampa. Alphabet *string // Amazon Resource Name (ARN) of the lexicon. LexiconArn *string // Language code that the lexicon applies to. A lexicon with a language code such // as "en" would be applied to all English languages (en-GB, en-US, en-AUS, en-WLS, // and so on. LanguageCode LanguageCode // Total size of the lexicon, in characters. Size *int32 // Number of lexemes in the lexicon. LexemesCount *int32 }
Contains metadata describing the lexicon such as the number of lexemes, language code, and so on. For more information, see Managing Lexicons (https://docs.aws.amazon.com/polly/latest/dg/managing-lexicons.html).
type LexiconDescription ¶
type LexiconDescription struct { // Name of the lexicon. Name *string // Provides lexicon metadata. Attributes *LexiconAttributes }
Describes the content of the lexicon.
type LexiconNotFoundException ¶
type LexiconNotFoundException struct {
Message *string
}
Amazon Polly can't find the specified lexicon. This could be caused by a lexicon that is missing, its name is misspelled or specifying a lexicon that is in a different region. Verify that the lexicon exists, is in the region (see ListLexicons ()) and that you spelled its name is spelled correctly. Then try again.
func (*LexiconNotFoundException) Error ¶
func (e *LexiconNotFoundException) Error() string
func (*LexiconNotFoundException) ErrorCode ¶
func (e *LexiconNotFoundException) ErrorCode() string
func (*LexiconNotFoundException) ErrorFault ¶
func (e *LexiconNotFoundException) ErrorFault() smithy.ErrorFault
func (*LexiconNotFoundException) ErrorMessage ¶
func (e *LexiconNotFoundException) ErrorMessage() string
func (*LexiconNotFoundException) GetMessage ¶
func (e *LexiconNotFoundException) GetMessage() string
func (*LexiconNotFoundException) HasMessage ¶
func (e *LexiconNotFoundException) HasMessage() bool
type LexiconSizeExceededException ¶
type LexiconSizeExceededException struct {
Message *string
}
The maximum size of the specified lexicon would be exceeded by this operation.
func (*LexiconSizeExceededException) Error ¶
func (e *LexiconSizeExceededException) Error() string
func (*LexiconSizeExceededException) ErrorCode ¶
func (e *LexiconSizeExceededException) ErrorCode() string
func (*LexiconSizeExceededException) ErrorFault ¶
func (e *LexiconSizeExceededException) ErrorFault() smithy.ErrorFault
func (*LexiconSizeExceededException) ErrorMessage ¶
func (e *LexiconSizeExceededException) ErrorMessage() string
func (*LexiconSizeExceededException) GetMessage ¶
func (e *LexiconSizeExceededException) GetMessage() string
func (*LexiconSizeExceededException) HasMessage ¶
func (e *LexiconSizeExceededException) HasMessage() bool
type MarksNotSupportedForFormatException ¶
type MarksNotSupportedForFormatException struct {
Message *string
}
Speech marks are not supported for the OutputFormat selected. Speech marks are only available for content in json format.
func (*MarksNotSupportedForFormatException) Error ¶
func (e *MarksNotSupportedForFormatException) Error() string
func (*MarksNotSupportedForFormatException) ErrorCode ¶
func (e *MarksNotSupportedForFormatException) ErrorCode() string
func (*MarksNotSupportedForFormatException) ErrorFault ¶
func (e *MarksNotSupportedForFormatException) ErrorFault() smithy.ErrorFault
func (*MarksNotSupportedForFormatException) ErrorMessage ¶
func (e *MarksNotSupportedForFormatException) ErrorMessage() string
func (*MarksNotSupportedForFormatException) GetMessage ¶
func (e *MarksNotSupportedForFormatException) GetMessage() string
func (*MarksNotSupportedForFormatException) HasMessage ¶
func (e *MarksNotSupportedForFormatException) HasMessage() bool
type MaxLexemeLengthExceededException ¶
type MaxLexemeLengthExceededException struct {
Message *string
}
The maximum size of the lexeme would be exceeded by this operation.
func (*MaxLexemeLengthExceededException) Error ¶
func (e *MaxLexemeLengthExceededException) Error() string
func (*MaxLexemeLengthExceededException) ErrorCode ¶
func (e *MaxLexemeLengthExceededException) ErrorCode() string
func (*MaxLexemeLengthExceededException) ErrorFault ¶
func (e *MaxLexemeLengthExceededException) ErrorFault() smithy.ErrorFault
func (*MaxLexemeLengthExceededException) ErrorMessage ¶
func (e *MaxLexemeLengthExceededException) ErrorMessage() string
func (*MaxLexemeLengthExceededException) GetMessage ¶
func (e *MaxLexemeLengthExceededException) GetMessage() string
func (*MaxLexemeLengthExceededException) HasMessage ¶
func (e *MaxLexemeLengthExceededException) HasMessage() bool
type MaxLexiconsNumberExceededException ¶
type MaxLexiconsNumberExceededException struct {
Message *string
}
The maximum number of lexicons would be exceeded by this operation.
func (*MaxLexiconsNumberExceededException) Error ¶
func (e *MaxLexiconsNumberExceededException) Error() string
func (*MaxLexiconsNumberExceededException) ErrorCode ¶
func (e *MaxLexiconsNumberExceededException) ErrorCode() string
func (*MaxLexiconsNumberExceededException) ErrorFault ¶
func (e *MaxLexiconsNumberExceededException) ErrorFault() smithy.ErrorFault
func (*MaxLexiconsNumberExceededException) ErrorMessage ¶
func (e *MaxLexiconsNumberExceededException) ErrorMessage() string
func (*MaxLexiconsNumberExceededException) GetMessage ¶
func (e *MaxLexiconsNumberExceededException) GetMessage() string
func (*MaxLexiconsNumberExceededException) HasMessage ¶
func (e *MaxLexiconsNumberExceededException) HasMessage() bool
type OutputFormat ¶
type OutputFormat string
const ( OutputFormatJson OutputFormat = "json" OutputFormatMp3 OutputFormat = "mp3" OutputFormatOgg_vorbis OutputFormat = "ogg_vorbis" OutputFormatPcm OutputFormat = "pcm" )
Enum values for OutputFormat
type ServiceFailureException ¶
type ServiceFailureException struct {
Message *string
}
An unknown condition has caused a service failure.
func (*ServiceFailureException) Error ¶
func (e *ServiceFailureException) Error() string
func (*ServiceFailureException) ErrorCode ¶
func (e *ServiceFailureException) ErrorCode() string
func (*ServiceFailureException) ErrorFault ¶
func (e *ServiceFailureException) ErrorFault() smithy.ErrorFault
func (*ServiceFailureException) ErrorMessage ¶
func (e *ServiceFailureException) ErrorMessage() string
func (*ServiceFailureException) GetMessage ¶
func (e *ServiceFailureException) GetMessage() string
func (*ServiceFailureException) HasMessage ¶
func (e *ServiceFailureException) HasMessage() bool
type SpeechMarkType ¶
type SpeechMarkType string
const ( SpeechMarkTypeSentence SpeechMarkType = "sentence" SpeechMarkTypeSsml SpeechMarkType = "ssml" SpeechMarkTypeViseme SpeechMarkType = "viseme" SpeechMarkTypeWord SpeechMarkType = "word" )
Enum values for SpeechMarkType
type SsmlMarksNotSupportedForTextTypeException ¶
type SsmlMarksNotSupportedForTextTypeException struct {
Message *string
}
SSML speech marks are not supported for plain text-type input.
func (*SsmlMarksNotSupportedForTextTypeException) Error ¶
func (e *SsmlMarksNotSupportedForTextTypeException) Error() string
func (*SsmlMarksNotSupportedForTextTypeException) ErrorCode ¶
func (e *SsmlMarksNotSupportedForTextTypeException) ErrorCode() string
func (*SsmlMarksNotSupportedForTextTypeException) ErrorFault ¶
func (e *SsmlMarksNotSupportedForTextTypeException) ErrorFault() smithy.ErrorFault
func (*SsmlMarksNotSupportedForTextTypeException) ErrorMessage ¶
func (e *SsmlMarksNotSupportedForTextTypeException) ErrorMessage() string
func (*SsmlMarksNotSupportedForTextTypeException) GetMessage ¶
func (e *SsmlMarksNotSupportedForTextTypeException) GetMessage() string
func (*SsmlMarksNotSupportedForTextTypeException) HasMessage ¶
func (e *SsmlMarksNotSupportedForTextTypeException) HasMessage() bool
type SynthesisTask ¶
type SynthesisTask struct { // List of one or more pronunciation lexicon names you want the service to apply // during synthesis. Lexicons are applied only if the language of the lexicon is // the same as the language of the voice. LexiconNames []*string // Reason for the current status of a specific speech synthesis task, including // errors if the task has failed. TaskStatusReason *string // Number of billable characters synthesized. RequestCharacters *int32 // The format in which the returned output will be encoded. For audio stream, this // will be mp3, ogg_vorbis, or pcm. For speech marks, this will be json. OutputFormat OutputFormat // ARN for the SNS topic optionally used for providing status notification for a // speech synthesis task. SnsTopicArn *string // Current status of the individual speech synthesis task. TaskStatus TaskStatus // Pathway for the output speech file. OutputUri *string // Specifies whether the input text is plain text or SSML. The default value is // plain text. TextType TextType // The type of speech marks returned for the input text. SpeechMarkTypes []SpeechMarkType // Optional language code for a synthesis task. This is only necessary if using a // bilingual voice, such as Aditi, which can be used for either Indian English // (en-IN) or Hindi (hi-IN). If a bilingual voice is used and no language code is // specified, Amazon Polly will use the default language of the bilingual voice. // The default language for any voice is the one returned by the DescribeVoices // (https://docs.aws.amazon.com/polly/latest/dg/API_DescribeVoices.html) operation // for the LanguageCode parameter. For example, if no language code is specified, // Aditi will use Indian English rather than Hindi. LanguageCode LanguageCode // The audio frequency specified in Hz. The valid values for mp3 and ogg_vorbis are // "8000", "16000", "22050", and "24000". The default value for standard voices is // "22050". The default value for neural voices is "24000". Valid values for pcm // are "8000" and "16000" The default value is "16000". SampleRate *string // Voice ID to use for the synthesis. VoiceId VoiceId // The Amazon Polly generated identifier for a speech synthesis task. TaskId *string // Timestamp for the time the synthesis task was started. CreationTime *time.Time // Specifies the engine (standard or neural) for Amazon Polly to use when // processing input text for speech synthesis. Using a voice that is not supported // for the engine selected will result in an error. Engine Engine }
SynthesisTask object that provides information about a speech synthesis task.
type SynthesisTaskNotFoundException ¶
type SynthesisTaskNotFoundException struct {
Message *string
}
The Speech Synthesis task with requested Task ID cannot be found.
func (*SynthesisTaskNotFoundException) Error ¶
func (e *SynthesisTaskNotFoundException) Error() string
func (*SynthesisTaskNotFoundException) ErrorCode ¶
func (e *SynthesisTaskNotFoundException) ErrorCode() string
func (*SynthesisTaskNotFoundException) ErrorFault ¶
func (e *SynthesisTaskNotFoundException) ErrorFault() smithy.ErrorFault
func (*SynthesisTaskNotFoundException) ErrorMessage ¶
func (e *SynthesisTaskNotFoundException) ErrorMessage() string
func (*SynthesisTaskNotFoundException) GetMessage ¶
func (e *SynthesisTaskNotFoundException) GetMessage() string
func (*SynthesisTaskNotFoundException) HasMessage ¶
func (e *SynthesisTaskNotFoundException) HasMessage() bool
type TaskStatus ¶
type TaskStatus string
const ( TaskStatusScheduled TaskStatus = "scheduled" TaskStatusIn_progress TaskStatus = "inProgress" TaskStatusCompleted TaskStatus = "completed" TaskStatusFailed TaskStatus = "failed" )
Enum values for TaskStatus
type TextLengthExceededException ¶
type TextLengthExceededException struct {
Message *string
}
The value of the "Text" parameter is longer than the accepted limits. For the SynthesizeSpeech API, the limit for input text is a maximum of 6000 characters total, of which no more than 3000 can be billed characters. For the StartSpeechSynthesisTask API, the maximum is 200,000 characters, of which no more than 100,000 can be billed characters. SSML tags are not counted as billed characters.
func (*TextLengthExceededException) Error ¶
func (e *TextLengthExceededException) Error() string
func (*TextLengthExceededException) ErrorCode ¶
func (e *TextLengthExceededException) ErrorCode() string
func (*TextLengthExceededException) ErrorFault ¶
func (e *TextLengthExceededException) ErrorFault() smithy.ErrorFault
func (*TextLengthExceededException) ErrorMessage ¶
func (e *TextLengthExceededException) ErrorMessage() string
func (*TextLengthExceededException) GetMessage ¶
func (e *TextLengthExceededException) GetMessage() string
func (*TextLengthExceededException) HasMessage ¶
func (e *TextLengthExceededException) HasMessage() bool
type UnsupportedPlsAlphabetException ¶
type UnsupportedPlsAlphabetException struct {
Message *string
}
The alphabet specified by the lexicon is not a supported alphabet. Valid values are x-sampa and ipa.
func (*UnsupportedPlsAlphabetException) Error ¶
func (e *UnsupportedPlsAlphabetException) Error() string
func (*UnsupportedPlsAlphabetException) ErrorCode ¶
func (e *UnsupportedPlsAlphabetException) ErrorCode() string
func (*UnsupportedPlsAlphabetException) ErrorFault ¶
func (e *UnsupportedPlsAlphabetException) ErrorFault() smithy.ErrorFault
func (*UnsupportedPlsAlphabetException) ErrorMessage ¶
func (e *UnsupportedPlsAlphabetException) ErrorMessage() string
func (*UnsupportedPlsAlphabetException) GetMessage ¶
func (e *UnsupportedPlsAlphabetException) GetMessage() string
func (*UnsupportedPlsAlphabetException) HasMessage ¶
func (e *UnsupportedPlsAlphabetException) HasMessage() bool
type UnsupportedPlsLanguageException ¶
type UnsupportedPlsLanguageException struct {
Message *string
}
The language specified in the lexicon is unsupported. For a list of supported languages, see Lexicon Attributes (https://docs.aws.amazon.com/polly/latest/dg/API_LexiconAttributes.html).
func (*UnsupportedPlsLanguageException) Error ¶
func (e *UnsupportedPlsLanguageException) Error() string
func (*UnsupportedPlsLanguageException) ErrorCode ¶
func (e *UnsupportedPlsLanguageException) ErrorCode() string
func (*UnsupportedPlsLanguageException) ErrorFault ¶
func (e *UnsupportedPlsLanguageException) ErrorFault() smithy.ErrorFault
func (*UnsupportedPlsLanguageException) ErrorMessage ¶
func (e *UnsupportedPlsLanguageException) ErrorMessage() string
func (*UnsupportedPlsLanguageException) GetMessage ¶
func (e *UnsupportedPlsLanguageException) GetMessage() string
func (*UnsupportedPlsLanguageException) HasMessage ¶
func (e *UnsupportedPlsLanguageException) HasMessage() bool
type Voice ¶
type Voice struct { // Name of the voice (for example, Salli, Kendra, etc.). This provides a human // readable voice name that you might display in your application. Name *string // 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. AdditionalLanguageCodes []LanguageCode // Language code of the voice. LanguageCode LanguageCode // Human readable name of the language in English. LanguageName *string // Gender of the voice. Gender Gender // Specifies which engines (standard or neural) that are supported by a given // voice. SupportedEngines []Engine // Amazon Polly assigned voice ID. This is the ID that you specify when calling the // SynthesizeSpeech operation. Id VoiceId }
Description of the voice.
type VoiceId ¶
type VoiceId string
const ( VoiceIdAditi VoiceId = "Aditi" VoiceIdAmy VoiceId = "Amy" VoiceIdAstrid VoiceId = "Astrid" VoiceIdBianca VoiceId = "Bianca" VoiceIdBrian VoiceId = "Brian" VoiceIdCamila VoiceId = "Camila" VoiceIdCarla VoiceId = "Carla" VoiceIdCarmen VoiceId = "Carmen" VoiceIdCeline VoiceId = "Celine" VoiceIdChantal VoiceId = "Chantal" VoiceIdConchita VoiceId = "Conchita" VoiceIdCristiano VoiceId = "Cristiano" VoiceIdDora VoiceId = "Dora" VoiceIdEmma VoiceId = "Emma" VoiceIdEnrique VoiceId = "Enrique" VoiceIdEwa VoiceId = "Ewa" VoiceIdFiliz VoiceId = "Filiz" VoiceIdGeraint VoiceId = "Geraint" VoiceIdGiorgio VoiceId = "Giorgio" VoiceIdGwyneth VoiceId = "Gwyneth" VoiceIdHans VoiceId = "Hans" VoiceIdInes VoiceId = "Ines" VoiceIdIvy VoiceId = "Ivy" VoiceIdJacek VoiceId = "Jacek" VoiceIdJan VoiceId = "Jan" VoiceIdJoanna VoiceId = "Joanna" VoiceIdJoey VoiceId = "Joey" VoiceIdJustin VoiceId = "Justin" VoiceIdKarl VoiceId = "Karl" VoiceIdKendra VoiceId = "Kendra" VoiceIdKevin VoiceId = "Kevin" VoiceIdKimberly VoiceId = "Kimberly" VoiceIdLea VoiceId = "Lea" VoiceIdLiv VoiceId = "Liv" VoiceIdLotte VoiceId = "Lotte" VoiceIdLucia VoiceId = "Lucia" VoiceIdLupe VoiceId = "Lupe" VoiceIdMads VoiceId = "Mads" VoiceIdMaja VoiceId = "Maja" VoiceIdMarlene VoiceId = "Marlene" VoiceIdMathieu VoiceId = "Mathieu" VoiceIdMatthew VoiceId = "Matthew" VoiceIdMaxim VoiceId = "Maxim" VoiceIdMia VoiceId = "Mia" VoiceIdMiguel VoiceId = "Miguel" VoiceIdMizuki VoiceId = "Mizuki" VoiceIdNaja VoiceId = "Naja" VoiceIdNicole VoiceId = "Nicole" VoiceIdPenelope VoiceId = "Penelope" VoiceIdRaveena VoiceId = "Raveena" VoiceIdRicardo VoiceId = "Ricardo" VoiceIdRuben VoiceId = "Ruben" VoiceIdRussell VoiceId = "Russell" VoiceIdSalli VoiceId = "Salli" VoiceIdSeoyeon VoiceId = "Seoyeon" VoiceIdTakumi VoiceId = "Takumi" VoiceIdTatyana VoiceId = "Tatyana" VoiceIdVicki VoiceId = "Vicki" VoiceIdVitoria VoiceId = "Vitoria" VoiceIdZeina VoiceId = "Zeina" VoiceIdZhiyu VoiceId = "Zhiyu" )
Enum values for VoiceId