Enum rusoto_polly::SynthesizeSpeechError [] [src]

pub enum SynthesizeSpeechError {
    InvalidSampleRate(String),
    InvalidSsml(String),
    LexiconNotFound(String),
    MarksNotSupportedForFormat(String),
    ServiceFailure(String),
    SsmlMarksNotSupportedForTextType(String),
    TextLengthExceeded(String),
    HttpDispatch(HttpDispatchError),
    Credentials(CredentialsError),
    Validation(String),
    Unknown(String),
}

Errors returned by SynthesizeSpeech

Variants

The specified sample rate is not valid.

The SSML you provided is invalid. Verify the SSML syntax, spelling of tags and values, and then try again.

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.

Speech marks are not supported for the OutputFormat selected. Speech marks are only available for content in json format.

An unknown condition has caused a service failure.

SSML speech marks are not supported for plain text-type input.

The value of the "Text" parameter is longer than the accepted limits. The limit for input text is a maximum of 3000 characters total, of which no more than 1500 can be billed characters. SSML tags are not counted as billed characters.

An error occurred dispatching the HTTP request

An error was encountered with AWS credentials.

A validation error occurred. Details from AWS are provided.

An unknown error occurred. The raw HTTP response is provided.

Methods

impl SynthesizeSpeechError
[src]

Trait Implementations

impl Debug for SynthesizeSpeechError
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for SynthesizeSpeechError
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl From<Error> for SynthesizeSpeechError
[src]

[src]

Performs the conversion.

impl From<CredentialsError> for SynthesizeSpeechError
[src]

[src]

Performs the conversion.

impl From<HttpDispatchError> for SynthesizeSpeechError
[src]

[src]

Performs the conversion.

impl From<Error> for SynthesizeSpeechError
[src]

[src]

Performs the conversion.

impl Display for SynthesizeSpeechError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for SynthesizeSpeechError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more