pub enum SetCognitoEventsError {
InternalError(String),
InvalidParameter(String),
NotAuthorized(String),
ResourceNotFound(String),
TooManyRequests(String),
}Expand description
Errors returned by SetCognitoEvents
Variants§
InternalError(String)
Indicates an internal service error.
InvalidParameter(String)
Thrown when a request parameter does not comply with the associated constraints.
NotAuthorized(String)
Thrown when a user is not authorized to access the requested resource.
ResourceNotFound(String)
Thrown if the resource doesn't exist.
TooManyRequests(String)
Thrown if the request is throttled.
Implementations§
Source§impl SetCognitoEventsError
impl SetCognitoEventsError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<SetCognitoEventsError>
Trait Implementations§
Source§impl Debug for SetCognitoEventsError
impl Debug for SetCognitoEventsError
Source§impl Display for SetCognitoEventsError
impl Display for SetCognitoEventsError
Source§impl Error for SetCognitoEventsError
impl Error for SetCognitoEventsError
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 SetCognitoEventsError
impl PartialEq for SetCognitoEventsError
impl StructuralPartialEq for SetCognitoEventsError
Auto Trait Implementations§
impl Freeze for SetCognitoEventsError
impl RefUnwindSafe for SetCognitoEventsError
impl Send for SetCognitoEventsError
impl Sync for SetCognitoEventsError
impl Unpin for SetCognitoEventsError
impl UnwindSafe for SetCognitoEventsError
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