pub enum UpdateResourceServerError {
InternalError(String),
InvalidParameter(String),
NotAuthorized(String),
ResourceNotFound(String),
TooManyRequests(String),
}Expand description
Errors returned by UpdateResourceServer
Variants§
InternalError(String)
This exception is thrown when Amazon Cognito encounters an internal error.
InvalidParameter(String)
This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
NotAuthorized(String)
This exception is thrown when a user is not authorized.
ResourceNotFound(String)
This exception is thrown when the Amazon Cognito service cannot find the requested resource.
TooManyRequests(String)
This exception is thrown when the user has made too many requests for a given operation.
Implementations§
Source§impl UpdateResourceServerError
impl UpdateResourceServerError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<UpdateResourceServerError>
Trait Implementations§
Source§impl Debug for UpdateResourceServerError
impl Debug for UpdateResourceServerError
Source§impl Display for UpdateResourceServerError
impl Display for UpdateResourceServerError
Source§impl Error for UpdateResourceServerError
impl Error for UpdateResourceServerError
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()
impl StructuralPartialEq for UpdateResourceServerError
Auto Trait Implementations§
impl Freeze for UpdateResourceServerError
impl RefUnwindSafe for UpdateResourceServerError
impl Send for UpdateResourceServerError
impl Sync for UpdateResourceServerError
impl Unpin for UpdateResourceServerError
impl UnwindSafe for UpdateResourceServerError
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