Enum DeleteBotError Copy item path Source pub enum DeleteBotError {
BadRequest(String ),
Conflict(String ),
InternalFailure(String ),
LimitExceeded(String ),
NotFound(String ),
ResourceInUse(String ),
}Expand description Errors returned by DeleteBot
The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.
There was a conflict processing the request. Try your request again.
An internal Amazon Lex error occurred. Try your request again.
The request exceeded a limit. Try your request again.
The resource specified in the request was not found. Check the resource and try again.
The resource that you are attempting to delete is referred to by another resource. Use this information to remove references to the resource that you are trying to delete.
The body of the exception contains a JSON object that describes the resource.
{ "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT,
"resourceReference": {
"name": string , "version": string } }
Formats the value using the given formatter.
Read more Formats the value using the given formatter.
Read more Returns the lower-level source of this error, if any.
Read more 👎 Deprecated since 1.42.0: use the Display impl or to_string()
👎 Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
🔬 This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports.
Read more Tests for self and other values to be equal, and is used by ==.
Tests for !=. The default implementation is almost always sufficient,
and should not be overridden without very good reason.
Immutably borrows from an owned value.
Read more Mutably borrows from an owned value.
Read more Returns the argument unchanged.
Instruments this type with the provided
Span, returning an
Instrumented wrapper.
Read more Instruments this type with the provided
Span, returning an
Instrumented wrapper.
Read more Instruments this type with the
current Span, returning an
Instrumented wrapper.
Read more Calls U::from(self).
That is, this conversion is whatever the implementation of
From <T> for U chooses to do.
Converts the given value to a
String.
Read more The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.