pub enum CreateResourceServerError {
InternalError(String),
InvalidParameter(String),
LimitExceeded(String),
NotAuthorized(String),
ResourceNotFound(String),
TooManyRequests(String),
}Expand description
Errors returned by CreateResourceServer
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.
LimitExceeded(String)
This exception is thrown when a user exceeds the limit for a requested AWS resource.
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 CreateResourceServerError
impl CreateResourceServerError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateResourceServerError>
Trait Implementations§
Source§impl Debug for CreateResourceServerError
impl Debug for CreateResourceServerError
Source§impl Display for CreateResourceServerError
impl Display for CreateResourceServerError
Source§impl Error for CreateResourceServerError
impl Error for CreateResourceServerError
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 CreateResourceServerError
Auto Trait Implementations§
impl Freeze for CreateResourceServerError
impl RefUnwindSafe for CreateResourceServerError
impl Send for CreateResourceServerError
impl Sync for CreateResourceServerError
impl Unpin for CreateResourceServerError
impl UnwindSafe for CreateResourceServerError
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