pub enum StartDominantLanguageDetectionJobError {
InternalServer(String),
InvalidRequest(String),
KmsKeyValidation(String),
TooManyRequests(String),
}
Expand description
Errors returned by StartDominantLanguageDetectionJob
Variants§
InternalServer(String)
An internal server error occurred. Retry your request.
InvalidRequest(String)
The request is invalid.
KmsKeyValidation(String)
The KMS customer managed key (CMK) entered cannot be validated. Verify the key and re-enter it.
TooManyRequests(String)
The number of requests exceeds the limit. Resubmit your request later.
Implementations§
Trait Implementations§
Source§impl Error for StartDominantLanguageDetectionJobError
impl Error for StartDominantLanguageDetectionJobError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for StartDominantLanguageDetectionJobError
impl PartialEq for StartDominantLanguageDetectionJobError
Source§fn eq(&self, other: &StartDominantLanguageDetectionJobError) -> bool
fn eq(&self, other: &StartDominantLanguageDetectionJobError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for StartDominantLanguageDetectionJobError
Auto Trait Implementations§
impl Freeze for StartDominantLanguageDetectionJobError
impl RefUnwindSafe for StartDominantLanguageDetectionJobError
impl Send for StartDominantLanguageDetectionJobError
impl Sync for StartDominantLanguageDetectionJobError
impl Unpin for StartDominantLanguageDetectionJobError
impl UnwindSafe for StartDominantLanguageDetectionJobError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more