pub enum DeleteSessionError {
BadRequest(String),
Conflict(String),
InternalFailure(String),
LimitExceeded(String),
NotFound(String),
}
Expand description
Errors returned by DeleteSession
Variants§
BadRequest(String)
Request validation failed, there is no usable message in the context, or the bot build failed, is still in progress, or contains unbuilt changes.
Conflict(String)
Two clients are using the same AWS account, Amazon Lex bot, and user ID.
InternalFailure(String)
Internal service error. Retry the call.
LimitExceeded(String)
Exceeded a limit.
NotFound(String)
The resource (such as the Amazon Lex bot or an alias) that is referred to is not found.
Implementations§
Source§impl DeleteSessionError
impl DeleteSessionError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<DeleteSessionError>
Trait Implementations§
Source§impl Debug for DeleteSessionError
impl Debug for DeleteSessionError
Source§impl Display for DeleteSessionError
impl Display for DeleteSessionError
Source§impl Error for DeleteSessionError
impl Error for DeleteSessionError
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 DeleteSessionError
impl PartialEq for DeleteSessionError
impl StructuralPartialEq for DeleteSessionError
Auto Trait Implementations§
impl Freeze for DeleteSessionError
impl RefUnwindSafe for DeleteSessionError
impl Send for DeleteSessionError
impl Sync for DeleteSessionError
impl Unpin for DeleteSessionError
impl UnwindSafe for DeleteSessionError
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