Enum rusoto_polly::PutLexiconError
[−]
[src]
pub enum PutLexiconError { InvalidLexicon(String), LexiconSizeExceeded(String), MaxLexemeLengthExceeded(String), MaxLexiconsNumberExceeded(String), ServiceFailure(String), UnsupportedPlsAlphabet(String), UnsupportedPlsLanguage(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by PutLexicon
Variants
InvalidLexicon(String)
Amazon Polly can't find the specified lexicon. Verify that the lexicon's name is spelled correctly, and then try again.
LexiconSizeExceeded(String)
The maximum size of the specified lexicon would be exceeded by this operation.
MaxLexemeLengthExceeded(String)
The maximum size of the lexeme would be exceeded by this operation.
MaxLexiconsNumberExceeded(String)
The maximum number of lexicons would be exceeded by this operation.
ServiceFailure(String)
An unknown condition has caused a service failure.
UnsupportedPlsAlphabet(String)
The alphabet specified by the lexicon is not a supported alphabet. Valid values are x-sampa
and ipa
.
UnsupportedPlsLanguage(String)
The language specified in the lexicon is unsupported. For a list of supported languages, see Lexicon Attributes.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl PutLexiconError
[src]
fn from_body(body: &str) -> PutLexiconError
[src]
Trait Implementations
impl Debug for PutLexiconError
[src]
impl PartialEq for PutLexiconError
[src]
fn eq(&self, __arg_0: &PutLexiconError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PutLexiconError) -> bool
[src]
This method tests for !=
.
impl From<Error> for PutLexiconError
[src]
fn from(err: Error) -> PutLexiconError
[src]
Performs the conversion.
impl From<CredentialsError> for PutLexiconError
[src]
fn from(err: CredentialsError) -> PutLexiconError
[src]
Performs the conversion.
impl From<HttpDispatchError> for PutLexiconError
[src]
fn from(err: HttpDispatchError) -> PutLexiconError
[src]
Performs the conversion.
impl From<Error> for PutLexiconError
[src]
fn from(err: Error) -> PutLexiconError
[src]
Performs the conversion.
impl Display for PutLexiconError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more